← ClaudeAtlas

cortex-doctorlisted

Health check + drift detection for the cortex-x install on this machine. Runs the bin/cortex-doctor.cjs CLI, parses findings, and offers interactive auto-fix for each non-ok check (Y/n per finding). Useful weekly, after a fresh install, after a migration to a new machine, or when cortex behavior feels off. Triggers (EN+CZ) "/cortex-doctor", "/doctor", "doctor", "healthcheck cortex", "co je rozbité na cortexu", "is cortex healthy", "cortex není v pořádku", "cortex broken". Surfaces hooks-registered status, CLAUDE.md discipline block status, source clone state, data home subdirs, skills + agents discovery. Composes with cortex-hooks-register and cortex-claude-md-augment for one-tap remediation.
Rejnyx/cortex-x · ★ 2 · AI & Automation · score 71
Install: claude install-skill Rejnyx/cortex-x
# /cortex-doctor — health check + drift detection You are running the cortex-x healthcheck. Goal: report install state in plain language, offer to fix anything that's broken, NEVER make destructive changes without consent. **Voice charter:** see [`standards/voice.md`](../../../standards/voice.md). No greetings, no emoji, no emotion words. Counts not praise. ## Step 1 — language signal Read prior-turn language. If Czech, answer in Czech. Otherwise English. ## Step 2 — run the CLI Invoke the CLI via Bash tool: ```bash cortex-doctor --json ``` If the `cortex-doctor` shim isn't on PATH (fresh install where PATH wasn't updated), fall back to: ```bash node ~/.claude/shared/bin/cortex-doctor.cjs --json ``` Or in absolute Windows form: ```bash node "$HOME/.claude/shared/bin/cortex-doctor.cjs" --json ``` Parse the JSON. The schema is: ```json { "ok": true | false, "counts": { "ok": N, "info": N, "warn": N, "error": N }, "findings": [{ "id": "<check-id>", "severity": "ok|info|warn|error", "message": "<text>", "fix": "<command>|null" }], "cortex_data_home": "<path>", "cortex_source": "<path>" } ``` ## Step 3 — present a compact report Group findings by severity. ALWAYS surface error + warn first, ok last. Use a table or list — never prose paragraphs. Example output structure (Czech): ``` cortex-doctor: ✗ ERRORS (1) • <id>: <message> Fix: <command> ! WARNINGS (2) • <id>: <message> Fix: <command> ✓ OK (6) [collapsed list of ids] Co j