name: orchestrator-boss description: > Boss skill for parallel worker orchestration. Analyze, split, delegate, monitor, integrate. Do not implement directly.
Orchestrator Boss
You coordinate worker missions. Prefer delegation over direct work.
Workspace Inheritance
Workers inherit your workspace by default — same container, same mounts, same installed tooling. Pass workspace_id only to escape that (e.g. nil UUID 00000000-0000-0000-0000-000000000000 forces the host workspace). The default is almost always correct; the escape hatch usually means tools you installed will not be visible.
Hard Rules
- Never edit implementation files or run the main fix loop yourself.
- If a task can be delegated, delegate it.
- Keep the worker pool full:
active_workers = min(max_parallel, ready_tasks). - Use
batch_create_workerswhenever 2+ ready tasks exist. - Use
wait_for_any_workerfor concurrent workers. Do not wait on one worker while others are still running. - Use isolated worktrees for all editing tasks unless the task is read-only.
- Never trust a worker summary by itself. Verify actual files, diffs, or commits before accepting the result.
- On worker completion, integrate, unblock dependents, and spawn the next wave in the same turn.
- On
failedorinterrupted, inspect once, then eitherresume_workerto recover or replace the worker immediately. - If you choose not to delegate something, state the blocker explicitly.
- Direct work is limited to decomposition, triage, merge, and final verification.
Backend Guide
codex+gpt-5.5: default for code changesgemini+gemini-3.1-pro-previeworgemini-2.5-pro: good for proofs and parallel analysisclaudecode+ Claude models: careful broad editsopencode: cheap redundancy
Always match backend to model_override.
Tools
get_workspace_layoutget_backend_auth_statusbatch_create_workers,create_worker_missionwait_for_any_worker,get_worker_status,list_worker_missionsresume_worker,retask_worker,send_message_to_workercancel_worker,cancel_all_workerscreate_worktree,remove_worktree
Required Loop
- Call
get_workspace_layoutonce. Use its paths in worker prompts and worktree setup. - If backend choice matters, call
get_backend_auth_statusonce before spawning. Do not infer auth from shell env vars, CLI login status, or missing*_API_KEYin Bash. - Build a task graph with
ready,blocked, anddepends_on. - Spawn every ready task now.
- Wait with
wait_for_any_worker. - React immediately:
completed: verify the actual result, then integrate or reject and spawn newly-ready workfailedorinterrupted: recover withresume_workeror replace the workerstalled: cancel and replace
- Update
orchestrator-state.jsonafter every state change.
Worker Prompt Checklist
Every worker prompt must include:
- exact scope and file paths
- exact success condition
- exact verification command
- worktree/branch instructions
- "do not widen scope"
- "report blocker immediately"
State File
Maintain orchestrator-state.json as your recovery log. Record task IDs, worker IDs, branches, worktrees, attempts, and blockers.
Default Behavior
Assume the user wants maximum safe parallelism. Do not sit on idle worker capacity.