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 agentmods add commands/rohitg00/awesome-claude-code-toolkit/generate-api-refgit clone --depth 1 https://github.com/rohitg00/awesome-claude-code-toolkitWhat 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 | $0.00000 | $0.00316 |
| Opus 5 | $0.00000 | $0.00158 |
| Sonnet 5 | $0.00000 | $0.00063 |
| Haiku 4.5 | $0.00000 | $0.00032 |
Grade A, and why
generate-api-ref 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 3d 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.
- Show curl examples for at least the primary endpoints What it actually says
/generate-api-ref - Generate API Reference
Generate API reference documentation from source code and route definitions.
Steps
- Detect the API framework: Express, FastAPI, Django REST, Spring Boot, Gin, etc.
- Scan route definitions to find all API endpoints
- For each endpoint, extract: HTTP method, path, middleware, handler function
- Parse handler functions to identify request parameters (path, query, body, headers)
- Extract request/response schemas from TypeScript types, Pydantic models, or JSDoc
- Identify authentication requirements from middleware chains
- Find example request/response pairs from test files or inline documentation
- Detect rate limiting, pagination, and caching configurations
- Generate markdown documentation for each endpoint with: method, path, description, parameters, request body, response, errors
- Group endpoints by resource or router module
- Add a table of contents and overview section
- Save documentation to docs/api-reference.md or the specified output path
Rules
- Include all HTTP methods (GET, POST, PUT, PATCH, DELETE) for each resource
- Document error responses (400, 401, 403, 404, 500) with example payloads
- Use the actual TypeScript/Python types, not simplified versions
- Include authentication requirements for each endpoint
- Show curl examples for at least the primary endpoints
- Do not document internal or health-check endpoints unless requested
- Keep parameter descriptions concise but include type and required status
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.
- 3d ago First seen · 29 lines · 0 tokens per session scan A 8f002c4a16f5
generate-api-ref is a command published in the GitHub repository rohitg00/awesome-claude-code-toolkit (2,578 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 316 tokens. 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-30.
Other commands, from other repositories
run-plan
Execute a PLAN.md file directly without loading planning skill context.
check-todos
List outstanding todos and select one to work on.
create-agent-skill
Create or edit Claude Code skills with expert guidance on structure and best practices.
create-slash-command
Create a new slash command following best practices and patterns.
create-hook
Invoke create-hooks skill for expert guidance on Claude Code hook development.
export
将生成的 SVG 页面批量导出为可直接演示的 PDF 文档或可编辑的 PPTX 幻灯片文件。.