api-documentation-writer

api-documentation-writer is a skill for Claude Code, Codex from OneWave-AI/ClaudeCodeUnleashed. It costs 63 tokens per session (1,794 once invoked), scanned A, a copy of api-documentation-writer, MIT.

A skill for writing developer documentation for APIs, which are interfaces that let software communicate. It can structure endpoint references, examples, authentication guidance, error information, SDK details, and OpenAPI or Swagger specifications when the required API details are provided.

In plain words
What is it for?
Documenting REST, GraphQL, WebSocket, or gRPC APIs, including setup, authentication, endpoints, request and response formats, and usage examples.
Why use it?
It turns scattered API information into instructions developers can use to connect to the service and understand its responses and errors.

Skill for Claude CodeCodex

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/onewave-ai/claudecodeunleashed/api-documentation-writer
Any agent
npx skills add OneWave-AI/ClaudeCodeUnleashed --skill api-documentation-writer
Clone the repo
git clone --depth 1 https://github.com/OneWave-AI/ClaudeCodeUnleashed

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/onewave-ai/claudecodeunleashed/api-documentation-writer.svg)](https://agentmods.dev/skills/onewave-ai/claudecodeunleashed/api-documentation-writer)
Your own site
<a href="https://agentmods.dev/skills/onewave-ai/claudecodeunleashed/api-documentation-writer"><img src="https://agentmods.dev/badge/skills/onewave-ai/claudecodeunleashed/api-documentation-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00063 $0.01794
Opus 5 $0.00032 $0.00897
Sonnet 5 $0.00013 $0.00359
Haiku 4.5 $0.00006 $0.00179

Measured 4d ago against content hash dafe57dc8808, 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-writer 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 4d 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.

- Example request (curl, JavaScript, Python)
Origin

This is a copy

100% identical to api-documentation-writer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/starter-skills/api-documentation-writer/SKILL.md · 295 lines

How it starts

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

API Documentation Writer

Create comprehensive, developer-friendly API documentation.

Instructions

When a user needs API documentation:

  1. Gather API Information:

    • API type (REST, GraphQL, WebSocket, gRPC)?
    • Authentication method (API key, OAuth, JWT)?
    • Base URL and versioning strategy?
    • Available endpoints and their purposes?
    • Request/response formats?
    • Rate limiting or usage restrictions?
  2. Generate Complete Documentation Structure:

    Overview Section:

    • What the API does (1-2 sentences)
    • Key capabilities
    • Getting started checklist
    • Support and resources

    Authentication:

    • How to obtain credentials
    • Where to include auth tokens
    • Example authenticated request
    • Token refresh process (if applicable)

    Base URL & Versioning:

    • Production and sandbox URLs
    • Version format (path, header, query param)
    • Current version and changelog link

    Endpoints (for each endpoint):

    • HTTP method and path
    • Description of what it does
    • Path parameters
    • Query parameters
    • Request headers
    • Request body schema
    • Response codes and meanings
    • Response body schema
    • Example request (curl, JavaScript, Python)
    • Example response (formatted JSON)

    Error Handling:

    • Standard error response format
    • Common error codes and meanings
    • Troubleshooting guide

    Rate Limiting:

    • Limits and windows
    • Headers to check
    • How to handle rate limit errors

    SDKs & Libraries:

    • Official client libraries
    • Community libraries
    • Installation instructions

    Webhooks (if applicable):

    • Available webhook events
    • Setup process
    • Payload examples
    • Security verification
  3. Format Output (REST API example):

    # [API Name] Documentation
    
    ## Overview
    
    [Brief description of what the API does]
    
    **Base URL**: `https://api.example.com/v1`
    
    **Authentication**: API Key via `Authorization` header
    
    ## Quick Start
    
    1. [Step 1]
    2. [Step 2]
    3. [Step 3]
    
    ## Authentication
    
    All requests require an API key in the `Authorization` header:
    
    

    Authorization: Bearer YOUR_API_KEY

    
    Get your API key from [dashboard link].
    
    ## Endpoints
    
    ### GET /resource
    
    Retrieve a list of resources.
    
    **Parameters**:
    - `limit` (optional, integer): Number of results (max 100, default 10)
    - `offset` (optional, integer): Pagination offset (default 0)
    - `filter` (optional, string): Filter by field
    
    **Request Example**:
    ```bash
    curl -X GET "https://api.example.com/v1/resource?limit=10" \
      -H "Authorization: Bearer YOUR_API_KEY"
    

    Response (200 OK):

    {
      "data": [
        {
          "id": "123",
          "name": "Example",
          "created_at": "2024-01-15T10:00:00Z"
        }
      ],
      "total": 100,
      "limit": 10,
      "offset": 0
    }
    

    Response Codes:

    • 200 - Success
    • 400 - Bad request (invalid parameters)
    • 401 - Unauthorized (invalid API key)
    • 429 - Rate limit exceeded
    • 500 - Server error

    POST /resource

    Create a new resource.

    Request Body:

    {
      "name": "string (required)",
      "description": "string (optional)",
      "metadata": "object (optional)"
    }
    

    Request Example:

    curl -X POST "https://api.example.com/v1/resource" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "My Resource",
        "description": "A test resource"
      }'
    

    Response (201 Created):

    {
      "id": "124",
      "name": "My Resource",
      "description": "A test resource",
      "created_at": "2024-01-15T10:30:00Z"
    }
    

    Error Handling

    All errors follow this format:

    {
      "error": {
        "code": "invalid_request",
        "message": "The 'name' field is required",
        "details": {
          "field": "name"
        }
      }
    }
    

    Common Error Codes:

    • invalid_request - Malformed request
    • authentication_failed - Invalid API key
    • not_found - Resource doesn't exist
    • rate_limit_exceeded - Too many requests
    • internal_error - Server error

    Rate Limiting

    Limits: 1000 requests per hour

    Headers:

    • X-RateLimit-Limit: Total requests allowed
    • X-RateLimit-Remaining: Requests remaining
    • X-RateLimit-Reset: Timestamp when limit resets

    When rate limited, you'll receive a 429 status code.

    Code Examples

    JavaScript (Node.js)

    const response = await fetch('https://api.example.com/v1/resource', {
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    });
    const data = await response.json();
    

    Python

    import requests
    

Read the full file on GitHub · 295 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. 4d ago First seen · 295 lines · 63 tokens per session scan A dafe57dc8808

Subscribe to this mod's changes

api-documentation-writer is a skill published in the GitHub repository OneWave-AI/ClaudeCodeUnleashed (5 stars, last pushed 6mo ago), licensed MIT. It adds 63 tokens to every session and 1,794 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to api-documentation-writer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens