Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By agent-clinicv0.5.1MITIn 1 marketplace
Audits your CLAUDE.md or AGENTS.md for size, dead references and stale claims, then backtests its rules against past sessions. Needs Python 3.9+; it claims everything runs locally and nothing leaves your machine.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Give your CLAUDE.md — or AGENTS.md — a checkup.
Vitals, lab work, diagnoses, prescriptions — and a backtest of every rule
against your own session history.
No CLAUDE.md yet? The doctor mines your sessions and drafts one — every
line with receipts.
Linters check the file. Analytics grade your sessions. The doctor cross-examines one against the other — and cites receipts.
As a Claude Code plugin (recommended):
/plugin marketplace add agent-clinic/claude-md-doctor
then install claude-md-doctor from the /plugin menu. Or via the
skills.sh CLI:
npx skills add agent-clinic/claude-md-doctor
Or bare: copy skills/claude-md-doctor/ into ~/.claude/skills/.
Then, in any repo, just ask — "give my CLAUDE.md a checkup" — or invoke
directly: /claude-md-doctor:claude-md-doctor (bare install:
/claude-md-doctor). The report lands in .claude-md-doctor/report.html
plus machine-readable report.json.
Requires Python 3.9+ (standard library only). Everything runs locally; nothing leaves your machine.
/init boilerplate never pruned, emphasis saturation, changelog accretion.@imports that don't resolve,
pnpm/make commands with no matching script, .claude/rules/ scopes
that match zero files.It understands the real memory surface: CLAUDE.md, .claude/CLAUDE.md,
CLAUDE.local.md, nested files, .claude/rules/*.md (with paths: scopes),
@imports (depth 4, backtick-aware), claudeMdExcludes, ancestor
directories — and it treats the pointer-to-AGENTS.md pattern as healthy,
examining the target, while flagging the broken variant (pointer text without
@, which Claude Code never actually loads). A repo with an AGENTS.md but no
CLAUDE.md at all gets the doctor's simplest prescription: the official
one-line pointer, so Claude Code stops loading nothing.
Your own Claude Code session transcripts (~/.claude/projects/…) already
record whether past sessions actually followed each rule in your CLAUDE.md.
The doctor decomposes the file into rules and replays them against that
history — per rule, a verdict with receipts:
| Rule | Opportunities | Compliance | Verdict |
|---|---|---|---|
| Never import the legacy API types | 12 | 100% | healthy |
Run verify before you finish | 2 | 0% | ignored |
| Never hardcode a colour | 0 | — | inert |
Behind every number: matched excerpts, and for finish-ordering rules a session-timeline strip showing exactly what ran after the last edit. Two ideas drive the verdicts (full taxonomy). Every rule gets an enforcement class — the cheapest reliable detector:
| Class | Detector | Binds |
|---|---|---|
hook | gate over tool calls (commands, edits, orderings) — prevents | the agent |
linter/test | static analysis over the code itself | every agent and every human |
judge | LLM audit, post-hoc, with a stated reliability ceiling | audit only |
~70% of real-world directives land in the first two — laws waiting to be passed. And every violation is triaged by cause, because the cause picks the medicine:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub agent-clinic/claude-md-doctor --plugin claude-md-doctorPlugins from other owners that cover similar ground