CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP
Updated by Alex Sorokoletov
CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP is a Claude Code environment variable: Set this to stop the worker from skipping its disconnect goodbye during resume load; by default that goodbye is skipped then. Added in v2.1.319 and still present in v2.1.319. It is not in the official reference.
| Status | Present in v2.1.319 |
|---|---|
| Added | Added in v2.1.319 |
| Category | Sessions |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP": "<value>"
}
}Related variables
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: Disable background tasks entirely.CLAUDE_CODE_DISABLE_BG_EXIT_HANDOFFCLAUDE_CODE_DISABLE_BG_STABLE_PATH: On macOS, skips resolving a stable executable path for the background process and re-execs using the current executable path instead.CLAUDE_CODE_DISABLE_NESTED_SESSION_ID: Set to a truthy value to stop the session-id getter from returning null and have it return the resolved id instead.CLAUDE_CODE_DISABLE_QUIET_BACKGROUND_WAIT: When set, disables the quiet long background wait, so the session returns instead of entering a long sleep while background work is idle.CLAUDE_CODE_RELAUNCH_RESUME_HINT_FLAGS: Holds space-separated CLI flags to reapply when relaunching to resume; the flags are validated against known options, dropped if any is invalid, and the variable is cleared once read.CLAUDE_CODE_RESUME_CACHE_WARM: In remote mode, controls warming the resume cache: true force-enables it, false disables it, and otherwise a server-side setting decides whether it runs.CLAUDE_CODE_RESUME_FROM_SESSION: Instructs Claude Code to bootstrap a new session's context from an existing session ID.
Frequently asked questions
What does CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP do?
Set this to stop the worker from skipping its disconnect goodbye during resume load; by default that goodbye is skipped then.
Which Claude Code version has CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP?
Added in v2.1.319 and still present in v2.1.319.
How do I set CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP?
Export it before starting Claude Code (export CLAUDE_CODE_DISABLE_RESUME_LOAD_GOODBYE_SKIP=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.