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.
git clone --depth 1 https://github.com/evan043/claude-cli-advanced-starter-packWrote 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.
[](https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/api-docs.template)<a href="https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/api-docs.template"><img src="https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/api-docs.template/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.
<a href="https://agentmods.dev/commands/evan043/claude-cli-advanced-starter-pack/api-docs.template"><img src="https://agentmods.dev/badge/commands/evan043/claude-cli-advanced-starter-pack/api-docs.template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03663 |
| Opus 5.5 | $0.00000 | $0.01465 |
| Sonnet 5.5 | $0.00000 | $0.00733 |
| Haiku 4.5 | $0.00000 | $0.00366 |
Grade A, and why
api-docs.template 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 660 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Runtime Compatibility
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows:
AskUserQuestion=> ask the user directly in chat.WebSearch/WebFetch=> use available web tools (search_query,open,find) and cite links.Read/Write=> use shell/filesystem tools in this workspace.- Claude-only MCP calls (for example Playwright MCP names) => use available equivalents or clearly state fallback.
- Keep intent and output format identical; only adapt execution mechanics.
description: Generate comprehensive API documentation type: project complexity: medium allowed-tools: Bash, Read, Write, Grep, Glob category: documentation
/api-docs
Auto-generate OpenAPI/Swagger documentation for your API.
Usage
/api-docs
/api-docs --generate
/api-docs --serve
/api-docs --postman
What It Does
- Detect API Framework - Identify Express, FastAPI, etc.
- Generate OpenAPI Spec - Create OpenAPI 3.0 specification
- Add Documentation - Document all endpoints
- Request/Response Examples - Add example payloads
- Generate Postman Collection - Export for testing
- Host Documentation - Set up Swagger UI or Redoc
Step 1: Detect API Framework
{{#if backend.framework}}
Detected Backend: {{backend.framework}}
{{#if (eq backend.framework "express")}} Strategy: Install swagger-jsdoc + swagger-ui-express {{/if}}
{{#if (eq backend.framework "fastapi")}} Strategy: Use built-in OpenAPI generator {{/if}}
{{#if (eq backend.framework "nest")}} Strategy: Use @nestjs/swagger {{/if}}
{{else}}
No backend framework detected. Will analyze routes manually.
{{/if}}
Step 2: Installation & Setup
Express.js
npm install swagger-jsdoc swagger-ui-express
npm install --save-dev @types/swagger-jsdoc @types/swagger-ui-express
Create src/swagger.js:
const swaggerJsdoc = require('swagger-jsdoc');
const swaggerUi = require('swagger-ui-express');
const options = {
definition: {
openapi: '3.0.0',
info: {
title: '{{projectName}} API',
version: '1.0.0',
description: 'API documentation for {{projectName}}',
contact: {
name: 'API Support',
email: '[email protected]',
},
},
servers: [
{
url: '{{deployment.backend.productionUrl}}',
description: 'Production server',
},
{
url: 'http://localhost:{{backend.devServerPort || 8001}}',
description: 'Development server',
},
],
components: {
securitySchemes: {
bearerAuth: {
type: 'http',
scheme: 'bearer',
bearerFormat: 'JWT',
},
},
},
security: [
{
bearerAuth: [],
},
],
},
apis: ['./src/routes/*.js', './src/routes/*.ts'], // Path to route files
};
const specs = swaggerJsdoc(options);
module.exports = { specs, swaggerUi };
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.
- 1mo ago First seen · 660 lines · 0 tokens per session scan A eba26e824e3a
api-docs.template is a command published in the GitHub repository evan043/claude-cli-advanced-starter-pack (61 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,663 tokens. 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.
Other commands, from other repositories
hatch3r-api-spec
Generate or validate an OpenAPI specification from the codebase. Scans route definitions, extracts schemas, and produces a complete API spec.
wp
WordPress site management command. Site status, plugin/theme management, security scan, and bulk updates.
streaming-api-patterns
Real-time data streaming with SSE, WebSockets, and ReadableStream. Use when implementing token streaming, Server-Sent Events, backpressure handling, or reconnection strategies. Triggers on streaming, SSE, Server-Sent Events, WebSocket, ReadableStream, backpressure, reconnection, token streaming.
llm-streaming
LLM streaming response patterns. Use when implementing real-time token streaming, Server-Sent Events for AI responses, or streaming with tool calls. Triggers on LLM streaming, token streaming, SSE, streaming response, stream tool calls, real-time LLM, incremental output.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.