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.
npx skills add anilcancakir/claude-code --skill github-cligit clone --depth 1 https://github.com/anilcancakir/claude-codeWrote 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/github-cli)<a href="https://agentmods.dev/skills/anilcancakir/claude-code/github-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/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/github-cli"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/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.00059 | $0.02460 |
| Opus 5.5 | $0.00024 | $0.00984 |
| Sonnet 5.5 | $0.00012 | $0.00492 |
| Haiku 4.5 | $0.00006 | $0.00246 |
Grade A, and why
github-cli 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 14d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub CLI
Use gh for every GitHub lookup. A GitHub page fetched through the web is rate-limited, truncated and stripped of structure, while gh returns the exact file text or JSON and authenticates with the user's own token. Check it is usable before the first call: command -v gh && gh auth status. If either fails, say so and fall back to webfetch rather than guessing.
Every command takes --help, and gh <cmd> --json with no value lists the available JSON fields. Outside a git checkout, pass the repository explicitly: -R OWNER/REPO on issue, pr, release, run, workflow and label commands, OWNER/REPO as the argument to gh repo view and gh repo clone, and a literal repos/OWNER/REPO/... path to gh api. The {owner} and {repo} placeholders resolve from the current directory's remote, so in research they would silently point at the wrong repository.
This file covers reading. Anything that changes state on GitHub is in references/write-ops.md (see Writing to GitHub below).
Research recipes
Pin reads to a commit SHA, not a branch, so the lines you cite stay the lines you read.
Resolve a ref to a SHA
SHA=$(gh api repos/OWNER/REPO/commits/main --jq .sha) # branch, tag or short SHA all work
Read a file at that commit
gh api -H 'Accept: application/vnd.github.raw+json' "repos/OWNER/REPO/contents/path/to/file.ts?ref=$SHA"
gh api "repos/OWNER/REPO/contents/path/to/file.ts?ref=$SHA" --jq .content | base64 -d # same, via the JSON form
The raw header returns the file body directly. The JSON form is for when you also need .sha, .size or .download_url. Files over 1 MB come back without content; use the blob API (repos/OWNER/REPO/git/blobs/<blob-sha>) or a clone.
List a directory or the whole tree
gh api "repos/OWNER/REPO/contents/src?ref=$SHA" --jq '.[] | .type + " " + .path' # one directory
gh api "repos/OWNER/REPO/git/trees/$SHA?recursive=1" --jq '.tree[].path' # every path
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 14d ago Changed · +32 tokens per session b643cf6126bf
- 15d ago First seen · 140 lines · 27 tokens per session scan A 0521aa1a0951
github-cli is a skill published in the GitHub repository anilcancakir/claude-code (4 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 2,460 once invoked, about $0.0002 per session on Opus 5.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-10-31.
github-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-clianilcancakir/claude-code | Skill | 4 | 2d ago | MIT | A | 59 | Claude Code, Codex |
| version-bumpNikiforovAll/claude-code-rules | Skill | 142 | 13d ago | Apache-2.0 | A | 48 | Claude Code |
| git-branchlessOutlineDriven/odin-claude-plugin | Skill | 40 | 1mo ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| atomic-issues-prsOutlineDriven/odin-claude-plugin | Skill | 40 | 1mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| git-workflow-and-versioningOutlineDriven/odin-claude-plugin | Skill | 40 | 1mo ago | Apache-2.0 | A | 42 | Claude Code, Codex |
| post-merge-cleanupOutlineDriven/odin-claude-plugin | Skill | 40 | 1mo ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| lockstep-version-guardOutlineDriven/odin-claude-plugin | Skill | 40 | 1mo ago | Apache-2.0 | A | 59 | Claude Code, Codex |