Claude Api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hi
- Type
- Skill
- Author
- anthropics
- Category
- API Integration
- GitHub stars
- 184.0K
- Installs
- 74.9K
- Last updated
- October 28, 2026
Install
npx skills add https://github.com/anthropics/skills --skill claude-apiUse cases
- Check current Claude model ids and pricing before writing an integration.
- Look up streaming, tool use, or caching parameters for the Anthropic SDK.
- Plan a model migration between Claude versions.
Frequently Asked Questions
When should this reference be read?
Before answering any question that names Claude or Anthropic, or any LLM-shaped task where the provider is unstated.
When should it be skipped?
When another provider is explicitly being worked on — OpenAI, GPT, Gemini, Llama, Mistral, Cohere, or Ollama.
What topics does it cover?
Model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, and model migration.
About this skill
A reference for the Claude API and Anthropic SDK covering model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, and model migration. It should be read before answering any question that names Claude or Anthropic, or any LLM-shaped task where the provider is unstated. Skip it only when another provider like OpenAI, Gemini, or Mistral is explicitly being worked on.
Summary written with AI assistance from the project's public description.
Categories
More from anthropics
Frontend Design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography,...
by anthropics
Skill Creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or...
by anthropics
Pptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks,...
by anthropics
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or mergi...
by anthropics
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh