Claude Code /batch Command: Parallel Worktree Agents for Codebase-Wide Migrations
Pasquale Pillitteri / Claude Code Docs·high signal
Claude Code's /batch command decomposes large codebase changes into 5-30 independent units and spawns isolated git worktree agents to execute them in parallel. The companion /simplify command runs a 3-agent parallel code review (reuse, quality, efficiency) and auto-applies fixes. Together these commands bring multi-agent parallelism into everyday refactoring and migration tasks directly from the CLI.