GitHub skill
Use the gh CLI for GitHub-side operations.
When to use
- Checking PR status, reviews, merge readiness
- Viewing CI / workflow run status and logs
- Creating, closing, commenting on issues
- Querying GitHub API for repository data
When NOT to use
- Local git operations (commit, push, pull, branch) -> use
gitdirectly. - Non-GitHub repos -> use that platform's CLI.
Setup
- Run
gh auth loginonce (interactive — do not attempt from this skill). - Confirm with
gh auth status.
Procedure
- Construct the
ghcommand from${input.action}and optional${input.repo}. - Run via
chat_agent_executer. - Capture stdout. Truncate to ~12000 chars before returning.
- Return
{ result: <stdout> }.