Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.234 Home All releases olderv2.1.233 v2.1.235newer
Claude Code v2.1.234

Slash commands marked sensitive stay out of prompt history

Use it now
Useful3 Signal2
Prompt History not in their notes

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

CLAUDE_CODE_SKIP_PROMPT_HISTORY
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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.234 →