What problem does it solve?
Applying the same change pattern across dozens of files (migrations, codemods, refactors) is slow and error-prone when done sequentially, and a single agent context cannot reliably handle 10+ files at once.
Core Features & Use Cases
- Automated Decomposition: Scans the repository, finds every matching target, and splits the work into 5-30 independent, verifiable units.
- Parallel Isolated Execution: Spawns one background agent per unit, each in its own git worktree, running tests and opening a PR per unit.
- Approval Gate & Collection: Presents the full unit plan for explicit approval before execution, then collects pass/fail results and PR links, flagging failed units for retry.
- Use Case: Convert 18 React class components to function components — the orchestrator finds all of them, you approve the plan, and 18 parallel agents each convert, test, and open a PR.
Quick Start
Run /batch followed by a description of the change pattern, such as asking to migrate from moment.js to dayjs across the codebase.