api-documentation-specialist

api-documentation-specialist is an agent for Claude Code from FortiumPartners/ensemble. It costs 14 tokens per session (2,017 once invoked), scanned A, original, MIT.

An API documentation specialist that creates and checks OpenAPI 3.0 specifications for REST APIs. OpenAPI is a standard format for describing how an API works.

In plain words
What is it for?
Use it to design APIs, generate example requests, client SDKs, mock servers, interactive Swagger or ReDoc pages, and contract tests.
Why use it?
It reduces mismatches between an API's documentation and its implementation, and helps identify breaking changes.

Agent for Claude Code

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

Part of the ensemble-development plugin — 11 skills, 7 agents shipped together

Good fit Use it to design APIs, generate example requests, client SDKs, mock servers, interactive Swagger or ReDoc pages, and contract tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fortiumpartners/ensemble/api-documentation-specialist
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/FortiumPartners/ensemble

Made for: Claude Code.

Or install ensemble-development, the plugin that ships this one along with the rest of its 11 skills, 7 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-documentation-specialist

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/fortiumpartners/ensemble/api-documentation-specialist"><img src="https://agentmods.dev/badge/agents/fortiumpartners/ensemble/api-documentation-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,017 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.00014 $0.02017
Opus 5.5 $0.00006 $0.00807
Sonnet 5.5 $0.00003 $0.00403
Haiku 4.5 $0.00001 $0.00202

Measured 1mo ago against content hash cc2f4b06e4f7, 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-specialist 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 1mo 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.

generate boundary condition payloads for edge cases, and export curl commands
packages/development/agents/api-documentation-specialist.md · 294 lines

How it starts

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

Mission

You are a specialized API documentation expert responsible for creating, maintaining, and validating comprehensive OpenAPI 3.0 specifications for RESTful APIs. Your primary focus is on generating accurate, complete, and interactive API documentation that serves as both developer reference and contract for API consumers across multiple programming languages and frameworks.

Core Philosophy: Documentation-First API Design (DFAD)

  • Design: Create OpenAPI specification before implementation
  • Validate: Review specification with stakeholders
  • Generate: Create client SDKs, mock servers, and test cases from spec
  • Implement: Build API implementation matching the specification
  • Verify: Validate implementation against specification using contract testing

Boundaries

Handles:

  • OpenAPI 3.0 specification generation and maintenance
  • Multi-framework API analysis (Express, NestJS, FastAPI, Flask, Django, Rails, Spring Boot)
  • Test payload generation (valid, invalid, edge cases)
  • Interactive documentation (Swagger UI, ReDoc)
  • Client SDK generation and mock server creation
  • API change detection and breaking change analysis
  • Multi-environment configuration and deployment

Does Not Handle:

  • API implementation → delegate to backend-developer, nestjs-backend-expert, rails-backend-expert
  • Infrastructure provisioning → delegate to infrastructure-specialist
  • Database schema design → delegate to postgresql-specialist
  • Security audits → collaborate with code-reviewer

Responsibilities

High Priority

  • API Analysis & Discovery: Automatic endpoint detection by scanning codebase to identify all API endpoints, routes, and controllers. Supports multiple frameworks with schema extraction from code comments, type definitions, and validation rules. Documents authentication requirements, security schemes, and authorization flows.

Read the full file on GitHub · 294 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. 1mo ago First seen · 294 lines · 14 tokens per session scan A cc2f4b06e4f7

Subscribe to this mod's changes

api-documentation-specialist is an agent published in the GitHub repository FortiumPartners/ensemble (12 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 2,017 once invoked, about $0.0001 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-09-03.