github
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
By mitsuhiko · 481 installs
npx skills add mitsuhiko/agent-stuff --skill github
Source repository · Upstream listing
GitHub Skill
Use the gh CLI to interact with GitHub. Always specify repo owner/repo when not in a git directory, or use URLs directly.
Pull Requests
Check CI status on a PR:
List recent workflow runs:
View a run and see which steps failed:
View logs for failed steps only:
API for Advanced Queries
The gh api command is useful for accessing data not available through other subcommands.
Get PR with specific fields:
JSON Output
Most commands support json for structured output. You can use jq to filter: