Orchestrates sequential multi-agent workflows for feature, bugfix, refactor, and security tasks, chaining agents via handoff documents to produce final reports.
From everything-claude-codenpx claudepluginhub memorialmkua-lab/aiclaude/orchestrateDelegates to orchestration skills for parallel multi-agent workflows via tmux worktrees and persistent loops, producing merged reports, security summaries, and control-plane snapshots.
/orchestrateGenerates test orchestration configs for staged workflows with dependencies, parallel execution, smart selection of affected tests, retries, and CI/CD optimization.
/orchestrateDecomposes complex tasks into sub-tasks with dependency management, executes workflows sequentially or in parallel, tracks progress, and reports via table summary.
/orchestrateOrchestrates agent teams to execute complex requests: analyzes into steps, runs with verification, auto-retries failures up to 5x per step, escalates to user if needed, and reports outcomes.
/orchestrateOrchestrates parallel task execution from prompt_plan.md using Agent Teams API, analyzing dependencies and running domain-specific build/test/lint. Supports --type, --parallel, --dry-run flags.
/orchestrateRoutes arguments to workflow orchestration subcommands: interactive menu, help, docs, examples, templates, or inline syntax execution with visual feedback.
Sequential agent workflow for complex tasks.
/orchestrate [workflow-type] [task-description]
Full feature implementation workflow:
planner -> tdd-guide -> code-reviewer -> security-reviewer
Bug investigation and fix workflow:
planner -> tdd-guide -> code-reviewer
Safe refactoring workflow:
architect -> code-reviewer -> tdd-guide
Security-focused review:
security-reviewer -> code-reviewer -> architect
For each agent in the workflow:
Between agents, create handoff document:
## HANDOFF: [previous-agent] -> [next-agent]
### Context
[Summary of what was done]
### Findings
[Key discoveries or decisions]
### Files Modified
[List of files touched]
### Open Questions
[Unresolved items for next agent]
### Recommendations
[Suggested next steps]
/orchestrate feature "Add user authentication"
Executes:
Planner Agent
HANDOFF: planner -> tdd-guideTDD Guide Agent
HANDOFF: tdd-guide -> code-reviewerCode Reviewer Agent
HANDOFF: code-reviewer -> security-reviewerSecurity Reviewer Agent
ORCHESTRATION REPORT
====================
Workflow: feature
Task: Add user authentication
Agents: planner -> tdd-guide -> code-reviewer -> security-reviewer
SUMMARY
-------
[One paragraph summary]
AGENT OUTPUTS
-------------
Planner: [summary]
TDD Guide: [summary]
Code Reviewer: [summary]
Security Reviewer: [summary]
FILES CHANGED
-------------
[List all files modified]
TEST RESULTS
------------
[Test pass/fail summary]
SECURITY STATUS
---------------
[Security findings]
RECOMMENDATION
--------------
[SHIP / NEEDS WORK / BLOCKED]
For independent checks, run agents in parallel:
### Parallel Phase
Run simultaneously:
- code-reviewer (quality)
- security-reviewer (security)
- architect (design)
### Merge Results
Combine outputs into single report
For external tmux-pane workers with separate git worktrees, use node scripts/orchestrate-worktrees.js plan.json --execute. The built-in orchestration pattern stays in-process; the helper is for long-running or cross-harness sessions.
When workers need to see dirty or untracked local files from the main checkout, add seedPaths to the plan file. ECC overlays only those selected paths into each worker worktree after git worktree add, which keeps the branch isolated while still exposing in-flight local scripts, plans, or docs.
{
"sessionName": "workflow-e2e",
"seedPaths": [
"scripts/orchestrate-worktrees.js",
"scripts/lib/tmux-worktree-orchestrator.js",
".claude/plan/workflow-e2e-test.json"
],
"workers": [
{ "name": "docs", "task": "Update orchestration docs." }
]
}
To export a control-plane snapshot for a live tmux/worktree session, run:
node scripts/orchestration-status.js .claude/plan/workflow-visual-proof.json
The snapshot includes session activity, tmux pane metadata, worker states, objectives, seeded overlays, and recent handoff summaries in JSON form.
When the workflow spans multiple sessions, worktrees, or tmux panes, append a control-plane block to the final handoff:
CONTROL PLANE
-------------
Sessions:
- active session ID or alias
- branch + worktree path for each active worker
- tmux pane or detached session name when applicable
Diffs:
- git status summary
- git diff --stat for touched files
- merge/conflict risk notes
Approvals:
- pending user approvals
- blocked steps awaiting confirmation
Telemetry:
- last activity timestamp or idle signal
- estimated token or cost drift
- policy events raised by hooks or reviewers
This keeps planner, implementer, reviewer, and loop workers legible from the operator surface.
$ARGUMENTS:
feature <description> - Full feature workflowbugfix <description> - Bug fix workflowrefactor <description> - Refactoring workflowsecurity <description> - Security review workflowcustom <agents> <description> - Custom agent sequence/orchestrate custom "architect,tdd-guide,code-reviewer" "Redesign caching layer"