c-github

A GitHub command-line toolkit for managing pull requests, issues, repositories, and GitHub Actions, which are GitHub's automated build and deployment workflows. It uses GitHub's gh command and jq for filtering JSON results.

In plain words
What is it for?
Use it to list or manage pull requests and issues, inspect or start Actions workflows, work with repositories, and query GitHub data from the command line.
Why use it?
It puts common repository work in the terminal and makes it easier to inspect, create, review, merge, and automate GitHub work. It also supports more advanced requests through GitHub's API.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/daxaur/openpaw/c-github
Any agent
npx skills add daxaur/openpaw --skill c-github
Clone the repo
git clone --depth 1 https://github.com/daxaur/openpaw

Made for: Claude Code, Codex.

Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00048 $0.00462
Opus 5 $0.00024 $0.00231
Sonnet 5 $0.00010 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured yesterday against content hash b7a0995a25c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

c-github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/c-github/SKILL.md · 62 lines

What it actually says

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

Pull 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

gh api repos/{owner}/{repo}/pulls | jq '.[].title'
gh api /user/repos | jq '.[].full_name'
gh api graphql -f query='{ viewer { login } }'

Usage Guidelines

  1. Default to the current repo context when no --repo flag is specified.
  2. Use jq to filter and format gh api JSON output for readability.
  3. For bulk operations, pipe gh issue list --json number,title into jq.
  4. Always confirm before closing issues or merging PRs.

Notes

  • Requires gh auth login to be completed before use.
  • Install: brew install gh and brew install jq
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 62 lines · 48 tokens per session scan A b7a0995a25c6

Subscribe to this mod's changes

c-github is a skill published in the GitHub repository daxaur/openpaw (166 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 462 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.