Back to skills
SkillHub ClubShip Full StackFull Stack

doctor

Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
160
Hot score
96
Updated
March 20, 2026
Overall rating
C2.9
Composite score
2.9
Best-practice grade
C56.0

Install command

npx @skill-hub/cli install ruya-ai-cozempic-doctor

Repository

Ruya-AI/cozempic

Skill path: plugin/skills/doctor

Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: Ruya-AI.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install doctor into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/Ruya-AI/cozempic before adding doctor to shared team environments
  • Use doctor for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: doctor
description: Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues.
allowed-tools: Bash(cozempic *)
---

Run cozempic health checks:

```bash
cozempic doctor
```

Checks for:
- **Trust dialog hang** — Windows resume bug where `.claude.json` trust entry causes hangs
- **Hooks trust flag** — missing `hasTrustDialogHooksAccepted` causing hooks to silently fail (v2.1.51+ bug)
- **Agent model mismatch** — spawned subagents not inheriting team lead's model causing 403 errors
- **Claude.json corruption** — truncated or invalid `.claude.json` from concurrent write races
- **Corrupted tool_use** — tool blocks with names >200 chars causing 400 API errors
- **Orphaned tool_results** — tool_result blocks missing matching tool_use causing 400 API errors
- **Zombie teams** — stale agent team directories accumulating on disk
- **Oversized sessions** — sessions that may trigger compaction issues
- **Stale backups** — old `.bak` files consuming disk space
- **Disk usage** — total Claude Code storage footprint

To auto-fix detected issues:
```bash
cozempic doctor --fix
```