{"version":"2.1.327","anchor":"prompt-history-skips-entries-flagged-isnotsaved","canonical_anchor":"prompt-history-skips-entries-flagged-isnotsaved","heading":"Some prompts can now be kept out of your prompt history","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/prompt-history-skips-entries-flagged-isnotsaved","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Some prompts can now be kept out of your prompt history\n\nPrompts marked as not to be saved are now skipped when Claude Code adds entries to your prompt history\n\n**Unclear.** It is not stated which prompts get marked as not to be saved.\n\n**What**\n\nYour prompt history is the list of earlier prompts you can scroll back through or search. Claude Code now skips adding a prompt to it when that prompt is marked as not to be saved. This check sits beside the existing `CLAUDE_CODE_SKIP_PROMPT_HISTORY` environment variable, which turns history saving off entirely.\n\n**Why**\n\nSome prompts can now stay out of your history without switching history off for everything.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_SKIP_PROMPT_HISTORY`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}