From anthropic-docs
Router for the Anthropic Messages API: messages, tool use, streaming, prompt caching, admin endpoints, compliance, beta features, and model catalog.
How this skill is triggered — by the user, by Claude, or both
Slash command
/anthropic-docs:anthropic-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Field | Value |
CHANGELOG.mdREADME.mdSKILL-admin.mdSKILL-beta.mdSKILL-compliance.mdSKILL-known-issues.mdSKILL-messages.mdSKILL-models.mdconfig.jsondocs-snapshot/MANIFEST.jsonreports/2026-05-18.mdreports/2026-05-19.mdreports/2026-05-20.mdreports/2026-05-21.mdreports/2026-05-22.mdreports/2026-05-23.mdreports/2026-05-24.mdreports/2026-05-25.mdreports/2026-05-26.mdreports/2026-05-27.md| Field | Value |
|---|---|
| API base | https://api.anthropic.com/v1/ |
| Source docs | platform.claude.com/docs/en/api |
| TypeScript SDK | @anthropic-ai/sdk |
| Python SDK | anthropic |
This skill is auto-updated daily. A pipeline reads the upstream docs and rewrites the per-surface files below. Section structure is stable; content drifts to track upstream.
| Surface file | Read when the user asks about… |
|---|---|
SKILL-messages.md | POST /v1/messages, request/response shape, tool_use / tool_result content blocks, streaming (stream: true), system prompts, count_tokens, message batches; also legacy /v1/complete (text completions) |
SKILL-admin.md | admin API — organizations, workspaces, API keys, invites, usage reports, cost reports |
SKILL-compliance.md | data residency, audit logs, retention policies, compliance API endpoints |
SKILL-beta.md | features gated behind anthropic-beta header, beta endpoints, opt-in feature flags |
SKILL-models.md | model IDs (claude-opus-4-7, claude-sonnet-4-6, claude-haiku-4-5-20251001, …), context window sizes, deprecation dates, model card / capabilities |
Out of scope for this skill (intentionally excluded by
docsPathFilter): the auto-generated per-language SDK reference underplatform.claude.com/docs/en/api/{cli,csharp,go,java,php,python,ruby,terraform,typescript}/(~1100 pages). Use your IDE's type-defs from@anthropic-ai/sdk(npm) oranthropic(PyPI) for those — they ship the authoritative signatures and stay in sync with the SDK release you're using.
| Rule file | Triggers on edits to |
|---|---|
rules/messages-api.md | code calling client.messages.create, POST /v1/messages, or constructing tool_use / tool_result content blocks |
This skill is auto-updated daily by a maintainer-run pipeline. File issues at xiaolai/anthropic-docs — SKILL fixes flow through the next research run, not via PRs.
npx claudepluginhub xiaolai/claude-plugin-marketplace --plugin anthropic-docsBuild applications on the Anthropic API and Claude Agent SDK: tool use, prompt caching, structured outputs, batches, extended thinking, model selection, and agentic loops.
Identifies common Anthropic Claude API anti-patterns in Python and TypeScript code. Use for reviewing integrations, onboarding developers, or debugging subtle issues.
Routes to Anthropic platform features above the Messages API: Agent Skills, MCP connectors, tool use, extended thinking, message batches, citations, Bedrock/Vertex, embeddings, billing, identity, and Managed Agents.