Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/anilcancakir/claude-code-pluginnpx agentmods add skills/anilcancakir/claude-code-plugin/github-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/anilcancakir/claude-code-plugin/github-cli)<a href="https://agentmods.dev/skills/anilcancakir/claude-code-plugin/github-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code-plugin/github-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/anilcancakir/claude-code-plugin/github-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code-plugin/github-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.02812 |
| Opus 5.5 | $0.00016 | $0.01125 |
| Sonnet 5.5 | $0.00008 | $0.00562 |
| Haiku 4.5 | $0.00004 | $0.00281 |
Grade A, and why
github-cli scanned grade A with 1 finding 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 3mo ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Use `gh` (GitHub CLI) for all GitHub operations. Prefer `gh` over raw API calls, `curl`, or web browser. Every `gh` command supports `--help` for flag discovery. How it starts
The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub CLI Skill
Use gh (GitHub CLI) for all GitHub operations. Prefer gh over raw API calls, curl, or web browser. Every gh command supports --help for flag discovery.
Principles
- JSON first: Add
--json <fields>+--jq <query>for machine-readable output in scripts - Repo context: Run commands from a git repo directory —
ghauto-detects{owner}and{repo} - Cross-repo: Use
-R owner/repoflag to target a different repository - No interactive prompts: Always pass
--title,--body, flags explicitly — never rely on interactive prompts - Rate limits: Add
sleep 1between iterations in bulk loops
Issues
Create
gh issue create --title "Bug: login fails" --body "Steps to reproduce..." --label bug --assignee @me
gh issue create --title "Feature request" --body-file description.md --label enhancement --project "Roadmap"
List & Filter
gh issue list # Open issues (default 30)
gh issue list --state all --limit 100 # All states, more results
gh issue list --label "bug" --assignee @me # By label + assignee
gh issue list --search "error no:assignee sort:created-asc" # Advanced search query
gh issue list --json number,title,labels --jq '.[].title' # JSON + jq
View & Modify
gh issue view 123 # View issue details
gh issue view 123 --json body,comments --jq '.comments[-1].body' # Last comment
gh issue comment 123 --body "Working on this"
gh issue edit 123 --add-label "in-progress" --remove-label "needs-triage"
gh issue close 123 --reason completed
gh issue reopen 123
Link to PR
Reference issues in PR body with Fixes #123 or Closes #123 — GitHub auto-closes on merge.
Pull Requests
Create
gh pr create --title "feat: add auth" --body "Implements OAuth2 flow" --base main
gh pr create --fill # Auto-fill from commit messages
gh pr create --fill-verbose # Commits msg+body in description
gh pr create --draft # Draft PR
gh pr create --reviewer user1,team-name --label feature --assignee @me
gh pr create --body-file pr-description.md
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.
- 3mo ago First seen · 339 lines · 39 tokens per session scan A 8f8ca4808b6a
github-cli is a skill published in the GitHub repository anilcancakir/claude-code-plugin (2 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 2,812 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
github-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-clianilcancakir/claude-code-plugin | Skill | 2 | 7mo ago | MIT | A | 39 | Claude Code |
| agent-framework-py-releasemicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 102 | Claude Code, Codex |
| coding-agents-farmgriddynamics/rosetta | Skill | 382 | 5d ago | Apache-2.0 | B | 32 | Claude Code |
| ghagents-squads/squads-cli | Skill | 56 | 4d ago | MIT | A | 0 | Claude Code, Codex |
| changelog-writer3338902669-ops/agent-orchestra | Skill | 93 | 1mo ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| ask-claudeWebisityStudio/claude-codex-mcp-bridge | Skill | 4 | 21d ago | MIT | A | 44 | Claude Code |
| finishing-a-development-branchIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 44 | Claude Code |