
Claude API
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model
- Scripts
- JavaScript, Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 196K
- Last commit
- 1 day ago
- Listing updated
- today
When your agent uses it
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
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript and Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- No license found(see the files on GitHub)
From a static check of its 96 files (2.0 MB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Install
This skill ships in the claude-api plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add anthropics/skills
/plugin install claude-api@anthropic-agent-skillsOr copy only this skill to ~/.claude/skills/claude-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/claude-api &&
cp -R "$tmp/skills/claude-api" ~/.claude/skills/claude-api &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/claude-api inside it instead.
Copy the skill folder to ~/.agents/skills/claude-api to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/claude-api &&
cp -R "$tmp/skills/claude-api" ~/.agents/skills/claude-api &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/claude-api inside it instead.
Copy the skill folder to ~/.cursor/skills/claude-api to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/claude-api &&
cp -R "$tmp/skills/claude-api" ~/.cursor/skills/claude-api &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/claude-api inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/anthropics/skills.git --path skills/claude-apiOr copy the folder to ~/.gemini/skills/claude-api yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/claude-api:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/anthropics/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/claude-api &&
cp -R "$tmp/skills/claude-api" ~/.copilot/skills/claude-api &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/claude-api inside it instead.
Get the folder:
git clone --depth 1 https://github.com/anthropics/skills.gitThen copy skills/skills/claude-api into your agent's skills folder as claude-api. Agents that support SKILL.md read one folder per skill.
Claude API FAQ
How do I install Claude API in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/claude-api to use it in all your projects, or to .claude/skills/claude-api in one project. Or install the claude-api plugin, which includes it: /plugin marketplace add anthropics/skills, then /plugin install claude-api@anthropic-agent-skills.
Does Claude API run scripts?
Yes. It runs JavaScript and Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Claude API?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Claude API?
The closest alternatives to Claude API are Academy guide, MCP builder, Agent governance, Agentic eval and AI prompt engineering safety review.
More from anthropics/skills

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching cour
- 196K GitHub stars
- AI models and LLM tooling

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration
- 196K GitHub stars

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel
- 196K GitHub stars

Create beautiful visual art in .png and .pdf documents using design philosophy
- 196K GitHub stars
- Design and media

After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, p
- 196K GitHub stars

Guide users through a structured workflow for co-authoring documentation
- 196K GitHub stars
Alternatives to Claude API

Academy guide
SkillStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching cour
- 196K GitHub stars
- AI models and LLM tooling

MCP builder
SkillGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-design
- 196K GitHub stars
- AI models and LLM tooling

Agent governance
SkillPatterns and techniques for adding governance, safety, and trust controls to AI agent systems
- Open source
- 41.3K GitHub stars
- AI models and LLM tooling

Agentic eval
SkillPatterns and techniques for evaluating and improving AI agent outputs
- Open source
- 41.3K GitHub stars
- AI models and LLM tooling

Comprehensive AI prompt engineering safety review and improvement prompt
- Open source
- 41.3K GitHub stars
- AI models and LLM tooling



