Openpaw c-github
Interact with GitHub using the `gh` CLI and `jq`. Manage PRs, issues, repositories, and Actions workflows. Make raw API calls with `gh api` for anything not covered by built-in commands.
install
source · Clone the upstream repo
git clone https://github.com/daxaur/openpaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/daxaur/openpaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/c-github" ~/.claude/skills/daxaur-openpaw-c-github && rm -rf "$T"
manifest:
skills/c-github/SKILL.mdsource content
What This Skill Does
Uses
gh (GitHub CLI) and jq to manage GitHub resources including pull requests, issues, repositories, and Actions. Supports raw API calls for advanced queries.
CLI Tools: gh
+ jq
ghjqPull Requests
gh pr list # List open PRs gh pr view 123 # View PR details gh pr create --title "Fix bug" --body "..." --base main gh pr merge 123 --squash gh pr checkout 123 gh pr review 123 --approve
Issues
gh issue list --state open gh issue view 42 gh issue create --title "Bug" --body "..." --label bug gh issue close 42 gh issue comment 42 --body "Fixed in #123"
Actions / CI
gh run list # List recent workflow runs gh run view 123456789 # View run details gh run watch # Watch current run live gh workflow run deploy.yml
API Calls with jq
jqgh api repos/{owner}/{repo}/pulls | jq '.[].title' gh api /user/repos | jq '.[].full_name' gh api graphql -f query='{ viewer { login } }'
Usage Guidelines
- Default to the current repo context when no
flag is specified.--repo - Use
to filter and formatjq
JSON output for readability.gh api - For bulk operations, pipe
intogh issue list --json number,title
.jq - Always confirm before closing issues or merging PRs.
Notes
- Requires
to be completed before use.gh auth login - Install:
andbrew install ghbrew install jq