From oh-my-forge
Sequential and tmux/worktree orchestration guidance for multi-agent workflows.
npx claudepluginhub rlagycks/oh-my-forge --plugin oh-my-forge# Orchestrate Command Sequential agent workflow for complex tasks. ## Usage `/orchestrate [workflow-type] [task-description]` ## Workflow Types ### feature Full feature implementation workflow: ### bugfix Bug investigation and fix workflow: ### refactor Safe refactoring workflow: ### security Security-focused review: ## Ontology-Aware Dispatch 워크플로우 실행 전 온톨로지 인덱스를 확인한다. 인덱스가 존재하는 경우 아래 라우팅 규칙을 적용한다: | 상황 | 처리 | |------|------| | 단일 도메인에 국한된 태스크 | `/codex-delegate <domain_id> <task>`로 직접 위임 | | 복수 도메인에 걸친 태스크 | 도메인별로 분해 후 순차 위임, 각 단계에 `HANDOFF` 포맷 사용 | | 아키텍처/설계 결정 | Claude...
/orchestrateServes as legacy shim delegating to dmux-workflows for parallel agent execution with tmux worktrees and autonomous-agent-harness for persistent loops and governance.
/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 ordered sub-tasks with dependencies and parallel execution, tracks progress and failures, verifies results, and outputs a status summary table.
/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 orchestration subcommands for multi-agent workflows: menu, help, explain, 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
워크플로우 실행 전 온톨로지 인덱스를 확인한다.
node '${CLAUDE_PLUGIN_ROOT:-.}/scripts/lib/ontology.js' summary 2>/dev/null
인덱스가 존재하는 경우 아래 라우팅 규칙을 적용한다:
| 상황 | 처리 |
|---|---|
| 단일 도메인에 국한된 태스크 | /codex-delegate <domain_id> <task>로 직접 위임 |
| 복수 도메인에 걸친 태스크 | 도메인별로 분해 후 순차 위임, 각 단계에 HANDOFF 포맷 사용 |
| 아키텍처/설계 결정 | Claude가 직접 처리 — Codex 위임 금지 |
| 보안 민감 코드 | 위임 후 반드시 code-reviewer 검수 추가 |
인덱스가 없으면 아래 에이전트 워크플로우를 그대로 실행한다.
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]
### Evidence
[Concrete proof collected so far]
### False-Normal Checks
[What looked done but still needed verification]
### Open Questions
[Unresolved items for next agent]
### Open Risks
[Residual risks for the next agent]
### Next Action
[Suggested next step]
/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 PLUGIN_ROOT=${CLAUDE_PLUGIN_ROOT:-.}; node "$PLUGIN_ROOT/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:
PLUGIN_ROOT=${CLAUDE_PLUGIN_ROOT:-.}
node "$PLUGIN_ROOT/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"