Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

/doctor

slash never mined documented JSON

A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Skill. Run a setup checkup that diagnoses issues and can fix them. Checks installation health, including duplicate or leftover installs, PATH problems, and unparseable settings files. Finds unused skills, MCP servers, and plugins versus their context cost, flags slow hooks, and checks for a newer version on your release channel. Deduplicates local CLAUDE.md files against checked-in ones, trims checked-in CLAUDE.md files by cutting content Claude could derive from the codebase, and migrates the always-loaded guidance that remains into skills and nested CLAUDE.md files that load on demand. Also offers to make auto mode your default and to pre-approve frequently denied read-only commands. Reports findings first and asks for confirmation before changing anything. From the terminal, claude doctor prints read-only installation diagnostics without starting a session. Alias: /checkup. Run /doctor prompt-audit to have Claude audit your CLAUDE.md files, skills, and other configuration for outdated or conflicting instructions instead of running the checkup. The prompt-audit subcommand requires Claude Code v2.1.283 or later. The CLAUDE.md trim check requires Claude Code v2.1.206 or later. Before v2.1.205, /doctor opened a read-only diagnostics screen and pressing f sent the report to Claude

Anthropic's own wording. Read off Commands, captured 2026-09-28.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 149on this box, as of v2.1.308
Written about v0.2.107 first named in a changelog, 9 May 2025

In the changelogs

34

Releases whose published page names /doctor.

  1. v2.1.290
    /doctor shows an extra block of checks before environment variables

    The /doctor report now prints a new block of paired lines, each with an indented detail, ahead of its environment variables section

    found in this entry's text, named in this entry

  2. v2.1.287
    Clearer messages when Claude Code can't restart onto an installed update

    Restarting a session onto a newly installed version now explains why it was refused, and confirms an upgrade, a downgrade or a plain resume

    found in this entry's text

  3. v2.1.283
    /doctor prompt-audit reviews your project's instruction files

    /doctor prompt-audit hands off to the bundled claude-api skill to audit CLAUDE.md, rules, skills and other instruction files

    found in this entry's text, named in this entry

  4. v2.1.280
    Doctor/diagnostic output now redacts gateway, Bedrock and proxy URLs

    Diagnostic output now hides the actual Gateway, Bedrock, and proxy URLs behind redaction

    found in this entry's text, named in this entry

  5. v2.1.280
    Doctor/hooks list truncation now uses shared 'N more' component

    Doctor's hooks list now shows truncated 'N more' text using the same shared component as other lists

    found in this entry's text, named in this entry

  6. v2.1.261
    /doctor output now waits for organization policy limits to load before reporting them

    /doctor now waits for org policy limits to load and shows an updating status line for them.

    found in this entry's text, named in this entry

  7. v2.1.257
    Doctor check for stale sandbox mask files on Linux/WSL

    A new doctor check finds stale zero-byte sandbox mask files on Linux and WSL that quietly break don't-ask-again.

    named in this entry

  8. v2.1.241
    Version stamped to 2.1.241

    The version number moved from 2.1.240 to 2.1.241; nothing else changed.

    found in this entry's text

  9. v2.1.239
    Reworded auth, doctor and artifact messages

    Auth, /doctor and artifact messages now describe what actually happened instead of guessing a fix.

    named in this entry, found in this entry's text

  10. v2.1.233
    /doctor now checks skills for broken frontmatter

    /doctor now spots skills whose frontmatter fails to parse and offers to repair it.

    named in this entry, found in this entry's text

  11. v2.1.233
    Version bumped to 2.1.233

    The version reported by the banner, /doctor and update checks is now 2.1.233.

    named in this entry, found in this entry's text

  12. v2.1.232
    Version bumped to 2.1.232

    Version is now 2.1.232, which shows up in /status, /doctor and update checks.

    named in this entry, found in this entry's text

  13. v2.1.231
    Build stamp bumped to 2.1.231

    The version number you see is now 2.1.231; nothing else about it changed.

    found in this entry's text

  14. v2.1.229
    Slash commands can mark themselves terminal-only, and SDK clients get the list

    Terminal-only commands like /doctor and /exit are flagged so non-terminal hosts can hide them.

    named in this entry, found in this entry's text

  15. v2.1.226
    Version bump to 2.1.226

    The version number ticks up to 2.1.226; nothing else changes.

    found in this entry's text

  16. v2.1.221
    Version bumped to 2.1.221

    Claude Code is now version 2.1.221, which shows up in /doctor and update checks.

    named in this entry, found in this entry's text

  17. v2.1.210
    /doctor Command Description Expanded

    found in this entry's text

  18. v2.1.206
    Health Check Description Update

    found in this entry's text

  19. v2.1.205
  20. v2.1.205

    found in this entry's text

  21. v2.1.205
  22. v2.1.205
  23. v2.1.203
  24. v2.1.203
  25. v2.1.182
    /doctor Hint on Setup Issue Count

    found in this entry's text

  26. v2.1.129
    Session Plugins from URLs

    found in this entry's text

  27. v2.1.110
    MCP Server Conflict Detection

    found in this entry's text

  28. v2.1.110
    Improved Error Diagnostics

    found in this entry's text

  29. v2.1.105
    /doctor Diagnostics with Auto-Fix

    found in this entry's text

  30. v2.1.105
    Tmux Focus-Events Diagnostic

    found in this entry's text

  31. v2.1.20
    Keybindings Customization Skill

    found in this entry's text

  32. v2.1.3
    Custom Keybindings Support

    found in this entry's text

  33. v2.1.3
    Unreachable Permission Rules Detection

    found in this entry's text

  34. v0.2.107
    Database Warning Removal

    found in this entry's text

First cited

1

The earliest release whose published evidence quoted /doctor was v2.1.182, 18 Jun 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.18218 Jun 2026run /doctor for details

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.

Feedback