Claude API Reference

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.

Install

Run in your terminal

claude plugin marketplace add anthropics/skills && claude plugin install claude-api@anthropic-agent-skills

Adds the anthropic-agent-skills marketplace if you don't have it yet, then installs. Start a new Claude Code session to use it.

Already in a Claude Code session?

1. Add the marketplace (first time only)

/plugin marketplace add anthropics/skills

2. Install

/plugin install claude-api@anthropic-agent-skills

Published in the creator's own marketplace (anthropics/skills).

SKILL.md

Guides developers building LLM-powered applications with Claude: model selection & pricing (Fable 5, Opus 5, Sonnet 5, Haiku 4.5), SDK code for Python/TypeScript/Java/Go/Ruby/C#/PHP/cURL, streaming, thinking/effort, prompt caching, structured outputs, tool use, task budgets, compaction, fast mode, and migration guides.

Discussion

Discussion

0