Agent skill
doctor
Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/doctor-ruya-ai-cozempic
SKILL.md
Run cozempic health checks:
cozempic doctor
Checks for:
- Trust dialog hang — Windows resume bug where
.claude.jsontrust entry causes hangs - Hooks trust flag — missing
hasTrustDialogHooksAcceptedcausing 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.jsonfrom 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
.bakfiles consuming disk space - Disk usage — total Claude Code storage footprint
To auto-fix detected issues:
cozempic doctor --fix
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?