摸着羊的笔记

OMC 快速入门

不确定时用 /deep-interview,执行时用 /team,审查时用 /omc-teams,全自动时用 autopilot
📦

安装与配置

required
安装插件 install

从 marketplace 添加并安装

/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode /plugin install oh-my-claudecode
首次配置 setup

安装后必须运行

/omc-setup
更新版本 update

更新到最新版本

/plugin marketplace update omc /omc-setup
诊断问题 debug

清除缓存、诊断配置

/omc-doctor
🤖

Team 模式

推荐
标准编排 team

N 个协调代理执行任务

/team 3:executor "fix TypeScript errors"
team-plan team-prd team-exec team-verify team-fix

tmux CLI 工作者

multi-model
Codex CLI codex

代码审查、安全分析

/omc-teams 2:codex "review auth"
Gemini CLI gemini

UI/UX、文档、大上下文

/omc-teams 2:gemini "redesign UI"
Claude CLI claude

通用任务

/omc-teams 1:claude "implement"
三模型并行 ccg

Codex + Gemini 协同

/ccg Review this PR

魔法关键词

shortcuts
关键词 用途 示例
team 标准 Team 编排 /team 3:executor "task"
omc-teams tmux CLI 工作者 /omc-teams 2:codex "task"
ccg 三模型并行 /ccg review PR
autopilot 全自动执行 autopilot: build todo app
ralph 持久模式(必须完成) ralph: refactor auth
ulw 最大并行化 ulw fix all errors
plan 规划访谈 plan the API
ralplan 迭代规划共识 ralplan this feature
deep-interview 苏格拉底式澄清 /deep-interview "idea"
🧠

需求澄清

clarify
模糊想法时使用 deep-interview

写代码前理清思路

/deep-interview "build task app"
🎯

技能管理

skills
查看技能 list
/skill list
添加/编辑 manage
/skill add | remove | edit
提取模式 extract

从会话提取可复用模式

/skillify

速率限制等待

wait
检查状态 status
omc wait
启用守护进程 daemon
omc wait --start
禁用守护进程 stop
omc wait --stop
🔔

通知配置

alerts
Telegram telegram
omc config-stop-callback telegram \ --enable --token <token> \ --chat <chat_id>
Discord discord
omc config-stop-callback discord \ --enable --webhook <url>
Slack slack
omc config-stop-callback slack \ --enable --webhook <url>
🐾

OpenClaw 集成

gateway
快速设置 setup
/oh-my-claudecode:configure-notifications # 选择 "OpenClaw Gateway"
🚀

推荐工作流

best
  1. 模糊需求 /deep-interview "想法"
  2. 规划阶段 plan: 描述功能
  3. 团队执行 /team N:executor "任务"
  4. 代码审查 /omc-teams 2:codex "review"
  5. 设计审查 /omc-teams 2:gemini "UI"
  6. 自动构建 autopilot: build xxx
  7. 必须完成 ralph: 完成任务
🔧

环境变量

optional
原生团队 env
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
OpenClaw env
export OMC_OPENCLAW=1