acedergren/agentic-tools/orchestrate
Claude Code and agent skill by acedergren/agentic-tools
- community
Checking that the SKILL.md file is still in the repository.
Use when executing a multi-task implementation plan with parallel agents. Coordinates task assignment, wave sequencing, heartbeat monitoring, git safety, and quality gates. Supports interactive (TeamCreate/Task) and headless (claude -p) modes. Keywords: parallel agents, wave execution, orchestrate, headless, phase execution, task plan. Triggers on "orchestrate agents" or "execute multi-task plan".
Install
npx vskill@latest install acedergren/agentic-tools/orchestrateSKILL.md
Orchestrate
When to Use
Load this skill when the user request matches the frontmatter description for 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 commit` without flock — git's index is process-global. Concurrent writes silently mix staged files between commits. Every agent system prompt must include
flock /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.
- Never trust `is_error` field alone for failure detection — budget exhaustion sets
is_error: falsewithsubtype: "error_max_budget_usd". Always checksubtype.startsWith("error_"). Confirmed via live testing ofclaude -p --output-format json.
- Never reuse PID files across waves — OS recycles process IDs. Always clear
/tmp/orchestrate/{session-id}/task-*.pidbetween waves or a stale PID matches an unrelated process, causing the monitor loop to wait indefinitely.
- Never spawn headless agents without `--no-session-persistence` — each
claude -pwrites a session file to~/.claude/. 22 parallel tasks = 22 orphaned session files polluting session history.
- Never use `--dangerously-skip-permissions` without `--allowedTools` — the flag alone gives unrestricted tool access including TeamCreate/SendMessage/Task (recursive agents). Always pair with
--allowedTools "Bash Edit Write Read Glob Grep".
- Never retry a failed agent by re-spawning the same one with appended errors — accumulated failed reasoning makes the second attempt worse. Always spawn a fresh fix-subagent with targeted instructions.
- Never run code quality review before spec compliance passes — quality review on spec-incorrect code wastes tokens and produces misleading results. Spec compliance first, always.
- Never consider a headless task done without running the full verification chain — even
subtype: "success"doesn't guarantee: correct branch, in-scope files, passing build. Always: commit exists → scope check → verify command.
Mode selection decision tree
Resource loading (mandatory)
- Before spawning any agent: Read
agent-roles.mdfor role assignments and model selection - Headless mode, before each task prompt: Read
prompt-templates/{role}.mdfor that task's role - At every wave transition: Read
wave-template.mdfor the pre/during/post checklist - For `claude -p` flag details or error classification:
headless-runner.md
Do NOT load prompt templates in interactive mode — interactive agents invoke /quality-commit and /tdd directly.
Scripts
Failure escalation (headless)
- Retry with context (up to 2): Append error output, re-spawn same model
- Model escalation (after 2 fails): haiku→sonnet, sonnet→opus. Budget ×1.5
- User intervention: Print full failure history. Offer: Skip / Manual fix / Abort
Progressive stall escalation (interactive)
| Timer | Action | |
|---|---|---|
| 60s | Ping: "Status check — what are you working on?" | |
| 120s | Warning: "No response in 2min. Will reassign in 60s." | |
| 180s | Reassign: spawn replacement with task context |
Integration map
| File | Load when | |
|---|---|---|
agent-roles.md | Assigning roles to tasks (Step 2) | |
prompt-templates/{role}.md | Building headless agent prompts | |
wave-template.md | Running wave transition gate | |
headless-runner.md | Debugging claude -p flags or output format | |
execution-steps.md | Full step-by-step execution reference (3H/3I) |
Arguments
$ARGUMENTS accepts: Phase ID, plan file path, or inline task list.
Key flags: --headless, --interactive, --dry-run, --wave N, --max-agents N, --budget-per-task N, --timeout-multiplier N, --no-qa, --verbose
Examples
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/orchestrate/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/acedergren/agentic-tools/orchestrate)