/plugin-doctor:plugin-doctorfrom plugin-doctor
Diagnose and self-optimize MCP servers, CLIs, and agent skills for lower LLM token usage without breaking safety rules or tests. Scans SKILL.md and references/ load budgets, monolithic docs, live MCP tools/list schemas, pretty-printed CLI JSON, duplicate structuredContent payloads, missing delta/folding paths, and oversized screenshots, then compares before/after snapshots. "plugin-doctor", "토큰 진단", "플러그인 닥터", "스킬 다이어트", "MCP 토큰 절감", "자가 개선 점검"에 사용한다. 과거 세션 모델 선택 연습은 model-fit-review를 쓴다.
Ships in plugin-doctor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Diagnose and reduce LLM context-token cost across skills, MCP servers, CLIs, and screenshots while keeping 100% of safety rules, schemas, coordinate contracts, and tests intact.
scripts/doctor_scan.py (stdlib Python, relative to this skill directory):
python3 -B <SKILL_DIR>/scripts/doctor_scan.py <TARGET_DIR> --out <BASELINE.json>
Add --mcp-cmd "<server command>" when a live stdio MCP server is available to measure real tools/list rent.SKILL.md & monolithic references/ splittingtools/list schema compressionread:true, describe:true)text/structuredContent & pretty-printed CLI JSON cleanuppython3 -B <SKILL_DIR>/scripts/doctor_scan.py <TARGET_DIR> --compare <BASELINE.json>
Report exact measured before/after numbers, mark any unrun check not measured, and never claim savings from estimates alone.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub oozoofrog/oozoofrog-plugin --plugin plugin-doctor