Research and plan a large, parallelizable change, then run it as 5 to 30 independent units, each in its own worktree and each ending in a pull request. - Never call it yourself: only a line that the user types starts it.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Batch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tomorrow-dev-batch)
---
name: batch
disable-model-invocation: true
description: "Research and plan a large, parallelizable change, then run it as 5 to 30 independent units, each in its own worktree and each ending in a pull request. - Never call it yourself: only a line that the user types starts it."
menu-description: 'Split a large change into units, one worktree and one pull request each'
argument-hint: '<instruction>'
---
# /batch - a large change as parallel units
Instruction: $ARGUMENTS
If the instruction is empty, ask what change to make, and end.
## 1. Research and plan (read only)
Explore the code the instruction touches, with the read-only tools. Find the seams along which the change splits into units that do not depend on each other and do not edit the same files. Decompose into between 5 and 30 units: fewer than 5 means the change is not a batch, do it directly; more than 30 means merge units that are alike.
Find how a unit proves itself: the commands that build, lint and test what it touches. Every unit carries them.
Write the plan: for each unit a short title, the files or area it owns, and the instruction a fresh agent with no memory of this conversation needs to do it alone (the goal, the pattern to follow, the checks to run). Show the plan and ask for approval with the ask tool. Change the plan on request. Launch nothing before the approval.
## 2. Launch
Once approved, file the units with the daemon, which makes a worktree for each (a warm one when the pool has one), starts a fresh agent in it as the load allows, and has it open its own pull request:
```sh
tmrw batch <<'JSON'
[{"title": "...", "prompt": "..."}, ...]
JSON
```
The output names each unit, its node and its worktree. If it says there is no daemon, tell the person to start one with `tmrw --bg`, and end.
## 3. Report
Say how many units were filed. The units run in the background: their progress is in the team view of the terminal client and in the web client. Do not wait for them, do not merge their pull requests.