From orchestrate
Fast parallel execution. One file = One owner. Maximum speed. Supports multi-terminal mode for 10+ files with Claude/Gemini/Qwen.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orchestrate:orchestrateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Arguments: `$ARGUMENTS`
Arguments: $ARGUMENTS
| Argument | Mode | Description |
|---|---|---|
| (none) | STANDARD | Single context, 4-6 agents |
--multi | MULTI-TERMINAL | 6 terminals × models, 24+ workers |
--terminals N | MULTI-TERMINAL | Specify terminal count (default: 6) |
Auto-detect MULTI mode when:
If specs/[feature]/design.md exists → USE IT as source of truth.
specs/[feature]/design.md for requirementsspecs/[feature]/implementation.md for progressimplementation.mdIf no specs exist:
/spec [name] firstONE FILE = ONE OWNER
[
{
"description": "[workstream name]",
"subagent_type": "[appropriate type]",
"run_in_background": true,
"prompt": "You OWN: [files]. Task: [work]. NO other agent touches these."
}
]
┌─────────────────────────────────────────────────────────────────┐
│ /orchestrate --multi │
│ │
│ 1. Read specs/[feature]/design.md │
│ 2. Split work into N packages (one per terminal) │
│ 3. Assign optimal model per package │
│ 4. Spawn N terminals │
│ 5. Each terminal works independently │
│ 6. Results merge via specs/implementation.md │
└─────────────────────────────────────────────────────────────────┘
Terminal 1 (Claude) Terminal 2 (Gemini) Terminal 3 (Qwen)
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Complex │ │ Research │ │ Boilerplate │
│ Logic │ │ Long context│ │ Simple CRUD │
│ Architecture│ │ Analysis │ │ Repetitive │
└─────────────┘ └─────────────┘ └─────────────┘
| Model | Best For | Assign When |
|---|---|---|
| Claude (opus) | Complex logic, architecture, refactoring | Critical paths, core business logic |
| Claude (sonnet) | General coding, balanced tasks | Most implementation work |
| Claude (haiku) | Simple edits, boilerplate | Config files, simple CRUD |
| Gemini | Research, long context, analysis | Documentation, large file analysis |
| Qwen | Boilerplate, repetitive tasks | Tests, simple components, migrations |
Each terminal receives .claude/packages/[feature]-pkg[N].md:
# Work Package: [Package Name]
## Model: [claude-sonnet | gemini | qwen]
## Your Scope
Files you OWN (only you modify):
- file1.ts
- file2.ts
Files you can READ (don't modify):
- specs/[feature]/design.md
- shared/types.ts
## Your Tasks
1. [Specific task]
2. [Specific task]
## Constraints
- Follow patterns in design.md
- When done, append to specs/[feature]/implementation.md:
## [DONE: [Package Name]]
- Completed: [what you did]
- Files: [files modified]
- Do NOT modify files outside ownership
## Context
[Excerpt from design.md relevant to this package]
Windows (Windows Terminal):
# Claude terminal
wt -w 0 nt --title "Pkg-1-Claude" cmd /c "claude --prompt .claude/packages/pkg1.md"
# Gemini terminal (if installed)
wt -w 0 nt --title "Pkg-2-Gemini" cmd /c "gemini --prompt .claude/packages/pkg2.md"
# Qwen terminal (if installed)
wt -w 0 nt --title "Pkg-3-Qwen" cmd /c "qwen --prompt .claude/packages/pkg3.md"
Linux/Mac:
# Claude
gnome-terminal --tab --title="Pkg-1" -- claude --prompt .claude/packages/pkg1.md
# Gemini
gnome-terminal --tab --title="Pkg-2" -- gemini --prompt .claude/packages/pkg2.md
No direct inter-agent communication. Coordinate via filesystem:
| File | Purpose | Access |
|---|---|---|
specs/[feature]/design.md | Requirements | Read-only |
specs/[feature]/implementation.md | Progress | Append-only |
.claude/packages/*.md | Work packages | Read-only |
.claude/locks/*.lock | File locks | Create/delete |
Create packages directory:
mkdir -p .claude/packages .claude/locks
Generate work packages:
Create lock files:
touch .claude/locks/[filename].lock
Spawn terminals:
Monitor progress:
specs/[feature]/implementation.md for updates.claude/locks/ for completionMerge results:
Task received
├── Complex architecture/refactoring?
│ └── Claude Opus
├── Core business logic?
│ └── Claude Sonnet
├── Research/analysis/long docs?
│ └── Gemini
├── Simple CRUD/boilerplate?
│ └── Qwen or Claude Haiku
├── Tests/migrations?
│ └── Qwen
└── General implementation?
└── Claude Sonnet
╔═══════════════════════════════════════════════════════╗
║ ORCHESTRATE - STANDARD ║
╠═══════════════════════════════════════════════════════╣
║ Task: [description] ║
║ Files: [count] ║
║ Agents: [count] ║
╠═══════════════════════════════════════════════════════╣
║ Agent 1: [name] Files: [list] [✓] ║
║ Agent 2: [name] Files: [list] [✓] ║
╠═══════════════════════════════════════════════════════╣
║ Status: COMPLETE ║
╚═══════════════════════════════════════════════════════╝
╔═══════════════════════════════════════════════════════╗
║ ORCHESTRATE - MULTI-TERMINAL ║
╠═══════════════════════════════════════════════════════╣
║ Feature: [name] ║
║ Terminals: [N] ║
║ Models: Claude(3), Gemini(2), Qwen(1) ║
╠═══════════════════════════════════════════════════════╣
║ T1: core-logic Claude [✓] 12 files ║
║ T2: api-layer Claude [✓] 8 files ║
║ T3: research Gemini [✓] analysis done ║
║ T4: components Claude [✓] 6 files ║
║ T5: tests Qwen [✓] 15 files ║
║ T6: migrations Qwen [✓] 4 files ║
╠═══════════════════════════════════════════════════════╣
║ Status: COMPLETE ║
║ Total Files: 45 ║
║ Time: 12m 34s ║
╚═══════════════════════════════════════════════════════╝
See references/recovery.md for:
references/recovery.md - Error handling and retry patternsreferences/model-strengths.md - Detailed model comparison for task assignmentnpx claudepluginhub ankurjain1121/dev-workflow-skills --plugin orchestrateOrchestrates multi-agent work at scale—research swarms, parallel builds, wave dispatch, build-review-fix pipelines, and any task needing 3+ agents. Selects strategy by work shape and partitions agents for true parallelism.
Decomposes large tasks (migrations, multi-issue fixes, big features) into parallel work packages with quality gates. Useful for reducing PR cycle time and avoiding merge conflicts.