github
CleanInteract with GitHub using the gh CLI
SKILL.md
# GitHub Skill > Originally published at clawhub.ai/steipete/github by Peter Steinberger — MIT-0 license 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: ``` gh pr checks 55 --repo owner/repo ``` List recent workflow runs: ``` gh run list --repo owner/repo --limit 10 ``` View a run and see which steps failed: ``` gh run view <run-id> --repo owner/repo ``` View logs for failed steps only: ``` gh run view <run-id> --repo owner/repo --log-failed ``` ## API for Advanced Queries The `gh api` command is useful for accessing data not available through other subcommands. Get PR with specific fields: ``` gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login' ``` ## JSON Output Most commands support `--json` for structured output. You can use `--jq` to filter: ``` gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"' ```
Version History
v1.0.4latest
Use plain-text URL in attribution to pass security scan
Mar 26, 2026
Clean.zip
v1.0.3
Add full source URL in attribution
Mar 26, 2026
Flagged.zip
v1.0.2
Remove hyperlink from source attribution to pass security scan
Mar 26, 2026
Clean.zip
v1.0.1
GitHub gh CLI skill, sourced from clawhub.ai/steipete/github
Mar 26, 2026
Flagged.zip
v1.0.0
test
Mar 26, 2026
Clean.zip
SHA-256 (latest)
194d6a49c2bff9bf0879ec3aab4f8d3bb5296e6310869ba9f615abfad65cb2ce