[DOCS] Non-interactive mode: how to suppress reading CLAUDE.md ?

Resolved 💬 3 comments Opened Oct 17, 2025 by pchalasani Closed Jan 10, 2026

Documentation Type

Missing documentation (feature not documented)

Documentation Location

_No response_

Section/Topic

cli options for non-interactive mode

Current Documentation

Sometimes I want to use claude non-interactive mode for quick questions, and would like to suppress reading CLAUDE.md to get a quicker response. E.g. if I run claude -p "what is 3+4?" is there some cli arg I can add that disables reading CLAUDE.md. I tried for example

claude -p --model haiku --system-prompt "be helpful and do NOT read ANY CLAUDE.md file"

but it still reads it.

What's Wrong or Missing?

The docs don't mention how CLAUDE.md is handled in non-interactive mode, or how to control that behavior.

Suggested Improvement

Docs should make this clear.

Impact

High - Prevents users from using a feature

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗