doctor

Solid

Run diagnostic checks on the agent workspace. Triggers on /agent:doctor, "diagnóstico", "diagnostico", "doctor", "health check", "agent health", "checkup", "revisar agente", "agent broken", "fix agent", "revisa el agente".

AI & Automation 61 stars 14 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Doctor Health check for this agent. Inspects config, identity, memory, SQLite index, QMD, crons, hooks, HTTP bridge, messaging plugins, and dreaming. When invoked with `--fix`, applies safe auto-repairs (create memory dir, sync index, delete stale BOOTSTRAP.md) before re-running checks. This is a CORE feature — always available. See `docs/doctor.md` for the full list of checks and auto-fixes. ## When to use - Right after `/agent:create` or `/agent:import` — verify setup is clean - When memory search returns nothing or feels wrong — check SQLite integrity - When heartbeats don't seem to fire — verify crons and active hours - When you enabled the HTTP bridge but the browser can't connect — probe it - Anytime something feels off ## How it works 1. Refresh the cron audit FIRST — `CronList` → `writeback.sh audit` — so the registry's `.audit` state is current 2. Call the MCP tool `agent_doctor` with `action='check'` (or `action='fix'` when the user passes `--fix`); its cron-registry check reads the `.audit` you just refreshed 3. The tool returns a structured report; pass it through as-is (the tool already formats a card) 4. Supplement with cron status rendered from the same `CronList` output — the MCP server cannot see Claude Code's cron state ## Steps ### Step 1 — Detect mode - If the user's message contains `--fix` or `/agent:doctor fix` or says "arreglar" / "auto-fix" / "repara" → mode is `fix` - Otherwise → mode is `check` ### Step 2 — Refresh the cron audit (BEFORE...

Details

Author
crisandrews
Repository
crisandrews/ClawCode
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category