From oh-my-god
Diagnose oh-my-god installation health. Runs ~17 checks against the plugin install root and the SQLite state DB, prints PASS/FAIL per check with remediation hints. Use this when something feels off.
How this command is triggered — by the user, by Claude, or both
Slash command
/oh-my-god:omg-doctorThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /omg-doctor Health-check the oh-my-god install. Verifies every file the plugin needs and tells you exactly which step is missing. ## When to use - First-run sanity check after `/plugin install` - Hooks aren't firing - Errors mentioning "Cannot find module" or "schema.sql not found" - After upgrading the plugin via `/plugin update` - Anytime `/omg-status` shows weird state and you want to know why ## Checks performed 1. Plugin root has `package.json`, `hooks/hooks.json`, `roles.json` 2. Build output exists: `dist/core/store.js`, `dist/core/schema.sql`, `dist/roles.json`, harvest, g...
Health-check the oh-my-god install. Verifies every file the plugin needs and tells you exactly which step is missing.
/plugin install/plugin update/omg-status shows weird state and you want to know whypackage.json, hooks/hooks.json, roles.jsondist/core/store.js, dist/core/schema.sql,
dist/roles.json, harvest, gate, heuristic, roles loadernode_modules/better-sqlite3 is installed (native binding)~/.omg/state.db existsroles.json parses cleanly and lists at least one roleRun the doctor script via Bash:
node "$CLAUDE_PLUGIN_ROOT"/scripts/omg-doctor.mjs
Read the output. Each line is ✅ check name (info) or
❌ check name (info).
If everything passes, tell the user "oh-my-god is healthy."
If anything fails, the script's last line will list suggestions:
cd <plugin root> && npm run buildcd <plugin root> && npm install/omg-setupSurface those hints to the user verbatim.
✅ plugin root has package.json (/Users/<you>/.claude/plugins/cache/...)
✅ hooks/hooks.json present
✅ roles.json present
✅ dist/core/store.js (built)
... (more checks)
✅ DB schema has all 5 tables (acceptance_criteria, claims, evidence, gates, sessions)
✅ roles.json parses cleanly (5 roles: default, executor, explorer, architect, reviewer)
[omg-doctor] 17 passed, 0 failed
0 — all checks passed1 — at least one check failednpx claudepluginhub ckdwns9121/oh-my-god --plugin oh-my-god