Anthropic · Agent Skill

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…

Published by AnthropicSee LICENSE.txt603 lines in SKILL.md
Source
anthropics/skills/skills/claude-api
Repository owner
anthropics

Install

Read the SKILL.md and any scripts before installing: a skill runs with your agent's permissions. This copies just this skill into Claude Code's user skills folder; other agents read skills from their own folder.

Claude Code (user-level)

git clone --depth 1 --filter=blob:none --sparse https://github.com/anthropics/skills.git /tmp/skills
cd /tmp/skills && git sparse-checkout set "skills/claude-api"
mkdir -p ~/.claude/skills && cp -r "skills/claude-api" ~/.claude/skills/claude-api

Skills folder docs:

Works with

Agent Skills is an open format, so this skill loads in any harness that supports it, including Claude Code, Codex, Gemini CLI, OpenCode, Cursor, GitHub Copilot, goose, OpenHands. Some skills are written for one product and say so in their description.

More skills from Anthropic

Reviewed Oct 5, 2026. Name and description are the skill's own frontmatter.