api-documentation-specialist

api-documentation-specialist is an agent for coding agents 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

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

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 agents/fortiumpartners/ensemble/api-documentation-specialist
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00014 $0.02017
Opus 5 $0.00007 $0.01009
Sonnet 5 $0.00003 $0.00403
Haiku 4.5 $0.00001 $0.00202

Measured yesterday against content hash cc2f4b06e4f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 (11 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 2,017 once invoked, about $0.0001 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

tester

Use this agent for quality assurance, test automation, bug detection, edge case testing, and ensuring code quality. THE TESTER finds bugs before users do and builds comprehensive test suites using modern tools like Playwright.

TheWayWithin/agent-11 · 44 tokens

architect

Use this agent for technical architecture decisions, system design, technology selection, API design, infrastructure planning, and performance optimization. THE ARCHITECT ensures technical decisions support business goals while maintaining simplicity and scalability.

TheWayWithin/agent-11 · 42 tokens

designer

Use this agent for UI/UX design, visual design, design systems, user flows, wireframes, prototypes, and accessibility compliance. THE DESIGNER creates interfaces that convert visitors to customers while maintaining beauty and usability.

TheWayWithin/agent-11 · 45 tokens

developer

Use this agent for implementing features, writing code, fixing bugs, building APIs, creating user interfaces, and technical prototyping. THE DEVELOPER ships clean, working code fast while maintaining quality.

TheWayWithin/agent-11 · 41 tokens

documenter

Use this agent for creating technical documentation, API docs, user guides, READMEs, tutorials, and knowledge base content. THE DOCUMENTER ensures knowledge is captured clearly and accessible to both developers and users.

TheWayWithin/agent-11 · 45 tokens

analyst

Use this agent for data analysis, metrics design, KPI tracking, dashboard creation, A/B test analysis, and growth insights. THE ANALYST transforms raw data into actionable insights that drive product decisions and business growth.

TheWayWithin/agent-11 · 45 tokens