api-documentation-generator

api-documentation-generator is a skill for Claude Code from curiositech/windags-skills. It costs 129 tokens per session (3,443 once invoked), scanned A, original, no licence file.

A tool that creates API documentation from existing route-handler code. It produces OpenAPI specifications, TypeScript types for clients, and curl command examples for Express, Next.js API routes, Fastify, and Hono.

In plain words
What is it for?
Use it to document routes, describe authentication, rate limits, errors, and request or response formats, or generate types and examples for API users.
Why use it?
It reduces the manual work of documenting endpoints and helps keep the documentation tied to the code. OpenAPI is a standard format for describing how an API works.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to document routes, describe authentication, rate limits, errors, and request or response formats, or generate types and examples for API users.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curiositech/windags-skills/api-documentation-generator
Install

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.

Any agent
npx skills add curiositech/windags-skills --skill api-documentation-generator
Clone the repo
git clone --depth 1 https://github.com/curiositech/windags-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for api-documentation-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/curiositech/windags-skills/api-documentation-generator/github.svg)](https://agentmods.dev/skills/curiositech/windags-skills/api-documentation-generator)
Your own site
<a href="https://agentmods.dev/skills/curiositech/windags-skills/api-documentation-generator"><img src="https://agentmods.dev/badge/skills/curiositech/windags-skills/api-documentation-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.

agentmods 80×15 button for api-documentation-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/curiositech/windags-skills/api-documentation-generator"><img src="https://agentmods.dev/badge/skills/curiositech/windags-skills/api-documentation-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,443 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.03443
Opus 5.5 $0.00052 $0.01377
Sonnet 5.5 $0.00026 $0.00689
Haiku 4.5 $0.00013 $0.00344

Measured 3mo ago against content hash c1fd5644aa17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-documentation-generator 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.

Generates OpenAPI 3.0/3.1 specs, TypeScript client types, and curl examples from existing route handler code. Supports Express, Next.js API routes, Fastify, and Hono. Produces complete documentation including auth requir
skills/api-documentation-generator/SKILL.md · 386 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

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.

  1. 3mo ago First seen · 386 lines · 129 tokens per session scan A c1fd5644aa17

Subscribe to this mod's changes

api-documentation-generator is a skill published in the GitHub repository curiositech/windags-skills (21 stars, last pushed 7d ago), with no licence file. It adds 129 tokens to every session and 3,443 once invoked, about $0.0005 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.

Related

api-documentation-generator compared with skills from other repositories

api-documentation-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-documentation-generatorcuriositech/windags-skillsSkill217d agononeA129Claude Code
openapi-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A57Claude Code
API Documentation GeneratorNotysoty/openagentskillsSkill93mo agoMITA20Claude Code, Codex
api-docs-generatorchainlesschain/chainlesschainSkill1120d agononeA34Claude Code
api-documentationcamilooscargbaptista/cto-toolkitSkill98mo agoMITA114Claude Code
nestjs-documentationFilippoDeSilva/skillsSkill25mo agononeA48Claude Code, Codex
api-documenter-v2diegosouzapw/awesome-omni-skillsSkill1813d agoMITA74Claude Code, Codex