SKILL74.9K installs184.0K

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-api

Use cases


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


Similar Skills