api-documentation

api-documentation is a skill for Claude Code, Codex from Omar-Obando/qwen-orchestrator. It costs 53 tokens per session (2,446 once invoked), scanned A, original, MIT.

Guidance for documenting APIs, which are interfaces that let programs communicate. It covers OpenAPI and Swagger specifications, GraphQL schemas, SDK generation, examples, authentication, errors, and version changes.

In plain words
What is it for?
Writing API reference material, defining OpenAPI or GraphQL descriptions, documenting authentication and errors, generating SDKs, creating tutorials and examples, and automating documentation updates.
Why use it?
It helps developers understand how to call an API correctly and keeps the documentation aligned with its behaviour and releases.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/omar-obando/qwen-orchestrator/api-documentation
Any agent
npx skills add Omar-Obando/qwen-orchestrator --skill api-documentation
Clone the repo
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/api-documentation.svg)](https://agentmods.dev/skills/omar-obando/qwen-orchestrator/api-documentation)
Your own site
<a href="https://agentmods.dev/skills/omar-obando/qwen-orchestrator/api-documentation"><img src="https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/api-documentation.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,446 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.1 $0.00053 $0.02446
Opus 5 $0.00026 $0.01223
Sonnet 5 $0.00011 $0.00489
Haiku 4.5 $0.00005 $0.00245

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

Security

Grade A, and why

api-documentation 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 6d 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.

skills/api-documentation/SKILL.md · 392 lines

How it starts

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

API Documentation Skill — API Specialist

Overview

This skill provides comprehensive guidance for creating comprehensive API documentation. It covers OpenAPI specifications, Swagger documentation, GraphQL schemas, SDK generation, and API documentation best practices following CPTD and OpenAPI Specification certifications.

When to Use

Use this skill when:

  • Creating API documentation
  • Implementing OpenAPI specifications
  • Writing Swagger documentation
  • Creating GraphQL schemas
  • Generating SDKs from API specs
  • Documenting RESTful APIs
  • Documenting GraphQL APIs
  • Creating API documentation sites
  • Implementing API versioning documentation
  • Creating API examples
  • Writing API tutorials
  • Documenting API authentication
  • Documenting API error handling
  • Creating API changelogs
  • Implementing API documentation automation
  • Creating API documentation templates
  • Documenting API best practices
  • Creating API documentation style guides
  • Implementing API documentation testing
  • Creating API documentation metrics
  • Documenting API security requirements
  • Creating API documentation for developers
  • Implementing API documentation updates

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint specifications (use api-design skill)
  • Performing security audits (use security-auditor skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing documentation (use documentation-best-practices skill)

OpenAPI Specification

OpenAPI Structure

openapi: 3.1.0
info:
  title: API Title
  description: API description
  version: 1.0.0
  contact:
    name: API Support
    email: [email protected]
    url: https://example.com/support
servers:
  - url: https://api.example.com/v1
    description: Production server
  - url: https://staging-api.example.com/v1
    description: Staging server
paths:
  /users:
    get:
      summary: List all users
      operationId: listUsers
      tags:
        - users
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserList'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      summary: Create a new user
      operationId: createUser
      tags:
        - users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
      responses:
        '201':
          description: User created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Bad request
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        email:
          type: string
          format: email
    UserList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/User'
        pagination:
          $ref: '#/components/schemas/Pagination'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
security:
  - BearerAuth: []

Read the full file on GitHub · 392 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 392 lines · 53 tokens per session scan A a0d853162121

Subscribe to this mod's changes

api-documentation is a skill published in the GitHub repository Omar-Obando/qwen-orchestrator (48 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 2,446 once invoked, about $0.0003 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.