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
One change · api

claude-api-skill changedagents-and-tools/agent-skills/claude-api-skill

Nearest release: v2.1.301, published 11 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+41added
Lines−12removed
From line 77 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 77, old and new numbered
/
lines
from line 77
7777 
7878You can also invoke it directly:
7979 
80```text wrap
80Use this skill in Claude Code
81 
82```text
8183/claude-api
8284```
8385 
from line 95
9395 
9496Or install it as a [Claude Code plugin](https://code.claude.com/docs/en/plugins):
9597 
98Let Claude Code install this for you
99 
100```text
101Install the claude-api plugin from the anthropics/skills plugin marketplace
102```
103 
104Or run these commands in Claude Code:
105 
96106```text wrap
97107/plugin marketplace add anthropics/skills
98108/plugin install claude-api@anthropic-agent-skills
from line 112
102112 
103113The Claude API skill can perform Claude model migrations across a code base. Invoke it directly with `/claude-api migrate`:
104114 
105```text wrap
106/claude-api migrate this project to claude-opus-5-5
115Let Claude Code migrate your code for you
116 
117```text
118/claude-api migrate this project to the latest Claude Opus model
107119```
108120 
109121You can also pass a specific scope up front to skip the scope-confirmation question:
110122 
111```text wrap
112/claude-api migrate everything under src/ to claude-opus-5-5
113/claude-api migrate apps/api.py and apps/worker.py to claude-opus-5-5
123Let Claude Code migrate your code for you
124 
125```text
126/claude-api migrate everything under src/ to the latest Claude Opus model
114127```
115128 
129Let Claude Code migrate your code for you
130 
131```text
132/claude-api migrate apps/api.py and apps/worker.py to the latest Claude Opus model
133```
134 
116135When the scope is ambiguous (for example, a bare `/claude-api migrate to claude-opus-5-5`), the skill asks you to choose between the entire working directory, a specific subdirectory, or an explicit file list before editing any files. This applies to both Messages API and Managed Agents callers.
117136 
118137The skill handles:
from line 154
135154 
136155[Preserved thinking](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking) keeps a `thinking` block valid only while the `system` prompt, `tools`, and messages before it stay unchanged. To find and fix the places where your code edits that history, open the repository that builds your requests and invoke the `preserved-thinking-migration` subcommand:
137156 
138```text wrap
157Let Claude Code check your code for you
158 
159```text
139160/claude-api preserved-thinking-migration
140161```
141162 
from line 176
155176 
156177To scaffold a new Managed Agent from scratch, invoke the `managed-agents-onboard` subcommand:
157178 
158```text wrap
179Let Claude Code set up your agent for you
180 
181```text
159182/claude-api managed-agents-onboard
160183```
161184 
from line 192
169192 
170193**Building a chat application:**
171194 
172```text wrap
195Let Claude Code build this for you
196 
197```text
173198Build a streaming chat UI with the Claude API in TypeScript
174199```
175200 
176201**Migrating an existing project:**
177202 
178```text wrap
179/claude-api migrate this codebase to claude-opus-5-5 and re-tune effort
203Let Claude Code migrate your code for you
204 
205```text
206/claude-api migrate this code base to the latest Claude Opus model and re-tune effort
180207```
181208 
182209**Onboarding a new Managed Agent:**
183210 
184```text wrap
211Let Claude Code set up your agent for you
212 
213```text
185214/claude-api managed-agents-onboard
186215```
187216 
Feedback