Skill Official

claude-api

Reference for building with the Claude API / Anthropic SDK: model ids, params, streaming, tool use, MCP, agents, caching, migration.

Author
Anthropic
Works with
Claude Code
Documented
Oct 2, 2026

What claude-api is

Triggers whenever a prompt names Claude/Anthropic or is an LLM-shaped task with no provider stated; skips when another provider is in use.

What it does

How claude-api plugs in: which agents run it and what it addsRUNS INYour agentClaude Codeone host documentedSKILL · OFFICIALclaude-apiReusable instructions and scripts…4 install steps1 permission noteWHAT IT ADDSWhat it doesSupplies current model ids, prici…Covers streaming, tool use, cachi…Covers MCP and agent buildingGuides model migrationagent → extension → new capability · from the official repository or docs
Where claude-api runs and what it adds, from its documentation
  • Supplies current model ids, pricing and parameters
  • Covers streaming, tool use, caching, token counting
  • Covers MCP and agent building
  • Guides model migration

When to use it

Good fit

  • Building apps on the Claude API or SDKs
  • Asking about Claude pricing/limits

Not for

  • Projects using OpenAI, Gemini, Mistral, Cohere or Ollama

How to install claude-api

  1. Register the marketplace in Claude Code: /plugin marketplace add anthropics/skills
  2. Install the bundle that contains it (document-skills or example-skills): /plugin install claude-api@anthropic-agent-skills
  3. Or copy the skill folder to ~/.claude/skills/claude-api/ (personal) or .claude/skills/claude-api/ (project)
  4. Mention the task in a prompt; Claude loads the skill automatically when the SKILL.md description matches

Permissions and security

What it can access

  • Instructions loaded into Claude's context; any scripts it bundles run through Claude Code's normal tool permissions (shell, file edits)

Security notes from the maintainers

  • Anthropic repo disclaimer: skills are provided for demonstration and educational purposes; behavior in Claude may differ

Review the source before granting an agent access to credentials or production systems. We document what the maintainers state; we do not audit code.

Limitations

  • Repo README says implementations are examples and may differ from what Claude.ai provides

Tools it extends

Frequently asked questions

How do I install the claude-api skill in Claude Code?

Add the marketplace with /plugin marketplace add anthropics/skills and install the bundle containing it, or copy skills/claude-api into ~/.claude/skills/. source

When does Claude use the claude-api skill?

Claude loads it automatically when the request matches the description field in its SKILL.md frontmatter. source

Is the claude-api skill official?

Yes, it is published in Anthropic's anthropics/skills repository. source

Related guides

Sources and gaps

Not stated by the maintainers: last_release (repo has no releases read).

More extensions to look at