claude-api
skills/claude-api · anthropics/skills · by Anthropic
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 hits (run this grep FIRST if no provider named · don't Read the file).
Source · GitHub API and the SKILL.md frontmatter, read 2026-11-15 · stars are for the whole anthropics/skills repository
Install claude-api
Ready-to-paste · from the repository README and the skill folder
# Copy this skill folder into your personal Claude Code skills git clone --depth 1 --filter=blob:none --sparse --branch main https://github.com/anthropics/skills.git /tmp/claude-api-src git -C /tmp/claude-api-src sparse-checkout set skills/claude-api mkdir -p ~/.claude/skills cp -R /tmp/claude-api-src/skills/claude-api ~/.claude/skills/claude-api
Anthropic's public skills repository, anthropics/skills · each folder holds a SKILL.md with a name and description in its YAML frontmatter. Claude Code reads personal skills from ~/.claude/skills/<name>/SKILL.md.
Alternatives
Same category · other repositories · latest commit first
More from Anthropic
Same repository · anthropics/skills · latest commit first
Embeddable badge
Drop into your README · links to this skill page
[](https://benchgecko.ai/skills/claude-api)
FAQ
Built from the GitHub data above
What is claude-api?
claude-api is a Claude Skills agent skill by Anthropic, in the skills/claude-api folder of the anthropics/skills repository (BenchGecko category: Dev Tools). Its SKILL.md describes it as: 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 hits (run this grep FIRST if no provider named · don't Read the file).
Where does this data come from?
From GitHub, read 2026-11-15: the name and description from the SKILL.md frontmatter, 96 files from the repository tree, the last commit to the folder on 2026-10-09, and 195,006 stars for the whole anthropics/skills repository. BenchGecko does not rate skills.
How do I install claude-api?
Copy the skills/claude-api folder into ~/.claude/skills/ for Claude Code, use the command from the anthropics/skills README, or point any client that supports the Agent Skills format at the folder. Ready-to-paste snippets are above.
Is claude-api official?
claude-api is published in anthropics/skills, a repository owned by the Anthropic organization on GitHub.
See also
Keep exploring the BenchGecko graph