CLAUDE_CODE_SESSION_
A Claude Code environment variable, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Two env vars let background dispatchers inherit your plan and rate tier without an API call.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.251.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.251Background sessions can inherit plan and rate-limit tier from the environment
Two env vars let background dispatchers inherit your plan and rate tier without an API call.
named in this entry
Documentation pages
- routines-fire mentions it Claude Developer Platform
- Claude Code changelog mentions it Claude Code CLI
- Automate work with routines mentions it Claude Code CLI
- Customize sessions in self-hosted environments mentions it Claude Code CLI
- Verify session identity in self-hosted environments mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Names beside it
Every environment variable in the inventory starting claude_code_session, up to twelve of them.
CLAUDE_CODE_SESSION_ACCESS_TOKENRemote settings can now supply many more environment variables, including auth tokens and home directory paths. 2.1.138
CLAUDE_CODE_SESSION_IDSkills from your claude.ai account can load as a source, but only if you set the sync env var. 2.1.138
CLAUDE_CODE_SESSION_KINDTwo env vars let background dispatchers inherit your plan and rate tier without an API call. 2.1.138
CLAUDE_CODE_SESSION_LOGNo description from anybody. 2.1.138
CLAUDE_CODE_SESSION_NAMEA blank CLAUDE_CODE_SESSION_NAME now falls back to the directory-derived name. 2.1.138
CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MSNonsense values in retry, MCP output and hook timeout env vars now fall back to defaults. 2.1.138
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.