Doctor
Run a health check on the AI coding stack — verify the agent CLI, MCP servers, memory system, API keys, and runtimes are actually WORKING (not just installed). Use when the user says "/doctor", "health check", "check my setup", "is X working", "diagnose my environment", "why is memory/MCP not working", or after install/config changes.From its SKILL.md
npx -y skills add NAJEMWEHBE/agent-doctor --skill doctorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.3 KB, as published. Nobody here has run it
/doctor — AI coding stack health check
Run agent-doctor and present the results clearly.
What to do
-
Run the deep check (try in this order; first that works wins):
agent-doctor --deepIf
agent-doctoris not on PATH:npx -y agent-doctor --deepIf neither resolves, run the bundled copy:
node "${CLAUDE_PLUGIN_ROOT}/src/cli.js" --deep -
Show the user the PASS / WARN / FAIL table verbatim (it's already formatted + colored).
-
For every FAIL or WARN, restate the one-line
fix. Then offer the Remediation flow below (research a real fix, apply with consent). Never auto-apply. -
If everything is green, say so in one line.
Remediation (suggest & fix)
After showing the report, if there are any FAIL or WARN rows, you MAY help fix them — but only when the user opts in.
- Ask once: "N issue(s) found — want me to research fixes and walk through them?" If the user declines or only wanted a status check, stop here.
- If yes, take the FAIL/WARN rows one at a time, most severe first (FAIL before WARN). For each:
- Research the specific failure. Seed your search with the check
id, itsdetail, and the built-infixhint; read the relevant config/log if it is quick. Prefer official docs and primary sources, and use a multi-angle research workflow rather than a single search. - Source integrity: propose only fixes backed by real, cited sources. If you cannot find a verified fix, say so plainly and move on — never invent one.
- Present the fix: what it changes, why, the source(s), and a one-line risk note.
- Ask: apply / skip / explain-more.
- Apply only on approval, using your normal tools (edit the config, run the command). Never auto-apply. For risky actions (rewriting a config, installing software, deleting anything) restate the exact action and get explicit confirmation first.
- Verify: re-run
agent-doctor --only <id> --forceand report whether it is now GREEN. The--forceis required — it bypasses the throttle cache, so a just-fixed throttled check (API keys, deep probes) reflects the new state instead of the stale cached result. If it still fails, research once more or stop and say so.
- Research the specific failure. Seed your search with the check
- Finish with a one-line summary: fixed / skipped / still-broken.
This flow needs a research-capable agent. A bare agent-doctor run still prints the static fix hint — that is the floor; this is the bonus.
Notes
- The flagship check is
memory:claude-mem-writing— it catches the "logging but writing 0 memories" silent failure by comparing observation count vs prompt count in the SQLite DB. - Absent tools are reported as SKIP, not FAIL — only installed-but-broken things fail.
- For machine-readable output use
agent-doctor --json. For a CI gate useagent-doctor --fail-on fail. - Users can add their own checks in
~/.agent-doctor/checks.jsonor a projectchecks.json(merged byid).