claude-md-doctor
SolidGive this repo's CLAUDE.md / AGENTS.md a checkup — size vitals vs official guidance, dead references, dead commands, stale claims — then backtest every rule against the repo's own Claude Code session history to see which rules were actually followed, ignored, or never used, and produce a doctor-style HTML report with evidence-cited prescriptions. Use when asked to check, diagnose, audit, review, improve, optimize, lint, grade, fix, clean up, shorten, or "doctor" CLAUDE.md, AGENTS.md, or agent instruction/memory files, or to find out whether CLAUDE.md rules actually work. Also use when a repo has NO memory file and the user wants one — "write/generate/suggest a CLAUDE.md (or hooks) from my sessions" — the skill mines the repo's real session history and drafts a proposed file with receipts.
Install
Quality Score: 83/100
Skill Content
Details
- Author
- agent-clinic
- Repository
- agent-clinic/claude-md-doctor
- Created
- 2 weeks ago
- Last Updated
- 1 weeks ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
doctor
Health-check the user's Claude Code setup and fix issues: diagnose installation health — what the `claude doctor` terminal diagnostics cover — from local data (duplicate or leftover installs, PATH, unparseable settings files, broken or colliding agent definitions, skills whose frontmatter fails to parse); find unused skills, MCP servers, and plugins versus their context cost and disable dead weight; deduplicate local CLAUDE.md files against checked-in ones; trim checked-in CLAUDE.md files by cutting content a session could derive from the codebase (directory layouts, tech-stack lists, architecture overviews) while keeping gotchas, rationale, and non-standard conventions; migrate always-loaded CLAUDE.md guidance into lazy skills and nested CLAUDE.md files; flag slow hooks and context-heavy extensions; check the installed version is current; make auto mode the default permission mode; and pre-approve frequently denied read-only commands. Use when the user asks for a doctor run, checkup, audit, tune-up, or clean
config-doctor-lite
Quick health-check for AI coding agent configuration. Auto-discovers CLAUDE.md files and skill directories, then runs 3 read-only checks: broken path references in CLAUDE.md, skill folders missing SKILL.md, and weak SKILL.md frontmatter (missing name/description). Python stdlib only, prioritized terminal report, never writes anything. Use when the user asks to audit their Claude Code config, check for broken paths or dead references after moving/renaming a project or migrating machines, or find out why a skill is not loading or triggering. Not for auditing code dependencies (npm/pip), scanning for secrets, linting application configs (nginx, Docker, ESLint, Kubernetes), or creating a new CLAUDE.md from scratch. Memory-index, hooks, and MCP-definition checks plus JSON/CI output are in the full Config Doctor.
claude-md
How to write and update the repository's CLAUDE.md (commands, architecture map, conventions, Definition of Done, forbidden actions) and its template. Load at kickoff, legacy assessment, when a retro adds a rule, or when CLAUDE.md is missing or its commands no longer match reality.