6 pages for claude_code_skip_prompt_history.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
…exists only in memory for the duration of the call. In Python, set [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars) in the `env` option to suppress transcript writes instead. | ### Continue, r…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…ve Claude Desktop and Cowork transcripts an age limit too * Set the [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars) environment variable to skip writing transcripts and prompt history in any mo…
CLI reference
Claude Code CLI · in the page
cli-reference
…s are not saved to disk and cannot be resumed. Print mode only. The [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars) environment variable does the same in any mode…
Error reference
Claude Code CLI · in the page
errors
…ings](#transcript-writes-are-failing) | | `Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set` | [Session saving warnings](#transcript-saving-is-off-skip-prompt-history) | | `Transcript…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…h [`--no-session-persistence`](/docs/en/cli-reference#cli-flags) or [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars), Claude Code writes no image file and Claude receives only the inline copy.…
Manage sessions
Claude Code CLI · in the page
sessions
…Environment variable | | Suppress transcript writes in all modes | [`CLAUDE_CODE_SKIP_PROMPT_HISTORY`](/docs/en/env-vars) | Environment variable | | Suppress writes for one non-interactive run | [`--…