/batch
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. Orchestrate large-scale changes across a codebase in parallel. Researches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan. Once approved, spawns one background subagent per unit in an isolated worktree. Each subagent implements its unit, runs tests, and publishes its change. Requires a git repository or a WorktreeCreate hook that creates the worktrees. Outside a git repository, /batch requires Claude Code v2.1.281 or later. Example: /batch migrate src/ from JavaScript to TypeScript
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
5Releases whose published page names /batch.
-
v2.1.281
/batch works outside a git repository when a WorktreeCreate hook is configured
/batchnow runs outside a git repository when aWorktreeCreatehook is configured, publishing through the project's own version controlfound in this entry's text, named in this entry
-
v2.1.265
Artifact-database str_replace edit op, gated off by default
Artifact database gains a targeted str_replace edit operation, currently gated off
found in this entry's text
-
v2.1.227
Large bundled skill and docs blocks moved, not deleted
Big skill and docs blocks that look deleted were only moved; nothing was dropped.
named in this entry, found in this entry's text
-
v2.1.63
/batch Command
found in this entry's text
-
v1.0.0
Removed Features
found in this entry's text
First cited
1The earliest release whose published evidence quoted /batch was v2.1.281, 23 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The 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.