/claude-api
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
[Skill](/docs/en/skills#bundled-skills). Load [Claude API](https://platform.claude.com/docs/en/api/overview) and Managed Agents reference material for your project's language. Also activates automatically when your code imports anthropic or @anthropic-ai/sdk. Run migrate to update existing Claude API code to a newer model; upgrade to move your project's Anthropic SDK dependency across a major version, currently the Python anthropic package from 0.x to 1.x; managed-agents-onboard for a walkthrough that creates a new Managed Agent; or prompt-audit to flag instructions written for older models in your prompts, skills, and tool descriptions and propose fixes as a diff. The prompt-audit subcommand requires Claude Code v2.1.221 or later, and upgrade requires v2.1.236 or later
Anthropic's own wording. Read off Commands, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.239Python SDK upgrade guide rewritten against the shipped anthropic 1.0.0 migration notes
The /claude-api Python upgrade guide now matches the released 1.0.0 SDK built on httpx2.
named in this entry
-
v2.1.236Bundled guide for upgrading the anthropic Python SDK to 1.x
A bundled guide walks your project through upgrading the anthropic Python SDK to 1.x.
named in this entry
-
v2.1.221
migratenow ends with a prompt audit, and a TODO note ships inside the promptThe migrate command now finishes by auditing your prompts and tool descriptions for stale wording.
named in this entry
-
v2.1.221claude-api skill gains a
prompt-auditsubcommandYou can run /claude-api prompt-audit to scan prompts and tool descriptions for outdated patterns and get a diff.
named in this entry
-
v2.1.219Bundled Claude API skill docs rewritten around Opus 5
The bundled Claude API skill docs now target the new Opus, covering thinking defaults, fallbacks and fast mode.
named in this entry
-
v2.1.219The API skill's model placeholders now resolve to Claude Opus 5, with the previous Opus kept as a separate placeholder
The API skill's model placeholders now render Opus 5, keeping the previous Opus named separately.
named in this entry
Documentation pages
- Commands reference table Claude Code CLI
- Or, for the model with the same capabilities and no access approval requirement: mentions it Claude Developer Platform
- optimizing-for-cost-and-intelligence mentions it Claude Developer Platform
- claude-api-skill mentions it Claude Developer Platform
- PDF Processing mentions it Claude Developer Platform
- claude-in-amazon-bedrock mentions it Claude Developer Platform
- claude-in-microsoft-foundry mentions it Claude Developer Platform
- claude-on-vertex-ai mentions it Claude Developer Platform
- claude-platform-on-aws mentions it Claude Developer Platform
- cmek mentions it Claude Developer Platform
- cmek-aws-kms mentions it Claude Developer Platform
- cmek-azure-key-vault mentions it Claude Developer Platform
- cmek-google-cloud-kms mentions it Claude Developer Platform
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.