Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Strings can be removed from prompts with an environment variable

Setting CLAUDE_CODE_REMOVE_PROMPT_STRINGS to a JSON list removes those strings from the prompts Claude Code sends to the model

Use it now Notable New Features
JSON All of v2.1.290
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
AgentsArea: what it touches
New FeaturesKind: in v2.1.290,
What probably matters to youSection of the release

Unclear Which prompts this removal applies to is not stated.

What

Claude Code can now remove chosen pieces of text from its prompts before they are sent to the model. A prompt here means the instructions and context Claude Code hands to the model on each turn. The list of text to remove comes from one of two places:

  • CLAUDE_CODE_REMOVE_PROMPT_STRINGS, an environment variable (a setting you put in your shell before starting Claude Code) holding a JSON array of strings
  • a remove_prompt_strings value supplied by the program that launched Claude Code

When removal happens, Claude Code records how many strings were configured and how many were actually found.

Why

This changes what the model actually receives, so it can be used to test how the model behaves without certain instructions. Anyone setting it should expect the model's behaviour to change accordingly.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich prompts this removal applies to is not stated.

See this entry in the whole of v2.1.290 →

Feedback