api-doc

api-doc is a skill for Claude Code from barnburner121/claude-plugin-marketplace. It costs 12 tokens per session (160 once invoked), scanned A, original, no licence file.

A tool for generating OpenAPI or Swagger specifications from route handlers. These specifications describe an HTTP API's routes, inputs, and outputs in a format that people and tools can read.

In plain words
What is it for?
It helps document web API route handlers as OpenAPI or Swagger files.
Why use it?
It avoids writing and maintaining API documentation separately from the code that handles each route.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the api-docs plugin — 1 skill shipped together

Good fit It helps document web API route handlers as OpenAPI or Swagger files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/barnburner121/claude-plugin-marketplace/api-doc
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 barnburner121/claude-plugin-marketplace --skill api-doc
Clone the repo
git clone --depth 1 https://github.com/barnburner121/claude-plugin-marketplace

Made for: Claude Code.

Or install api-docs, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/api-doc/github.svg)](https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/api-doc)
Your own site
<a href="https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/api-doc"><img src="https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/api-doc/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-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/barnburner121/claude-plugin-marketplace/api-doc"><img src="https://agentmods.dev/badge/skills/barnburner121/claude-plugin-marketplace/api-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 160 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00012 $0.00160
Opus 5 $0.00006 $0.00080
Sonnet 5 $0.00002 $0.00032
Haiku 4.5 $0.00001 $0.00016

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

Security

Grade A, and why

api-doc 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 8d 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.

generated-plugins/api-docs/skills/api-doc/SKILL.md · 25 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 25 lines · 12 tokens per session scan A a0fe7b6b6296

Subscribe to this mod's changes

api-doc is a skill published in the GitHub repository barnburner121/claude-plugin-marketplace (3 stars, last pushed 5mo ago), with no licence file. It adds 12 tokens to every session and 160 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

offline-queue

Generates an offline operation queue with persistence, automatic retry on connectivity, and conflict resolution. Use when user needs offline-first behavior, queued mutations, or pending operations that sync when back online.

rshankras/claude-code-apple-skills · 42 tokens

http-cache

Generates an HTTP caching layer with Cache-Control parsing, ETag/conditional requests, and offline fallback. Use when user wants to add response caching, offline support, or reduce API calls.

rshankras/claude-code-apple-skills · 41 tokens

email-systems

Transactional email (Resend, SendGrid, SES), templates (React Email, MJML), deliverability (SPF/DKIM/DMARC), and inboxing best practices. Use when building email infrastructure, designing templates, or troubleshooting deliverability.

travisjneuman/.claude · 55 tokens

spring-validation

Bean Validation (JSR-380) with Spring Boot. Covers request validation, custom validators, validation groups, and error handling. USE WHEN: user mentions "spring validation", "@Valid", "@NotNull", "@NotBlank", "bean validation", "request validation", "custom validator", "validation groups", "ConstraintValidator"…

claude-dev-suite/claude-dev-suite · 95 tokens

nestjs

NestJS enterprise Node.js framework. Covers modules, controllers, services, guards, and dependency injection. Use when building scalable Node.js applications. USE WHEN: user mentions "NestJS", "nest", "@nestjs", "@Module", "@Controller", "@Injectable", asks about "dependency injection in Node.js", "enterprise Node.js…

claude-dev-suite/claude-dev-suite · 157 tokens

spring-aop

Spring AOP (Aspect-Oriented Programming) per Spring Boot 3.x. Copre @Aspect, pointcut expressions, @Around/@Before/@After advice, custom annotations, logging, security, caching, e transaction patterns. Usa per cross-cutting concerns. USE WHEN: user mentions "aspect", "AOP", "cross-cutting", "logging aspect"…

claude-dev-suite/claude-dev-suite · 130 tokens