一键导入
omc-default-global
Configure OMC globally in ~/.claude/CLAUDE.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure OMC globally in ~/.claude/CLAUDE.md
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cancel active autopilot session
Deep analysis and investigation
Strategic planning with interview workflow
Self-referential loop until task completion with architect verification
Test-Driven Development enforcement skill - write tests first, always
Start a planning session with Planner
| name | omc-default-global |
| description | Configure OMC globally in ~/.claude/CLAUDE.md |
| user-invocable | true |
CRITICAL: This skill ALWAYS downloads fresh CLAUDE.md from GitHub to your global config. DO NOT use the Write tool - use bash curl exclusively.
Execute this bash command to erase and download fresh CLAUDE.md to global config:
# Remove existing CLAUDE.md and download fresh from GitHub
rm -f ~/.claude/CLAUDE.md && \
curl -fsSL "https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/docs/CLAUDE.md" -o ~/.claude/CLAUDE.md && \
echo "✅ CLAUDE.md downloaded successfully to ~/.claude/CLAUDE.md" || \
echo "❌ Failed to download CLAUDE.md"
MANDATORY: Always run this command. Do NOT skip. Do NOT use Write tool.
FALLBACK if curl fails: Tell user to manually download from: https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/main/docs/CLAUDE.md
Check if old manual hooks exist and remove them to prevent duplicates:
# Remove legacy bash hook scripts (now handled by plugin system)
rm -f ~/.claude/hooks/keyword-detector.sh
rm -f ~/.claude/hooks/stop-continuation.sh
rm -f ~/.claude/hooks/persistent-mode.sh
rm -f ~/.claude/hooks/session-start.sh
Check ~/.claude/settings.json for manual hook entries. If the "hooks" key exists with UserPromptSubmit, Stop, or SessionStart entries pointing to bash scripts, inform the user:
Note: Found legacy hooks in settings.json. These should be removed since the plugin now provides hooks automatically. Remove the "hooks" section from ~/.claude/settings.json to prevent duplicate hook execution.
The oh-my-claudecode plugin provides all hooks automatically via the plugin system. Verify the plugin is enabled:
grep -q "oh-my-claudecode" ~/.claude/settings.json && echo "Plugin enabled" || echo "Plugin NOT enabled"
If plugin is not enabled, instruct user:
Run:
claude /install-plugin oh-my-claudecodeto enable the plugin.
After completing all steps, report:
✅ OMC Global Configuration Complete
Note: Hooks are now managed by the plugin system automatically. No manual hook installation required.
After installing oh-my-claudecode updates (via npm or plugin update), run /omc-default-global again to get the latest CLAUDE.md configuration. This ensures you have the newest features and agent configurations.