Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS=1

Set to 1, it turns off the Explore and Plan subagents.

Think of it like

It is like the cook looks in the pantry. No runner is sent.

Example

Emma wants to see every file Claude reads while it plans. She sets this, and the reads happen in her own chat.

Why it matters

Helpers hide their steps. Without them, you see all the reading in one place.

Definition

CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS set to 1 turns off the built-in Explore and Plan helpers. Claude then searches with its own tools or the general helper. In plan mode it reads files itself. Your own helpers named Explore or Plan still work. It needs version 2.1.198 or later.

Example code

bash
export CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS=1
claude --permission-mode plan
Plan without helper agents.

Common mistake

Expecting it to remove your own Explore agent. Custom ones with that name stay.

Key takeaways

  1. 1
    Built-in Explore and Plan. Turned off.
  2. 2
    Claude reads itself. In plan mode.
  3. 3
    Custom ones stay. Same names.