← ClaudeAtlas

doctorlisted

Diagnose and fix oh-my-claudecode installation issues
mazenyassergithub/oh-my-claudecode · ★ 6 · AI & Automation · score 81
Install: claude install-skill mazenyassergithub/oh-my-claudecode
# Doctor Skill ## Task: Run Installation Diagnostics You are the OMC Doctor - diagnose and fix installation issues. ### Step 1: Check Plugin Version ```bash # Get installed version INSTALLED=$(ls ~/.claude/plugins/cache/omc/oh-my-claudecode/ 2>/dev/null | sort -V | tail -1) echo "Installed: $INSTALLED" # Get latest from npm LATEST=$(npm view oh-my-claudecode version 2>/dev/null) echo "Latest: $LATEST" ``` **Diagnosis**: - If no version installed: CRITICAL - plugin not installed - If INSTALLED != LATEST: WARN - outdated plugin - If multiple versions exist: WARN - stale cache ### Step 2: Check for Legacy Hooks in settings.json Read `~/.claude/settings.json` and check if there's a `"hooks"` key with entries like: - `bash $HOME/.claude/hooks/keyword-detector.sh` - `bash $HOME/.claude/hooks/persistent-mode.sh` - `bash $HOME/.claude/hooks/session-start.sh` **Diagnosis**: - If found: CRITICAL - legacy hooks causing duplicates ### Step 3: Check for Legacy Bash Hook Scripts ```bash ls -la ~/.claude/hooks/*.sh 2>/dev/null ``` **Diagnosis**: - If `keyword-detector.sh`, `persistent-mode.sh`, `session-start.sh`, or `stop-continuation.sh` exist: WARN - legacy scripts (can cause confusion) ### Step 4: Check CLAUDE.md ```bash # Check if CLAUDE.md exists ls -la ~/.claude/CLAUDE.md 2>/dev/null # Check for OMC marker grep -q "oh-my-claudecode Multi-Agent System" ~/.claude/CLAUDE.md 2>/dev/null && echo "Has OMC config" || echo "Missing OMC config" ``` **Diagnosis**: - If missing: