orchestrate
Installation
SKILL.md
Orchestrate
Coordinate a team of parallel agents to execute a phase from a task plan. Manages task assignment, monitoring, scope enforcement, and wave-transition quality gates.
Modes:
- Interactive (default): In-session agents via TeamCreate/Task/SendMessage — use for complex tasks needing inter-agent coordination
- Headless (
--headless): Independentclaude -pprocesses — use for parallelizable tasks with clear scope boundaries (~54% less coordination overhead)
Do NOT load when
- task is small enough for one agent to finish directly
- no written plan or no separable workstreams exist
- parallel execution would create more overlap than speedup
NEVER
-
Never let parallel agents
git add && git commitwithout flock — git's index is process-global. Concurrent writes silently mix staged files between commits. Every agent system prompt must includeflock /tmp/orchestrate/{session-id}/git.lock. Symptom: commit A contains files from task B. -
Never skip file overlap check — two agents editing the same file produces merge conflicts neither can resolve (they have no knowledge of each other). Detect overlap at plan time, serialize conflicting tasks.