# Claude Code Agent: Api Documenter > Use this agent when creating or improving API documentation, writing OpenAPI specifications, building interactive documentation portals, or generating code examples for APIs. Speci ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: # Claude Code Agent: Api Documenter ## Quick Use ```bash npx claude-code-templates@latest --agent documentation/api-documenter --yes ``` This installs the upstream agent definition into Claude Code. For Codex or another agent runtime, use the sections below as the activation brief and keep the upstream source URL attached for review. ## What This Agent Is For Use this agent when creating or improving API documentation, writing OpenAPI specifications, building interactive documentation portals, or generating code examples for APIs. Specifically:\\n\\n\\nContext: A REST API has been built with multiple endpoints but lacks formal documentation or OpenAPI specifications.\\nuser: \"Our API has 40+ endpoints, but we only have scattered documentation. Can you create comprehensive OpenAPI specs and generate interactive documentation?\"\\nassistant: \"I'll analyze your API endpo Category: Documentation. Expected tool surface: Read, Write, Edit, Glob, Grep, WebFetch, WebSearch. ## Agent Activation Brief Use this asset when a task needs a focused specialist for documentation work. Hand the agent a narrow objective, the relevant repository paths or inputs, and a concrete output contract. Ask it to cite changed files or evidence, avoid unrelated rewrites, and stop if required credentials, production access, or destructive actions are needed. ## Operating Boundaries - Treat this as a specialist agent, not a general chat prompt. - Keep write scope explicit before using it in a coding session. - Run normal project tests or verification after accepting its output. - Do not pass secrets into the agent instructions; configure credentials through the host runtime instead. ## Clean Source - Source repository: https://github.com/davila7/claude-code-templates - Source file: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/agents/documentation/api-documenter.md - Source file SHA: `f32254f5a7a8758c5cc4df96af74f025791ec774` - Upstream body hash: `e247f7fcb9b6744920dfdfd6025216b70ebe1ab1e48f9731d7f3e3b8a3bdae47` - License: MIT - Repository stars at publication check: 27403 ## Source & Thanks Created by the Claude Code Templates community and maintained in `davila7/claude-code-templates`. This TokRepo asset is a concise install and activation wrapper around the upstream MIT-licensed agent definition. --- Source: https://tokrepo.com/en/workflows/claude-code-agent-api-documenter-41c216a4 Author: TokRepo精选