# Anthropic Api

> |

- **Type:** Skill
- **Install:** `agentstack add skill-xiaolai-anthropic-docs-anthropic-api`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [xiaolai](https://agentstack.voostack.com/s/xiaolai)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [xiaolai](https://github.com/xiaolai)
- **Source:** https://github.com/xiaolai/anthropic-docs/tree/main/skills/anthropic-api
- **Website:** https://github.com/xiaolai/autoupdated-anthropic-documentation-knowledge

## Install

```sh
agentstack add skill-xiaolai-anthropic-docs-anthropic-api
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Anthropic API Reference — Router

| Field | Value |
|---|---|
| **API base** | `https://api.anthropic.com/v1/` |
| **Source docs** | [platform.claude.com/docs/en/api](https://platform.claude.com/docs/en/api) |
| **TypeScript SDK** | [`@anthropic-ai/sdk`](https://www.npmjs.com/package/@anthropic-ai/sdk) |
| **Python SDK** | [`anthropic`](https://pypi.org/project/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.

## Dispatch table

| Surface file | Read when the user asks about… |
|---|---|
| [`SKILL-messages.md`](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`](SKILL-admin.md) | admin API — organizations, workspaces, API keys, invites, usage reports, cost reports |
| [`SKILL-compliance.md`](SKILL-compliance.md) | data residency, audit logs, retention policies, compliance API endpoints |
| [`SKILL-beta.md`](SKILL-beta.md) | features gated behind `anthropic-beta` header, beta endpoints, opt-in feature flags |
| [`SKILL-models.md`](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 under
> `platform.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) or `anthropic` (PyPI) for those — they ship the authoritative
> signatures and stay in sync with the SDK release you're using.

## Auto-correction rules

| 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](https://github.com/xiaolai/anthropic-docs) —
SKILL fixes flow through the next research run, not via PRs.*

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [xiaolai](https://github.com/xiaolai)
- **Source:** [xiaolai/anthropic-docs](https://github.com/xiaolai/anthropic-docs)
- **License:** MIT
- **Homepage:** https://github.com/xiaolai/autoupdated-anthropic-documentation-knowledge

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-xiaolai-anthropic-docs-anthropic-api
- Seller: https://agentstack.voostack.com/s/xiaolai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
