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.236 ·

Prompt history checks pasted content for secrets

A secret you paste into a prompt can now be kept out of your saved history.

You'll notice No documentation found Improvements
JSON All of v2.1.236
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Prompt HistoryArea: what it touches
ImprovementsKind: in v2.1.236,
What probably matters to youSection of the release
What

The check that decides whether a prompt is too sensitive to save now sees the actual pasted text, not just a flag saying a paste happened, so a command with a secret pasted into it can be kept out of history. Only text pastes are inspected. Setting CLAUDE_CODE_SKIP_PROMPT_HISTORY still disables history entirely.

Evidence

hasHiddenPastes

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

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_SKIP_PROMPT_HISTORY, on Error reference. | `Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set` | [Session saving warnings](#transcript-saving-is-off-skip-prompt-history) | errors see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_SKIP_PROMPT_HISTORY, on Error reference.

See this entry in the whole of v2.1.236 →

Feedback