Skip to main content
reopt Handbook
reopt Handbook
Claude Code Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Flags

Task guides

Core command basicsStarting and resuming workSkills and Custom CommandsAutomation and Web CommandsOperations and Safety CommandsCustom commands and skillsMCP connections and commands

Conversation and context

Cmd. /add-dirCmd. /backgroundCmd. /compactCmd. /contextCmd. /copyCmd. /exportCmd. /forkCmd. /importCmd. /initCmd. /memoryCmd. /recapCmd. /renameCmd. /resumeCmd. /rewindCmd. claude purge

Planning and execution

Cmd. /autofix-prCmd. /batchCmd. /desktopCmd. /goalCmd. /loopCmd. /planCmd. /remote-envCmd. /scheduleCmd. /tasksCmd. /teleportCmd. /workflows

Review and verification

Cmd. /code-reviewCmd. /runCmd. /run-skill-generatorCmd. /security-reviewCmd. /simplifyCmd. /verify

Models and settings

Cmd. /claude-apiCmd. /configCmd. /effortCmd. /fastCmd. /modelCmd. /output-styleCmd. /update-config

Permissions and integrations

Cmd. /agentsCmd. /hooksCmd. /ideCmd. /mcpCmd. /permissionsCmd. /pluginCmd. /reload-pluginsCmd. /reload-skillsCmd. /sandboxCmd. /skillsCmd. /web-setup

Status and diagnostics

Cmd. /debugCmd. /diffCmd. /doctorCmd. /fewer-permission-promptsCmd. /release-notesCmd. /team-onboarding

Display and input

Cmd. /colorCmd. /focusCmd. /keybindingsCmd. /powerupCmd. /statuslineCmd. /terminal-setupCmd. /themeCmd. /tui

Account and usage

Cmd. /upgradeCmd. /usageCmd. /usage-credits

Legacy

Cmd. /costCmd. /pr-commentsCmd. /reviewCmd. /statsCmd. /ultrareviewCmd. /vimCmd. /approved-toolsCmd. /commandsCmd. /extra-usageCmd. /settingsCmd. /tagCmd. /todos

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Claude Code Command Master›Cmd. /batch
한국어KOEnglishEN

Cmd. /batch

Parallelize a large change across worktree subagents (skill).

Written and reviewed by Eric Han · Co-founder & CTO, reopt

Key takeaways

  • Parallelize a large change across worktree subagents (skill).
  • Check the input surface and availability before using the examples below.

Purpose

Parallelize a large change across worktree subagents (skill).

/batch <instruction>

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBundled skill
StatusConditional
Aliases—
Documented minimumNot specified
Reviewed against2026-10-23 · Claude Code 2.1.308
Release evidencev2.1.281

Requires a Git repository or a WorktreeCreate hook that creates the worktrees (outside Git: v2.1.281+); worktree tasks start after the proposed plan is approved.

Examples

/batch migrate src/utils from JavaScript to TypeScript

Effects and persistence

After plan approval, each unit runs in an isolated worktree, implements its change, runs tests, and publishes the change.

Cautions

Review the proposed units before approval. Worktrees isolate edits but do not eliminate integration conflicts. /batch needs a Git repository or a WorktreeCreate hook that creates the worktrees; running outside a Git repository through that hook requires Claude Code v2.1.281 or later.

Official sources

  • Commands
  • Worktrees
  • Sub Agents

Complete command list · Verification scope

Related docs

Cmd. /worktree

Codex Command Master · Run new or forked sessions in isolated Git checkouts, enabled by default from 0.156.0

Multi-session Workflow

Claude Code Complete Guide · Run parallel Claude Code sessions with git worktrees and agent view without losing branch, context, or verification control.

Cmd. /fewer-permission-prompts

Propose a read-only allowlist from transcripts (skill).

Cmd. /run

Launch and drive the app to verify a change (skill).

Cmd. /hooks

Codex Command Master · Review lifecycle hooks and manage trust or disabled state.

Cmd. /autofix-pr

Start a cloud session that fixes PR failures and review comments.

Cmd. /desktop

Continue the session in Claude Code Desktop (/app).

On this page

PurposeAvailabilityExamplesEffects and persistenceCautionsOfficial sources