Cmd. /doctor
Diagnose and optionally repair setup and configuration (skill).
Written and reviewed by Eric Han · Co-founder & CTO, reopt
Key takeaways
- Diagnose and optionally repair setup and configuration (skill).
- Check the input surface and availability before using the examples below.
Purpose
Diagnose and optionally repair setup and configuration (skill); the prompt-audit subcommand requires v2.1.283+.
/doctor [prompt-audit [path]]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Bundled skill |
| Status | Current reference |
| Aliases | /checkup |
| Documented minimum | Not specified |
| Reviewed against | 2026-10-23 · Claude Code 2.1.308 |
The installed command menu and account or organization settings determine availability.
Examples
/doctor
/doctor prompt-audit/doctor prompt-audit (also /checkup prompt-audit, v2.1.283+) audits CLAUDE.md files, skills,
agents, and commands for prompting patterns written for older models. Stale paths, stale commands, and
contradicting instruction files lead the report, and thinking keywords that Claude Code documents are
kept. As of 2026-10-07 the official Commands table lists it as
/doctor [prompt-audit [path]]. For prompts in Claude API code, use /claude-api prompt-audit instead.
Effects and persistence
Diagnoses setup and configuration and can make repairs. prompt-audit (also /checkup prompt-audit) audits CLAUDE.md files, skills, agents, and commands for prompting patterns written for older models. Review proposed changes before applying them.
Cautions
A setup checkup can propose repairs. Inspect configuration changes and distinguish them from repository edits. From v2.1.290, /status and doctor warn when managed settings ignore user-configured sandbox allowRead paths or allowed domains.