OmniscioGuidesClaude Code /doctor
Claude Code /doctor: what the checkup looks at, and what it changes
A Claude Code setup accumulates: a second install left behind by an upgrade, a settings file with a trailing comma, four skills nobody invokes, a CLAUDE.md that repeats what is already in the code. /doctor is the command that finds those and offers to fix them.
This page owns the checkup itself. The config debugging guide owns the question of why one file is not taking effect, the memory guide owns what belongs in CLAUDE.md, and the skills guide owns what a skill costs in context.
Sources read November 25, 2026. By the Omniscio team. Updated .
What /doctor is
Run /doctor at the Claude Code prompt for a setup checkup that diagnoses issues and can fix them. It is a bundled skill, so you invoke it the usual way, by typing the slash and the name.
/doctorThe important part is the order. Claude reports its findings first and asks for confirmation before changing anything, so a checkup is safe to run on a working setup: you can read what it found and decline the fixes.
The five areas it checks
Installation health
It looks for duplicate or leftover installs, PATH problems, unparseable settings files, and whether a newer version is available on your release channel. A second install left behind by an upgrade is one of the things this area reports.
Extensions
Unused skills, MCP servers and plugins are compared with their context cost, and slow hooks are flagged. Every skill in the listing adds to your context on every turn whether or not Claude ever uses it, so this check is as much about speed and tokens as about tidiness.
CLAUDE.md files
It finds local CLAUDE.md files that duplicate checked-in ones, checked-in content Claude could derive from the codebase, and the always-loaded guidance that remains. Claude then offers to migrate that guidance into skills and nested CLAUDE.md files that load on demand.
Permissions
It offers to make auto mode your default permission mode and to pre-approve read-only commands you frequently deny. Both are offered rather than applied, and pre-approving read-only commands is the narrower of the two: fewer prompts without changing the mode.
Usage, on a paid plan
On a Pro, Max, Ultra, Team or Enterprise plan it reports the changes /usage recommends to lower your plan usage, measured over the last 7 days. Claude proposes the changes it can make itself and reports the rest as advice, such as a command for you to run.
This area has two limits worth knowing before you look for it. It requires Claude Code v2.1.305 or later, and /doctor leaves it out while Remote Control is connected.
claude doctor, the read-only version
For read-only installation diagnostics without starting a session, run claude doctor in your terminal. It prints installation and settings findings and changes nothing, which makes it the right command when Claude Code will not start at all.
claude doctorAnthropic also points at it for confirming a specific finding. After switching to a system ripgrep, for example, the Search line in claude doctor shows the path of that binary instead of OK (bundled).
Auditing your instructions
To audit your instructions rather than your setup, run /doctor prompt-audit. Claude checks your CLAUDE.md files, skills and other configuration for outdated or conflicting instructions instead of running the checkup.
/doctor prompt-auditThe subcommand requires Claude Code v2.1.283 or later. /doctor also answers to the alias /checkup, so /checkup prompt-audit runs the same audit.
Use the audit when the setup is healthy but Claude keeps ignoring a house rule, and the checkup when something in the installation or the files is visibly broken. The config debugging guide covers the individual checks for a file that loaded but had no effect.
Sources
Every line on this page rests on one of these. The date beside each one is the day we read it.
- Extend Claude with skills, for the Check your setup with /doctor section: the five areas, the confirmation rule,
claude doctor,prompt-auditand the version floors. Read November 25, 2026. - Debug your configuration, for the command table row for
/doctorand the split between the terminal and in-session versions. Read November 25, 2026. - Troubleshooting, for
claude doctoras the check of the Search line after a ripgrep switch, and for its place in the get-more-help order. Read November 25, 2026. - Commands, for the
/doctorentry and itsprompt-auditargument. Read November 25, 2026.
No checkup was run for this page. Every finding, path and version floor is transcribed from those pages.
Common questions
What does /doctor do in Claude Code?
/doctor runs a setup checkup that diagnoses installation and configuration issues and can fix them. Claude reports its findings first and asks for confirmation before changing anything.
What areas does the /doctor checkup cover?
Five areas: installation health, extensions such as unused skills and slow hooks, your CLAUDE.md files, the permission changes it offers, and on a paid plan the usage changes /usage recommends.
What is the difference between claude doctor and /doctor?
claude doctor in your terminal prints read-only installation and settings diagnostics without starting a session. /doctor inside a session is a full checkup that also proposes fixes and asks before applying them.
What is /doctor prompt-audit?
It audits your instructions rather than your setup. Claude checks your CLAUDE.md files, skills and other configuration for outdated or conflicting instructions instead of running the checkup. It requires Claude Code v2.1.283 or later.
Why is the usage section missing from /doctor?
The usage check needs Claude Code v2.1.305 or later and only appears on a Pro, Max, Ultra, Team or Enterprise plan. /doctor also leaves it out while Remote Control is connected.
Every session, one window
Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness: Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.