⌨️--exclude-dynamic-system-prompt-sections
Also known as claude --exclude-dynamic-system-prompt-sections, Exclude dynamic system prompt sections flag
It makes the prompt the same for each user.
Think of it like
It is like each book has the same cover. The names are written inside.
Example
Jack runs the same check for fifty people on fifty machines. With this flag, the prompt matches on all of them, so most of it is read from the cache.
Why it matters
Cached prompt text is cheaper and faster, and here many runs can share it.
Definition
Example code
bash
claude -p --exclude-dynamic-system-prompt-sections "Check the build"Common mistake
Key takeaways
- 1Per-user parts. Move to the first message.
- 2Same prompt. Shared cache.
- 3Default prompt only. With -p.