claude-api
Auto-discoveredBuild, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching....
by @anthropics ยท Updated May 15, 2026
Install
git clone https://github.com/anthropics/skills/tree/main/skills/claude-api ~/.claude/skills/claude-apiClones the Skill into Claude Code's global skills directory. Then restart Claude Code so it picks up the new Skill.
About this Skill
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 โ 4.6, 4.6 โ 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.
Tags
Comments
๐ฌ
Sign in to join the conversation
Share your experience, ask questions, or leave feedback.
No comments yet. Be the first!