omc-default-globallisted
Install: claude install-skill mazenyassergithub/oh-my-claudecode
# OMC Default Global
## Task: Configure OMC Default Mode (Global)
**CRITICAL**: This skill ALWAYS downloads fresh CLAUDE.md from GitHub to your global config. DO NOT use the Write tool - use bash curl exclusively.
### Step 1: Download Fresh CLAUDE.md (MANDATORY)
Execute this bash command to erase and download fresh CLAUDE.md to global config:
```bash
# 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
### Step 2: Clean Up Legacy Hooks (if present)
Check if old manual hooks exist and remove them to prevent duplicates:
```bash
# 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.js