$npx -y skills add Ruya-AI/cozempic --skill cozempic-doctorRun health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues. (cozempic — does not shadow Claude Code's built-in /doctor)
| 1 | Run cozempic health checks: |
| 2 | |
| 3 | ```bash |
| 4 | cozempic doctor |
| 5 | ``` |
| 6 | |
| 7 | Checks for: |
| 8 | - **Trust dialog hang** — Windows resume bug where `.claude.json` trust entry causes hangs |
| 9 | - **Hooks trust flag** — missing `hasTrustDialogHooksAccepted` causing hooks to silently fail (v2.1.51+ bug) |
| 10 | - **Agent model mismatch** — spawned subagents not inheriting team lead's model causing 403 errors |
| 11 | - **Claude.json corruption** — truncated or invalid `.claude.json` from concurrent write races |
| 12 | - **Corrupted tool_use** — tool blocks with names >200 chars causing 400 API errors |
| 13 | - **Orphaned tool_results** — tool_result blocks missing matching tool_use causing 400 API errors |
| 14 | - **Zombie teams** — stale agent team directories accumulating on disk |
| 15 | - **Oversized sessions** — sessions that may trigger compaction issues |
| 16 | - **Stale backups** — old `.bak` files consuming disk space |
| 17 | - **Disk usage** — total Claude Code storage footprint |
| 18 | |
| 19 | To auto-fix detected issues: |
| 20 | ```bash |
| 21 | cozempic doctor --fix |
| 22 | ``` |