# batch-orchestration

> Claude/Codex skill by [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars · Updated 2026-07-27

Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.

Tags: agent-orchestration, ai-agents, ai-coding, ai-workflow, claude, claude-code, claude-code-plugin, claude-code-skills, claude-skills, codex, context-engineering, cursor, developer-tools, gemini-cli, hooks, productivity, self-correction, workflow, worktrees

## Install

```sh
git clone https://github.com/rohitg00/pro-workflow /tmp/pro-workflow && ln -s /tmp/pro-workflow/skills/batch-orchestration ~/.claude/skills/batch-orchestration
```

## From README

Batch Orchestration The /batch command pattern for large-scale parallel changes. How It Works Syntax The instruction should describe the change pattern, not individual files. The batch system finds the files. Phase 1: Research The orchestrator scans the repo to find every instance that matches the instruction: It builds a complete list of targets and groups them by independence. Phase 2: Decompose Each unit must be: Independent — no shared state with other units Self-contained — can be implemented and tested alone Verifiable — has a clear pass/fail criteria Good units: Bad units: Target 5-30 units. Fewer than 5 doesn't justify the overhead. More than 30 and coordination costs grow. Phase 3: Plan Approval The orchestrator presents: Wait for approval. Never spawn agents without explicit confirmation.

## Links

- HTML page: https://omgskills.com/library/rohitg00/pro-workflow/skills/batch-orchestration/
- GitHub: https://github.com/rohitg00/pro-workflow
- Author: [@rohitg00](https://omgskills.com/library/rohitg00/index.md)

## More from this repo

- [context-engineering](https://omgskills.com/library/rohitg00/pro-workflow/skills/context-engineering/index.md) — Master the four operations of context engineering — Write, Select, Compress, Isolate.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.9k stars
- [auto-setup](https://omgskills.com/library/rohitg00/pro-workflow/skills/auto-setup/index.md) — Auto-configure quality gates, hooks, and settings for a new project.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars
- [bug-capture](https://omgskills.com/library/rohitg00/pro-workflow/skills/bug-capture/index.md) — Capture a user-reported defect as a durable GitHub issue written in the project's own domain language.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars
