How to use the Claude Code /doctor skill in Claude Code
- Open Claude Code in the affected project and review the report before approving any edits.
- Use the example below as a starting point and replace the sample task with your own.
/doctorCheck 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.