skip to content

In Claude Code, how does a bundled skill like `/doctor` differ from a built-in command like `/init`, and what does `disableBundledSkills` change?

level: middleimportance: should knowfreq 10%

answer

  1. who does the work
  2. fixed logic versus a prompt
  3. marked Skill in the command table
  4. removed entirely versus hidden from the model
  5. /doctor changed sides in 2.1.205

basics

~20 s

A built-in command runs fixed CLI logic; a bundled skill is a prompt Claude carries out with its tools. disableBundledSkills removes bundled skills and workflows, while built-ins like /init stay typable but are hidden from the model.

solid answer

~40 s

The commands reference marks bundled skills with **Skill**: `/doctor`, `/simplify`, `/debug`, `/batch`, `/loop`, `/code-review` and others. Like skills you write, they are instructions Claude follows using its tools, so they spend model turns and Claude can start some of them on its own when relevant, while others such as `/verify` run only when you invoke them. Built-in commands such as `/init`, `/clear` or `/status` execute fixed logic. Setting `disableBundledSkills: true` in any settings file, or `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS=1`, removes bundled skills and workflows entirely and hides built-ins such as `/init` from the model while you can still type them. `/doctor`, a bundled skill since v2.1.205, stays typable; `DISABLE_DOCTOR_COMMAND` hides it. Plugin skills and `.claude/skills` are unaffected.

code

json · 3 lines
json
{
  "disableBundledSkills": true
}

go deeper

for a junior

Recall that some slash commands are skills that ship with Claude Code, marked Skill in the commands reference, and that /doctor is one of them while /init is not.

for a middle

Explain the mechanism: fixed CLI logic against a prompt Claude follows with its tools, what that means for cost and repeatability, and exactly what disableBundledSkills removes, hides and leaves alone.

for a senior

Show rollout judgment: when to disable bundled skills wholesale against hiding one, why /doctor needs its own variable, and how a same-named team skill shadows a bundled one but not its aliases.

for a principal

Frame the tradeoff of model-driven commands in a standard toolchain: useful automation that varies run to run against a smaller, deterministic surface the model cannot start on its own.

## Two kinds of entry in one menu Type `/` in Claude Code and the menu mixes several kinds of command: **built-in commands**, **bundled skills**, bundled workflows, your own skills, plugin skills and MCP prompts. The commands reference lists the ones that ship with Claude Code and marks two kinds in its Purpose column: **Skill** for a bundled skill and **Workflow** for a bundled dynamic workflow such as `/deep-research`. | | Built-in command | Bundled skill | | :- | :- | :- | | What runs | Fixed logic coded into the CLI | A prompt handed to Claude, which carries it out with its tools | | Examples | `/init`, `/clear`, `/status`, `/add-dir`, `/config` | `/doctor`, `/simplify`, `/debug`, `/batch`, `/loop`, `/code-review`, `/claude-api`, `/verify` | | Who decides the steps | The CLI, the same way every run (some, such as `/init` or `/compact`, call the model as one step) | Claude, from the skill's instructions | | Can Claude start it | Only a few, through the Skill tool (`/init`, `/security-review`) | Some, when relevant; others such as `/verify` only when you invoke them | | Under `disableBundledSkills` | Stays typable, hidden from the model | Removed entirely | ## Why the distinction matters at work - **Determinism.** `/clear` always does the same thing. `/doctor` or `/simplify` is Claude reasoning through instructions, so its output depends on the model, the effort level and what it finds. - **Cost.** A bundled skill is a turn of model work; a built-in such as `/status` is not. - **Who can trigger it.** Claude can invoke some bundled skills itself. `/claude-api`, for instance, also activates automatically when your code imports the Anthropic SDK. `/verify` has run only on request since v2.1.215. - **Name collisions.** A skill of your own with the same name as a bundled one replaces it but not its aliases: a project `code-review` skill replaces `/code-review`, while `/review` still runs the bundled one. How your own skills are named and invoked belongs to the skills material. ## `/doctor` moved from one column to the other Before **v2.1.205**, `/doctor` was a built-in command that opened a read-only diagnostics screen. Since then it is a **bundled skill**: a setup checkup in which Claude diagnoses installation, settings and extension problems, reports findings, and asks before changing anything. `claude doctor`, run from the shell, is still a separate read-only check that needs no session. ## Turning bundled skills off `disableBundledSkills` is a Boolean that works in any settings file: 1. `true` removes bundled skills and bundled workflows **entirely**. 2. Built-in commands such as `/init` **stay typable** but are **hidden from the model**, so Claude cannot invoke them itself. 3. `/doctor` **stays typable** like a built-in; to hide it, set `DISABLE_DOCTOR_COMMAND=1` (or a per-skill override). That variable does not affect `claude doctor`. 4. Skills from plugins, `.claude/skills/` and `.claude/commands/` are **unaffected**. 5. The per-session equivalent is `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS=1`. Whichever of the two turns bundled skills off, the other cannot turn them back on. A team that wants a predictable menu, or a platform engineer trimming what the model can start on its own, reaches for this setting. A team that simply dislikes one bundled skill turns off that one instead of all of them. ## Three commands side by side 1. **`/init`** is a built-in. It generates a starter `CLAUDE.md` for the project; the model writes the content, but the command itself is CLI logic. Claude can also reach it through the Skill tool. Under `disableBundledSkills` you can still type it, and Claude can no longer start it. 2. **`/simplify`** is a bundled skill. It runs four review agents in parallel (reuse of existing helpers, simplification, efficiency, level of abstraction) and applies the cleanups; it does not hunt for correctness bugs, which is `/code-review`'s job. Under `disableBundledSkills` it is gone from the menu. 3. **`/doctor`** is a bundled skill that behaves like a built-in for the purposes of the setting: it stays typable, and only `DISABLE_DOCTOR_COMMAND` or a per-skill override hides it. The pattern to remember: the setting removes **skills and workflows that ship with Claude Code**, narrows what the **model** can start, and leaves **your own** skills and everything you type by hand alone. ## Reading the table yourself Not every row appears for every user: availability depends on platform, plan and environment, so `/desktop` shows only on macOS and x64 Windows with a subscription. When you are unsure whether a command is a skill, the **Skill** marker in the commands reference is the authority, and the `/` menu shows what this session actually has.

  • A platform team sets `disableBundledSkills: true` but users must not run the `/doctor` checkup. What else is needed?
    `/doctor` stays typable when bundled skills are off, like the built-in commands. Hide it with the `DISABLE_DOCTOR_COMMAND` environment variable set to `1`, which also hides its `/checkup` alias, or with a per-skill override set to off. Neither affects `claude doctor` from the shell, which prints read-only diagnostics without a session.
  • Can Claude itself invoke a built-in command such as `/compact`?
    Not `/compact`. A few built-in commands are reachable through the Skill tool, including `/init` and `/security-review`; most, `/compact` among them, are not. With `disableBundledSkills` on, even those built-ins are hidden from the model, though you can still type them.

  • Bundled skills are just built-in commands under a different label.
  • disableBundledSkills also removes built-ins such as /init from the menu.
  • disableBundledSkills turns off the skills in .claude/skills as well.
  • Once bundled skills are disabled, /doctor can no longer be typed.
  • Claude can never start a bundled skill unless you type it.
  • Setting the environment variable to 0 re-enables what settings disabled.

Assumes Claude Code 2.1.286; /doctor has been a bundled skill (a setup checkup that can fix issues) since 2.1.205 and stays typable under disableBundledSkills.