Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_CLAUDE_MDS

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_CLAUDE_MDS=1

Set to 1, it loads no CLAUDE.md or memory files.

Think of it like

It is like you start a new class without the notes from last term.

Example

Emma thinks an old rule in her CLAUDE.md is making Claude act oddly. She starts one session with this set, and the odd habit is gone.

Why it matters

It is the quickest way to tell if a memory file is what went wrong.

Definition

CLAUDE_CODE_DISABLE_CLAUDE_MDS set to 1 stops every CLAUDE.md file from loading. That means yours, the project's and the auto memory files. Claude starts each session with none of those notes. It helps you test how Claude works with no house rules.

Example code

bash
CLAUDE_CODE_DISABLE_CLAUDE_MDS=1 claude
Start one session with no memory files.
The second column: nothing loads.

Common mistake

Setting it in your shell and then forgetting it. Each new session then skips your project rules.

Key takeaways

  1. 1
    No CLAUDE.md. User or project.
  2. 2
    No auto memory. Either.
  3. 3
    Good for tests. A clean start.

Compare