Environment variables

CLAUDE_CODE_FORCE_SESSION_PERSISTENCE

Forces prompt history and transcript persistence even if the process appears nested inside another Claude Code session.

Syntax

CLAUDE_CODE_FORCE_SESSION_PERSISTENCE

Type to search the reference, templates and lessons.