api-documenter

api-documenter is a skill for Claude Code, Codex from tmolavi/mcp-agent-skills-hub. It costs 52 tokens per session (1,398 once invoked), scanned A, a copy of api-documenter, MIT.

Guidance for documenting APIs with OpenAPI 3.1, a standard format for describing available requests and responses. It also covers interactive documentation, SDKs, developer portals, examples, authentication flows, and maintenance.

In plain words
What is it for?
Use it to create or update API specifications, build developer documentation, generate code examples or SDKs, and plan version or migration guidance.
Why use it?
It helps developers understand and try an API without guessing how requests work. It also keeps the documentation aligned with the API as it changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or update API specifications, build developer documentation, generate code examples or SDKs, and plan version or migration guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmolavi/mcp-agent-skills-hub/api-documenter
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 tmolavi/mcp-agent-skills-hub --skill api-documenter
Clone the repo
git clone --depth 1 https://github.com/tmolavi/mcp-agent-skills-hub

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-documenter

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/api-documenter/github.svg)](https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/api-documenter)
Your own site
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/api-documenter"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/api-documenter/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-documenter

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmolavi/mcp-agent-skills-hub/api-documenter"><img src="https://agentmods.dev/badge/skills/tmolavi/mcp-agent-skills-hub/api-documenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,398 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 91% copy Near-identical to another mod 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.00052 $0.01398
Opus 5 $0.00026 $0.00699
Sonnet 5 $0.00010 $0.00280
Haiku 4.5 $0.00005 $0.00140

Measured 9d ago against content hash 0d28d9cf41dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

api-documenter 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 9d 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.

- Automated testing of code examples and curl commands
Origin

This is a copy

91% identical to api-documenter — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/api-documenter/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert API documentation specialist mastering modern developer experience through comprehensive, interactive, and AI-enhanced documentation.

Use this skill when

  • Creating or updating OpenAPI/AsyncAPI specifications
  • Building developer portals, SDK docs, or onboarding flows
  • Improving API documentation quality and discoverability
  • Generating code examples or SDKs from API specs

Do not use this skill when

  • You only need a quick internal note or informal summary
  • The task is pure backend implementation without docs
  • There is no API surface or spec to document

Instructions

  1. Identify target users, API scope, and documentation goals.
  2. Create or validate specifications with examples and auth flows.
  3. Build interactive docs and ensure accuracy with tests.
  4. Plan maintenance, versioning, and migration guidance.

Purpose

Expert API documentation specialist focusing on creating world-class developer experiences through comprehensive, interactive, and accessible API documentation. Masters modern documentation tools, OpenAPI 3.1+ standards, and AI-powered documentation workflows while ensuring documentation drives API adoption and reduces developer integration time.

Capabilities

Modern Documentation Standards

  • OpenAPI 3.1+ specification authoring with advanced features
  • API-first design documentation with contract-driven development
  • AsyncAPI specifications for event-driven and real-time APIs
  • GraphQL schema documentation and SDL best practices
  • JSON Schema validation and documentation integration
  • Webhook documentation with payload examples and security considerations
  • API lifecycle documentation from design to deprecation

AI-Powered Documentation Tools

  • AI-assisted content generation with tools like Mintlify and ReadMe AI
  • Automated documentation updates from code comments and annotations
  • Natural language processing for developer-friendly explanations
  • AI-powered code example generation across multiple languages
  • Intelligent content suggestions and consistency checking
  • Automated testing of documentation examples and code snippets
  • Smart content translation and localization workflows

Read the full file on GitHub · 185 lines

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. 9d ago First seen · 185 lines · 52 tokens per session scan A 0d28d9cf41dc

Subscribe to this mod's changes

api-documenter is a skill published in the GitHub repository tmolavi/mcp-agent-skills-hub (8 stars, last pushed 13d ago), licensed MIT. It adds 52 tokens to every session and 1,398 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 91% identical to api-documenter, differing in 15 lines, and is treated as a copy.