Setup GH CLI
Apps & Automationsetup-gh-cliSetup GH CLI is an Agent Skill for apps & automation published in the PacificStudio/openase repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Install or repair the GitHub CLI and confirm authentication status on the target machine.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/PacificStudio/openase/blob/HEAD/internal/builtin/skills/setup-gh-cli/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/setup-gh-cli, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Setup GitHub CLI
Goal: make the target machine provide a working gh command and confirm GitHub authentication status.
Follow this process:
- Check the current output of
gh --versionandgh auth status. - If
ghis missing, install it using an officially supported method. - If
ghis installed but unauthenticated, complete auth and verify again. - If authentication fails, record the exact reason, such as network issues, a missing token, or an unreachable host.
Do not write plaintext tokens into shell history or repository files.