From agent
Runs diagnostic checks on agent workspace: config, identity, memory, SQLite index, QMD, crons, hooks, HTTP bridge, messaging plugins, dreaming. Applies safe auto-fixes with --fix.
npx claudepluginhub crisandrews/clawcode --plugin agentThis skill uses the workspace's default tool permissions.
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.
Audits Claude Code agents for violations, gaps, and improvements across 7 dimensions like description quality and frontmatter, outputting structured repair plans.
Guides Claude Code subagent development: agent files, YAML frontmatter, tool/model config, lifecycle/resumption, CLI/SDK usage, priority, built-in agents, troubleshooting via docs delegation.
Audits agent lifecycles in Claude Code plugins, validating execution capabilities against configs via 8 semantic audits on alignments, skill loading, contracts, prompts, tools, dead agents, and patterns. Writes reports to .claude/audits/.
Share bugs, ideas, or general feedback.
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.
/agent:create or /agent:import — verify setup is cleanagent_doctor with action='check' (or action='fix' when the user passes --fix)CronList — the MCP server cannot see Claude Code's cron state, so include that here--fix or /agent:doctor fix or says "arreglar" / "auto-fix" / "repara" → mode is fixcheckCall:
agent_doctor(action='<mode>')
Print the returned card verbatim.
agent_doctor cannot read Claude Code's cron list (MCP servers don't have access to Claude Code's runtime). Append a cron section by calling the CronList tool.
Remember: CronList is a deferred tool. Load it first:
ToolSearch(query='select:CronList')
Then call CronList() and render:
prompt contains /agent:heartbeat → report scheduleprompt contains dream → report schedule⚠️ and suggest: "Missing cron — run the default crons flow (see AGENTS.md)"Format:
Crons:
✅ Heartbeat: */30 * * * *
✅ Dreaming: 0 3 * * *
If the diagnostic card includes any → hint: lines, those are already rendered. Do not repeat them; the user has what they need.
fix mode, remind the user to reloadAfter a fix run, if any fix was applied or any hook-related issue remains, recommend /mcp to reload the MCP server. Example:
Some changes take effect only after reloading the MCP server. Run `/mcp` to apply.
✅ Config · ✅ Identity · ⏸️ HTTP · ℹ️ Dreaming · ... — full card is too wide for mobile./agent:doctor, only check. Only apply fixes on --fix or when the user explicitly asks to repair.lib/doctor.ts. If they ask about something not covered (e.g. "check my OpenAI API key"), say the doctor doesn't cover that yet — or consult docs/doctor.md for the current check list.docs/doctor.md — full feature documentationlib/doctor.ts — implementation (checks + fixes)docs/INDEX.md — master feature index