OmniscioGuidesTranscript saving is off
Transcript saving is off: why this session will not appear in resume
Nothing is broken, and nothing from this session's conversation is written down: it exists only in the terminal. If you need any of it, copy it out or run /export before you close the window. Then change whatever launched claude, because the setting is outside the session.
Checked against Anthropic's documentation on November 25, 2026. By the Omniscio team. Updated .
What are the exact messages?
The variable case:
Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set · --resume will not find this session; if unintended, unset it and restartThe inherited-marker case:
Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker · restart with CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 to keep future transcriptsAnd a third warning that reads alike but means something else, because saving is on and the write failed:
Transcript writes are failing (disk full — ENOSPC) · recent messages may not be saved for resumeWhat does it mean?
Claude Code normally saves a transcript of every session as you work, which is what --resume, --continue and the up-arrow history read. A session that starts with saving off writes nothing, so that session is missing from all three.
Anthropic's variable reference says it in one line: sessions started with CLAUDE_CODE_SKIP_PROMPT_HISTORY set do not appear in --resume, --continue or up-arrow history. Anthropic says the setting is for throwaway scripted sessions. It goes wrong when it reaches an interactive one, where nothing looks wrong until you try to resume.
Why it appears when you never set it
- A shell profile, a wrapper script, or a parent process exported the variable, and every
claudestarted from there inherits it. - You ran
claudefrom inside another Claude Code session. Claude Code setsCLAUDE_CODE_CHILD_SESSIONin the subprocesses it spawns, and an interactive session that inherits it is treated as nested, so Claude itself keeps its own child sessions out of your--resumelist. - A long-lived intermediary inherited the marker: a terminal, a
screensession or a launcher that a Claude Code session originally started. Anthropic names that leak as the case that signals a misclassification, and notes that tmux is detected and exempted automatically.
How do I fix it?
- Decide whether you meant it. If the session is a throwaway scripted run, the notice is confirmation, not a problem, and nothing needs doing.
- For the variable case, find where it is set, then remove it. In the shell you launch
claudefrom,printenv CLAUDE_CODE_SKIP_PROMPT_HISTORYprints the value when that shell carries it (echo $env:CLAUDE_CODE_SKIP_PROMPT_HISTORYin PowerShell, and nothing when it is unset). Search your shell profiles and any wrapper script for the name, delete the line, open a new terminal, and check the command prints nothing before you launchclaude. For a single non-interactive run,--no-session-persistenceis the flag-sized version of the same choice. - For the inherited marker, restart with persistence forced. Start the next session with
CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1set. Anthropic documents this value for a top-level session that inherited the marker through a long-lived parent. - Fix the leak for future launches. Run
printenv CLAUDE_CODE_CHILD_SESSIONin the terminal or launcher that startsclaude, and remove the export from wherever it comes from — a startup line, ascreenconfiguration, or a wrapper script. Clearing it there is what lets later sessions start clean without the override.
Neither fix reaches backwards. Anthropic states that messages from the current session are not saved retroactively, so anything you want to keep from this conversation needs to leave it before you close the terminal: copy it out, or use /export.
How do I know it is fixed?
- The next session starts without this notice.
- The session appears where saved sessions are found:
claude --resumeopens the picker and lists it, andclaude --continuefrom the same directory reopens it. - By default the file is on disk: open
~/.claude/projects(%USERPROFILE%\.claude\projectson Windows) and then the folder for the directory you startedclaudein. A.jsonlfile written during this session means saving is on; nothing new there means it still is not.CLAUDE_CONFIG_DIRmoves that root.
When saving is on but the write fails
The third message is the other problem entirely. Saving is on, and a write to the transcript file failed, with the code in the parentheses: ENOSPC for a full disk, EDQUOT for an exceeded quota, EROFS for a read-only filesystem, EACCES or EPERM for a permission error.
- The warning appears at the first failure for conditions that will not clear on their own, such as a full disk or a read-only filesystem.
- For everything else it waits for repeated failures spanning at least a minute, which is why a Windows antivirus scan that fails one write and lets the next through produces no notice.
- It clears by itself at the next successful write, and messages sent while it showed may still be missing when you resume.
The fix is the condition the code names: free disk space, raise or clear the quota, or restore write access to the transcript location. The .claude directory guide covers where that location sits and what the sweep removes.
Where these answers come from
- Anthropic's error reference, Transcript saving is off because CLAUDE_CODE_SKIP_PROMPT_HISTORY is set, read November 25, 2026: the exact notice, why it can arrive unintended, and both steps.
- The same page, the inherited CLAUDE_CODE_CHILD_SESSION marker, read the same day: the marker, the intermediary that leaks it, the tmux exemption and the override.
- The same page, Transcript writes are failing, read the same day: the error codes, when the warning appears, and when it clears.
- Environment variables, read the same day: the
CLAUDE_CODE_SKIP_PROMPT_HISTORY,CLAUDE_CODE_CHILD_SESSIONandCLAUDE_CODE_FORCE_SESSION_PERSISTENCErows. - Sessions, Where transcripts are stored, read the same day: the
~/.claude/projectspath and the--no-session-persistenceflag beside it.
Common questions
What does Transcript saving is off mean in Claude Code?
Claude Code is keeping no transcript for this session, so it will not appear in --resume, --continue or up-arrow history. One of two environment variables is responsible, and the words before the middle dot name which.
How do I turn transcript saving back on?
Unset CLAUDE_CODE_SKIP_PROMPT_HISTORY in the shell or script that launches claude, or start the session with CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 when the marker is an inherited CLAUDE_CODE_CHILD_SESSION. Either way saving applies from the restart, so start a new session.
Can I recover messages from a session that was not saved?
No. No transcript was written for that session, and Anthropic states that messages from it are not saved retroactively. The conversation stays in the terminal until you close it, so copy out anything you need.
Why did this start after launching claude from another session?
Claude Code sets CLAUDE_CODE_CHILD_SESSION in the subprocesses it spawns, and a session that inherits it is treated as nested, so nothing goes into --resume. Running claude from inside another Claude Code session does exactly that, and the notice is expected there.
What is Transcript writes are failing?
A different warning: saving is on, but the write failed, and the notice names the code, such as ENOSPC for a full disk. It clears at the next successful write, and messages sent while it showed may be missing when you resume.