api-documentation-generator

api-documentation-generator is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/curiositech/windags-skills/api-documentation-generator
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00064 $0.01722
Sonnet 5 $0.00026 $0.00689
Haiku 4.5 $0.00013 $0.00344

Measured 5d ago against content hash c1fd5644aa17, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 (10 stars, last pushed 1mo ago), with no licence file. It adds 129 tokens to every session and 3,443 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

openapi-expert

Expert-level OpenAPI/Swagger specification for API design, documentation, and code generation. Use when the user mentions swagger, API specs, REST, API design, or documentation, or when the task involves OpenAPI Specification, Webhooks, or Polymorphism.

personamanagmentlayer/pcl · 57 tokens

API Documentation Generator

Generates OpenAPI-compatible documentation for REST API endpoints from code or route definitions.

Notysoty/openagentskills · 20 tokens

api-docs-generator

Generate API documentation from code - produce OpenAPI/Swagger specs, Markdown API references, request/response examples, and interactive documentation from source code analysis.

chainlesschain/chainlesschain · 34 tokens

api-documentation

API Documentation & Design (OpenAPI/Swagger): Helps write and review API documentation, generate OpenAPI/Swagger specs, design RESTful APIs, and document GraphQL schemas. Use whenever the user mentions 'API docs', 'Swagger', 'OpenAPI', 'API specification', 'API design', 'REST API', 'endpoint documentation', 'API…

camilooscargbaptista/cto-toolkit · 114 tokens

nestjs-documentation

Automate Swagger/OpenAPI documentation and standardize API response schemas in NestJS. Use when generating OpenAPI specs, documenting paginated or generic responses, configuring the Nest CLI Swagger plugin, or publishing versioned API docs.

FilippoDeSilva/skills · 48 tokens

openapi-glossary

Use consistent OpenAPI terminology and definitions when writing documentation, educational material, and tooling guidance.

scalar/scalar · 24 tokens