doctor
Skill3 starsChanged 3 months agoMITView on GitHub
This skill should be used when the user asks to "check documentation quality", "run mnemonica doctor", "find weak spots in the knowledge docs", "audit the docs themselves, not just their accuracy", "find rules that might be stealing Mnemonica's trigger", or wants to know whether knowledge/ documentation is well-formed — stub modules, overly broad or overlapping globs, modules nobody has touched in a long time, pre-existing CLAUDE.md rules that compete with Mnemonica's own trigger — as opposed to whether it matches the code.
81 other projects use a version of this.
Adopted by
Most recently taken up by
- JanSzewczyk/spec-driven-developmenttheir own version, first seen Nov 8, 2026
- stunt-double/stuntdouble-mcptheir own version, first seen Nov 8, 2026
- aaroncohn/openspec-conductor-powerupstheir own version, first seen Nov 8, 2026
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- woosikkim/oh-my-claudecode-slimtheir own version, first seen Nov 8, 2026
- Ubuntu-Buddha/claude-code-stranger-dangertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use cancel, mode and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
woosikkimSkillcancel
Clear any stale OMC-Slim state
Also in 3 projects that use this
ibahgatSkillmode
Inspect or switch omi operating mode/profile for speed, depth, autonomy, or strict quality gates.
Also in 3 projects that use this
BlockSkillopen
Open markdown documents in Penpal for collaborative review. Use when you want a human to review a document, plan, or research artifact.
Also in 3 projects that use this
QinghongLinSkilleditor
Read analyst.json and detective.json, make all editorial decisions — what the blog argues, which findings matter, narrative arc and section structure. No visual design. Outputs editor.md (prose) and editor.json (structure with edt_xx IDs).
Also in 3 projects that use this
MicrosoftSkillinit
Also in 7 projects that use this
MicrosoftSkillreport
Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.
Also in 5 projects that use this
Other versions81 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 81
- Yeachan-Heo/oh-my-codex★ 34ksame name
- jihe520/MathModelAgent★ 6.2ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
- fakechris/obsidian_vault_pipeline★ 165same name
- NoobyGains/godmode★ 118same name
- Rich627/whatsapp-claude-plugin★ 114same name
- bluzir/claude-code-design★ 102same name
- jjanczur/tyran★ 81same name
- svy04/ballast★ 73same name
- Hainrixz/agente-pagokit★ 68same name
71 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- audit-fullSkill
- audit-lightSkill
- brief-fullSkill
- brief-lightSkill
- setupSkill
- statusSkill
- uninstallSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Check the quality of the documentation itself, not whether it matches the code.
- Very specific: line 15
If the user's invocation includes extra wording (for example, "just check for stub modules"), treat it as narrowing which findings to …
- Distinctive: line 39
Every flag is a candidate, not a verdict:
“Common” is measured: kept by at least 6 in 10 of the 61 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mnemonica: doctor
Check the quality of the documentation itself, not whether it matches the code. This is a
different question from what audit-full answers: a module can accurately describe what
little it says (so audit-full finds nothing wrong) while still being a two-line stub, or
two modules can both be individually accurate while silently claiming the same code path.
doctor surfaces those candidates; it never edits anything itself — every finding is
something for the user (or a follow-up audit-full run) to act on, not an automatic fix.
If the user's invocation includes extra wording (for example, "just check for stub modules"),
treat it as narrowing which findings to report — it cannot turn this into a skill that edits
knowledge/ or .claude/CLAUDE.md; doctor has nothing to write in the first place.
Step 1: Run the scan
Run ${CLAUDE_PLUGIN_ROOT}/scripts/doc-quality-scan.sh <project-root>.
- Exit 2 (
NO_MNEMONICA_BLOCK): nothing to check — tell the user and suggestmnemonica:setup, and stop. - Exit 0: read the output.
MODULElines carryFLAG:STUB(very short content),FLAG:STALE_DOC(Nd)(not touched in git for a long time — only computed when the project has git history), orFLAG:MISSING_FILE(indexed but absent from disk — the same signalcheck-index-integrity.shreports, surfaced here too since a missing file is also a documentation-quality problem).GLOB_ISSUElines flag a bare**/*/empty glob entry.OVERLAPlines flag two modules claiming a byte-identical glob.TRIGGER_OVERLAPlines flag a pre-existing rule outside the Mnemonica block (line number and text included) that instructs Claude to do something else "before" analyzing/understanding the codebase's architecture or structure — the same trigger point Mnemonica's own "consult the index first" instruction relies on. This is a heuristic (a "before" + architecture/understanding phrase paired with an instruction verb), so it will over-flag; treat every hit as a candidate.
Step 2: Apply judgment, do not just relay flags
Every flag is a candidate, not a verdict:
- A
FLAG:STUBmodule might be flagged because the system genuinely is that simple — a three-line module describing a single trivial script is not automatically wrong. Say what was flagged and let the user judge; do not imply every stub is a defect. - A
FLAG:STALE_DOCmodule might not have needed a change — a stable, mature subsystem that legitimately hasn't changed is different from one that has drifted silently. Mention it as "worth a look", not as a confirmed problem;audit-lightoraudit-fullare what actually determine whether the content is still accurate. FLAG:TOO_BROADandOVERLAPare closer to unambiguous — a bare**glob or two modules claiming the same exact path both undermine the mechanismaudit-lightdepends on to route changes correctly, and are worth recommending a fix for more directly.FLAG:MISSING_FILEis unambiguous: recommendmnemonica:audit-fullto recreate it.TRIGGER_OVERLAPneeds a real read of the flagged line, not a reflex fix: some hits are false positives (a line that happens to contain "before" near "architecture" but isn't actually claiming Mnemonica's trigger point), and some are real — a rule that tells Claude to use a different tool "before" understanding or analyzing the code, which can silently win overknowledge/every time because of where it sits in the file or how specific it reads. For a real conflict, this is the user's own pre-existing content, sodoctordoes not propose rewriting it here — explain the risk (the competing rule may be whyknowledge/gets skipped even though it's accurate and populated) and suggest options: narrow the competing rule's trigger phrase so it no longer covers general architecture questions, add an explicit precedence note (e.g. "consultknowledge/first for anything it already covers; use<other tool>for what it doesn't"), or leave it if the read confirms it's a false positive.
Step 3: Report
Present findings grouped by kind (stubs, stale docs, broad globs, overlaps, missing files,
competing triggers), each with the module(s) or line involved and a one-line reason. If
nothing was flagged, say the docs look structurally healthy rather than listing empty
categories. Do not propose or make any edits — recommend audit-full (for missing files or
content drift), a manual restructuring conversation (for overlaps and overly broad globs,
since resolving those may mean merging or redrawing module boundaries, which is audit-full's
ask-before-restructuring territory, not this skill's), or — for TRIGGER_OVERLAP — a manual
edit to the competing rule itself, since that rule is the user's own pre-existing content and
not something any Mnemonica skill writes to.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

