Hands-OnAI
← All skills
AutomationNewFreeWorks in Claude Code · Claude app · Codex

Claude API Builder

Build, debug, and speed up apps on the Claude API — the right way. (For developers.)

Claude API Builder is an official Anthropic skill for developers building on the Claude API and Anthropic SDK. It helps you write, debug, and optimize your app — with prompt caching built in for speed and lower cost — and cleanly migrate existing code between Claude model versions, all following Anthropic’s own best practices.

What it does

  • Helps you build and debug apps on the Claude API and Anthropic SDK.
  • Bakes in prompt caching so your app runs faster and costs less by default.
  • Guides tool use, streaming, batches, files, and memory the recommended way.
  • Migrates existing Claude code between model versions without the headaches.

When it kicks in

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).

Works with

  • Python
  • TypeScript
  • Anthropic SDK

Topics the skill covers

  • Before You Start
  • Output Requirement
  • Defaults
  • Subcommands
  • Language Detection
  • Which Surface Should I Use?
  • Architecture
  • Current Models
  • Thinking & Effort (Quick Reference)
  • Compaction (Quick Reference)
  • Prompt Caching (Quick Reference)
  • Managed Agents (Beta)
  • Reading Guide
  • When to Use WebFetch
  • Common Pitfalls

What's inside the download

  • SKILL.md — the skill itself, ready to install.
  • In-depth Python and TypeScript references for the Claude API.
  • Guides for managed agents, prompt caching, tool use, models, and error codes.

41 files in the .zip:

  • Skill InstructionsSKILL.md32.2 KB
  • LicenseLICENSE.txt11.1 KB
  • Claude APIcsharp/claude-api.md14.1 KB
  • Examplescurl/examples.md6.3 KB
  • Managed Agentscurl/managed-agents.md7.2 KB
  • Claude APIgo/claude-api.md13.5 KB
  • Claude APIjava/claude-api.md14.7 KB
  • Claude APIphp/claude-api.md10.9 KB
  • Claude APIruby/claude-api.md2.9 KB
  • Agent Designshared/agent-design.md8.1 KB
  • Error Codesshared/error-codes.md7.5 KB
  • Live Sourcesshared/live-sources.md16 KB
  • + 29 more files

How to install (2 minutes)

Same download for Claude Code, Claude app, Codex — follow the step for the tool you use.

  1. 1Download the .zip and unzip it — you’ll get a folder called claude-api.
  2. 2In the Claude app: open Settings → Capabilities → Skills, choose Add / Upload, and select the folder (or the .zip).
  3. 3In Claude Code: drop the folder into your project’s .claude/skills/ directory, then type /skills to confirm it loaded.
  4. 4In Codex: drop the folder into ~/.agents/skills/ (or your project’s .agents/skills/), then type /skills — or call it directly with $claude-api.
  5. 5That’s it — ask for Claude API help and it applies Anthropic’s best practices automatically.

New to skills? Our Claude Cowork beginner's guide shows how they work inside Claude.

Want to get the most out of your new skill?

Inside Hands-On AI Club we show you exactly how to use skills like this in real work — with step-by-step courses that show every move.