CLAUDE_CODE_REMOTE
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.138, including the newest one read.
What it is
Remote sessions started from review can skip writing some state to disk.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.221.
Presence across releases
| Releases | Reading | Declared type | Default |
|---|---|---|---|
| 2.1.245 – 2.1.250 5 releases | never mined | — | — |
| 2.1.160 – 2.1.243 75 releases | in the build | bool | — |
| 2.1.138 – 2.1.159 20 releases | in the build | — | — |
A row reading never mined is a release with no archived bundle behind it. Nothing was read out of it, so nothing here says whether the name was in it. A declared type or a default is only ever what that release's own bundle stated.
Changelog entries naming it
-
v2.1.237Poll tool drains queued harness events and reports who sent them
Claude can pull in queued messages from other sessions, stamped with who sent them, but only behind an env var.
named in this entry
-
v2.1.232Non-interactive /auto-mode-setup no longer needs the onboarding flag
Non-interactive /auto-mode-setup now just needs a resolved model and no remote flag.
named in this entry
-
v2.1.232Remote Control: quieter duplicate answers and clearer auth failures
Remote Control drops duplicate answers quietly and reports authentication failures distinctly.
named in this entry
-
v2.1.229Remote sessions can receive queued notifications and read them with a new tool
Remote sessions can be handed webhook, schedule and cross-session events mid-turn and read them with a new tool.
named in this entry
-
v2.1.229Queued notifications for remote sessions
Remote sessions accept and validate a new queued notification message instead of ignoring it.
named in this entry
-
v2.1.229ReadNotifications tool, reachable only in remote non-interactive runs
A new tool lets Claude pull queued notifications, but only in remote non-interactive runs.
named in this entry
-
v2.1.227Watching an artifact from a remote session now wakes it instead of streaming
In remote sessions, watching an artifact wakes you on publish instead of streaming live updates.
named in this entry
-
v2.1.227Remote startup timing accepts numbers supplied by the runner
On remote runs, startup timings can be supplied by the runner through an environment variable.
named in this entry
-
v2.1.224Remote-control autostart decision is resolved in one place
One resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars.
named in this entry
-
v2.1.224Automatic memory context can scan a whole memory directory
Memory context can list every file in your memory directory instead of one file.
named in this entry
-
v2.1.224Memory-consolidation prompt gains two variants
Memory consolidation prompts gained prune-only and tools-unavailable variants for different session types.
named in this entry
-
v2.1.224Self-hosted runner operator tools
Nine operator tools can inspect runners, sessions, secrets, health, metrics and logs, loaded only via --base-tools.
named in this entry
-
v2.1.224An auto-generated index of your memory files
Claude can auto-generate an index of your memory files and feed it in as a source.
named in this entry
-
v2.1.223MCP status reply trims terminal-only advice in non-interactive and remote sessions
The /mcp status reply stops telling you to type commands you cannot type in that session.
named in this entry
-
v2.1.223/mcp summary drops the "use the terminal" hint in remote workspaces
The /mcp status line stops telling you to use a terminal you don't have in remote workspaces.
named in this entry
-
v2.1.221Review-origin remote sessions skip some disk persistence
Remote sessions started from review can skip writing some state to disk.
named in this entry
-
v2.1.221Remote worker heartbeats can adopt refreshed credentials
Long-running remote sessions can pick up refreshed tokens mid-flight instead of dying when credentials expire.
named in this entry
Documentation pages
- Organizations mentions it Claude Developer Platform
- Settings mentions it Claude Developer Platform
- Get effective organization settings mentions it Claude Developer Platform
- Configure cloud environments mentions it Claude Code CLI
- Environment variables mentions it Claude Code CLI
- Hooks reference mentions it Claude Code CLI
- Customize sessions in self-hosted environments mentions it Claude Code CLI
- Test self-hosted environments end to end mentions it Claude Code CLI
- Claude Code settings mentions it Claude Code CLI
- Claude Code settings reference 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, up to twelve of them.
CLAUDE_CODE_3P_PROBE_WROTE_OPUS_DEFAULTNo description from anybody. 2.1.207
CLAUDE_CODE_3P_PROBE_WROTE_SONNET_DEFAULTNo description from anybody. 2.1.207
CLAUDE_CODE_ACCESSIBILITYSet to 1 to keep the native terminal cursor visible and disable the inverted-text cursor indicator. Allows screen magnifiers like macOS Zoom to track cursor position 2.1.138
CLAUDE_CODE_ACCOUNT_TAGGED_IDNo description from anybody. 2.1.138
CLAUDE_CODE_ACCOUNT_UUIDThe device bridge is skipped entirely when the host's account UUID doesn't match the stored one. 2.1.138
CLAUDE_CODE_ACT_DONT_REDERIVEThree existing feature gates moved position; their defaults are unchanged. 2.1.162
CLAUDE_CODE_ACTIONNo description from anybody. 2.1.138
CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MDSet to 1 to load memory files from directories specified with --add-dir. Loads CLAUDE.md, .claude/CLAUDE.md, .claude/rules/*.md, and CLAUDE.local.md. By default, additional directories do not load memory files 2.1.138
CLAUDE_CODE_ADDITIONAL_PROTECTIONNo description from anybody. 2.1.138
CLAUDE_CODE_ADOPT_UNDERIVABLE_PARKED_PERMISSIONA resumed headless session could hand you back a permission prompt left unanswered, but three variables must be set. 2.1.238
CLAUDE_CODE_AGENTNo description from anybody. 2.1.138
CLAUDE_CODE_AGENT_COST_STEERNo description from anybody. 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.