omc
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseomc (oh-my-claudecode) — Claude Code Multi-Agent Orchestration
omc (oh-my-claudecode) — Claude Code 多Agent编排
When to use this skill
何时使用该技能
- You want Teams-first multi-agent orchestration inside Claude Code
- You need 29+ specialized agents with smart model routing (Haiku → Opus)
- Complex tasks that benefit from parallel agent execution with verify/fix loops
- Any Claude Code workflow that needs persistent, guaranteed-completion execution
- You want skill layers: Guarantee (ralph) → Enhancement (ultrawork) → Execution
- You need 3-model synthesis with Codex + Gemini + Claude (CCG mode)
- 你想在Claude Code内部使用优先团队模式的多Agent编排
- 你需要29+个配备智能模型路由(Haiku → Opus)的专用Agent
- 适合通过Agent并行执行+验证/修复循环提升效率的复杂任务
- 任何需要持久化、保证完成执行的Claude Code工作流
- 你需要技能分层:保障层(ralph)→ 增强层(ultrawork)→ 执行层
- 你需要Codex + Gemini + Claude的三模型合成(CCG模式)
1. Installation (3 Steps)
1. 安装(3步)
Step 1: Install plugin
bash
/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode
/plugin install oh-my-claudecodeStep 2: Run setup
bash
/oh-my-claudecode:omc-setupStep 3: Build something
text
autopilot: build a REST API for managing tasksnpm alternative:npm install -g oh-my-claude-sisyphus
Enable native teams ():
~/.claude/settings.jsonjson
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}步骤1:安装插件
bash
/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode
/plugin install oh-my-claudecode步骤2:运行初始化配置
bash
/oh-my-claudecode:omc-setup步骤3:构建项目
text
autopilot: build a REST API for managing tasksnpm替代安装方式:npm install -g oh-my-claude-sisyphus
开启原生团队功能 ():
~/.claude/settings.jsonjson
{
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
}
}2. Orchestration Modes
2. 编排模式
| Mode | What it is | Use For |
|---|---|---|
| Team (canonical) | 5-stage pipeline: | Coordinated agents on shared task list |
| Autopilot | Full autonomous 5-stage pipeline | End-to-end feature work (idea → code) |
| Ultrawork | Maximum parallelism burst | Fast fixes/refactors across codebase |
| Ralph | Persistent loop: execute → verify → fix | Tasks that must complete fully, no partials |
| Pipeline | Sequential staged processing | Strict ordering / multi-step transforms |
| CCG | 3-model synthesis (Codex + Gemini + Claude) | Mixed backend + UI work |
| omc team (CLI) | tmux workers with Codex/Gemini/Claude | Cross-model code review, security, design |
| 模式 | 说明 | 适用场景 |
|---|---|---|
| Team(标准模式) | 5阶段流水线: | 协调多个Agent处理共享任务列表 |
| Autopilot | 完全自主的5阶段流水线 | 端到端功能开发(想法 → 代码) |
| Ultrawork | 最大并行度爆发模式 | 跨代码库快速修复/重构 |
| Ralph | 持久化循环:执行 → 验证 → 修复 | 必须100%完成、不允许部分交付的任务 |
| Pipeline | 顺序阶段处理 | 严格顺序执行/多步骤转换场景 |
| CCG | 三模型合成(Codex + Gemini + Claude) | 后端+UI混合开发工作 |
| omc team (CLI) | 搭载Codex/Gemini/Claude的tmux工作进程 | 跨模型代码评审、安全检查、设计工作 |
Skill Layer Composition
技能层结构
┌──────────────────────────────────────────┐
│ GUARANTEE LAYER (optional) │
│ ralph — won't stop until verified done │
└──────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ ENHANCEMENT LAYER (0–N skills) │
│ ultrawork (parallel) | git-master (VCS) │
└──────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ EXECUTION LAYER (primary skill) │
│ default (build) | planner | orchestrate │
└──────────────────────────────────────────┘┌──────────────────────────────────────────┐
│ 保障层(可选) │
│ ralph — 验证通过前不会停止 │
└──────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 增强层(0–N个技能) │
│ ultrawork(并行) | git-master(VCS) │
└──────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ 执行层(核心技能) │
│ default(构建) | planner | orchestrate │
└──────────────────────────────────────────┘3. Magic Keywords (Auto-Detection)
3. 魔法关键词(自动识别)
| Keyword | Effect |
|---|---|
| Full autonomous pipeline |
| Persistent loop until verified |
| Maximum parallelism |
| 3-model synthesis |
| Consensus-based iterative planning |
| Socratic requirements clarification |
| Codebase-focused deep search |
| Deep analysis mode |
| Deep reasoning mode |
| TDD workflow |
| Clean AI expression patterns |
| Cancel active execution mode |
| Planning interview |
| 关键词 | 效果 |
|---|---|
| 启动全自主流水线 |
| 启动持久化循环直到验证通过 |
| 最大并行度模式 |
| 三模型合成模式 |
| 基于共识的迭代规划 |
| 苏格拉底式需求澄清 |
| 面向代码库的深度搜索 |
| 深度分析模式 |
| 深度推理模式 |
| TDD工作流 |
| 生成干净的AI输出模式 |
| 取消正在运行的执行模式 |
| 规划访谈 |
4. Team Mode (Canonical)
4. 团队模式(标准)
bash
/oh-my-claudecode:team 3:executor "fix all TypeScript errors"5-stage pipeline:
team-plan → team-prd → team-exec → team-verify → team-fix (loop)- team-plan: Planning agent creates task list
- team-prd: Architect designs solution
- team-exec: N parallel executor agents implement
- team-verify: Verifier confirms completion
- team-fix: If verification fails, fix loop repeats
bash
/oh-my-claudecode:team 3:executor "fix all TypeScript errors"5阶段流水线:
team-plan → team-prd → team-exec → team-verify → team-fix (loop)- team-plan: 规划Agent生成任务列表
- team-prd: 架构师设计解决方案
- team-exec: N个并行执行Agent实现需求
- team-verify: 验证专员确认完成度
- team-fix: 如果验证失败,重复修复循环
5. Agent System (29+ Specialized Agents)
5. Agent系统(29+个专用Agent)
Build / Analysis Lane:
(haiku) · (opus) · (opus) · (opus) · (sonnet) · (sonnet) · (sonnet) · (sonnet)
exploreanalystplannerarchitectdebuggerexecutorverifiertracerReview Lane:
(opus) · (sonnet) · (opus) · (opus)
code-reviewersecurity-reviewercriticcode-simplifierDomain Specialists:
· · · · · ·
test-engineerdesignerwriterqa-testerscientistgit-masterdocument-specialistInvoke via: or delegated through Task tool.
/oh-my-claudecode:<agent-name>See references/agents-catalog.md for full profiles.
构建/分析赛道:
(haiku) · (opus) · (opus) · (opus) · (sonnet) · (sonnet) · (sonnet) · (sonnet)
exploreanalystplannerarchitectdebuggerexecutorverifiertracer评审赛道:
(opus) · (sonnet) · (opus) · (opus)
code-reviewersecurity-reviewercriticcode-simplifier领域专家:
· · · · · ·
test-engineerdesignerwriterqa-testerscientistgit-masterdocument-specialist调用方式: 或通过任务工具委派。
/oh-my-claudecode:<agent-name>查看 references/agents-catalog.md 获取完整配置。
6. CLI Tools
6. CLI工具
omc team (tmux Workers)
omc team(tmux工作进程)
bash
omc team 2:codex "review auth module for security"
omc team 2:gemini "redesign UI components"
omc team status <session>
omc team shutdown <session>bash
omc team 2:codex "review auth module for security"
omc team 2:gemini "redesign UI components"
omc team status <session>
omc team shutdown <session>omc ask (Provider Advisor)
omc ask(服务商咨询工具)
bash
omc ask claude "review this migration plan"
omc ask codex --prompt "identify architecture risks"
omc ask gemini --prompt "propose UI polish ideas"bash
omc ask claude "review this migration plan"
omc ask codex --prompt "identify architecture risks"
omc ask gemini --prompt "propose UI polish ideas"omc wait (Rate Limit Auto-Resume)
omc wait(限流自动恢复)
bash
omc wait # Check status
omc wait --start # Enable auto-resume daemon
omc wait --stop # Disable daemonbash
omc wait # 查看状态
omc wait --start # 启用自动恢复守护进程
omc wait --stop # 关闭守护进程Notifications
通知配置
bash
omc config-stop-callback telegram --enable --token <bot> --chat <id>
omc config-stop-callback discord --enable --webhook <url>
omc config-stop-callback slack --enable --webhook <url>bash
omc config-stop-callback telegram --enable --token <bot> --chat <id>
omc config-stop-callback discord --enable --webhook <url>
omc config-stop-callback slack --enable --webhook <url>7. Updating
7. 更新
bash
undefinedbash
undefinedSync latest version
同步最新版本
/plugin marketplace update omc
/plugin marketplace update omc
Re-run setup
重新运行初始化配置
/oh-my-claudecode:omc-setup
/oh-my-claudecode:omc-setup
If issues after update
如果更新后出现问题
/oh-my-claudecode:omc-doctor
---/oh-my-claudecode:omc-doctor
---8. Optional: Multi-AI Orchestration
8. 可选:多AI编排
| Provider | Install | What it enables |
|---|---|---|
| Gemini CLI | | Design review, UI consistency (1M token context) |
| Codex CLI | | Architecture validation, code review cross-check |
| 服务商 | 安装命令 | 启用功能 |
|---|---|---|
| Gemini CLI | | 设计评审、UI一致性检查(1M token上下文) |
| Codex CLI | | 架构校验、代码评审交叉核对 |
Instructions
使用说明
- Detect intent — match user request to the best orchestration mode (Team, Autopilot, Ralph, Ultrawork, CCG)
- Provide install path — if OMC is not yet installed, give the 3-step install sequence
- Show the invocation — give the exact command or magic keyword for the chosen mode
- Set expectations — explain what the mode does (pipeline stages, loop behavior, parallelism)
- Surface relevant CLI — mention ,
omc team, oromc askif they applyomc wait - Link to references — point to the appropriate references/ file for deep-dive details
- 识别意图 — 将用户请求匹配到最合适的编排模式(Team、Autopilot、Ralph、Ultrawork、CCG)
- 提供安装路径 — 如果OMC还未安装,给出3步安装流程
- 展示调用方式 — 给出所选模式的精确命令或魔法关键词
- 说明预期效果 — 解释该模式的工作逻辑(流水线阶段、循环行为、并行度)
- 展示相关CLI命令 — 适用的话提及、
omc team或omc askomc wait - 关联参考文档 — 指向对应的参考文件以获取深度细节
Examples
示例
Example 1: Multi-agent team task
示例1:多Agent团队任务
User: "여러 에이전트가 병렬로 TypeScript 에러 전부 고쳐줘"
Response: Use Team mode — . Runs 3 parallel executors through plan→prd→exec→verify→fix pipeline.
/oh-my-claudecode:team 3:executor "fix all TypeScript errors"用户: "让多个Agent并行修复所有TypeScript错误"
响应: 使用Team模式 — 。运行3个并行执行器,走计划→需求→执行→验证→修复流水线。
/oh-my-claudecode:team 3:executor "fix all TypeScript errors"Example 2: Guaranteed completion
示例2:保障完成任务
User: "테스트 전부 통과할 때까지 멈추지 마"
Response: Use Ralph mode — . Persistent execute→verify→fix loop until all tests pass. Won't stop until verified.
ralph: fix all failing tests用户: "直到所有测试通过前都不要停止"
响应: 使用Ralph模式 — 。启动持久化的执行→验证→修复循环直到所有测试通过,验证通过前不会停止。
ralph: fix all failing testsExample 3: New installation
示例3:全新安装
User: "OMC 설치하고 싶어"
Response: 3-step install: → → . Enable native teams in .
/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode/plugin install oh-my-claudecode/oh-my-claudecode:omc-setup~/.claude/settings.json用户: "我想安装OMC"
响应: 3步安装: → → 。在中开启原生团队功能。
/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode/plugin install oh-my-claudecode/oh-my-claudecode:omc-setup~/.claude/settings.jsonBest practices
最佳实践
- Default to Team mode for multi-agent work — swarm/ultrapilot are legacy and route to Team
- Enable in
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1before using Team mode~/.claude/settings.json - Use ralph for critical tasks — it composes automatically with ultrawork for parallel+persistent execution
- Use CCG for mixed workloads — backend execution (Codex) + large-context analysis (Gemini) + orchestration (Claude)
- Re-run after every plugin update to refresh hooks and CLAUDE.md
/oh-my-claudecode:omc-setup - npm package name differs — it's , not
oh-my-claude-sisyphusoh-my-claudecode - Cancel safely — use keyword or
cancelomc; state is preserved for resume/oh-my-claudecode:cancel
- 多Agent工作优先使用Team模式 — swarm/ultrapilot是旧版本模式,会自动路由到Team模式
- 使用Team模式前请先在中开启**
~/.claude/settings.json**CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 - 关键任务使用ralph模式 — 它会自动和ultrawork组合实现并行+持久化执行
- 混合工作负载使用CCG模式 — 后端执行(Codex)+ 大上下文分析(Gemini)+ 编排(Claude)
- 每次插件更新后重新运行以刷新钩子和CLAUDE.md
/oh-my-claudecode:omc-setup - npm包名有差异 — 包名为,不是
oh-my-claude-sisyphusoh-my-claudecode - 安全取消任务 — 使用关键词或
cancelomc;任务状态会被保留以便恢复/oh-my-claudecode:cancel
Quick Reference
快速参考
| Action | Command |
|---|---|
| Install | |
| Setup | |
| Team mode | |
| Autopilot | |
| Ralph loop | |
| Ultrawork | |
| CCG synthesis | |
| Deep interview | |
| Cancel | |
| Update | |
| Debug | |
| 操作 | 命令 |
|---|---|
| 安装 | |
| 初始化配置 | |
| 团队模式 | |
| 自动驾驶模式 | |
| Ralph循环 | |
| Ultrawork模式 | |
| CCG合成模式 | |
| 深度访谈 | |
| 取消 | |
| 更新 | |
| 调试 | |
References
参考资料
| File | Contents |
|---|---|
| references/agents-catalog.md | All 29+ agent profiles, tiers, delegation rules |
| references/modes-reference.md | Mode deep-dives, skill layer composition |
| references/hooks-reference.md | Hook events, injection patterns, kill switches |
| references/cli-reference.md | Full CLI syntax: omc team/ask/wait/config |
| 文件 | 内容 |
|---|---|
| references/agents-catalog.md | 全部29+个Agent的配置、等级、委派规则 |
| references/modes-reference.md | 模式深度说明、技能层结构 |
| references/hooks-reference.md | 钩子事件、注入模式、终止开关 |
| references/cli-reference.md | 完整CLI语法:omc team/ask/wait/config |