ensemble-generate-api-docs

ensemble-generate-api-docs is a skill for Claude Code, Codex from FortiumPartners/ensemble. It costs 31 tokens per session (302 once invoked), scanned A, original, MIT.

A code-analysis workflow that creates API documentation in OpenAPI 3.0 format. OpenAPI is a standard machine-readable description of an application's endpoints, inputs, outputs, and errors.

In plain words
What is it for?
Use it to find API endpoints and their request and response schemas, then produce an openapi.yaml file, endpoint descriptions, examples, and error documentation.
Why use it?
It turns API details spread through source code into a structured specification and readable documentation, so developers do not have to document every endpoint by hand.

Skill for Claude CodeCodex

Part of the ensemble-codex plugin — 40 skills 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 skills/fortiumpartners/ensemble/ensemble-generate-api-docs
Any agent
npx skills add FortiumPartners/ensemble --skill ensemble-generate-api-docs
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code, Codex.

Or install ensemble-codex, the plugin that ships this one along with the rest of its 40 skills.

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 ensemble-generate-api-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-generate-api-docs.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-generate-api-docs)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-generate-api-docs"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-generate-api-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 302 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00031 $0.00302
Opus 5 $0.00015 $0.00151
Sonnet 5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 5d ago against content hash bae3fa1a7986, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ensemble-generate-api-docs scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/codex/.codex/skills/commands/ensemble-generate-api-docs/SKILL.md · 53 lines

What it actually says

Ensemble Command: /ensemble:generate-api-docs

This Codex skill mirrors the Ensemble slash command /ensemble:generate-api-docs. Follow the workflow below, adapt to the current repository, and keep outputs structured.

Generate comprehensive API documentation from codebase analysis, including OpenAPI/Swagger specifications, endpoint descriptions, request/response examples, and error documentation.

Workflow

Phase 1: API Discovery

1. Endpoint Scanning Scan codebase for API endpoints

2. Schema Extraction Extract request/response schemas

Phase 2: Documentation Generation

1. OpenAPI Generation Generate OpenAPI 3.0 specification

Delegation: @api-documentation-specialist Discovered endpoints and schemas

2. Example Creation Create request/response examples

Expected Output

Format: OpenAPI 3.0 Specification

Structure:

  • openapi.yaml: Complete OpenAPI specification
  • API Documentation: Human-readable API documentation

Usage

/ensemble:generate-api-docs
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 · 53 lines · 31 tokens per session scan A bae3fa1a7986

Subscribe to this mod's changes

ensemble-generate-api-docs is a skill published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 302 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

saas-payments

Implement production-ready payment processing with Stripe including one-time payments, recurring subscriptions, customer portal, metered billing, and webhook handling. This skill covers the complete billing lifecycle from checkout through subscription management.

TheWayWithin/agent-11 · 4 tokens

saas-auth

Implement production-ready authentication for SaaS applications including email/password, OAuth social login, session management, and security best practices. This skill covers the complete auth lifecycle from signup through password recovery.

TheWayWithin/agent-11 · 3 tokens

saas-analytics

Implement product analytics for understanding user behavior, tracking key metrics, and making data-driven decisions. Covers event tracking, user identification, cohort analysis, and integration with analytics platforms like PostHog, Mixpanel, or custom solutions.

TheWayWithin/agent-11 · 4 tokens

saas-onboarding

Implement effective user onboarding flows that drive activation and reduce churn. Covers setup wizards, progress checklists, contextual tooltips, and tracking of key activation milestones. Focus on getting users to their "aha moment" quickly.

TheWayWithin/agent-11 · 4 tokens

saas-billing

Implement subscription lifecycle management, plan enforcement, usage tracking, and billing operations. Covers trial periods, plan changes, quota enforcement, and subscription status synchronization with payment providers.

TheWayWithin/agent-11 · 4 tokens

saas-email

Implement reliable transactional email delivery for SaaS applications including templating, queuing, delivery tracking, and provider abstraction. Covers common email types: welcome, verification, password reset, notifications, and invoices.

TheWayWithin/agent-11 · 3 tokens