promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/doctor

Runs a setup check that diagnoses and can fix problems.

[Skill] Checks the installation (duplicates, PATH, broken settings), finds unused skills/MCP servers/plugins versus their context cost, deduplicates CLAUDE.md, flags slow hooks, checks versions. Reports findings first, asks before making changes. 'claude doctor' in the terminal is read-only. Alias: /checkup. Before v2.1.205 it was a read-only screen.

โœ… WHEN TO USE IT?

Setup check after an update or suspected broken configuration

/doctor

Find unused skills/MCP servers vs. context cost and deduplicate CLAUDE.md

/doctor

โ›” WHEN NOT TO?

No setup problem, just memory diagnostics under high memory usage

/doctor checks the installation and setup, not the JavaScript heap.

Better: /heapdump

Just want to see current session context usage

/doctor checks the setup, not how much of the current context window is used.

Better: /context

SOURCES