Claude Code /doctor skill

Diagnose Claude Code setup problems, including duplicate installations, extensions that load slowly, and oversized project instructions.

How to use the Claude Code /doctor skill in Claude Code

  1. Open Claude Code in the affected project and review the report before approving any edits.
  2. Use the example below as a starting point and replace the sample task with your own.
Claude Code prompt · Try this example
/doctor

Check environment health after an update

Ask /doctor to explain which executable is active and surface duplicate installs. Keep the output alongside the version you see when opening a fresh terminal. If a repair is proposed, look at its exact file or setting before you approve.

Use terminal diagnostics when the interactive app will not start

`claude doctor` starts from the operating-system terminal and is useful when an interactive session fails. If the reported version differs across shells, compare their executable resolution before modifying PATH.

Browse Skills