Feature request: flags for other parts of system prompt: memory, tools, environment
Resolved 💬 4 comments Opened Jun 9, 2025 by anuramat Closed Jan 6, 2026
Summary
Add flags to selectively disable system prompt.
Problem
Even with --system-prompt '', CLAUDE.md and the tool list get loaded into
context -- waste of time and tokens for one-off questions unrelated to any
project.
Proposed solution
New flags:
--no-memory- disables loadingCLAUDE.md--no-tools- disables the tool list (and disables them)--no-env- disables the environment part (os, cwd, date)
Usage
# `tldr`-type questions
claude -p "generate a bash oneliner to find files created today" --no-memory --no-tools --no-env
# project-agnostic queries
claude -p "delete all .tmp files recursively" --no-memoryThis issue has 4 comments on GitHub. Read the full discussion on GitHub ↗