Skip to content
Back to skills

Batch

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgonode

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add tomorrow-dev/tomorrow-code --skill batch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Batch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Batch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomorrow-dev-batch/badge)](https://www.skillsdirectory.com/skills/tomorrow-dev-batch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.