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 bestdeejay-design/agent-skills --skill api-doc-generatorgit clone --depth 1 https://github.com/bestdeejay-design/agent-skillsWrote 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/bestdeejay-design/agent-skills/api-doc-generator)<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/api-doc-generator"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/api-doc-generator/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/bestdeejay-design/agent-skills/api-doc-generator"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/api-doc-generator.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.00000 | $0.01127 |
| Opus 5.5 | $0.00000 | $0.00451 |
| Sonnet 5.5 | $0.00000 | $0.00225 |
| Haiku 4.5 | $0.00000 | $0.00113 |
Grade A, and why
api-doc-generator 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 2mo 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 — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Doc Generator
Генерация Markdown-документации REST API из OpenAPI-схемы: парсинг схемы, разбор endpoint'ов, рендер раздела на каждый метод с параметрами и кодами.
Загружай этот скилл когда нужно документировать REST API в Markdown: по endpoint'ам, с параметрами, телами запросов и кодами ответов. Скилл читает OpenAPI-схему (JSON) и выдаёт готовый документ.
🎯 When to use
Use this skill when:
- Есть
openapi.json/swagger.jsonи нужен Markdown-документ для README/Wiki - FastAPI-приложение: нужно отрендерить
app.openapi()в документацию - Просят «документация API», «api doc», «описать эндпоинты»
- Нужна автономная страница API Reference без хостинга Swagger UI
Do NOT use when:
- Есть Swagger UI / Redoc онлайн — это уже интерактивная документация
- Нужна сгенерированная из кода схема (Express + swagger-jsdoc) — сначала собери схему, потом этот скрипт
- Нужен глубокий разбор типов (oneOf/allOf) — скрипт выдаёт плоскую таблицу параметров
📦 Files
SKILL.md— этот файлscripts/api_doc.py— рендерер OpenAPI → Markdown (Python 3 stdlib)
🧰 Usage
# Из файла:
python3 skills/api-doc-generator/scripts/api_doc.py --schema openapi.json
# Из stdin:
cat openapi.json | python3 api_doc.py --stdin
# В файл:
python3 api_doc.py --schema openapi.json --title "My API" --out API.md
🔌 Получение схемы по фреймворку
FastAPI (OpenAPI 3.1 по умолчанию)
import json, app # your FastAPI app
with open("openapi.json", "w") as f:
json.dump(app.openapi(), f, ensure_ascii=False, indent=2)
Затем: python3 api_doc.py --schema openapi.json.
Express (Node.js)
Вариант A — swagger-jsdoc (аннотированный код):
npx swagger-jsdoc -d swagger-def.js -o openapi.json
Вариант B — AST-прогулка по маршрутам (если нет аннотаций): собрать
app._router.stack (Express 4) в список method+path вручную — базовый случай.
✅ Definition of Done
- Скрипт отработал: Markdown-документ в stdout или
--out. - Каждый endpoint: method, path, summary, параметры таблицей, коды ответов.
- Схема OpenAPI прошла
json.loadsбез ошибок.
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.
- 2mo ago Changed · +16 lines 1d3522d4fac7
- 3mo ago First seen · 73 lines · 0 tokens per session scan A 692e8ecbc3a2
api-doc-generator is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,127 tokens. 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.
api-doc-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-doc-generatorbestdeejay-design/agent-skills | Skill | 5 | 2mo ago | MIT | A | 0 | Claude Code |
| python-projectmajiayu000/spellbook | Skill | 302 | 2d ago | MIT | C | 43 | Claude Code, Codex |
| mainframe-python-backendCATWILLgh/MAINFRAME | Skill | 2 | 15d ago | MIT | A | 40 | Claude Code, Codex |
| python-developmentHK-hub/AgentSkills | Skill | 7 | 3mo ago | MIT | A | 63 | Claude Code, Codex |
| agent-creatorranbot-ai/awesome-skills | Skill | 15 | yesterday | none | A | 22 | Claude Code, Codex |
| fastapimfmezger/ai_agent_dotfiles | Skill | 7 | 4mo ago | MIT | A | 87 | Claude Code, Codex |
| fused-integrationsfusedio/skills | Skill | 5 | yesterday | none | A | 126 | Claude Code |