Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

/claude-api

slash never mined documented JSON

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.

Skill. Load Claude API 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. Run upgrade to move your project's Anthropic SDK dependency across a major version, currently the Python anthropic package from 0.x to 1.x. Run managed-agents-onboard for a walkthrough that creates a new Managed Agent. Run prompt-audit to flag instructions written for older models in your prompts, skills, and tool descriptions and propose fixes as a diff. Run cost-optimize to profile where your project's Claude API spend goes and propose savings from options such as prompt caching, trimming unneeded input and output tokens, batch processing, effort, and model choice, one change at a time. Run build-eval to build an eval set for your Claude-powered app, and hillclimb to iteratively improve the app against an existing eval. The prompt-audit subcommand requires Claude Code v2.1.221 or later, upgrade requires v2.1.236 or later, cost-optimize requires v2.1.247 or later, and build-eval and hillclimb require v2.1.259 or later

Anthropic's own wording. Read off Commands, captured 2026-09-28.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 149on this box, as of v2.1.308
Written about v2.1.219 first named in a changelog, 24 Jul 2026

In the changelogs

11

Releases whose published page names /claude-api.

  1. v2.1.305
    Changes to some features that are switched off by default

    A new remote switch was added to a list, and a condition behind another switched-off feature now needs an extra test

    found in this entry's text

  2. v2.1.305
    The /claude-api command check now accepts some local IDs

    The /claude-api check still blocks ant commands with staging, Vertex or Bedrock IDs, and now accepts strict local-server IDs

    found in this entry's text, named in this entry

  3. v2.1.304
    /claude-api now blocks some ant commands before they run

    The /claude-api skill now blocks ant commands with certain IDs and managed-agents-secure commands changed from the guide

    found in this entry's text, named in this entry

  4. v2.1.301
    The tip about /color and /rename is skipped in more cases

    The tip suggesting /color and /rename for telling sessions apart is now hidden in some extra cases

    found in this entry's text, named in this entry

  5. v2.1.290
    Built-in claude-api skill gains managed-agents guides and quickstarts

    The claude-api skill that ships with Claude Code now includes managed-agents reference docs, nine quickstart templates and an onboarding flow

    found in this entry's text

  6. v2.1.239
    Python 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, found in this entry's text

  7. v2.1.236
    Bundled 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, found in this entry's text

  8. v2.1.221
    migrate now ends with a prompt audit, and a TODO note ships inside the prompt

    The migrate command now finishes by auditing your prompts and tool descriptions for stale wording.

    named in this entry

  9. v2.1.221
    claude-api skill gains a prompt-audit subcommand

    You can run /claude-api prompt-audit to scan prompts and tool descriptions for outdated patterns and get a diff.

    named in this entry, found in this entry's text

  10. v2.1.219
    Bundled 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

  11. v2.1.219
    The 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, found in this entry's text

First cited

0

No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.

Presence across releases

0

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.

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.

Feedback