Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.98 ·

--exclude-dynamic-system-prompt-sections CLI Flag

Entry
JSON All of v2.1.98
EntryKind: in v2.1.98,
New FeaturesSection of the release
What

Moves per-machine sections (cwd, environment info, memory paths, git status) from the system prompt into the first user message to improve prompt cache reuse across users.

Usage
claude --exclude-dynamic-system-prompt-sections
Details
  • Only applies when using the default system prompt (ignored with --system-prompt)
  • Particularly useful for teams or CI environments where multiple users/machines share cached prompts
  • Defaults to false (disabled)
Evidence

CLI flag (search for "--exclude-dynamic-system-prompt-sections")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded --exclude-dynamic-system-prompt-sections flag to print mode for improved cross-user prompt caching

See this entry in the whole of v2.1.98 →

Feedback