Skip to content
Development
Skill

/cozempic-doctor

Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues. (cozempic — does not shadow Claude Code's built-in /doctor)

From plugin
cozempic
4135 skills1 command1 MCP
Install
$ npx -y skills add Ruya-AI/cozempic --skill cozempic-doctor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cozempic-doctor

Context preview

The summary Claude sees to decide when to auto-load this skill.

Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues. (cozempic — does not shadow Claude Code's built-in /doctor)

SKILL.md

cozempic-doctor.SKILL.md
name: cozempic-doctor
description: Run health checks on Claude Code configuration and sessions. Use when troubleshooting Claude Code issues. (cozempic — does not shadow Claude Code's built-in /doctor)
allowed-tools: Bash(cozempic *)

Run cozempic health checks:

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:

cozempic doctor --fix
Ships withcozempic

100,000+ power users trust Cozempic to keep their Claude Code sessions lean. Context cleaning for Claude Code — remove the bloat, keep everything that matters, protect Agent Teams from context loss.

Get the whole plugin
Stats
413
Stars
38
Forks
Maintained
Maintenance
Python
Language
MIT
License
2mo ago
Last commit
7mo ago
Created

Repo: Ruya-AI/cozempic

Other skills on cozempic.