From crucible
Verify Crucible installation health. Compares the plugin manifest (plugin.json) against the Claude Code plugin record and reports drift. Verifies SDK reachability. Read-only diagnostic. PRD §1.16.2 CMD-5.
npx claudepluginhub krzemienski/crucible --plugin crucible# /crucible:doctor Installation diagnostic per PRD §1.16.6 (PR-1..3) and §1.16.7 (TB-4). ## Checks performed 1. **Plugin manifest present**: `crucible-plugin/.claude-plugin/plugin.json` parses as valid JSON 2. **Plugin installed**: `claude plugin list | grep crucible` returns a row 3. **Manifest ↔ record equivalence** (PR-2): - Every command file in `commands/` appears in the active cache directory - Every skill file in `skills/*/SKILL.md` appears - Every agent file in `agents/*.md` appears - Every hook in `hooks/hooks.json` appears - Every rule template in `templates/rule...
/doctorRuns environment diagnostics across 12 categories, identifies issues, and offers interactive fixes for providers, auth, RTK, hooks, and token optimization. Also supports category-specific checks.
/doctorDiagnoses pro-workflow and Claude Code setup health by checking installations, hooks functionality, git safety, context usage, CLAUDE.md size, git status, and settings.
/doctorDiagnoses babysitter run health (optional run-id uses most recent), checking 10 areas: journal integrity, state cache, effects, locks, sessions, logs, disk usage, and more. Produces structured report with PASS/WARN/FAIL statuses.
/doctorRuns Lean4 diagnostics on environment, plugin structure, workspace build, and MCP tools; detects legacy migrations and stale files for cleanup. Supports env, migrate [--global], cleanup [--apply] modes.
/doctorPerforms health diagnostics on OrchestKit installation, validating 13 categories including plugins, skills, agents, hooks, permissions, schemas, and MCP status. Supports --verbose, --json, --category flags.
/doctorDiagnoses OCR setup by checking installation files, Git availability, optional GitHub CLI authentication, and reports readiness status.
Installation diagnostic per PRD §1.16.6 (PR-1..3) and §1.16.7 (TB-4).
crucible-plugin/.claude-plugin/plugin.json parses as valid JSONclaude plugin list | grep crucible returns a rowcommands/ appears in the active cache directoryskills/*/SKILL.md appearsagents/*.md appearshooks/hooks.json appearstemplates/rules/*.md appears (rules ship as CLAUDE.md fragments — see check 8)python3 -c "import claude_agent_sdk" succeeds.crucible/active exists in $PWDcrucible-plugin/ source SHA-256 to ~/.claude/plugins/cache/crucible-local/crucible/<version>/ SHA-256~/.claude/.crucible-config.json exists. Parse and display setupCompleted + setupVersion + target if present. If absent, recommend /crucible:setup.target field — local or global) and verify both <!-- CRUCIBLE:START --> and <!-- CRUCIBLE:END --> markers are present. If missing, recommend /crucible:setup --force.scripts/setup-claude-md.sh and scripts/setup-progress.sh exist and are executable.CRUCIBLE DOCTOR
===============
✓ manifest crucible-plugin/.claude-plugin/plugin.json (v0.2.0)
✓ installed crucible@crucible-local Status: ✔ enabled
✓ commands 19/19 present in record
✓ skills 11/11 present in record
✓ agents 10/10 present in record
✓ hooks 4/4 present in record
✓ rule templates 4/4 present (templates/rules/)
✓ sdk reachable claude_agent_sdk 0.7.1
✓ activation .crucible/active present in /Users/nick/Desktop/crucible
✓ cache fresh source SHA == cache SHA
✓ setup sentinel ~/.claude/.crucible-config.json (v0.2.0, target=local, 2026-04-25T20:50:00Z)
✓ CLAUDE.md block <!-- CRUCIBLE:START --> ... <!-- CRUCIBLE:END --> present in ./.claude/CLAUDE.md
✓ setup scripts setup-claude-md.sh and setup-progress.sh present and executable
claude plugin update hint/crucible:setup/crucible:setup --force (or /crucible:fix for orphan-marker cleanup)chmod +x remediation/crucible:audit is now independently runnable; doctor verifies the substrate it relies on