{"version":"2.1.234","anchor":"slash-commands-marked-sensitive-stay-out-of-prompt-history","canonical_anchor":"slash-commands-marked-sensitive-stay-out-of-prompt-history","heading":"Slash commands marked sensitive stay out of prompt history","tier":"use","area":"Prompt History","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234\/e\/slash-commands-marked-sensitive-stay-out-of-prompt-history","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234","markdown":"### Slash commands marked sensitive stay out of prompt history\n\nSlash commands marked sensitive, and hidden pastes, are now kept out of your prompt history.\n\n**What**\n\nCommands 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.\n\n**Details**\n\n- Hidden pastes are recognised from the `[Pasted text #N]` and `[...Truncated text #N]` placeholders that stand in for the real content.\n- Commands that are blocked or handled immediately now record their history entry explicitly instead of relying on the normal path.\n- Headless \"command unavailable\" echoes redact sensitive arguments as `***`.\n\n**Evidence**\n\n`registerSensitiveCommands`, `\/\\[(?:Pasted text|\\.\\.\\.Truncated text) #\\d+\/`\n\n- Area: Prompt History\n- Names: `CLAUDE_CODE_SKIP_PROMPT_HISTORY`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}