cortex-doctorlisted
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