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 abel30567/fermi-mcp --skill github-apigit clone --depth 1 https://github.com/abel30567/fermi-mcpWrote 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/abel30567/fermi-mcp/github-api)<a href="https://agentmods.dev/skills/abel30567/fermi-mcp/github-api"><img src="https://agentmods.dev/badge/skills/abel30567/fermi-mcp/github-api/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/abel30567/fermi-mcp/github-api"><img src="https://agentmods.dev/badge/skills/abel30567/fermi-mcp/github-api.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.00036 | $0.00735 |
| Opus 5.5 | $0.00014 | $0.00294 |
| Sonnet 5.5 | $0.00007 | $0.00147 |
| Haiku 4.5 | $0.00004 | $0.00073 |
Grade A, and why
github-api 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 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.
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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub API workflow
Auth
Always call through execute (codemode.fetch_url) or fetch_url with:
- Header
Authorization: Bearer {{secret:GITHUB_TOKEN}}(never inline a raw token; the secret is scoped to api.github.com) - Header
User-Agent: Fermi-Agent(GitHub rejects requests without one) - API base:
https://api.github.com
Common recipes
- Create issue:
POST /repos/{owner}/{repo}/issues{ title, body, labels } - Create PR:
POST /repos/{owner}/{repo}/pulls{ title, head, base, body } - Read file:
GET /repos/{owner}/{repo}/contents/{path}(body is base64) - Write file:
PUT /repos/{owner}/{repo}/contents/{path}{ message, content: <base64>, sha?, branch? }
CRITICAL: UTF-8 encoding (corruption hazard)
atob/btoa alone and Buffer.from(...) in the Worker sandbox corrupt multi-byte
UTF-8 (em-dashes, arrows, smart quotes) — each read-modify-write round trip adds
mojibake. Always use the symmetric pair:
- READ:
decodeURIComponent(escape(atob(b64.replace(/\n/g, '')))) - WRITE:
btoa(unescape(encodeURIComponent(content)))Or the byte-exact TextDecoder/TextEncoder loop for binary-safe handling. Also:→-style escapes only resolve inside JS string literals — when generating JSX/text via templates, insert real unicode characters.
Large binary commits — blob-rename technique (preferred)
The model cannot reliably transcribe >3K chars of base64. When a large file must be committed:
- Have the USER push the file to the repo under any filename.
GET /repos/{o}/{r}/contents/{tmp}to get the blob SHA.POST /repos/{o}/{r}/git/treeswithbase_tree= HEAD tree, adding the blob at the desired path (andsha: nullentries to delete the temp file).POST /repos/{o}/{r}/git/commitswith that tree + parent HEAD.PATCH /repos/{o}/{r}/git/refs/heads/{branch}to the new commit. Zero file bytes pass through model context — only SHA pointers.
Fallback: R2 chunk relay (file not yet on GitHub)
Split base64 into ~1000-char chunks, write each via fs_write to
assets/<name>/<i>, then one execute reads all chunks, concatenates, verifies
magic bytes + length, and PUTs to GitHub with the auth header above.
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 · 51 lines · 36 tokens per session scan A 0145f9b19680
github-api is a skill published in the GitHub repository abel30567/fermi-mcp (1 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 735 once invoked, about $0.0001 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-08-31.
github-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-apiabel30567/fermi-mcp | Skill | 1 | today | MIT | A | 36 | Claude Code |
| github-clizhinjs/zhin | Skill | 136 | today | MIT | A | 30 | Claude Code, Codex |
| githubzhinjs/zhin | Skill | 136 | today | MIT | A | 58 | Claude Code, Codex |
| github-integrationXSpoonAi/spoon-awesome-skill | Skill | 17 | 7mo ago | none | A | 32 | Claude Code, Codex |
| issuejeremylongshore/tons-of-skills-marketplace | Skill | 3.0k | today | MIT | A | 115 | Claude Code |
| resolve-git-conflictstarlepp/symfony-flex-backend | Skill | 286 | today | MIT | A | 35 | Claude Code, Codex |
| code-review-githubinitializ/forge | Skill | 223 | 10d ago | Apache-2.0 | A | 30 | Claude Code, Codex |