OMC 设置 (OMC Setup)
OMC 设置 (OMC Setup)
Section titled “OMC 设置 (OMC Setup)”OMC 框架入门指南 - 让 Claude Code 成为你的超级开发助手
什么是 OMC Setup?
Section titled “什么是 OMC Setup?”OMC Setup 帮助你:
- 安装 OMC 框架
- 配置 Claude Code
- 集成 MCP 服务
- 验证安装正确
1. 安装 OMC
Section titled “1. 安装 OMC”# 通过 npm 安装npm install -g oh-my-claudecode
# 或通过 Homebrewbrew install oh-my-claudecode2. 初始化配置
Section titled “2. 初始化配置”# 运行设置向导omc setup
# 或手动配置omc setup --manual3. 配置 Claude Code
Section titled “3. 配置 Claude Code”在 Claude Code 中启用 OMC:
{ "skills": ["omc-*"]}4. 验证安装
Section titled “4. 验证安装”omc doctor1. MCP 服务集成
Section titled “1. MCP 服务集成”| 服务 | 用途 | 配置 |
|---|---|---|
| Filesystem | 文件操作 | 默认启用 |
| Git | 版本控制 | 默认启用 |
| Bash | 终端命令 | 默认启用 |
| Memory | 长期记忆 | 可选 |
| Web | 网络请求 | 可选 |
2. 技能配置
Section titled “2. 技能配置”{ "skills": { "plan": { "enabled": true }, "ralph": { "enabled": true }, "autopilot": { "enabled": true }, "team": { "enabled": true } }}3. 环境变量
Section titled “3. 环境变量”# 可选配置export OMC_DEBUG=trueexport OMC_LOG_LEVEL=infoexport OMC_DATA_PATH=~/.omcomc doctor # 检查安装omc doctor --verbose # 详细诊断omc doctor --fix # 自动修复| 问题 | 解决方案 |
|---|---|
| 技能不加载 | omc setup --repair |
| MCP 连接失败 | 检查网络和配置 |
| 权限问题 | 检查文件权限 |
- 安装 OMC -
npm install -g oh-my-claudecode - 运行设置 -
omc setup - 配置技能 - 编辑
~/.omc/config.json - 验证 -
omc doctor - 开始使用 -
/plan或help