Individual skill
claude-md-doctor
Give 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.
skills/claude-md-doctor/SKILL.md
Source commit 749206557f24531865cd9761f013ce7ea42291c9
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 41
- Repository last updated
- Aug 30, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- claude-md Repository topic
- code-quality Repository topic
- developer-tools Repository topic
- agents-md Repository topic
- anthropic Repository topic
- claude Repository topic
- claude-skills Repository topic
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesSKILL.mdcore · 25,312 bytesscripts/_common.pyruns · 4,536 bytesscripts/backtest.pyruns · 18,355 bytesscripts/card.pyruns · 13,456 bytesscripts/compile.pyruns · 8,948 bytesscripts/generate.pyruns · 7,488 bytesscripts/intake.pyruns · 12,405 bytesscripts/mine.pyruns · 20,461 bytesscripts/refcheck.pyruns · 10,634 bytesscripts/report.pyruns · 38,185 bytesscripts/sessions.pyruns · 8,821 bytesscripts/vitals.pyruns · 6,716 bytestemplates/report.htmlasset · 10,203 bytes
Read excerpt
# CLAUDE.md Doctor — exam procedure
You are running a checkup on this repository's agent-instruction files. The
deterministic work lives in scripts; your job is the judgment between them.
Do not re-derive what a script already measured, and do not skip a stage — the
report verifies the work-state manifest and will disclose skipped stages.
Definitions used below:
- `SCRIPTS` = `${CLAUDE_SKILL_DIR}/scripts` — Claude Code substitutes
`${CLAUDE_SKILL_DIR}` with this skill's own directory at run time, so the
scripts resolve no matter the working directory or how the skill was
installed. Use it literally; do not try to locate the skill yourself.
- `REPO` = the repository to examine (the argument if one was given, else the
current working directory).