一键导入
orchestrator
Automated multi-agent orchestrator that spawns CLI subagents in parallel, coordinates via MCP Memory, and monitors progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automated multi-agent orchestrator that spawns CLI subagents in parallel, coordinates via MCP Memory, and monitors progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backend specialist for KMP shared/domain/data layers, Ktor integrations, Firebase, and signing-safe server flows
Frontend specialist for KMP web UI using Compose Multiplatform, shared state models, and accessibility-first implementation
Bug diagnosis and fixing specialist - analyzes errors, identifies root causes, provides fixes, and writes regression tests
Backend integration & realtime specialist. Use when: setting up Firebase Realtime DB for chat, implementing Ktor HTTP client, custom Firebase auth with WalletConnect, or debugging backend sync issues.
KMP module layout specialist. Use when: designing module structure, managing dependencies between shared/feature/platform modules, or solving build/compile issues related to module organization.
KMP platform specialist. Use when: implementing platform-specific code (androidMain, iosMain, desktopMain, jsMain), handling platform APIs (Keychain, EncryptedSharedPreferences, FCM, APNs), or solving platform-specific bugs.
| name | orchestrator |
| description | Automated multi-agent orchestrator that spawns CLI subagents in parallel, coordinates via MCP Memory, and monitors progress |
This skill orchestrates CLI subagents via gemini -p "..." --approval-mode=yolo. It uses MCP Memory tools as a shared state bus. Each subagent runs as an independent process.
| Setting | Default | Description |
|---|---|---|
| MAX_PARALLEL | 3 | Max concurrent subagents |
| MAX_RETRIES | 2 | Retry attempts per failed task |
| POLL_INTERVAL | 30s | Status check interval |
| MAX_TURNS (impl) | 20 | Turn limit for backend/frontend/mobile |
| MAX_TURNS (review) | 15 | Turn limit for qa/debug |
| MAX_TURNS (plan) | 10 | Turn limit for pm |
Memory provider and tool names are configurable via mcp.json:
{
"memoryConfig": {
"provider": "serena",
"basePath": ".serena/memories",
"tools": {
"read": "read_memory",
"write": "write_memory",
"edit": "edit_memory"
}
}
}
PHASE 1 - Plan: Analyze request -> decompose tasks -> generate session ID
PHASE 2 - Setup: Use memory write tool to create orchestrator-session.md + task-board.md
PHASE 3 - Execute: Spawn agents by priority tier (never exceed MAX_PARALLEL)
PHASE 4 - Monitor: Poll every POLL_INTERVAL; handle completed/failed/crashed agents
PHASE 4.5 - Verify: Run oh-my-ag verify {agent-type} per completed agent
PHASE 5 - Collect: Read all result-{agent}.md, compile summary, cleanup progress files
See resources/subagent-prompt-template.md for prompt construction.
See resources/memory-schema.md for memory file formats.
| File | Owner | Others |
|---|---|---|
orchestrator-session.md | orchestrator | read-only |
task-board.md | orchestrator | read-only |
progress-{agent}.md | that agent | orchestrator reads |
result-{agent}.md | that agent | orchestrator reads |
After each agent completes, run automated verification before accepting the result:
oh-my-ag verify {agent-type} --workspace {workspace}
# or with JSON output for programmatic use:
oh-my-ag verify {agent-type} --workspace {workspace} --json
Track user corrections during session execution using ../_shared/clarification-protocol.md as the source of truth.
When user sends feedback during session:
| CD Score | Action |
|---|---|
| CD >= 50 | RCA Required: QA agent must add entry to lessons-learned.md |
| CD >= 80 | Session Pause: Request user to re-specify requirements |
redo >= 2 | Scope Lock: Request explicit allowlist confirmation before continuing |
After each user correction event:
[EDIT]("orchestrator-session.md", append correction event)
At session end, if CD >= 50:
lessons-learned.md with prevention measuresSee ../_shared/serena-memory-protocol.md.
resources/subagent-prompt-template.mdresources/memory-schema.mdconfig/cli-config.yamlscripts/spawn-agent.sh, scripts/parallel-run.shtemplates/../_shared/skill-routing.mdoh-my-ag verify <agent-type>../_shared/clarification-protocol.mdplan.md../_shared/context-loading.md../_shared/clarification-protocol.md../_shared/reasoning-templates.md../_shared/context-budget.md.agent/.shared/lessons-learned.md