agentsclimarketplace

Cozempic doctor

Skill Ruya-AI/cozempic/plugin/skills/cozempic-doctor

Context cleaning for Claude Code — prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning

Install
npx -y skills add Ruya-AI/cozempic --skill cozempic-doctor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

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

1.2 KB, as published. Nobody here has run it

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.