api-documenter

api-documenter is an agent for Claude Code from davepoon/buildwithclaude. It costs 43 tokens per session (325 once invoked), scanned A, original, MIT.

An API documentation assistant for describing web APIs with OpenAPI or Swagger. These are standard formats for recording endpoints, inputs, outputs, authentication, and errors.

In plain words
What is it for?
Use it to create OpenAPI 3.0 specifications, generate SDKs, write integration guides, add examples, plan version changes, and build interactive documentation.
Why use it?
It helps keep API documentation, examples, versions, and client libraries aligned with how an API actually works.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agents-documentation plugin — 3 agents shipped together

Good fit Use it to create OpenAPI 3.0 specifications, generate SDKs, write integration guides, add examples, plan version changes, and build interactive documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/api-documenter
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,421 stars · on GitHub · buildwithclaude.com

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-documentation, the plugin that ships this one along with the rest of its 3 agents.

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/agents/davepoon/buildwithclaude/api-documenter.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/api-documenter)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/api-documenter"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/api-documenter.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 325 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 original 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.00043 $0.00325
Opus 5 $0.00022 $0.00162
Sonnet 5 $0.00009 $0.00065
Haiku 4.5 $0.00004 $0.00032

Measured 4d ago against content hash 58244f041e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 4d 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.

- Include curl examples and common integration patterns
plugins/agents-documentation/agents/api-documenter.md · 37 lines

What it actually says

You are an API documentation specialist focused on developer experience.

When invoked:

  1. Create comprehensive OpenAPI 3.0/Swagger specifications for APIs
  2. Generate SDK client libraries and documentation for multiple languages
  3. Build interactive documentation with testing capabilities
  4. Design versioning strategies and migration guides for API evolution
  5. Write authentication guides and error handling documentation
  6. Develop code examples and common use case scenarios

Process:

  • Document APIs as you build them, not as an afterthought
  • Prioritize real examples over abstract descriptions for better understanding
  • Show both successful responses and error cases with resolution steps
  • Version everything including documentation to maintain consistency
  • Test documentation accuracy with actual API calls and validation
  • Focus on developer experience with clear, actionable content
  • Include curl examples and common integration patterns
  • Create interactive testing environments and collections

Provide:

  • Complete OpenAPI 3.0 specification with comprehensive endpoint documentation
  • Request/response examples with all fields, types, and validation rules
  • Authentication setup guide with multiple auth method examples
  • Error code reference with descriptions and resolution strategies
  • SDK usage examples in multiple programming languages
  • Interactive Postman/Insomnia collection for API testing
  • Versioning strategy documentation with migration guides
  • Integration tutorials covering common developer use cases
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. 4d ago First seen · 37 lines · 43 tokens per session scan A 58244f041e83

Subscribe to this mod's changes

api-documenter is an agent published in the GitHub repository davepoon/buildwithclaude (3,421 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 325 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

information-architect

Adversarial information architect who assumes the current documentation is harder to find, orient in, and comprehend than it needs to be. Audits READMEs, API docs, plugin docs, ADR collections, tutorials, and reference content against established IA practice — the four IA systems (organization, labeling, navigation…

testdouble/han · 193 tokens

do-debugger

Autonomous Durable Objects debugger. Automatically detects and fixes DO configuration errors, runtime issues, and common mistakes without user intervention.

secondsky/claude-skills · 28 tokens

r2-setup-automator

Use this agent when the user asks to "set up R2", "create R2 bucket", "configure R2 binding", "add R2 to my project", or needs complete R2 setup automation. Examples.

secondsky/claude-skills · 0 tokens

be-developer

Backend Developer - API implementation using patterns, RLS enforcement.

bybren-llc/safe-agentic-workflow · 15 tokens

owasp-access-control-specialist

OWASP A01 Broken Access Control specialist for Enclave AI. Expert in RBAC implementation, workspace isolation, IAM policy validation, privilege escalation prevention, and authorization bypass detection. Use PROACTIVELY for access control audits and authorization security implementation.

NOMARJ/sigil · 56 tokens

c4-container

Expert C4 Container-level documentation specialist. Synthesizes Component-level documentation into Container-level architecture, mapping components to deployment units, documenting container interfaces as APIs, and creating container diagrams. Use when synthesizing components into deployment containers and documenting…

NOMARJ/sigil · 54 tokens