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

Slash commands marked sensitive stay out of prompt history

Slash commands marked sensitive, and hidden pastes, are now kept out of your prompt history.

Use it now No documentation found Improvements
JSON All of v2.1.234
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Prompt HistoryArea: what it touches
ImprovementsKind: in v2.1.234,
What probably matters to youSection of the release
What

Commands that declare themselves sensitive, including invocations whose arguments are hidden pastes, are now skipped when prompt history is written rather than stored. History entries also get strictly increasing timestamps, and undo is only armed when the caller asked for it. CLAUDE_CODE_SKIP_PROMPT_HISTORY still turns history writing off entirely.

Details
  • Hidden pastes are recognised from the [Pasted text #N] and [...Truncated text #N] placeholders that stand in for the real content.
  • Commands that are blocked or handled immediately now record their history entry explicitly instead of relying on the normal path.
  • Headless "command unavailable" echoes redact sensitive arguments as ***.
Evidence

registerSensitiveCommands, /\[(?:Pasted text|\.\.\.Truncated text) #\d+/

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.234 →

Feedback