Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
acedergren avatar

Orchestrate

  • 24 installs
  • 22 repo stars
  • Updated May 28, 2026
  • acedergren/agentic-tools

orchestrate is a Claude Code skill that coordinates parallel agents to execute a phased implementation plan with wave sequencing and quality gates.

About

orchestrate is a Claude Code skill for running a multi-task implementation plan with parallel agents. It coordinates task assignment, wave sequencing, heartbeat monitoring, scope enforcement, and quality gates, and works in interactive or headless claude -p modes. A developer uses it when a written plan has separable workstreams that can run in parallel. It bundles agent-role and prompt-template references plus scripts for session setup and file-overlap detection.

  • Coordinates parallel agents to execute a phase from a task plan across waves
  • Supports interactive (TeamCreate/Task) and headless (claude -p) execution modes
  • Enforces git flock safety, file-overlap checks, and wave-transition quality gates

Orchestrate by the numbers

  • 24 all-time installs (skills.sh)
  • Ranked #9,912 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

orchestrate capabilities & compatibility

Capabilities
agent orchestration · parallel execution · task planning · quality gating
Use cases
orchestration · planning
Pricing
Free
From the docs

What orchestrate says it does

Use when executing a multi-task implementation plan with parallel agents.
SKILL.md
Never let parallel agents `git add && git commit` without flock
SKILL.md
npx skills add https://github.com/acedergren/agentic-tools --skill orchestrate

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs24
repo stars22
Last updatedMay 28, 2026
Repositoryacedergren/agentic-tools

What it does

Coordinate parallel Claude Code agents to execute a phased task plan with git safety and quality gates.

Who is it for?

Executing a written multi-task plan with parallel agents across sequenced waves.

Skip if: Tasks small enough for one agent, work with no written plan, or workstreams that overlap more than they parallelize.

When should I use this skill?

Executing a multi-task implementation plan with parallel agents.

What you get

A phase executed by coordinated parallel agents with git safety, scope enforcement, and verified wave transitions.

  • executed task plan
  • wave-transition quality reports
  • parallel agent coordination

By the numbers

  • Headless mode ~54% less coordination overhead
  • Progressive stall escalation at 60s/120s/180s
  • Uses TeamCreate plus 5 prompt-template roles

Files

SKILL.mdMarkdownGitHub ↗

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): Independent claude -p processes — 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: false with subtype: "error_max_budget_usd". Always check subtype.startsWith("error_"). Confirmed via live testing of claude -p --output-format json.
  • Never reuse PID files across waves — OS recycles process IDs. Always clear /tmp/orchestrate/{session-id}/task-*.pid between 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 -p writes 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

Is task count > 10 AND tasks have clear file boundaries?
  YES → Headless: ~54% less overhead, simpler monitoring
  NO → Interactive: better for coordination, cross-task decisions

Do tasks share many files (>50% overlap)?
  YES → Add git worktrees OR serialize into sequential waves
  NO → Standard parallel execution with flock

Resource loading (mandatory)

  • Before spawning any agent: Read agent-roles.md for role assignments and model selection
  • Headless mode, before each task prompt: Read prompt-templates/{role}.md for that task's role
  • At every wave transition: Read wave-template.md for 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

bash scripts/setup-session-dir.sh
node scripts/check-file-overlap.js "apps/api/src/a.ts,apps/api/src/b.ts" "apps/api/src/b.ts,apps/web/src/c.ts"

Failure escalation (headless)

1. Retry with context (up to 2): Append error output, re-spawn same model 2. Model escalation (after 2 fails): haiku→sonnet, sonnet→opus. Budget ×1.5 3. User intervention: Print full failure history. Offer: Skip / Manual fix / Abort

Progressive stall escalation (interactive)

TimerAction
60sPing: "Status check — what are you working on?"
120sWarning: "No response in 2min. Will reassign in 60s."
180sReassign: spawn replacement with task context

Integration map

FileLoad when
agent-roles.mdAssigning roles to tasks (Step 2)
prompt-templates/{role}.mdBuilding headless agent prompts
wave-template.mdRunning wave transition gate
headless-runner.mdDebugging claude -p flags or output format
execution-steps.mdFull 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

/orchestrate A                          # Phase A, interactive
/orchestrate A --headless               # Phase A, headless
/orchestrate A --headless --dry-run     # Preview prompts without spawning
/orchestrate A --wave 2                 # Resume from wave 2
/orchestrate docs/plans/custom.md       # Custom plan file
/orchestrate "add auth; write tests"    # Inline task list

Related skills

FAQ

What is the difference between interactive and headless mode?

Interactive uses in-session agents via TeamCreate/Task for coordination-heavy work; headless runs independent claude -p processes for clearly-scoped parallel tasks with about 54% less coordination overhead.

How does orchestrate keep parallel git commits safe?

Every agent must wrap git add and commit in a flock on a shared lock file, because git's index is process-global and concurrent writes silently mix staged files.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.