{"name":"CLAUDE_CODE_SKIP_PROMPT_HISTORY","slug":"claude-code-skip-prompt-history","family":"env","title":"Environment variables","noun":"environment variable","description":"Recalling an old prompt now restores its pasted attachments and remembers how you submitted it.","description_source":"entry","described_by":{"version":"2.1.224","anchor":"prompt-history-remembers-pasted-content-and-how-you-submitte"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.238","released_at":"2026-08-20 18:01:54","spans":1}},"aliases":[],"entries":[{"version":"2.1.238","anchor":"prompt-history-secret-redaction-catches-more-cases","heading":"Prompt-history secret redaction catches more cases","line":"Prompts containing secrets are kept out of your history in more cases, including `!` commands.","released_at":"2026-08-20 18:01:54","reason":"found in this entry's text"},{"version":"2.1.236","anchor":"prompt-history-checks-pasted-content-for-secrets","heading":"Prompt history checks pasted content for secrets","line":"A secret you paste into a prompt can now be kept out of your saved history.","released_at":"2026-08-19 18:45:14","reason":"named in this entry, found in this entry's text"},{"version":"2.1.234","anchor":"auto-mode-classifier-failures-write-a-debug-dump-that-ages-o","heading":"Auto-mode classifier failures write a debug dump that ages out with the session","line":"When auto mode's classifier errors, a debug dump lands beside your transcript and gets cleaned up later.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"slash-commands-marked-sensitive-stay-out-of-prompt-history","heading":"Slash commands marked sensitive stay out of prompt history","line":"Slash commands marked sensitive, and hidden pastes, are now kept out of your prompt history.","released_at":"2026-08-17 18:19:13","reason":"named in this entry, found in this entry's text"},{"version":"2.1.224","anchor":"prompt-history-remembers-pasted-content-and-how-you-submitte","heading":"Prompt history remembers pasted content and how you submitted","line":"Recalling an old prompt now restores its pasted attachments and remembers how you submitted it.","released_at":"2026-08-07 01:36:32","reason":"named in this entry, found in this entry's text"},{"version":"2.1.217","anchor":"transcript-persistence-warnings","heading":"Transcript Persistence Warnings","line":null,"released_at":"2026-07-21 19:55:38","reason":"found in this entry's text"},{"version":"2.1.198","anchor":"new-environment-variables","heading":"","line":null,"released_at":"2026-07-01 16:50:16","reason":"found in this entry's text"}],"entries_total":7,"docs":[{"source":"claude-code","path":"agent-sdk\/sessions","title":"Work with sessions","documented":false},{"source":"claude-code","path":"claude-directory","title":"Explore the .claude directory","documented":false},{"source":"claude-code","path":"cli-reference","title":"CLI reference","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false},{"source":"claude-code","path":"mcp","title":"Connect Claude Code to tools via MCP","documented":false},{"source":"claude-code","path":"sessions","title":"Manage sessions","documented":false}],"docs_total":6,"gates":[],"related":[{"name":"CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH","slug":"claude-code-skip-anthropic-aws-auth","description":"When true, the Claude Platform on AWS client (`CLAUDE_CODE_USE_ANTHROPIC_AWS`) does not look up AWS credentials: an `Authorization` header in the client's default headers (for example from `ANTHROPIC_CUSTOM_HEADERS`) is kept and also used as the API key with a leading `Bearer ` stripped, and without such a header the client is created with `skipAuth`. At startup it also skips running the configured `awsAuthRefresh` and `awsCredentialExport` helpers, and the status panel shows `Claude Platform on AWS auth skipped`."},{"name":"CLAUDE_CODE_SKIP_ANTHROPIC_GOOGLE_CLOUD_AUTH","slug":"claude-code-skip-anthropic-google-cloud-auth","description":"More model providers are accepted, each with an environment variable to skip its auth step."},{"name":"CLAUDE_CODE_SKIP_AWS_CRED_CACHE","slug":"claude-code-skip-aws-cred-cache","description":"The gateway configuration accepts two new upstream providers, `mantle` for Bedrock Mantle and `anthropicGoogleCloud` for Google Cloud"},{"name":"CLAUDE_CODE_SKIP_BEDROCK_AUTH","slug":"claude-code-skip-bedrock-auth","description":"When true, Claude Code talks to Bedrock without looking up AWS credentials: its AWS SDK Bedrock clients use the `smithy.api#noAuth` auth scheme, and its Anthropic Bedrock client sends an `Authorization` header from the client's default headers (for example `ANTHROPIC_CUSTOM_HEADERS`) as its credential when one is present, or else is created with `skipAuth`; `AWS_BEARER_TOKEN_BEDROCK` still takes precedence. At startup it skips running the configured `awsAuthRefresh` and `awsCredentialExport` helpers, and the status panel shows `AWS auth skipped`."},{"name":"CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS","slug":"claude-code-skip-fast-mode-network-errors","description":null},{"name":"CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECK","slug":"claude-code-skip-fast-mode-org-check","description":"Fast mode ('penguin mode') gains an admin setting to require per-session opt-in or disable it, plus an org-check bypass env var"},{"name":"CLAUDE_CODE_SKIP_FOUNDRY_AUTH","slug":"claude-code-skip-foundry-auth","description":"For the Microsoft Foundry client, when neither `ANTHROPIC_FOUNDRY_AUTH_TOKEN` nor `ANTHROPIC_FOUNDRY_API_KEY` is set, a true value replaces the Azure `DefaultAzureCredential` token provider with the placeholder token `skip-foundry-auth` and keeps an `Authorization` header from the client's default headers if one is present. The status panel shows `Microsoft Foundry auth skipped` whenever it is true."},{"name":"CLAUDE_CODE_SKIP_HFI_VERSION_CHECK","slug":"claude-code-skip-hfi-version-check","description":null},{"name":"CLAUDE_CODE_SKIP_MANTLE_AUTH","slug":"claude-code-skip-mantle-auth","description":"More model providers are accepted, each with an environment variable to skip its auth step."},{"name":"CLAUDE_CODE_SKIP_MODEL_ACCESS_MEMORY","slug":"claude-code-skip-model-access-memory","description":"Model access checks for AWS and Google Cloud accounts are now saved and reused at start-up, unless CLAUDE_CODE_SKIP_MODEL_ACCESS_MEMORY is set"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-skip-prompt-history","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}