Source Intelligence
Sweep 28 Aug 2026 ยท 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Reference

Environment variables, all 1,145.

Names the client reads out of the environment it was started in, to turn something on, off or somewhere else.

/
1,145 environment variables

not in v2.1.243, Anthropic has never documented it.

Every environment variable in the build

AGENT_PROXY_AUTH_TOKENNo description from anybody. 2.1.138 – 2.1.243 AGENT_PROXY_URLNo description from anybody. 2.1.138 – 2.1.243 AI_AGENTNo description from anybody. 2.1.138 – 2.1.243 ALACRITTY_LOGNo description from anybody. 2.1.138 – 2.1.243 ALL_PROXYConcurrent sandboxes now get unique proxy usernames instead of sharing one identity. 2.1.210 – 2.1.243 ALLOW_ANT_COMPUTER_USE_MCPNo description from anybody. 2.1.160 – 2.1.243 ANT_CLAUDE_CODE_METRICS_ENDPOINTNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_EXPORTER_OTLP_ENDPOINTNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_EXPORTER_OTLP_HEADERSNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_EXPORTER_OTLP_PROTOCOLNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_LOGS_EXPORTERNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_METRICS_EXPORTERNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_RESOURCE_ATTRIBUTESNo description from anybody. 2.1.160 – 2.1.243 ANT_OTEL_TRACES_EXPORTERNo description from anybody. 2.1.160 – 2.1.243 ANTHROPIC_API_KEYAPI key sent as X-Api-Key header. When set, this key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (-p), the key is always used when present. In interactive mode, you are prompted to approve the key once before it overrides your subscription. To use your subscription instead, run unset ANTHROPIC_API_KEY 2.1.138 – 2.1.243 ANTHROPIC_AUTH_TOKENCustom value for the Authorization header (the value you set here will be prefixed with Bearer ) 2.1.138 – 2.1.243 ANTHROPIC_AWS_API_KEYWorkspace API key for [Claude Platform on AWS](/docs/en/claude-platform-on-aws), generated in the AWS Console. Sent as x-api-key and takes precedence over AWS SigV4 2.1.138 – 2.1.243 ANTHROPIC_AWS_BASE_URLOverride the [Claude Platform on AWS](/docs/en/claude-platform-on-aws) endpoint URL. Use for custom regions or when routing through an [LLM gateway](/docs/en/llm-gateway). Defaults to https://aws-external-anthropic.{region}.api.aws. Claude Code resolves the region with the [same precedence as on Amazon Bedrock](/docs/en/amazon-bedrock#3-configure-claude-code) 2.1.138 – 2.1.243 ANTHROPIC_AWS_WORKSPACE_IDRequired for [Claude Platform on AWS](/docs/en/claude-platform-on-aws). Sent on every request as the anthropic-workspace-id header 2.1.138 – 2.1.243 ANTHROPIC_BASE_URLOverride the API endpoint to route requests through a proxy or gateway. When set to a non-first-party host, [MCP tool search](/docs/en/mcp#scale-with-mcp-tool-search) is disabled by default. Set ENABLE_TOOL_SEARCH=true if your proxy forwards tool_reference blocks. As of v2.1.196, [Remote Control](/docs/en/remote-control#requirements) is disabled when this points at a host other than api.anthropic.com, matching its behavior on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry 2.1.138 – 2.1.243 ANTHROPIC_BEDROCK_BASE_URLOverride the Amazon Bedrock endpoint URL. Use for custom Amazon Bedrock endpoints or when routing through an [LLM gateway](/docs/en/llm-gateway). See [Amazon Bedrock](/docs/en/amazon-bedrock) 2.1.138 – 2.1.243 ANTHROPIC_BEDROCK_MANTLE_BASE_URLOverride the Amazon Bedrock Mantle endpoint URL. See [Mantle endpoint](/docs/en/amazon-bedrock#use-the-mantle-endpoint) 2.1.138 – 2.1.243 ANTHROPIC_BEDROCK_REGION_PREFIXCross-region inference profile prefix (us, eu, apac, jp, au, or global) Claude Code tries first instead of the one derived from the AWS region. Ignored in AWS GovCloud regions. Requires Claude Code v2.1.224 or later. See [Amazon Bedrock](/docs/en/amazon-bedrock#cross-region-inference-profile-prefixes) 2.1.224 – 2.1.243 ANTHROPIC_BEDROCK_SERVICE_TIERAmazon Bedrock [service tier](https://docs.aws.amazon.com/bedrock/latest/userguide/service-tiers-inference.html) (default, flex, or priority). Sent as the X-Amzn-Bedrock-Service-Tier header. See [Amazon Bedrock](/docs/en/amazon-bedrock#service-tiers) 2.1.138 – 2.1.243 ANTHROPIC_BETASComma-separated list of additional anthropic-beta header values to include in API requests. Claude Code already sends the beta headers it needs; use this to opt into an [Anthropic API beta](https://platform.claude.com/docs/en/api/beta-headers) before Claude Code adds native support. Unlike the [--betas flag](/docs/en/cli-reference#cli-flags), which requires API key authentication, this variable works with all auth methods including Claude.ai subscription 2.1.138 – 2.1.241 ANTHROPIC_CONFIG_DIRNo description from anybody. 2.1.138 – 2.1.243 ANTHROPIC_CUSTOM_HEADERSCustom headers to add to requests (Name: Value format, newline-separated for multiple headers). If a name or value contains a character an HTTP header can't carry, such as a curly quote or a zero-width space, Claude Code fails the request with an error that identifies the pair by position. Requires Claude Code v2.1.227 or later. [Invalid request header value](/docs/en/errors#invalid-request-header-value) lists the exact character set and where the check runs 2.1.138 – 2.1.243 ANTHROPIC_CUSTOM_MODEL_OPTIONModel ID to add as a custom entry in the /model picker. Use this to make a non-standard or gateway-specific model selectable without replacing built-in aliases. See [Model configuration](/docs/en/model-config#add-a-custom-model-option) 2.1.138 – 2.1.243 ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTIONDisplay description for the custom model entry in the /model picker. Defaults to Custom model (<model-id>) when not set 2.1.138 – 2.1.243 ANTHROPIC_CUSTOM_MODEL_OPTION_NAMEDisplay name for the custom model entry in the /model picker. Defaults to the model ID when not set 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_FABLE_MODELModel ID that the fable alias resolves to, and the ID Claude Code recognizes as Fable 5 for [automatic model fallback](/docs/en/model-config#automatic-model-fallback) on third-party providers. See [Model configuration](/docs/en/model-config#environment-variables) 2.1.170 – 2.1.243 ANTHROPIC_DEFAULT_FABLE_MODEL_DESCRIPTIONDisplay description for the pinned Fable model in the /model picker. Defaults to Custom Fable model when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.170 – 2.1.243 ANTHROPIC_DEFAULT_FABLE_MODEL_NAMEDisplay name for the pinned Fable model in the /model picker. Defaults to the model ID when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.170 – 2.1.243 ANTHROPIC_DEFAULT_HAIKU_MODELModel ID that the haiku alias resolves to, also used for [background functionality](/docs/en/costs#background-token-usage). See [Model configuration](/docs/en/model-config#environment-variables) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTIONDisplay description for the pinned Haiku model in the /model picker. Defaults to Custom Haiku model when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_HAIKU_MODEL_NAMEDisplay name for the pinned Haiku model in the /model picker. Defaults to the model ID when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_MODELModel that new sessions start on by default. Requires Claude Code v2.1.236 or later. See [Set a default model for new sessions](/docs/en/model-config#set-a-default-model-for-new-sessions) 2.1.236 – 2.1.243 ANTHROPIC_DEFAULT_OPUS_MODELModel ID that the opus alias resolves to, and that opusplan uses while Plan Mode is active. See [Model configuration](/docs/en/model-config#environment-variables) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTIONDisplay description for the pinned Opus model in the /model picker. When not set, defaults to Custom Opus model, or Custom Opus model (1M context) if the pinned model ID has the [1m] suffix and CLAUDE_CODE_DISABLE_1M_CONTEXT isn't turned on. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_OPUS_MODEL_NAMEDisplay name for the pinned Opus model in the /model picker. Defaults to the model ID when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_SONNET_MODELModel ID that the sonnet alias resolves to, and that opusplan uses when Plan Mode is not active. See [Model configuration](/docs/en/model-config#environment-variables) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTIONDisplay description for the pinned Sonnet model in the /model picker. When not set, defaults to Custom Sonnet model, or Custom Sonnet model (1M context) if the pinned model ID has the [1m] suffix and CLAUDE_CODE_DISABLE_1M_CONTEXT isn't turned on. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_DEFAULT_SONNET_MODEL_NAMEDisplay name for the pinned Sonnet model in the /model picker. Defaults to the model ID when not set. See [Model configuration](/docs/en/model-config#customize-pinned-model-display-and-capabilities) 2.1.138 – 2.1.243 ANTHROPIC_ENVIRONMENT_IDNo description from anybody. 2.1.145 – 2.1.243 ANTHROPIC_ENVIRONMENT_KEYNo description from anybody. 2.1.145 – 2.1.243 ANTHROPIC_FEDERATION_RULE_IDFederation rule ID for [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation). When you set it together with ANTHROPIC_ORGANIZATION_ID, Claude Code selects federation credentials, which rank above your /login credential. See [authentication precedence](/docs/en/authentication#authentication-precedence) 2.1.138 – 2.1.243 ANTHROPIC_FOUNDRY_API_KEYAPI key for Microsoft Foundry authentication (see [Microsoft Foundry](/docs/en/microsoft-foundry)) 2.1.138 – 2.1.243 ANTHROPIC_FOUNDRY_AUTH_TOKENBearer token for Microsoft Foundry authentication, such as a Microsoft Entra access token. Claude Code sends it as the Authorization: Bearer header. Takes precedence over ANTHROPIC_FOUNDRY_API_KEY and over the Azure default credential chain. See [Microsoft Foundry](/docs/en/microsoft-foundry). Requires Claude Code v2.1.203 or later 2.1.203 – 2.1.243 ANTHROPIC_FOUNDRY_BASE_URLFull base URL for the Microsoft Foundry resource (for example, https://my-resource.services.ai.azure.com/anthropic). Alternative to ANTHROPIC_FOUNDRY_RESOURCE (see [Microsoft Foundry](/docs/en/microsoft-foundry)) 2.1.138 – 2.1.243 ANTHROPIC_FOUNDRY_RESOURCEMicrosoft Foundry resource name (for example, my-resource). Required if ANTHROPIC_FOUNDRY_BASE_URL is not set (see [Microsoft Foundry](/docs/en/microsoft-foundry)) 2.1.138 – 2.1.243 ANTHROPIC_GOOGLE_CLOUD_BASE_URLNo description from anybody. 2.1.213 – 2.1.243 ANTHROPIC_GOOGLE_CLOUD_LOCATIONNo description from anybody. 2.1.213 – 2.1.243 ANTHROPIC_GOOGLE_CLOUD_PROJECTNo description from anybody. 2.1.213 – 2.1.243 ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_IDNo description from anybody. 2.1.213 – 2.1.243 ANTHROPIC_MODELName of the model setting to use (see [Model Configuration](/docs/en/model-config#environment-variables)) 2.1.138 – 2.1.243 ANTHROPIC_ORGANIZATION_IDOrganization ID for [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation). Set it together with ANTHROPIC_FEDERATION_RULE_ID. See [authentication precedence](/docs/en/authentication#authentication-precedence) 2.1.138 – 2.1.243 ANTHROPIC_PROFILEName of the Anthropic profile to authenticate with, such as one created by [ant auth login](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/authentication). The named profile ranks above your /login credential. See [authentication precedence](/docs/en/authentication#authentication-precedence) 2.1.138 – 2.1.243 ANTHROPIC_SMALL_FAST_MODEL\[DEPRECATED] Name of [Haiku-class model for background tasks](/docs/en/costs) 2.1.138 – 2.1.243 ANTHROPIC_SMALL_FAST_MODEL_AWS_REGIONOverride AWS region for the Haiku-class model when using Amazon Bedrock or Amazon Bedrock Mantle. On Amazon Bedrock, this only takes effect when ANTHROPIC_DEFAULT_HAIKU_MODEL or the deprecated ANTHROPIC_SMALL_FAST_MODEL is also set, since Amazon Bedrock otherwise runs background tasks on the [default Sonnet model or the primary model](/docs/en/amazon-bedrock#4-pin-model-versions) in the session region 2.1.138 – 2.1.243 ANTHROPIC_UNIX_SOCKETEnvironment variables your org policy blocks can no longer sneak through by changing their capitalization. 2.1.138 – 2.1.243 ANTHROPIC_VERTEX_BASE_URLOverride Google Cloud's Agent Platform endpoint URL. Use for custom Google Cloud's Agent Platform endpoints or when routing through an [LLM gateway](/docs/en/llm-gateway). See [Google Cloud's Agent Platform](/docs/en/google-vertex-ai) 2.1.138 – 2.1.243 ANTHROPIC_VERTEX_PROJECT_IDGCP project ID for Google Cloud's Agent Platform requests. Overridden by GCLOUD_PROJECT, GOOGLE_CLOUD_PROJECT, or the project in your GOOGLE_APPLICATION_CREDENTIALS credential file. See [Google Cloud's Agent Platform](/docs/en/google-vertex-ai) 2.1.138 – 2.1.243 ANTHROPIC_WEBHOOK_SIGNING_KEYThe bundled client now reads a webhook signing key from ANTHROPIC_WEBHOOK_SIGNING_KEY. never mined ANTHROPIC_WORK_SECRETShared memory stores now mount on your own sandbox workers, with tunable sync interval and deletion handling. never mined ANTHROPIC_WORKSPACE_IDWorkspace ID for [workload identity federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation). Set this when your federation rule is scoped to more than one workspace so the token exchange knows which workspace to target 2.1.141 – 2.1.243 API_FORCE_IDLE_TIMEOUTOverride the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to 0 to turn the timeout off, for example when a slow [gateway](/docs/en/llm-gateway) or local model pauses longer than 5 minutes between chunks, or 1 to keep it on for every provider. When unset, the timeout is active on providers other than the direct Anthropic API and [Claude Platform on AWS](/docs/en/claude-platform-on-aws). The [stream watchdogs](/docs/en/network-config#streaming-idle-watchdogs) run independently of it and abort a long silent pause even when you set 0 here. Requires Claude Code v2.1.169 or later 2.1.138 – 2.1.243 API_MAX_INPUT_TOKENSNo description from anybody. 2.1.160 – 2.1.211 API_TARGET_INPUT_TOKENSNo description from anybody. 2.1.160 – 2.1.211 API_TIMEOUT_MSTimeout for API requests in milliseconds (default: 600000, or 10 minutes; maximum: 2147483647). Increase this when requests time out on slow networks or when routing through a proxy. Values above the maximum overflow the underlying timer and cause requests to fail immediately 2.1.138 – 2.1.243 API_TOKENNo description from anybody. 2.1.160 – 2.1.217 APP_URLNo description from anybody. 2.1.138 – 2.1.243 APPDATANo description from anybody. 2.1.138 – 2.1.243 AUTOMODE_DECISION_LOGNo description from anybody. 2.1.160 – 2.1.243 AWS_ACCESS_KEY_IDNo description from anybody. 2.1.138 – 2.1.243 AWS_BEARER_TOKEN_BEDROCKAmazon Bedrock API key for authentication (see [Amazon Bedrock API keys](https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/)) 2.1.138 – 2.1.243 AWS_CONFIG_FILEAWS SSO profile logins resolve faster via a direct fast path, falling back if anything unusual is configured. 2.1.172 – 2.1.243 AWS_CONTAINER_CREDENTIALS_FULL_URINo description from anybody. 2.1.178 – 2.1.243 AWS_CONTAINER_CREDENTIALS_RELATIVE_URINo description from anybody. 2.1.178 – 2.1.243 AWS_DEFAULT_REGIONA malformed AWS region variable is now ignored, falling back to us-east-1. 2.1.138 – 2.1.243 AWS_ENDPOINT_URLNo description from anybody. 2.1.239 – 2.1.243 AWS_ENDPOINT_URL_STSNo description from anybody. 2.1.239 – 2.1.243 AWS_EXECUTION_ENVNo description from anybody. 2.1.138 – 2.1.243 AWS_LAMBDA_BENCHMARK_MODENo description from anybody. 2.1.138 – 2.1.243 AWS_LAMBDA_FUNCTION_NAMENo description from anybody. 2.1.138 – 2.1.243 AWS_LOGIN_CACHE_DIRECTORYNo description from anybody. 2.1.138 – 2.1.243 AWS_PROFILENo description from anybody. 2.1.138 – 2.1.243 AWS_REGIONBedrock no longer refuses to start when no region or base URL is configured. 2.1.138 – 2.1.243 AWS_ROLE_ARNNo description from anybody. 2.1.178 – 2.1.243 AWS_SECRET_ACCESS_KEYNo description from anybody. 2.1.138 – 2.1.243 AWS_SESSION_TOKENNo description from anybody. 2.1.138 – 2.1.243 AWS_SHARED_CREDENTIALS_FILENo description from anybody. 2.1.172 – 2.1.243 AWS_WEB_IDENTITY_TOKEN_FILENo description from anybody. 2.1.178 – 2.1.243 AZURE_ADDITIONALLY_ALLOWED_TENANTSNo description from anybody. 2.1.138 – 2.1.243 AZURE_AUTHORITY_HOSTNo description from anybody. 2.1.138 – 2.1.243 AZURE_CLIENT_CERTIFICATE_PASSWORDNo description from anybody. 2.1.138 – 2.1.243 AZURE_CLIENT_CERTIFICATE_PATHNo description from anybody. 2.1.138 – 2.1.243 AZURE_CLIENT_IDNo description from anybody. 2.1.138 – 2.1.243 AZURE_CLIENT_SECRETNo description from anybody. 2.1.138 – 2.1.243 AZURE_CLIENT_SEND_CERTIFICATE_CHAINNo description from anybody. 2.1.138 – 2.1.243 AZURE_FEDERATED_TOKEN_FILENo description from anybody. 2.1.138 – 2.1.243 AZURE_FUNCTIONS_ENVIRONMENTNo description from anybody. 2.1.138 – 2.1.243 AZURE_IDENTITY_DISABLE_MULTITENANTAUTHNo description from anybody. 2.1.138 – 2.1.243 AZURE_PASSWORDNo description from anybody. 2.1.138 – 2.1.243 AZURE_POD_IDENTITY_AUTHORITY_HOSTNo description from anybody. 2.1.138 – 2.1.243 AZURE_REGIONAL_AUTHORITY_NAMENo description from anybody. 2.1.138 – 2.1.243 AZURE_TENANT_IDNo description from anybody. 2.1.138 – 2.1.243 AZURE_TOKEN_CREDENTIALSNo description from anybody. 2.1.138 – 2.1.243 AZURE_USERNAMENo description from anybody. 2.1.138 – 2.1.243 BASH_ENVNo description from anybody. 2.1.242 – 2.1.243 BASH_MAX_OUTPUT_LENGTHMaximum number of characters of bash output that Claude Code reads back into a command's result (default: 30000; maximum: 150000). See [Output limits](/docs/en/tools-reference#output-limits) 2.1.138 – 2.1.243 BAT_THEMENo description from anybody. 2.1.138 – 2.1.243 BETA_TRACING_ENDPOINTNo description from anybody. 2.1.138 – 2.1.243 BROWSERNo description from anybody. 2.1.138 – 2.1.243 BUF_BIGINT_DISABLENo description from anybody. 2.1.191 – 2.1.243 BUGHUNTER_CODE_QUALITYBug hunter now runs a code-quality pass automatically unless you set code_quality to false. never mined BUGHUNTER_DEV_BUNDLE_B64No description from anybody. 2.1.138 – 2.1.243 BUGHUNTER_FLEET_SIZENo description from anybody. 2.1.138 – 2.1.243 BUILDKITENo description from anybody. 2.1.138 – 2.1.243 BUN_CHROME_PATHNo description from anybody. 2.1.210 – 2.1.243 BUN_CONFIG_FILENo description from anybody. 2.1.242 – 2.1.243 BUN_INSTALLNo description from anybody. 2.1.138 – 2.1.243 C9_PIDNo description from anybody. 2.1.138 – 2.1.243 C9_USERNo description from anybody. 2.1.138 – 2.1.243 CARGO_HOMENo description from anybody. 2.1.242 – 2.1.243 CCR_AGENT_PROXY_ENABLEDNo description from anybody. 2.1.163 – 2.1.243 CCR_AGENT_PROXY_FRAME_HOSTSArtifact traffic can take a direct tunnel when the runner environment names hosts; local runs keep the old route. never mined CCR_AGENT_PROXY_INCLUDE_HOSTSNo description from anybody. 2.1.216 – 2.1.243 CCR_AGENT_PROXY_RECEIVE_GATE_DISABLEDThe remote agent proxy now caps stalled uploads and reads, with two env vars to disable each. never mined CCR_AGENT_PROXY_RELAY_MODENo description from anybody. 2.1.216 – 2.1.243 CCR_AGENT_PROXY_UPLOAD_GATE_DISABLEDThe remote agent proxy now caps stalled uploads and reads, with two env vars to disable each. never mined CCR_DELTA_RESETTwo env vars change how runner git fetches handle retries and stalled delta resolution. never mined CCR_EGRESS_GATEWAY_ENABLEDNo description from anybody. 2.1.138 – 2.1.177 CCR_ENABLE_BUNDLECloud sync sizes up your repo first and always tells you why it declined; bundle upload is server-gated. 2.1.138 – 2.1.243 CCR_FORCE_BUNDLESet to 1 to force [claude --cloud](/docs/en/claude-code-on-the-web#send-local-repositories-without-github) to bundle and upload your local repository even when GitHub access is available 2.1.138 – 2.1.243 CCR_ON_BRANCH_DEFAULT_GUARDNo description from anybody. 2.1.208 – 2.1.243 CCR_RUNNER_STARTUP_TIMINGOn remote runs, startup timings can be supplied by the runner through an environment variable. never mined CCR_SHR_SSE_HINTSThe runner can hold a live server connection and wake instantly on work, but it defaults off. 2.1.224 – 2.1.243 CCR_SPAWN_TIMESTAMP_MSNo description from anybody. 2.1.144 – 2.1.243 CCR_UPSTREAM_PROXY_ENABLEDNo description from anybody. 2.1.138 – 2.1.177 CF_PAGESNo description from anybody. 2.1.138 – 2.1.243 CHOKIDAR_INTERVALNo description from anybody. 2.1.138 – 2.1.243 CHOKIDAR_USEPOLLINGNo description from anybody. 2.1.138 – 2.1.243 CIRCLECINo description from anybody. 2.1.138 – 2.1.243 CLAUBBITNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_AFK_COUNTDOWN_MSHow many milliseconds before auto-continue the on-screen countdown appears on an unanswered [AskUserQuestion](/docs/en/tools-reference) dialog. Default 20000 (20 seconds), capped at the auto-continue timeout. Has no effect unless auto-continue is on; see the [askUserQuestionTimeout](/docs/en/settings-reference#askuserquestiontimeout) setting and CLAUDE_AFK_TIMEOUT_MS. Requires Claude Code v2.1.198 or later 2.1.198 – 2.1.243 CLAUDE_AFK_TIMEOUT_MSHow many milliseconds of idle time before an unanswered [AskUserQuestion](/docs/en/tools-reference) dialog auto-continues without you. Auto-continue is off by default; opt in with the [askUserQuestionTimeout](/docs/en/settings-reference#askuserquestiontimeout) setting. This variable is an override for demos and automated tests: when set, it takes precedence over that setting and turns auto-continue on even when the setting is unset or never. Setting 0 doesn't turn the timeout off; it closes the dialog immediately. In v2.1.198 and v2.1.199, auto-continue was on by default with a 60000 (60 seconds) timeout. Requires Claude Code v2.1.198 or later 2.1.198 – 2.1.243 CLAUDE_AFTER_LAST_COMPACTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_AGENT_SDK_CLIENT_APPNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTSSet to 1 to disable all built-in [subagent](/docs/en/sub-agents) types such as Explore and Plan. Only applies in non-interactive mode (the -p flag). Useful for SDK users who want a blank slate. This also removes general-purpose, the subagent Claude Code runs when an Agent tool call omits subagent_type. Such a call then fails with [subagent_type is required](/docs/en/errors#subagent-type-is-required) 2.1.138 – 2.1.243 CLAUDE_AGENT_SDK_MCP_NO_PREFIXSet to 1 to skip the mcp__<server>__ prefix on tool names from SDK-created MCP servers. Tools use their original names. SDK usage only 2.1.138 – 2.1.243 CLAUDE_AGENT_SDK_VERSIONYour entrypoint and SDK version are checked against known values before being reported. 2.1.138 – 2.1.243 CLAUDE_AGENTS_SELECTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_AI_ORIGINThe remote trigger tool can create webhook triggers so routines fire on outside events. never mined CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MSStall timeout in milliseconds for background subagents. Default 600000 (10 minutes). The timer resets on each streaming progress event; if no progress arrives within the window, the subagent is aborted and the task is marked failed, surfacing any partial result to the parent 2.1.138 – 2.1.243 CLAUDE_AUTO_BACKGROUND_TASKSSet to 1 to force-enable automatic backgrounding of long-running agent tasks. When enabled, subagents are moved to the background after running for approximately two minutes. Also enables [automatic backgrounding of long MCP tool calls](/docs/en/mcp#automatic-backgrounding-of-long-tool-calls) in non-interactive mode on Claude Code v2.1.212 or later 2.1.138 – 2.1.243 CLAUDE_AUTOCOMPACT_PCT_OVERRIDESet the percentage (1-100) of the auto-compact window at which auto-compaction triggers. Use lower values like 50 to compact earlier; the variable can't raise the threshold, so values above the default percentage are ignored. It applies only in sessions that [compact before the model's context limit](/docs/en/model-config#context-window-and-auto-compaction). Applies to both main conversations and subagents 2.1.138 – 2.1.243 CLAUDE_AX_PREPARK_MSIn [screen reader mode](/docs/en/accessibility#what-your-screen-reader-hears), how many milliseconds Claude Code waits, with the cursor at the start of the line, before it writes a new or changed line. Default 50. Set 0 to write immediately. Claude Code caps the wait at 5000. Requires Claude Code v2.1.233 or later 2.1.233 – 2.1.243 CLAUDE_AX_SCREEN_READERSet to 1 to render screen-reader friendly output: flat text without decorative borders or animations. Set to 0 to force screen-reader mode off even when [axScreenReader](/docs/en/settings-reference#axscreenreader) is true. The [--ax-screen-reader](/docs/en/cli-reference#cli-flags) flag takes precedence. Requires Claude Code v2.1.181 or later 2.1.181 – 2.1.243 CLAUDE_AX_STARTUP_QUIET_MSIn [screen reader mode](/docs/en/accessibility), how many milliseconds Claude Code holds the first interface render after the startup confirmation line, so your screen reader can speak the line in full before new output interrupts it. Default 3000. Set 0 to render immediately. Claude Code caps the hold at 600000 (10 minutes). Your first keystroke ends the hold early. Requires Claude Code v2.1.217 or later 2.1.217 – 2.1.243 CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIRReturn to the original working directory after each Bash or PowerShell command in the main session 2.1.138 – 2.1.243 CLAUDE_BG_AUTH_SNAPSHOT_PATHBridge-spawned child sessions no longer inherit your credential environment variables. 2.1.142 – 2.1.243 CLAUDE_BG_BACKENDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_BG_CLAIM_AUTHNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_BG_ISOLATIONBackground worktree isolation now reads CLAUDE_BG_ISOLATION from a captured environment copy. 2.1.138 – 2.1.243 CLAUDE_BG_MEMORY_TOGGLED_OFFNo description from anybody. 2.1.147 – 2.1.243 CLAUDE_BG_POST_CLEAR_RESPAWNNo description from anybody. 2.1.193 – 2.1.243 CLAUDE_BG_PTY_AUTHNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_BG_RENDEZVOUS_SOCKNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_BG_RV_AUTHNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_BG_SESSION_PERMISSION_RULESNo description from anybody. 2.1.146 – 2.1.243 CLAUDE_BG_SOCKET_TOKENS_PATHNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_BG_SOURCENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_BG_STARTUP_WEDGE_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_BG_TCC_DISCLAIMEDNo description from anybody. 2.1.143 – 2.1.243 CLAUDE_BRIDGE_BASE_URLAdmin and managed settings now merge their env blocks instead of one replacing the other; you can opt out. 2.1.160 – 2.1.243 CLAUDE_BRIDGE_OAUTH_TOKENAdmin and managed settings now merge their env blocks instead of one replacing the other; you can opt out. 2.1.160 – 2.1.243 CLAUDE_BRIDGE_REATTACH_GROUPINGNo description from anybody. 2.1.206 – 2.1.243 CLAUDE_BRIDGE_REATTACH_NO_BACKFILLNo description from anybody. 2.1.227 – 2.1.243 CLAUDE_BRIDGE_REATTACH_OUTBOUND_ONLYOne resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars. 2.1.147 – 2.1.243 CLAUDE_BRIDGE_REATTACH_OWNER_ACCTNo description from anybody. 2.1.227 – 2.1.243 CLAUDE_BRIDGE_REATTACH_OWNER_ORGNo description from anybody. 2.1.227 – 2.1.243 CLAUDE_BRIDGE_REATTACH_SEQNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_BRIDGE_REATTACH_SESSIONOne resolver now decides whether Remote Control starts and in which mode, weighing flags, settings and env vars. 2.1.138 – 2.1.243 CLAUDE_BRIDGE_SESSION_INGRESS_URLAdmin and managed settings now merge their env blocks instead of one replacing the other; you can opt out. 2.1.160 – 2.1.243 CLAUDE_BRIDGE_USE_CCR_V2No description from anybody. 2.1.138 – 2.1.202 CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MSTimeout in milliseconds for the byte-level streaming idle watchdog only; when set, it takes precedence over CLAUDE_STREAM_IDLE_TIMEOUT_MS for that watchdog and leaves the event-level watchdog unchanged. Claude Code clamps this variable to between 10 seconds and 30 minutes. Requires Claude Code v2.1.210 or later 2.1.157 – 2.1.243 CLAUDE_CHROME_CLASSIFIER_FLOORNo description from anybody. 2.1.187 – 2.1.243 CLAUDE_CHROME_PERMISSION_MODENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CLIENT_PRESENCE_FILEPath to a file that an external tool, such as a screen-lock listener, creates when you unlock your screen and deletes when you lock it. While the file exists, Claude Code skips [Remote Control mobile push notifications](/docs/en/remote-control#mobile-push-notifications), so you stop getting pushes while you are actively using the computer. When the file is absent or unreadable, notifications are sent as normal. Claude Code checks the file once per push-triggering event rather than polling it. Requires Claude Code v2.1.181 or later 2.1.181 – 2.1.243 CLAUDE_CODE_3P_PROBE_WROTE_OPUS_DEFAULTNo description from anybody. 2.1.207 – 2.1.243 CLAUDE_CODE_3P_PROBE_WROTE_SONNET_DEFAULTNo description from anybody. 2.1.207 – 2.1.243 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 – 2.1.243 CLAUDE_CODE_ACCOUNT_TAGGED_IDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ACCOUNT_UUIDThe device bridge is skipped entirely when the host's account UUID doesn't match the stored one. 2.1.138 – 2.1.243 CLAUDE_CODE_ACT_DONT_REDERIVEThree existing feature gates moved position; their defaults are unchanged. 2.1.162 – 2.1.243 CLAUDE_CODE_ACTIONNo description from anybody. 2.1.138 – 2.1.243 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 – 2.1.243 CLAUDE_CODE_ADDITIONAL_PROTECTIONNo description from anybody. 2.1.138 – 2.1.243 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 – 2.1.243 CLAUDE_CODE_AGENTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_AGENT_COST_STEERNo description from anybody. 2.1.138 – 2.1.139 CLAUDE_CODE_AGENT_LIST_IN_MESSAGESNo description from anybody. 2.1.138 – 2.1.177 CLAUDE_CODE_AGENT_PROXY_GH_SHIMNo description from anybody. 2.1.202 – 2.1.243 CLAUDE_CODE_AGENT_PROXY_GIT_CONFIGNo description from anybody. 2.1.202 – 2.1.243 CLAUDE_CODE_ALDER_WICKETNo description from anybody. 2.1.217 CLAUDE_CODE_ALT_SCREEN_FULL_REPAINTSet to 1 to repaint the entire screen on every frame in [fullscreen rendering](/docs/en/fullscreen) instead of sending incremental updates. Use this if fullscreen mode shows stale or misplaced text fragments. Claude Code enables this automatically for background sessions and [agent view](/docs/en/agent-view) on Windows 2.1.144 – 2.1.243 CLAUDE_CODE_ALWAYS_ENABLE_EFFORTSet to 1 to send the [effort](/docs/en/model-config#adjust-effort-level) parameter with every request, even when Claude Code does not recognize the model ID as effort-capable. Use this when routing through an [LLM gateway](/docs/en/llm-gateway) or third-party provider that serves models under custom identifiers. Models that reject the effort parameter at the API, including Claude 3 models, Sonnet 4.0 and 4.5, Opus 4.0 and 4.1, and Haiku 4.5, are still excluded so requests do not fail 2.1.138 – 2.1.243 CLAUDE_CODE_AMBER_ASTROLABENo description from anybody. 2.1.217 – 2.1.243 CLAUDE_CODE_API_BASE_URLRemote settings can now supply many more environment variables, including auth tokens and home directory paths. 2.1.138 – 2.1.243 CLAUDE_CODE_API_KEY_FILE_DESCRIPTORNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_API_KEY_HELPER_TTL_MSInterval in milliseconds at which credentials should be refreshed (when using [apiKeyHelper](/docs/en/settings-reference#apikeyhelper)) 2.1.138 – 2.1.243 CLAUDE_CODE_ARTIFACTPR review artifact pages can show a pinned button that approves the pull request from your GitHub account. 2.1.166 – 2.1.243 CLAUDE_CODE_ARTIFACT_ASSET_BASE_URLThree artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret. 2.1.221 – 2.1.243 CLAUDE_CODE_ARTIFACT_ASSETSClaude can now upload, list, read and delete images, video, PDFs and fonts attached to your published artifacts. 2.1.234 – 2.1.243 CLAUDE_CODE_ARTIFACT_AUTO_OPENSet to 0 to stop Claude Code from opening the browser automatically when a new [artifact](/docs/en/artifacts) is published. Republishing an existing artifact does not open the browser regardless of this setting 2.1.172 – 2.1.243 CLAUDE_CODE_ARTIFACT_COMMENT_FAST_ACKClaude can post a quick 'on it' note in artifact comment threads before the real reply, off unless enabled. 2.1.232 – 2.1.243 CLAUDE_CODE_ARTIFACT_COMMENT_FAST_ACK_FIXEDA cheaper canned way to acknowledge artifact comments exists but needs two env vars switched on. 2.1.235 – 2.1.243 CLAUDE_CODE_ARTIFACT_COMMENT_RESPONDERA read-only subagent that analyses one artifact comment thread exists but stays off. 2.1.227 – 2.1.243 CLAUDE_CODE_ARTIFACT_COMMENTSSet to 0 to stop Claude reading and replying to [comments on an artifact](/docs/en/artifacts#collect-comments-on-an-artifact). Has no effect when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC has [turned artifacts off](/docs/en/artifacts#availability). Requires Claude Code v2.1.221 or later 2.1.221 – 2.1.243 CLAUDE_CODE_ARTIFACT_COMMENTS_AUTOREACTSet to 0 to stop Claude [replying on its own to comments sent to it](/docs/en/artifacts#let-claude-reply-to-comments-on-its-own). Requires Claude Code v2.1.228 or later 2.1.221 – 2.1.243 CLAUDE_CODE_ARTIFACT_DBPublished artifacts can gain a document database Claude reads and writes, off unless you set the env var. 2.1.224 – 2.1.243 CLAUDE_CODE_ARTIFACT_DELETEClaude can now read back a published artifact's contents; browsing, multi-file publishing and deletion are built but off. 2.1.239 – 2.1.243 CLAUDE_CODE_ARTIFACT_DIRECT_UPLOADArtifact availability now hinges on one gate, and direct upload kicks in for create paths. 2.1.172 – 2.1.238 CLAUDE_CODE_ARTIFACT_LIVE_BASE_URLThree artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret. 2.1.221 – 2.1.243 CLAUDE_CODE_ARTIFACT_MCPThe built-in artifact MCP server is now on for everyone unless you set the env var to disable it. 2.1.172 – 2.1.173 CLAUDE_CODE_ARTIFACT_PREVIEWAn artifact preview action would screenshot a page locally at several widths, but it cannot run here. never mined CLAUDE_CODE_ARTIFACT_ROOMSilent-turn reminder and artifact room environment variables are now recognised by name in the settings allowlist. 2.1.238 – 2.1.243 CLAUDE_CODE_ARTIFACT_SYNC_BASE_URLYou can point artifact syncing at a different host with a new environment variable. 2.1.238 – 2.1.243 CLAUDE_CODE_ARTIFACT_TYPE_CATALOGClaude could browse published artifact types to start from, but both actions are switched off. 2.1.242 – 2.1.243 CLAUDE_CODE_ARTIFACT_TYPE_CLOUD_CREATEListing and describing artifact types no longer prompts, and listing takes a filter. 2.1.242 – 2.1.243 CLAUDE_CODE_ARTIFACT_TYPESYou could start a private artifact from a published template, but two server switches keep it shut here. 2.1.236 – 2.1.243 CLAUDE_CODE_ARTIFACT_VERIFYClaude could read console errors and failed loads from real viewers of an artifact, but it's switched off. 2.1.238 – 2.1.243 CLAUDE_CODE_ARTIFACT_VIEWER_BASE_URLAn env var for a custom artifact viewer host is recognised but currently ignored. 2.1.229 – 2.1.243 CLAUDE_CODE_ARTIFACTS_API_BASE_URLNo description from anybody. 2.1.181 – 2.1.243 CLAUDE_CODE_ARTIFACTS_API_TOKENThree artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret. 2.1.221 – 2.1.243 CLAUDE_CODE_ATTRIBUTION_HEADERSet to 0 to omit the [attribution block](/docs/en/llm-gateway-protocol#system-prompt-attribution-block), which carries the client version and a prompt fingerprint, from the start of the system prompt. Caching on a direct connection to the Anthropic API is unaffected either way. In some direct-connection setups, Claude Code keeps the block on [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier requests even when you set 0. In [System prompt attribution block](/docs/en/llm-gateway-protocol#system-prompt-attribution-block), check which connections and credentials this covers. Before v2.1.181 the block included a per-request token on custom base URLs and Microsoft Foundry connections, so on those versions set it to 0 when your LLM gateway caches on the request body or forwards requests to a third-party provider, or when you connect to Microsoft Foundry directly 2.1.138 – 2.1.243 CLAUDE_CODE_AUTH_FAIL_EXIT_MSNo description from anybody. 2.1.163 – 2.1.243 CLAUDE_CODE_AUTO_COMPACT_WINDOWSet the [auto-compact window](/docs/en/model-config#set-the-auto-compact-window) in tokens, from 100000 to 1000000. Accepts a plain integer such as 500000 only: a value like 500k reads as 500 and clamps to the 100K minimum. Takes precedence over the /autocompact command, the --autocompact flag, and the autoCompactWindow setting. The status line's used_percentage always measures against the model's full context window, so once this variable is set, that percentage no longer indicates when compaction will run 2.1.138 – 2.1.243 CLAUDE_CODE_AUTO_CONNECT_IDEOverride automatic [IDE connection](/docs/en/vs-code). By default, Claude Code connects automatically when launched inside a supported IDE's integrated terminal. Set to false to prevent this. Set to true to force a connection attempt when auto-detection fails, such as when tmux obscures the parent terminal. Takes precedence over the [autoConnectIde](/docs/en/settings-reference#autoconnectide) global config setting 2.1.138 – 2.1.243 CLAUDE_CODE_AUTO_MODE_ARTIFACT_CONSENT_RULEThe rule stopping Claude publishing artifacts you didn't ask for can now be removed remotely. never mined CLAUDE_CODE_AUTO_MODE_CLASSIFY_ASK_USER_QUESTIONIn auto mode, a question can be classified and handled instead of halting the run. never mined CLAUDE_CODE_AUTO_MODE_EXTERNAL_PERMISSIONSNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_AUTO_MODE_MODELNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_AUTO_MODE_OUTCOME_CODESThe switch controlling outcome codes in auto mode now runs through a wrapper with an empty branch. never mined CLAUDE_CODE_AUTO_MODE_REPO_VISIBILITYAuto mode's awareness of whether your repo is public now has its own environment variable and config field. never mined CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MSTime in milliseconds Claude Code waits for the AWS default credential provider chain to produce credentials before the request fails with [AWS default-chain credential resolve timed out](/docs/en/errors#aws-default-chain-credential-resolve-timed-out) (default: 60000). Raise it when a step in your chain legitimately needs longer, such as a browser-based SSO sign-in with MFA through a wrapper like aws-vault. Applies wherever Claude Code signs with the default chain: [Amazon Bedrock](/docs/en/amazon-bedrock#credential-caching-and-resolution-timeout), [Claude Platform on AWS](/docs/en/claude-platform-on-aws), and the [Mantle endpoint](/docs/en/amazon-bedrock#use-the-mantle-endpoint). Requires Claude Code v2.1.207 or later 2.1.207 – 2.1.243 CLAUDE_CODE_BASALT_COVENo description from anybody. 2.1.205 – 2.1.243 CLAUDE_CODE_BASE_REFNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BASE_REFSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BASH_OUTPUT_AUDIENCE_NOTEClaude can be told you only see a few lines of command output, so it should repeat what matters. 2.1.235 – 2.1.243 CLAUDE_CODE_BASH_SANDBOX_SHOW_INDICATORNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BENCH_LIVE_COUNTSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BG_CLASSIFIER_MODELNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_BG_TASKS_REPORT_RUNNINGSet an environment variable to dump running tasks and teammate state whenever a session is judged idle. 2.1.181 – 2.1.243 CLAUDE_CODE_BISON_CAIRNNo description from anybody. 2.1.217 – 2.1.243 CLAUDE_CODE_BLOCKING_LIMIT_OVERRIDENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BREEZY_HORIZONYou can swap the model a request uses by setting an environment variable, or the server can do it. never mined CLAUDE_CODE_BRIDGE_MCP_CARRIERProcesses launched by the bridge mark their marker as spent, so grandchildren are told apart. 2.1.239 – 2.1.243 CLAUDE_CODE_BRIDGE_PROMPT_SHA256Processes launched by the bridge mark their marker as spent, so grandchildren are told apart. 2.1.239 – 2.1.243 CLAUDE_CODE_BRIDGE_SESSION_IDSet automatically in Bash tool and [hook command](/docs/en/hooks) subprocesses while the session has an active [Remote Control](/docs/en/remote-control) connection, and removed when the connection ends. The value is the session's ID in session_ form, the same identifier that appears in the session's claude.ai/code URL, so a script can link back to the session that ran it. Requires Claude Code v2.1.199 or later. In [cloud sessions](/docs/en/claude-code-on-the-web), read CLAUDE_CODE_REMOTE_SESSION_ID instead 2.1.199 – 2.1.243 CLAUDE_CODE_BRIEF/brief is hidden by server config, but brief mode still works via an environment variable. 2.1.138 – 2.1.243 CLAUDE_CODE_BRIEF_UPLOADNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BUBBLEWRAPNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_BYOC_ENABLE_DATADOGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_CCR_LAZY_SUBAGENT_HYDRATECloud sessions can defer loading subagent transcripts, but the flag is off unless the server enables it. never mined CLAUDE_CODE_CERT_STOREComma-separated list of CA certificate sources for TLS connections. bundled is the Mozilla CA set shipped with Claude Code. system is the operating system trust store, read only on runtimes with tls.getCACertificates: the native binary, or Node 22.15 or later for npm installs. See [CA certificate store](/docs/en/network-config#ca-certificate-store). Default is bundled,system 2.1.138 – 2.1.241 CLAUDE_CODE_CHILD_SESSIONSet to 1 in subprocesses Claude Code spawns via the Bash, PowerShell, and Monitor tools, [hook](/docs/en/hooks) commands, and [status line](/docs/en/statusline) commands. Not set for stdio [MCP server](/docs/en/mcp) subprocesses, which are long-lived and outlive the session that spawned them. Unlike CLAUDECODE, this is only set by Claude Code itself when it launches a subprocess and not by IDE extensions, so it reliably distinguishes a nested session from a top-level claude launched in an IDE-integrated terminal. A nested interactive claude TUI started this way is automatically excluded from --resume, --continue, up-arrow history, and the claude agents list. Non-interactive claude -p sessions still persist. Set CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 to override this exclusion. Requires Claude Code v2.1.172 or later 2.1.172 – 2.1.243 CLAUDE_CODE_CLASSIFIER_SUMMARYClassification skips the model call when no summary is needed, saving tokens. 2.1.138 – 2.1.243 CLAUDE_CODE_CLIENT_CERTPath to client certificate file for mTLS authentication 2.1.138 – 2.1.241 CLAUDE_CODE_CLIENT_KEYPath to client private key file for mTLS authentication 2.1.138 – 2.1.241 CLAUDE_CODE_CLIENT_KEY_PASSPHRASEPassphrase for encrypted CLAUDE\_CODE\_CLIENT\_KEY (optional) 2.1.138 – 2.1.241 CLAUDE_CODE_COLD_COMPACTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_COMMIT_LOGNo description from anybody. 2.1.138 – 2.1.226 CLAUDE_CODE_CONNECT_TIMEOUT_MSRemoved in v2.1.186 and now a no-op. Previously set a separate timeout for the connect, TLS, and response-header phase of a streaming API request. Use API_TIMEOUT_MS for the per-request timeout 2.1.182 – 2.1.185 CLAUDE_CODE_CONTAINER_IDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_COORDINATOR_EXTRA_TOOLSNo description from anybody. 2.1.178 – 2.1.243 CLAUDE_CODE_COORDINATOR_FORCE_WORKER_INHERIT_MODELAn env var forces coordinator workers onto the session's model, ignoring any requested one. never mined CLAUDE_CODE_COORDINATOR_MODEYou can mark one MCP server in .mcp.json as the coordinator's user-facing server. 2.1.152 – 2.1.243 CLAUDE_CODE_COORDINATOR_WORKER_CHECKIN_SECONDSSet an interval and your coordinator session gets periodic worker status nudges listing each worker's activity. never mined CLAUDE_CODE_COWORK_FRAME_ARTIFACTSA new environment variable makes every artifact write and republish ask permission again instead of remembering approval. 2.1.228 – 2.1.243 CLAUDE_CODE_CUSTOM_OAUTH_URLLogin now trusts a fixed set of Anthropic API origins unless you point it at a custom OAuth URL. 2.1.138 – 2.1.243 CLAUDE_CODE_DAEMON_COLD_STARTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MSA telemetry flush interval can now be set with either of two environment variable names. 2.1.138 – 2.1.243 CLAUDE_CODE_DD_ERROR_TRACKING_FLUSH_INTERVAL_MSA telemetry flush interval can now be set with either of two environment variable names. 2.1.160 – 2.1.243 CLAUDE_CODE_DEBUG_LOG_LEVELMinimum log level written to the debug log file. Values: verbose, debug (default), info, warn, error. Set to verbose to include high-volume diagnostics like full status line command output, or raise to error to reduce noise 2.1.138 – 2.1.243 CLAUDE_CODE_DEBUG_LOGS_DIROverride the debug log file path. Despite the name, this is a file path, not a directory. Requires debug mode to be enabled separately via --debug, /debug, or the DEBUG environment variable: setting this variable alone does not enable logging. The [--debug-file](/docs/en/cli-reference#cli-flags) flag does both at once. Defaults to ~/.claude/debug/<session-id>.txt 2.1.138 – 2.1.243 CLAUDE_CODE_DEBUG_REPAINTSSet CLAUDE_CODE_DEBUG_REPAINTS to capture which components trigger terminal redraws. 2.1.138 – 2.1.243 CLAUDE_CODE_DECSTBMNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_DESIGN_OAUTH_CLIENT_IDNo description from anybody. 2.1.178 – 2.1.243 CLAUDE_CODE_DEV_RAW_CHANGELOG_URLNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_DIAGNOSTICS_FILENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_DIR_SYNC_ARCHIVECLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes. 2.1.242 – 2.1.243 CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORINGCloud file sync writes through directory handles so a swapped symlink can't redirect it, and says when that's unavailable. 2.1.239 – 2.1.243 CLAUDE_CODE_DIR_SYNC_ENGINESet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape. 2.1.242 – 2.1.243 CLAUDE_CODE_DIR_SYNC_FFWDSet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape. 2.1.242 – 2.1.243 CLAUDE_CODE_DIR_SYNC_GITYou can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session. 2.1.239 – 2.1.243 CLAUDE_CODE_DIR_SYNC_OVERLAYCLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes. never mined CLAUDE_CODE_DIR_SYNC_STREAMMore environment variables get carried into remote sessions; none are set by default. never mined CLAUDE_CODE_DISABLE_1M_CONTEXTSet to 1 to disable [1M context window](/docs/en/model-config#extended-context) support. When set, 1M model variants are unavailable in the model picker, and Claude Code holds sessions on models with a native 1M window, such as [Sonnet 5](/docs/en/model-config#sonnet-5-context-window) and Fable 5, to a 200K window; see [Extended context](/docs/en/model-config#extended-context) for how the hold is enforced. Useful for enterprise environments with compliance requirements. For its role in correcting the window for an unrecognized [1m] model ID, see [Correct the window for a gateway or custom model ID](/docs/en/model-config#correct-the-window-for-a-gateway-or-custom-model-id) 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_ADAPTIVE_THINKINGSet to 1 to disable [adaptive reasoning](/docs/en/model-config#adjust-effort-level) on Opus 4.6 and Sonnet 4.6 and fall back to the fixed thinking budget controlled by MAX_THINKING_TOKENS. Has no effect on Fable 5, Sonnet 5, or Opus 4.7 and later, which always use adaptive reasoning 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_ADMIN_ENV_UNIONSet to 1 to stop Claude Code from merging [managed settings](/docs/en/managed-settings#precedence-within-the-managed-tier) env blocks per key across admin sources, so only the highest-priority source's whole env block applies, as before v2.1.223. Set it in the environment that launches Claude Code, since Claude Code ignores a copy delivered through a settings env block. Requires Claude Code v2.1.223 or later 2.1.223 – 2.1.243 CLAUDE_CODE_DISABLE_ADVISOR_TOOLSet to 1 to disable the [advisor tool](/docs/en/advisor). The /advisor command becomes unavailable, any configured advisorModel is ignored, and the --advisor flag is accepted but has no effect, so existing scripts that pass it continue to work without errors 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_AGENT_VIEWSet to 1 to turn off [background agents and agent view](/docs/en/agent-view): claude agents, --bg, /background, and the on-demand supervisor. Equivalent to the [disableAgentView](/docs/en/settings-reference#disableagentview) setting 2.1.139 – 2.1.243 CLAUDE_CODE_DISABLE_AGENTS_FLEETNo description from anybody. 2.1.138 CLAUDE_CODE_DISABLE_ALTERNATE_SCREENSet to 1 to disable [fullscreen rendering](/docs/en/fullscreen) and use the classic main-screen renderer. The conversation stays in your terminal's native scrollback so Cmd+f and tmux copy mode work as usual. Takes precedence over CLAUDE_CODE_NO_FLICKER and the [tui](/docs/en/settings-reference#tui) setting. You can also switch with /tui default. Does not apply to background sessions opened from [agent view](/docs/en/agent-view), which always use fullscreen rendering 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_ARTIFACTSet to 1 to turn off the [Artifact](/docs/en/artifacts) tool, which publishes session output as a private web page on claude.ai. Once you set it, no settings file turns the tool back on. To turn the tool off from a settings file instead, set [enableArtifact](/docs/en/settings-reference#enableartifact) to false; the deprecated [disableArtifact](/docs/en/settings-reference#disableartifact) key also turns it off 2.1.172 – 2.1.243 CLAUDE_CODE_DISABLE_ATTACHMENTSSet to 1 to disable attachment processing. File mentions with @ syntax are sent as plain text instead of being expanded into file content 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_AUTO_MEMORYSet to 1 to disable [auto memory](/docs/en/memory#auto-memory). Set to 0 to force auto memory on even when --bare mode or [autoMemoryEnabled: false](/docs/en/settings-reference#automemoryenabled) would otherwise disable it. When disabled, Claude does not create or load auto memory files 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_BACKGROUND_TASKSSet to 1 to disable all background task functionality, including the run_in_background parameter on Bash and subagent tools, auto-backgrounding, and the Ctrl+B shortcut 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULTSet to 1 to stop Claude Code from treating an [Amazon Bedrock](/docs/en/amazon-bedrock) streaming response with a missing or empty Content-Type header as the binary application/vnd.amazon.eventstream format. Amazon Bedrock always sends that header, so when it's absent, a [proxy stripped it](/docs/en/amazon-bedrock#streaming-errors-behind-a-gateway-or-proxy) and by default Claude Code decodes the body as the binary format anyway. Set this variable only when the proxy strips the header and also re-emits the body as server-sent events; Claude Code then reads the body as server-sent events instead. Requires Claude Code v2.1.239 or later 2.1.239 – 2.1.243 CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARDSet to 1 to skip the check that an [Amazon Bedrock](/docs/en/amazon-bedrock) streaming response carries the application/vnd.amazon.eventstream content-type. Without this variable, a response with a different content-type fails with an error naming that content-type, which means a [gateway or proxy is transforming the response](/docs/en/amazon-bedrock#streaming-errors-behind-a-gateway-or-proxy). Set it only when the gateway rewrites the Content-Type header but passes the binary event-stream body through unmodified; if the body itself was transformed, requests fail with Truncated event message received instead. Requires Claude Code v2.1.208 or later 2.1.208 – 2.1.243 CLAUDE_CODE_DISABLE_BG_EXIT_HANDOFFSet to 1 to stop a [background session's](/docs/en/agent-view) running background shell commands, dynamic workflows, and, as of v2.1.198, background subagents when the [supervisor](/docs/en/agent-view#the-supervisor-process) stops, restarts, or updates that session's process, instead of handing them to the session's next process. Affects only that handoff: backgrounding a session with โ† or [/background](/docs/en/agent-view#from-inside-a-session) still carries in-flight work over, and CLAUDE_DISABLE_ADOPT turns off both. Requires Claude Code v2.1.196 or later 2.1.196 – 2.1.243 CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAPSet to 1 to stop Claude Code from terminating [background shell commands](/docs/en/interactive-mode#background-bash-commands) when the operating system reports memory pressure. By default, on macOS and Linux, Claude Code terminates a background shell started in the main session on a memory-pressure signal once the session has been idle for 30 minutes and no turn or subagent is running. Windows has no memory-pressure signal, so this variable has no effect there. Requires Claude Code v2.1.193 or later 2.1.193 – 2.1.243 CLAUDE_CODE_DISABLE_BUNDLED_SKILLSSet to 1 to disable the [skills](/docs/en/skills) and workflows included with Claude Code: bundled skills and workflows are removed entirely, while built-in commands like /init stay typable but are hidden from the model. /doctor stays typable like the built-in commands; hide it with DISABLE_DOCTOR_COMMAND instead. Skills from plugins, .claude/skills/, and .claude/commands/ are unaffected. Equivalent to the [disableBundledSkills](/docs/en/settings-reference#disablebundledskills) setting 2.1.169 – 2.1.243 CLAUDE_CODE_DISABLE_CLAUDE_API_SKILLNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_CLAUDE_CODE_SKILLNo description from anybody. 2.1.154 – 2.1.243 CLAUDE_CODE_DISABLE_CLAUDE_MDSSet to 1 to prevent loading any CLAUDE.md memory files into context, including user, project, and auto memory files 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_CRONSet to 1 to disable [scheduled tasks](/docs/en/scheduled-tasks). The /loop skill and cron tools become unavailable and any already-scheduled tasks stop firing, including tasks that are already running mid-session 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_DIR_SYNCYou can turn off background directory syncing by setting CLAUDE_CODE_DISABLE_DIR_SYNC. 2.1.229 – 2.1.243 CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETASSet to 1 to strip Anthropic-specific anthropic-beta request headers and beta tool-schema fields (such as defer_loading and eager_input_streaming) from API requests. Use this when a proxy gateway rejects requests with errors like "Unexpected value(s) for the anthropic-beta header" or "Extra inputs are not permitted". Standard fields (name, description, input_schema, cache_control) are preserved. [MCP tool search](/docs/en/mcp#scale-with-mcp-tool-search) is disabled and all MCP tools load upfront, even when you set ENABLE_TOOL_SEARCH. On Claude Code v2.1.227 or later, [managed settings](/docs/en/managed-settings) can keep tool search on. [Disable pre-release capabilities](/docs/en/llm-gateway-protocol#disable-pre-release-capabilities) covers where the override applies 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_EXPLORE_INHERIT_CAPNo description from anybody. 2.1.217 – 2.1.243 CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTSSet to 1 to disable the built-in [Explore and Plan subagents](/docs/en/sub-agents#built-in-subagents). Claude explores with its search tools or the general-purpose subagent instead, and [plan mode](/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) reads files directly rather than launching Explore and Plan agents. Custom subagents named Explore or Plan are unaffected. To remove every built-in subagent type in the Agent SDK or non-interactive mode, use CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS instead. Requires Claude Code v2.1.198 or later 2.1.198 – 2.1.243 CLAUDE_CODE_DISABLE_FAST_MODESet to 1 to disable [fast mode](/docs/en/fast-mode) 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_FEEDBACK_SURVEYSet to 1 to disable the "How is Claude doing?" session quality surveys. Surveys are also disabled when DISABLE_TELEMETRY, DO_NOT_TRACK, or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set, unless CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL opts back in. To set a sample rate instead of disabling outright, use the [feedbackSurveyRate](/docs/en/settings-reference#feedbacksurveyrate) setting. See [Session quality surveys](/docs/en/data-usage#session-quality-surveys) 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_FILE_CHECKPOINTINGSet to 1 to disable file [checkpointing](/docs/en/checkpointing). The /rewind command will not be able to restore code changes. Overrides the [fileCheckpointingEnabled](/docs/en/settings-reference#filecheckpointingenabled) setting 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONSSet to 1 to remove built-in commit and PR workflow instructions and the git status snapshot from Claude's system prompt. Useful when using your own git workflow skills. Takes precedence over the [includeGitInstructions](/docs/en/settings-reference#includegitinstructions) setting when set 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_HOOK_FORWARDINGTwo new environment variables let you refuse plugin or hook forwarding to a device. 2.1.239 – 2.1.243 CLAUDE_CODE_DISABLE_LAUNCH_COMPOSERNo description from anybody. 2.1.186 – 2.1.243 CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAPSet to 1 to prevent automatic remapping of Opus 4.0 and 4.1 to the current Opus version on the Anthropic API. Use when you intentionally want to pin an older model. The remap does not run on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_MEMORY_BULK_INFLATENo description from anybody. 2.1.161 – 2.1.243 CLAUDE_CODE_DISABLE_MEMORY_MASS_DELETE_HOLDNo description from anybody. 2.1.218 – 2.1.243 CLAUDE_CODE_DISABLE_MEMORY_PERIODIC_RESYNCNo description from anybody. 2.1.178 – 2.1.243 CLAUDE_CODE_DISABLE_MEMORY_RO_UNSAVED_NOTICEWrites into read-only memory stores now warn they were saved locally only and will be overwritten. 2.1.242 – 2.1.243 CLAUDE_CODE_DISABLE_MEMORY_STREAM_LISTNo description from anybody. 2.1.210 – 2.1.243 CLAUDE_CODE_DISABLE_MOUSESet to 1 to disable mouse tracking in [fullscreen rendering](/docs/en/fullscreen). Keyboard scrolling with PgUp and PgDn still works. Use this to keep your terminal's native copy-on-select behavior 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_MOUSE_CLICKSSet to 1 to disable click, drag, and hover handling in [fullscreen rendering](/docs/en/fullscreen) while keeping mouse-wheel scrolling. Use this when you want wheel scroll to work inside Claude Code but don't want clicks to position the cursor, expand tool output, or open links. CLAUDE_CODE_DISABLE_MOUSE takes precedence when both are set. Requires Claude Code v2.1.195 or later 2.1.195 – 2.1.243 CLAUDE_CODE_DISABLE_MTLS_RELOAD_ON_STALE_CONNECTIONSet to 1 to stop Claude Code from re-reading the [mTLS client certificate and key](/docs/en/network-config#mtls-authentication) when an API request fails with a connection-level error, such as a connection reset or a TLS handshake error. With the reload disabled, Claude Code loads rotated files only when it next applies settings or at the next startup. Requires Claude Code v2.1.232 or later 2.1.232 – 2.1.241 CLAUDE_CODE_DISABLE_NESTED_CHAIN_IDLENo description from anybody. 2.1.200 – 2.1.243 CLAUDE_CODE_DISABLE_NESTED_USER_REPAIROdd or damaged input frames on remote connections are now fixed up or quietly dropped instead of erroring out. 2.1.238 – 2.1.243 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICSet to any non-empty value, such as 1, to disable nonessential network traffic: auto-updates, telemetry, error reporting, the /feedback command, [Claude-drafted feedback](/docs/en/tools-reference#sendfeedback-tool-behavior), release notes, [gateway model discovery](/docs/en/llm-gateway-connect#add-gateway-models-to-the-model-picker) refreshes, and availability checks such as the [fast mode](/docs/en/fast-mode#use-fast-mode-behind-proxies-and-llm-gateways) check. It also stops the [background runs of plugin command sources](/docs/en/plugin-marketplaces#when-claude-code-re-runs-the-command), which are local commands rather than network traffic, because they can trigger dependency installs. Setting it to 0 or false still disables this traffic, unlike most on/off variables; unset the variable to allow it again. Also disables feature-flag fetching, which makes [Remote Control](/docs/en/remote-control#requirements) and the other [features that need feature-flag fetching](#features-that-need-feature-flag-fetching) unavailable. Official plugin marketplace auto-install isn't covered; disable it with CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACKSet to 1 to disable the non-streaming fallback when a streaming request fails mid-stream. Streaming errors propagate to the retry layer instead. Useful when a proxy or gateway causes the fallback to produce duplicate tool execution 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_NOTIFICATION_PRESENCE_CHECKSet to 1 to send the PushNotification tool's desktop notification even while you are typing in or focused on the terminal. By default the tool skips both the desktop notification and the [mobile push](/docs/en/remote-control#mobile-push-notifications) when it detects recent keyboard activity or terminal focus. This variable disables only that local check, so the server can still suppress the mobile push when it detects that you are active. Requires Claude Code v2.1.193 or later 2.1.193 – 2.1.243 CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALLSet to 1 to disable automatic registration of the official plugin marketplace. Claude Code reads the variable when it is about to register the marketplace, usually during a machine's first interactive launch. If the variable is set at that point, Claude Code skips the registration permanently. Unsetting the variable later doesn't undo the skip. Run claude plugin marketplace add anthropics/claude-plugins-official to register the marketplace at any time 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_ORG_MEMORYWhen only one org memory store is found, it is no longer picked for you automatically. 2.1.210 – 2.1.243 CLAUDE_CODE_DISABLE_PERMISSION_PROMPT_NOTIFY_HOOKSSet to 1 to stop Claude Code from running your [Notification hooks for unanswered permission requests](/docs/en/hooks#notification) in sessions where Claude Code sends them to the Agent SDK's canUseTool callback, which is how Claude Desktop and the VS Code extension host Claude Code. Has no effect in terminal sessions. Requires Claude Code v2.1.233 or later 2.1.233 – 2.1.243 CLAUDE_CODE_DISABLE_PLUGIN_FORWARDINGTwo new environment variables let you refuse plugin or hook forwarding to a device. 2.1.239 – 2.1.243 CLAUDE_CODE_DISABLE_POLICY_SKILLSSet to 1 to skip loading skills from the system-wide managed skills directory. Useful for container or CI sessions that should not load operator-provisioned skills 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_PRECOMPACT_SKIPSet CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP to force full transcript reads after a compaction boundary. 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_REFUSAL_FALLBACKNo description from anybody. 2.1.161 – 2.1.243 CLAUDE_CODE_DISABLE_TERMINAL_TITLESet to 1 to disable automatic terminal title updates based on conversation context. In Agent SDK and claude -p sessions, this also skips the background small/fast-model request that generates the session title 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_THINKINGSet to 1 to omit the thinking parameter from API requests entirely. This is a compatibility option for proxies and gateways that reject the parameter. The variable's behavior is unchanged from earlier versions; on models that think by default, omitting the parameter means the model may still think. To explicitly disable [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking) on the Anthropic API, use MAX_THINKING_TOKENS=0 instead, which is also ineffective on Fable 5 since it cannot have thinking turned off. On [third-party providers](/docs/en/third-party-integrations), 0 likewise omits the parameter, so the two variables behave the same there 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENTSet to 1 to skip proactive [auto-compaction](/docs/en/costs#reduce-token-usage) when Claude Code doesn't recognize the model ID, such as an [LLM gateway](/docs/en/llm-gateway) alias. Without this variable, Claude Code compacts at the context window it assumes for the ID. CLAUDE_CODE_MAX_CONTEXT_TOKENS can correct the assumed window instead; see [Correct the window for a gateway or custom model ID](/docs/en/model-config#correct-the-window-for-a-gateway-or-custom-model-id) for when each variable applies. Requires Claude Code v2.1.223 or later 2.1.223 – 2.1.243 CLAUDE_CODE_DISABLE_VIRTUAL_SCROLLSet to 1 to disable virtual scrolling in [fullscreen rendering](/docs/en/fullscreen) and render every message in the transcript. Use this if scrolling in fullscreen mode shows blank regions where messages should appear 2.1.138 – 2.1.243 CLAUDE_CODE_DISABLE_VITALS_EMITTERHosted cloud sessions can spawn a separate health-reporting helper, which never resolves on a normal install. 2.1.239 – 2.1.243 CLAUDE_CODE_DISABLE_WORKFLOWSSet to 1 to disable [workflows](/docs/en/workflows#turn-workflows-off). Equivalent to the [disableWorkflows](/docs/en/settings-reference#disableworkflows) setting 2.1.152 – 2.1.243 CLAUDE_CODE_DISABLE_WORKING_SYNCStartup also starts a directory sync apply step alongside the working-file syncer in normal local sessions. 2.1.198 – 2.1.243 CLAUDE_CODE_DONT_INHERIT_ENVNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_DOWNLOAD_DEADLINE_MS_FOR_TESTINGNo description from anybody. 2.1.205 – 2.1.243 CLAUDE_CODE_EAGER_FLUSHNo description from anybody. 2.1.138 – 2.1.241 CLAUDE_CODE_EFFORT_LEVELSet the effort level for supported models. Values: low, medium, high, xhigh, max, or auto to use the model default. Available levels depend on the model. Takes precedence over /effort and the effortLevel setting. See [Adjust effort level](/docs/en/model-config#adjust-effort-level) 2.1.138 – 2.1.243 CLAUDE_CODE_EMIT_SESSION_STATE_EVENTSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_APPEND_SUBAGENT_PROMPTSet to 1 to enable appending extra text to the end of the system prompt of every [subagent](/docs/en/sub-agents) other than a [forked subagent](/docs/en/sub-agents#fork-the-current-conversation). The [--append-subagent-system-prompt](/docs/en/cli-reference#cli-flags) flag supplies the appended text and sets this variable automatically, so you don't need to set it yourself. Requires Claude Code v2.1.205 or later 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_AUTO_MODEAccepted for compatibility with older releases and has no effect. Auto mode is available by default on every provider, including Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in [Claude apps gateway](/docs/en/claude-apps-gateway) sessions. In v2.1.158 through v2.1.206, setting this to 1 was required to make [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) available on those providers 2.1.158 – 2.1.206 CLAUDE_CODE_ENABLE_AWAY_SUMMARYOverride [session recap](/docs/en/interactive-mode#session-recap) availability. Set to 0 to force recaps off regardless of the /config toggle. Set to 1 to force recaps on when [awaySummaryEnabled](/docs/en/settings-reference#awaysummaryenabled) is false. Takes precedence over the setting and /config toggle 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_BACKGROUND_PLUGIN_REFRESHSet to 1 to refresh plugin state at turn boundaries in [non-interactive mode](/docs/en/headless) after a background install completes. Off by default because the refresh changes the system prompt mid-session, which invalidates [prompt caching](/docs/en/prompt-caching) for that turn 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_CFCNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_DESIGN_MCPNo description from anybody. 2.1.179 – 2.1.205 CLAUDE_CODE_ENABLE_DESIGN_SYNCNo description from anybody. 2.1.166 – 2.1.243 CLAUDE_CODE_ENABLE_EXPERIMENTAL_ADVISOR_TOOLThe experimental advisor override no longer skips per-model eligibility checks, only the rank requirement. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTELSet to 1 to route the "How is Claude doing?" session quality survey to your own [OpenTelemetry collector](/docs/en/monitoring-usage) when Anthropic-bound nonessential traffic is blocked. Survey ratings are emitted only as OTEL events to your configured collector. No survey data is sent to Anthropic in this mode. Applies when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY, or DO_NOT_TRACK is set, and has no effect otherwise. CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY and the organization product feedback policy take precedence 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMINGControls whether tool call inputs stream from the API as Claude generates them. With this off, a large tool input such as a long file write arrives only after Claude finishes generating it, which can look like it's hanging. Enabled by default on the Anthropic API. On Amazon Bedrock and Google Cloud's Agent Platform, enabled per model where the deployed container supports it. Set to 0 to opt out. Set to 1 to force on when routing through a proxy via ANTHROPIC_BASE_URL, ANTHROPIC_VERTEX_BASE_URL, or ANTHROPIC_BEDROCK_BASE_URL. Off by default on Microsoft Foundry and [gateway](/docs/en/llm-gateway) connections 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERYSet to 1 to populate the /model picker from your gateway's /v1/models endpoint when ANTHROPIC_BASE_URL points at an Anthropic-compatible gateway such as LiteLLM, Kong, or an internal proxy. Off by default because gateways backed by a shared API key would otherwise show every user every model the key can access. Discovered models are still filtered by an [availableModels](/docs/en/settings-reference#availablemodels) allowlist the session receives; deliver the list through [MDM or a managed settings file](/docs/en/managed-settings#delivery-mechanisms), since [server-managed delivery is not available on gateway configurations](/docs/en/server-managed-settings#platform-availability) 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_LAUNCH_COMPOSERNo description from anybody. 2.1.193 – 2.1.243 CLAUDE_CODE_ENABLE_MENU_KIND_LANESNo description from anybody. 2.1.163 – 2.1.243 CLAUDE_CODE_ENABLE_MORNING_BRIEFNo description from anybody. 2.1.207 – 2.1.212 CLAUDE_CODE_ENABLE_NARRATIONPer-session running commentary hooks into each tool round, off unless you set the narration env var. 2.1.234 – 2.1.243 CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODERemoved in v2.1.142, when the [fast mode](/docs/en/fast-mode) default moved from Opus 4.6 to Opus 4.7 2.1.138 – 2.1.211 CLAUDE_CODE_ENABLE_PROMPT_SUGGESTIONSet to false to turn off prompt suggestions, the grayed-out predictions that appear in your prompt input. Takes precedence over the [promptSuggestionEnabled](/docs/en/settings-reference#promptsuggestionenabled) setting, which is what the Prompt suggestions toggle in /config writes. Claude Code also [pauses suggestions while your account is close to or at its usage limit](/docs/en/interactive-mode#when-claude-code-skips-suggestions). Set to true to keep them on until you reach the limit. Requires Claude Code v2.1.238 or later. See [Prompt suggestions](/docs/en/interactive-mode#prompt-suggestions) 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_PROXY_AUTH_HELPERNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_REFRESH_MCP_TOOLSNo description from anybody. 2.1.211 – 2.1.243 CLAUDE_CODE_ENABLE_REMOTE_RECAPNo description from anybody. 2.1.174 – 2.1.243 CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTINGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_TASKSSelects which task-tracking tools Claude Code provides in [sessions that have them](/docs/en/tools-reference#task-tool-availability). By default, Claude Code provides the Task tools TaskCreate, TaskUpdate, TaskGet, and TaskList. Set to 0 to get the legacy TodoWrite tool instead. See [Task list](/docs/en/interactive-mode#task-list) 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_TELEMETRYSet to 1 to enable OpenTelemetry data collection for metrics and logging. Required before configuring OTel exporters. See [Monitoring](/docs/en/monitoring-usage) 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_TODO_TOOLSSet to 1 to get the task-tracking tools on the models listed under [Task tool availability](/docs/en/tools-reference#task-tool-availability), where Claude Code otherwise leaves them out. CLAUDE_CODE_ENABLE_TASKS still selects the Task tools or TodoWrite. Requires Claude Code v2.1.233 or later 2.1.233 – 2.1.243 CLAUDE_CODE_ENABLE_TOKEN_USAGE_ATTACHMENTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENABLE_XAANo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENHANCED_TELEMETRY_BETANo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ENTRYPOINTFeedback and bug-report commands are hidden when Claude Code runs through the SDK. 2.1.138 – 2.1.243 CLAUDE_CODE_ENVIRONMENT_KINDLong sessions can pick up fresh credentials pushed over the live connection instead of dropping out. 2.1.138 – 2.1.243 CLAUDE_CODE_ENVIRONMENT_RUNNER_VERSIONNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_EVAL_An env var turns on the tool that proposes new skills; otherwise it stays off in this build. never mined CLAUDE_CODE_EVAL_ALLOW_ARTIFACT_PUBLISHEval suites can only publish artifacts or override feature flags if you explicitly allow it. never mined CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDESEval suites can only publish artifacts or override feature flags if you explicitly allow it. never mined CLAUDE_CODE_EVAL_ARTIFACT_STUB_DIRPoint artifact publishing at a local directory and it writes files there instead of calling the service. never mined CLAUDE_CODE_EVAL_INTERVIEW_SESSIONAn env var turns on the tool that proposes new skills; otherwise it stays off in this build. 2.1.233 – 2.1.243 CLAUDE_CODE_EXIT_AFTER_FIRST_RENDERNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_EXIT_AFTER_STOP_DELAYTime in milliseconds to wait after the query loop becomes idle before automatically exiting. Useful for automated workflows and scripts using SDK mode 2.1.138 – 2.1.243 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSSet to 1 to enable [agent teams](/docs/en/agent-teams). Agent teams are experimental and disabled by default 2.1.138 – 2.1.243 CLAUDE_CODE_EXPERIMENTAL_OBSERVER_AGENTSNo description from anybody. 2.1.200 – 2.1.243 CLAUDE_CODE_EXTRA_BODYJSON object to merge into the top level of every API request body. Useful for passing provider-specific parameters that Claude Code doesn't expose directly. A value exported in your shell also applies to the [background sessions](/docs/en/agent-view) you dispatch with claude agents or --bg. Before v2.1.206, background sessions ignored a shell-exported value and used whatever copy the background supervisor process inherited 2.1.138 – 2.1.243 CLAUDE_CODE_EXTRA_METADATAtk is now a reserved metadata name and stripped from your extra metadata or body. 2.1.138 – 2.1.243 CLAUDE_CODE_FABLE_BRIDGE_DIALOG_TIMEOUT_MSNo description from anybody. 2.1.178 – 2.1.235 CLAUDE_CODE_FEDERATION_CACHE_DIRFederation tokens are cached on disk, and you can move the cache with a new env var. 2.1.242 – 2.1.243 CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENSOverride the default token limit for file reads. Useful when you need to read larger files in full 2.1.138 – 2.1.241 CLAUDE_CODE_FLEETVIEW_SIMPLENo description from anybody. 2.1.216 – 2.1.243 CLAUDE_CODE_FORCE_BRIDGENo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_FORCE_EVALUATE_MEMORYNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_FORCE_FIRST_LAUNCHSet CLAUDE_CODE_FORCE_FIRST_LAUNCH to replay the fresh-install startup experience. never mined CLAUDE_CODE_FORCE_FULL_LOGONo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_FORCE_FULLSCREEN_UPSELLYou can start a throwaway fullscreen session with an env var, and the upsell stops after three showings. 2.1.138 – 2.1.243 CLAUDE_CODE_FORCE_MEMORY_SURVEYNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_FORCE_MEMORY_WRITE_SURVEYNo description from anybody. 2.1.160 – 2.1.161 CLAUDE_CODE_FORCE_MID_CONVERSATION_SYSTEMNo description from anybody. 2.1.154 – 2.1.243 CLAUDE_CODE_FORCE_SESSION_PERSISTENCESet to 1 to force transcript persistence, prompt history, and claude agents registration even when this claude was launched from inside another Claude Code session. Use when an inherited CLAUDE_CODE_CHILD_SESSION value, for example from a screen session or a background launcher first started by Claude Code's Bash tool, causes a genuine top-level session to be misclassified as nested. As of v2.1.178, Claude Code detects the tmux case automatically and ignores the inherited marker, so tmux no longer needs this variable. Also honored on v2.1.169 and earlier; has no effect on v2.1.170 and v2.1.171, where the nested-session detection it overrides was removed 2.1.169 – 2.1.243 CLAUDE_CODE_FORCE_STRIKETHROUGHSet to 1 to force strikethrough rendering for ~~text~~ in Claude's responses when your terminal supports it but is not auto-detected, such as over SSH without TERM_PROGRAM forwarded. Without this, undetected terminals show the literal ~~ markers instead of rendering the text as strikethrough. Requires Claude Code v2.1.186 or later 2.1.186 – 2.1.243 CLAUDE_CODE_FORCE_SYNC_OUTPUTSet to 1 to force-enable DEC private mode 2026 [synchronized output](https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036) when your terminal supports it but is not auto-detected. Useful for emulators such as Emacs eat that implement BSU/ESU but do not reply to the capability probe. Has no effect under tmux. Unlike CLAUDE_CODE_NO_FLICKER, which switches to [fullscreen rendering](/docs/en/fullscreen), this doesn't change the renderer 2.1.138 – 2.1.241 CLAUDE_CODE_FORCE_TIP_IDNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_FORCE_WINDOWS_CREDMANOn Windows your credentials can live in Credential Manager, but only if you force it on. 2.1.210 – 2.1.243 CLAUDE_CODE_FORK_SUBAGENTControls [fork mode](/docs/en/sub-agents#turn-fork-mode-on-or-off), which lets Claude spawn [forked subagents](/docs/en/sub-agents#fork-the-current-conversation) itself and is on by default in interactive sessions only. Set to 1 to turn it on in claude -p and the Agent SDK as well, or 0 to turn it off in every kind of session. You can run /subtask whether or not fork mode is on. The interactive default requires Claude Code v2.1.232 or later; on earlier versions, set the variable to 1 to turn fork mode on 2.1.138 – 2.1.243 CLAUDE_CODE_FORK_SUBAGENT_DEFAULT_ONNo description from anybody. 2.1.160 – 2.1.162 CLAUDE_CODE_FORWARD_SUBAGENT_TEXTSet to 1 to emit [subagent](/docs/en/sub-agents) text and thinking blocks in claude -p --output-format stream-json output, the same behavior as the [--forward-subagent-text](/docs/en/cli-reference#cli-flags) flag. Use the variable when a harness invokes claude and can't pass the flag itself. Unlike the flag, which exits with an error outside non-interactive mode with stream-json output, the variable is ignored there so that nested invocations keep working when it's set process-wide. Requires Claude Code v2.1.211 or later 2.1.211 – 2.1.243 CLAUDE_CODE_FRAMENo description from anybody. 2.1.160 – 2.1.170 CLAUDE_CODE_FRAME_AUTO_OPENNo description from anybody. 2.1.166 – 2.1.170 CLAUDE_CODE_FRAME_MCPNo description from anybody. 2.1.169 – 2.1.170 CLAUDE_CODE_FRAME_MODENo description from anybody. 2.1.160 – 2.1.162 CLAUDE_CODE_FRAME_TIMING_LOGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_FRAME_TIMING_SAMPLE_EVERYNo description from anybody. 2.1.195 – 2.1.243 CLAUDE_CODE_GAULT_KESTRELNo description from anybody. 2.1.215 – 2.1.243 CLAUDE_CODE_GB_BASE_URLNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_GB_DISK_CACHE_WHEN_TELEMETRY_OFFNo description from anybody. 2.1.211 – 2.1.243 CLAUDE_CODE_GB_REFRESH_INTERVAL_MSNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_GIT_BASH_PATHWindows only: path to the Git Bash executable (bash.exe). Use when Git Bash is installed but not in your PATH. If the path doesn't exist or the file isn't named bash.exe, sh.exe, bash, or sh, Claude Code ignores the variable and auto-detects Git Bash as if it were unset, logging a warning visible with --debug. Before v2.1.219, Claude Code exited at startup when the path didn't exist, and used any existing file as the shell without checking that it was bash or sh. See [Windows setup](/docs/en/setup#set-up-on-windows) 2.1.138 – 2.1.243 CLAUDE_CODE_GLOB_HIDDENSet to false to exclude dotfiles from results when Claude invokes the [Glob tool](/docs/en/tools-reference#glob-tool-behavior). Included by default. Does not affect @ file autocomplete, ls, Grep, or Read 2.1.138 – 2.1.243 CLAUDE_CODE_GLOB_NO_IGNORESet to false to make the [Glob tool](/docs/en/tools-reference#glob-tool-behavior) respect .gitignore patterns. By default, Glob returns all matching files including gitignored ones. Does not affect @ file autocomplete, which has its own [respectGitignore setting](/docs/en/settings-reference#respectgitignore) 2.1.138 – 2.1.243 CLAUDE_CODE_GLOB_TIMEOUT_SECONDSTimeout in seconds for Glob tool file discovery. Defaults to 20 seconds on most platforms and 60 seconds on WSL 2.1.138 – 2.1.243 CLAUDE_CODE_GOAL_CHECKIN_MINUTESHow many minutes background work can keep an active goal waiting before Claude Code [asks Claude to check on it](/docs/en/goal#background-work-defers-evaluation). Default 30. Set 0 to turn check-ins off. Give whole minutes in plain digits, at most 10080, which is one week. Claude Code treats any other value as unset and uses the default. Requires Claude Code v2.1.234 or later 2.1.234 – 2.1.243 CLAUDE_CODE_GORSE_PLOVERAn "act first" Bash behaviour reads an environment variable but has no default, so it stays off. 2.1.218 – 2.1.243 CLAUDE_CODE_GZIP_CCR_REQUEST_BODIESRemote Control requests can be gzip-compressed, but it is switched off in this build. never mined CLAUDE_CODE_GZIP_REQUEST_BODIESThe stop-compressing-requests switch is now saved through the storage layer. 2.1.199 – 2.1.241 CLAUDE_CODE_HANDBACK_PROVENANCESubagent reports can be wrapped so embedded instructions cannot pass as your commands, off here. never mined CLAUDE_CODE_HARBOR_KITEMessages from another session render as an @sender header with indented body instead of raw tags. 2.1.224 – 2.1.243 CLAUDE_CODE_HARBOR_KITE_CLOUDCLAUDE_CODE_HARBOR_KITE_CLOUD turns on cloud peer access; otherwise a server flag decides and it's off. 2.1.232 – 2.1.243 CLAUDE_CODE_HARBOR_KITE_PACING_OFFYou can switch off Harbor request pacing with a new environment variable. 2.1.236 – 2.1.243 CLAUDE_CODE_HERON_TALLOWNo description from anybody. 2.1.217 – 2.1.228 CLAUDE_CODE_HFI_BEARER_TOKENNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_HIDE_CWDSet to 1 to hide the working directory in the startup logo. Useful for screenshares or recordings where the path exposes your OS username 2.1.138 – 2.1.243 CLAUDE_CODE_HIDE_SETTINGS_HINTNo description from anybody. 2.1.174 – 2.1.243 CLAUDE_CODE_HOLD_REPORT_PARK_AT_INITRemote workers can start up reporting a pending permission if you set three environment variables. 2.1.239 – 2.1.243 CLAUDE_CODE_HOLD_UNANSWERED_PARKED_PERMISSIONSet an env var so a resumed print session keeps an unanswered permission request still answerable. 2.1.235 – 2.1.243 CLAUDE_CODE_HOME_SEED_HOLD_TIMEOUT_MSA cloud session can hold its first reply until your settings arrive; two env vars shorten the wait. 2.1.239 – 2.1.243 CLAUDE_CODE_HOME_SEED_VERDICT_TIMEOUT_MSA cloud session can hold its first reply until your settings arrive; two env vars shorten the wait. 2.1.239 – 2.1.243 CLAUDE_CODE_HOOKS_SAME_THREADPlugins could ship JavaScript hook modules running in a worker, but loading is refused here. 2.1.242 – 2.1.243 CLAUDE_CODE_HOST_AUTH_ENV_VARNo description from anybody. 2.1.145 – 2.1.243 CLAUDE_CODE_HOST_AUTH_REFRESH_TIMEOUT_MSNo description from anybody. 2.1.145 – 2.1.243 CLAUDE_CODE_HOST_CREDS_FILEA trailing slash in your host credentials file path no longer changes whether the rule matches. 2.1.198 – 2.1.243 CLAUDE_CODE_HOST_PLATFORMNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_HOVER_RESTPlaintext credential reads could come from memory instead of the file, but only under off-by-default storage. 2.1.238 – 2.1.243 CLAUDE_CODE_IDE_HOST_OVERRIDEOverride the host address used to connect to the IDE extension. By default Claude Code auto-detects the correct address, including WSL-to-Windows routing 2.1.138 – 2.1.243 CLAUDE_CODE_IDE_SKIP_AUTO_INSTALLSet to 1 to skip auto-installation of IDE extensions. Equivalent to setting [autoInstallIdeExtension](/docs/en/settings-reference#autoinstallideextension) to false 2.1.138 – 2.1.243 CLAUDE_CODE_IDE_SKIP_VALID_CHECKSet to 1 to skip validation of IDE lockfile entries during connection. Use when auto-connect fails to find your IDE despite it running 2.1.138 – 2.1.243 CLAUDE_CODE_IDLE_THRESHOLD_MINUTESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_IDLE_TOKEN_THRESHOLDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_INCLUDE_PARTIAL_MESSAGESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_INTRO_FRAMEAn alternate opening line for Claude's system prompt can be switched on with an environment variable. 2.1.239 – 2.1.243 CLAUDE_CODE_INVESTIGATE_FIRSTClaude no longer spends up to a minute investigating before asking you a clarifying question. 2.1.138 – 2.1.222 CLAUDE_CODE_IS_COWORKNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_JSONL_TRANSCRIPTNo description from anybody. 2.1.160 – 2.1.241 CLAUDE_CODE_JUNIPER_SUNDIALNo description from anybody. 2.1.218 – 2.1.243 CLAUDE_CODE_KB_COHESION_FIXESNo description from anybody. 2.1.162 – 2.1.243 CLAUDE_CODE_LANTERN_PRISMA Stats tab in /plugin shows skill usage and context costs, with /skill-doctor redirecting there. 2.1.207 – 2.1.243 CLAUDE_CODE_LARCH_CISTERNNo description from anybody. 2.1.217 – 2.1.243 CLAUDE_CODE_LEGACY_BUNDLESet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape. 2.1.242 – 2.1.243 CLAUDE_CODE_LOOP_KEEPALIVENo description from anybody. 2.1.157 – 2.1.243 CLAUDE_CODE_LOOP_PERSISTENTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_MANAGED_SETTINGS_PATHAdmin and managed settings now merge their env blocks instead of one replacing the other; you can opt out. 2.1.160 – 2.1.243 CLAUDE_CODE_MARKETPLACE_NAMEMarketplaces and plugins can run a command to mint short-lived HTTP headers for fetching archives. never mined CLAUDE_CODE_MARKETPLACE_URLMarketplaces and plugins can run a command to mint short-lived HTTP headers for fetching archives. never mined CLAUDE_CODE_MARL_CORMORANTNo description from anybody. 2.1.215 – 2.1.223 CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTSHow many [subagents](/docs/en/sub-agents#concurrent-subagent-limit) can be running in one session before the Agent tool refuses to spawn another (default: 20). Accepts a positive whole number in plain digits; anything else is ignored, so the variable can adjust the cap but can't disable it. Requires Claude Code v2.1.217 or later 2.1.217 – 2.1.243 CLAUDE_CODE_MAX_CONTEXT_TOKENSOverride the context window size Claude Code assumes for the active model. As of v2.1.193, how it applies depends on how Claude Code resolves the model ID; see [Correct the window for a gateway or custom model ID](/docs/en/model-config#correct-the-window-for-a-gateway-or-custom-model-id). Use this when routing to a model through ANTHROPIC_BASE_URL whose context window does not match the built-in size for its name 2.1.138 – 2.1.241 CLAUDE_CODE_MAX_OUTPUT_TOKENSSet the maximum number of output tokens for most requests. Defaults and caps vary by model; see [max output tokens](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison). Claude Code defaults to 32000 for model IDs it doesn't recognize, such as gateway-specific names, and lowers values above a model's cap to the cap. Increasing this value reduces the effective context window available before [auto-compaction](/docs/en/costs#reduce-token-usage) triggers 2.1.138 – 2.1.243 CLAUDE_CODE_MAX_RETRIESOverride the number of times to retry failed API requests (default: 10). Capped at 15 as of v2.1.186; as of v2.1.199, CLAUDE_CODE_RETRY_WATCHDOG raises the default and removes the cap. For unattended sessions that need to wait through longer outages, set CLAUDE_CODE_RETRY_WATCHDOG instead 2.1.138 – 2.1.241 CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTHNumber of [subagent layers](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents) allowed below the main conversation (default: 3). At the default, subagents can spawn their own subagents, and a subagent at the third layer can't spawn further; set 1 to turn nesting off. In v2.1.217 through v2.1.218, the default was 1, so a subagent couldn't spawn its own unless you raised the limit; v2.1.219 raised the default to 3. Accepts a positive whole number in plain digits; anything else is ignored, so the limit can be adjusted but not removed. Requires Claude Code v2.1.217 or later 2.1.217 – 2.1.243 CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSIONRemoved in v2.1.224 and now a no-op. Previously capped the total number of [subagents](/docs/en/sub-agents) Claude could spawn with the Agent tool in one session (default: 200); spawning past the cap failed with Subagent spawn limit reached. The [concurrent subagent limit](/docs/en/sub-agents#concurrent-subagent-limit) and the [depth limit](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents) still apply 2.1.212 – 2.1.223 CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCYMaximum number of read-only tools and subagents that can execute in parallel (default: 10). Higher values increase parallelism but consume more resources 2.1.138 – 2.1.241 CLAUDE_CODE_MAX_TURNSCap the number of agentic turns when no explicit limit is passed. Equivalent to passing [--max-turns](/docs/en/cli-reference#cli-flags), which takes precedence when both are set. A value that is not a positive integer is rejected at startup with an error rather than treated as no cap 2.1.139 – 2.1.243 CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSIONCap on the total number of [WebSearch](/docs/en/tools-reference#websearch-tool-behavior) calls one session can make (default: 200). When Claude reaches the cap, further WebSearch calls return a notice telling it to continue with the information it already gathered. Accepts a positive whole number with no upper bound. Anything else is ignored and the default applies, so the cap can be raised but not turned off. Requires Claude Code v2.1.212 or later 2.1.212 – 2.1.243 CLAUDE_CODE_MCP_ALLOWLIST_ENVSet to 1 to spawn stdio MCP servers with only a safe baseline environment plus the server's configured env, instead of inheriting your shell environment 2.1.138 – 2.1.243 CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSElapsed time in milliseconds before a still-running MCP tool call [moves to a background task](/docs/en/mcp#automatic-backgrounding-of-long-tool-calls) (default: 120000, or 2 minutes). Set to 0 to turn automatic backgrounding off. Requires Claude Code v2.1.212 or later 2.1.198 – 2.1.243 CLAUDE_CODE_MCP_MEMORY_CGROUPOn Linux you can force MCP servers into their own memory cgroup with an environment variable. 2.1.239 – 2.1.243 CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUTIdle timeout in milliseconds for MCP tool calls. When a stdio, HTTP, SSE, WebSocket, or [claude.ai connector](/docs/en/mcp#use-mcp-servers-from-claude-ai) MCP server sends no response and no progress notification for this long, the tool call aborts with an error instead of waiting for the overall MCP_TOOL_TIMEOUT. Overrides the per-transport defaults of 300000 (5 minutes) for network servers and 1800000 (30 minutes) for stdio servers. Set to 0 to disable the idle check. Values below 1000 are raised to one second, and the value is capped at the effective MCP_TOOL_TIMEOUT. A per-server timeout in .mcp.json of at least 1000 raises that server's idle window to at least the timeout value. Doesn't apply to IDE servers or SDK in-process servers. Requires Claude Code v2.1.187 or later. Before v2.1.203, stdio servers were exempt from the idle timeout 2.1.187 – 2.1.243 CLAUDE_CODE_MEMORY_API_BASE_URLYour memory API base URL and token are now hidden from every command Claude runs. never mined CLAUDE_CODE_MEMORY_API_TOKENYour memory API base URL and token are now hidden from every command Claude runs. never mined CLAUDE_CODE_MEMORY_PUSH_DELETE_MODENo description from anybody. 2.1.212 – 2.1.243 CLAUDE_CODE_MEMORY_WRITE_SURVEY_TIMEOUT_MSNo description from anybody. 2.1.160 – 2.1.161 CLAUDE_CODE_MESSAGING_SOCKETSet by Claude Code, not by you: in sessions that bind an [inbox socket](/docs/en/cross-session-messaging#the-sessions-inbox-socket), Claude Code exports that socket's path to hooks and Bash commands when it binds the socket. In a session that starts with messaging on, Claude Code binds the socket before any hook runs. Other sessions on the machine deliver messages to this path. Each session exports its own socket rather than one inherited from a parent, and messages arriving on it go through the session's [inbound controls](/docs/en/cross-session-messaging#control-inbound-messages). Settings env blocks can't set it. Requires Claude Code v2.1.224 or later 2.1.224 – 2.1.243 CLAUDE_CODE_MESSAGING_TOKENSet by Claude Code, not by you: in sessions that bind an [inbox socket](/docs/en/cross-session-messaging#the-sessions-inbox-socket), Claude Code exports this per-session token to hooks and Bash commands alongside CLAUDE_CODE_MESSAGING_SOCKET. A script posting to the socket can send {"type":"auth","token":"<token>"} as its first line to prove it belongs to the session. On native Windows, Claude Code requires this line and closes any connection that doesn't open with a valid one. The [own-child rules](/docs/en/cross-session-messaging#the-sessions-inbox-socket) say when Claude Code consults the token. Each session exports its own token, never one inherited from a parent session. Settings env blocks can't set it. Requires Claude Code v2.1.228 or later never mined CLAUDE_CODE_MID_CONVERSATION_SYSTEMNo description from anybody. 2.1.138 – 2.1.211 CLAUDE_CODE_MOCK_REMOTE_SETTINGSNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_MOCK_TRIALNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_MORNING_BRIEF_PROMPTNo description from anybody. 2.1.207 – 2.1.212 CLAUDE_CODE_NANKEEN_KESTRELWindows sandbox TLS interception could use a persistent managed certificate authority, but that path is disabled here. 2.1.212 – 2.1.243 CLAUDE_CODE_NATIVE_CURSORSet to 1 to show the terminal's own cursor at the input caret instead of a drawn block. The cursor respects the terminal's blink, shape, and focus settings 2.1.138 – 2.1.243 CLAUDE_CODE_NEW_INITSet to 1 to make /init run an interactive setup flow. The flow asks which files to generate, including CLAUDE.md, skills, and hooks, before exploring the codebase and writing them. Without this variable, /init generates a CLAUDE.md automatically without prompting 2.1.138 – 2.1.243 CLAUDE_CODE_NO_FLICKERSet to 1 to enable [fullscreen rendering](/docs/en/fullscreen), a research preview that reduces flicker and keeps memory flat in long conversations. Overrides the [tui](/docs/en/settings-reference#tui) setting; you can also switch with /tui fullscreen 2.1.138 – 2.1.243 CLAUDE_CODE_NO_MODEL_FALLBACKNo description from anybody. 2.1.213 – 2.1.243 CLAUDE_CODE_OAUTH_401_WAIT_MSNo description from anybody. 2.1.163 – 2.1.243 CLAUDE_CODE_OAUTH_CLIENT_IDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_OAUTH_REFRESH_TOKENOAuth refresh token for Claude.ai authentication. When set, claude auth login exchanges this token directly instead of opening a browser. Requires CLAUDE_CODE_OAUTH_SCOPES. Useful for provisioning authentication in automated environments 2.1.138 – 2.1.243 CLAUDE_CODE_OAUTH_SCOPESSpace-separated OAuth scopes the refresh token was issued with, such as "user:profile user:inference user:sessions:claude_code". Required when CLAUDE_CODE_OAUTH_REFRESH_TOKEN is set 2.1.138 – 2.1.243 CLAUDE_CODE_OAUTH_TOKENOAuth access token for claude.ai authentication. Alternative to /login for SDK and automated environments. Takes precedence over keychain-stored credentials. Generate one with [claude setup-token](/docs/en/authentication#generate-a-long-lived-token). Unless you run [/login](/docs/en/authentication#authentication-precedence), Claude Code uses the token you set for the whole session. To replace an expired token, generate a new one and restart 2.1.138 – 2.1.243 CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTORLogin tokens are warmed at startup, and skipped entirely for token-based auth. 2.1.138 – 2.1.243 CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDERemoved in v2.1.160 and now a no-op. Previously pinned [fast mode](/docs/en/fast-mode) to Claude Opus 4.6 instead of the current default. Opus 4.6 no longer supports fast mode 2.1.140 – 2.1.211 CLAUDE_CODE_ORGANIZATION_UUIDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTHMaximum length of content-bearing OpenTelemetry attributes (model responses, tool content, system prompts, raw API bodies), truncation marker included, in UTF-16 code units (default: 61440, i.e. 60 KB). Raise it only if your telemetry backend accepts attribute values larger than 64 KB, or lower it to cut telemetry volume. Requires Claude Code v2.1.214 or later. See [Monitoring](/docs/en/monitoring-usage) 2.1.213 – 2.1.243 CLAUDE_CODE_OTEL_DIAG_STDERRSet to 1 to write OpenTelemetry exporter diagnostic errors to stderr. By default these errors only appear with --debug, so a misconfigured exporter such as a Prometheus port collision otherwise fails silently. Requires Claude Code v2.1.179 or later. See [Monitoring](/docs/en/monitoring-usage) 2.1.179 – 2.1.243 CLAUDE_CODE_OTEL_FLUSH_TIMEOUT_MSTimeout in milliseconds for flushing pending OpenTelemetry spans (default: 5000). See [Monitoring](/docs/en/monitoring-usage) 2.1.138 – 2.1.243 CLAUDE_CODE_OTEL_HEADERS_HELPER_DEBOUNCE_MSInterval for refreshing dynamic OpenTelemetry headers in milliseconds (default: 1740000 / 29 minutes). See [Dynamic headers](/docs/en/monitoring-usage#dynamic-headers) 2.1.138 – 2.1.243 CLAUDE_CODE_OTEL_SHUTDOWN_TIMEOUT_MSTimeout in milliseconds for the OpenTelemetry exporter to finish on shutdown (default: 2000). Increase if metrics are dropped at exit. See [Monitoring](/docs/en/monitoring-usage) 2.1.138 – 2.1.243 CLAUDE_CODE_OVERRIDE_DATENo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_OWNERSHIP_FRAMENo description from anybody. 2.1.161 – 2.1.215 CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATESet to 1 to let Claude Code run your package manager's upgrade command in the background when a new version is available. Applies to Homebrew and WinGet installations. Other package managers continue to show the upgrade command without running it. See [Auto updates](/docs/en/setup#auto-updates) 2.1.138 – 2.1.243 CLAUDE_CODE_PARCHMENT_FERNAn alternate prompt wording for two tools exists but stays off unless you set an environment variable. 2.1.223 – 2.1.243 CLAUDE_CODE_PARKED_PERMISSION_WAIT_MSNo description from anybody. 2.1.198 – 2.1.243 CLAUDE_CODE_PARKED_STOP_RETIRESCLAUDE_CODE_PARKED_STOP_RETIRES lets you decide the fate of a set-aside permission prompt you never answered. 2.1.239 – 2.1.243 CLAUDE_CODE_PERFETTO_TRACENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PERFETTO_WRITE_INTERVAL_SNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_PERFORCE_MODESet to 1 to enable Perforce-aware write protection. When set, Edit, Write, and NotebookEdit fail with a p4 edit <file> hint if the target file lacks the owner-write bit, which Perforce clears on synced files until p4 edit opens them. This prevents Claude Code from bypassing Perforce change tracking 2.1.138 – 2.1.243 CLAUDE_CODE_PEWTER_OWLNo description from anybody. 2.1.159 – 2.1.243 CLAUDE_CODE_PEWTER_OWL_TOOLNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_CODE_PLAN_ARTIFACTSPlan artifacts now have their own switch instead of riding along with an unrelated experiment. 2.1.223 – 2.1.237 CLAUDE_CODE_PLAN_MODE_INTERVIEW_PHASENo description from anybody. 2.1.138 – 2.1.211 CLAUDE_CODE_PLAN_MODE_REQUIREDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PLAN_V2_AGENT_COUNTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PLAN_V2_EXPLORE_AGENT_COUNTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PLUGIN_ATTRIBUTIONYou can declare where a plugin came from via a JSON file or an environment variable. never mined CLAUDE_CODE_PLUGIN_BINARY_ASSETSNo description from anybody. 2.1.196 – 2.1.243 CLAUDE_CODE_PLUGIN_CACHE_DIROverride the plugins root directory. Despite the name, this sets the parent directory, not the cache itself: marketplaces and the plugin cache live in subdirectories under this path. Defaults to ~/.claude/plugins 2.1.138 – 2.1.243 CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MSTimeout in milliseconds for git operations when installing or updating plugins (default: 120000). Increase this value for large repositories or slow network connections. See [Git operations time out](/docs/en/plugin-marketplaces#git-operations-time-out) 2.1.138 – 2.1.243 CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURESet to 1 to skip the re-clone attempt and keep using the existing marketplace cache when a git pull fails. Useful in offline or airgapped environments where re-cloning would fail the same way. See [Marketplace updates fail in offline environments](/docs/en/plugin-marketplaces#marketplace-updates-fail-in-offline-environments) 2.1.138 – 2.1.243 CLAUDE_CODE_PLUGIN_PREFER_HTTPSSet to 1 to clone GitHub owner/repo shorthand sources over HTTPS instead of SSH. Applies to plugin install and update, and to /plugin marketplace add and update. Useful in CI runners, containers, or any environment without a configured SSH key for github.com 2.1.141 – 2.1.243 CLAUDE_CODE_PLUGIN_SEED_DIRPath to one or more read-only plugin seed directories, separated by : on Unix or ; on Windows. Use this to bundle a pre-populated plugins directory into 2.1.138 – 2.1.243 CLAUDE_CODE_PLUGIN_USE_ZIP_CACHENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_POLL_EVENTSYou can set CLAUDE_CODE_POLL_EVENTS in your shell, but settings files can no longer supply it. 2.1.237 – 2.1.243 CLAUDE_CODE_POST_FOR_SESSION_INGRESS_V2No description from anybody. 2.1.138 – 2.1.220 CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICYNo description from anybody. 2.1.143 – 2.1.243 CLAUDE_CODE_POWERUP_ONBOARDINGNo description from anybody. 2.1.181 – 2.1.243 CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MSNo description from anybody. 2.1.182 – 2.1.241 CLAUDE_CODE_PRINT_ENGINE_LOOPSet one variable and print mode keeps the model, tools and caches warm between prompts instead of rebuilding. 2.1.238 – 2.1.243 CLAUDE_CODE_PROACTIVENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PROFILE_QUERYQuery profiling only runs when you set CLAUDE_CODE_PROFILE_QUERY, so ordinary sessions skip it. 2.1.160 – 2.1.243 CLAUDE_CODE_PROFILE_STARTUPStartup profiling now names specific phases including MCP connection and remote config setup. 2.1.138 – 2.1.243 CLAUDE_CODE_PROJECT_DIR_NAMEYou can name the per-project history folder yourself, as long as you also set a custom config directory. 2.1.234 – 2.1.243 CLAUDE_CODE_PROMPT_CACHE_TTLYou can pin the prompt cache to five minutes or an hour, separately for subagents. 2.1.242 – 2.1.243 CLAUDE_CODE_PROPAGATE_TRACEPARENTNo description from anybody. 2.1.152 – 2.1.243 CLAUDE_CODE_PROVIDER_MANAGED_BY_HOSTSetting CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST makes the parent process dictate your model settings, ignoring your settings file. 2.1.138 – 2.1.243 CLAUDE_CODE_PROXY_AUTH_HELPER_TTL_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PROXY_RESOLVES_HOSTSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_PWSH_PARSE_TIMEOUT_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_QUESTION_PREVIEW_FORMATNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_RATE_LIMIT_TIERNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REFUSAL_FALLBACK_CATCH_ALLNo description from anybody. 2.1.206 – 2.1.243 CLAUDE_CODE_RELAUNCH_TERMINAL_SIZENo description from anybody. 2.1.203 – 2.1.243 CLAUDE_CODE_REMOTERemote sessions started from review can skip writing some state to disk. 2.1.138 – 2.1.243 CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REMOTE_HERMETIC_MODENo description from anybody. 2.1.163 – 2.1.243 CLAUDE_CODE_REMOTE_MEMORY_DIRNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REMOTE_RAW_EVENTS_FILENo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_REMOTE_SEND_KEEPALIVESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REMOTE_SESSION_IDRunning teleport inside a cloud session now tells you the exact local command to run instead of just failing. 2.1.138 – 2.1.243 CLAUDE_CODE_REMOTE_SESSION_ORIGINRemote sessions started from review can skip writing some state to disk. 2.1.217 – 2.1.243 CLAUDE_CODE_REMOTE_SESSION_UUIDRunner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session. never mined CLAUDE_CODE_REMOTE_SETTINGS_PATHManaged settings could be read from cached storage instead of disk, but the backend is off. 2.1.160 – 2.1.243 CLAUDE_CODE_REMOTE_SETTINGS_POLL_MSNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_REMOTE_TOOLS_POLICYCLAUDE_CODE_REMOTE_TOOLS_POLICY picks between parity (the default) and interim remote-tool behaviour. never mined CLAUDE_CODE_REMOTE_TOOLS_SESSION_CHANNELTools on another machine gain a third route over the session channel, gated off by default. never mined CLAUDE_CODE_REPLNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REPO_CHECKOUTSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_REPORT_FINDINGSNo description from anybody. 2.1.218 – 2.1.243 CLAUDE_CODE_RESTRICTEDNew --restricted flag starts a locked-down session with no shell tools and no settings files. never mined CLAUDE_CODE_RESUME_FROM_SESSIONNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_RESUME_INTERRUPTED_TURNResuming a turn interrupted by shutdown now correctly sees the tool call as still pending instead of faked-answered. 2.1.138 – 2.1.243 CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MSNo description from anybody. 2.1.211 – 2.1.243 CLAUDE_CODE_RESUME_PROMPTNo description from anybody. 2.1.140 – 2.1.243 CLAUDE_CODE_RESUME_SOURCE_ALIVENo description from anybody. 2.1.212 – 2.1.243 CLAUDE_CODE_RESUME_THRESHOLD_MINUTESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_RESUME_TOKEN_THRESHOLDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDSResuming can pick up an interrupted tool call, but only with two env vars set. 2.1.242 – 2.1.243 CLAUDE_CODE_RETIRE_UNANSWERED_PARKED_PERMISSIONSet an env var so resumed print-mode sessions drop unanswered permission requests instead of cancelling and re-asking. 2.1.233 – 2.1.243 CLAUDE_CODE_RETRY_WATCHDOGNo description from anybody. 2.1.138 – 2.1.241 CLAUDE_CODE_SABLE_THRUSHClaude Code now spots server-tagged narration thinking, but the display change stays off by default. 2.1.242 – 2.1.243 CLAUDE_CODE_SAFE_MODENo description from anybody. 2.1.169 – 2.1.243 CLAUDE_CODE_SANDBOXEDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SCRIPT_CAPSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SCROLL_SPEEDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESHHost auth token refresh now returns the whole response, but only registers when an environment variable is set. 2.1.145 – 2.1.243 CLAUDE_CODE_SDK_HAS_OAUTH_REFRESHA host program can take over refreshing your login token, off unless an env var is set. 2.1.138 – 2.1.243 CLAUDE_CODE_SEND_FEEDBACKNo description from anybody. 2.1.212 – 2.1.243 CLAUDE_CODE_SESSION_ACCESS_TOKENRemote settings can now supply many more environment variables, including auth tokens and home directory paths. 2.1.138 – 2.1.243 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 – 2.1.243 CLAUDE_CODE_SESSION_KINDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SESSION_LOGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SESSION_NAMEA blank CLAUDE_CODE_SESSION_NAME now falls back to the directory-derived name. 2.1.138 – 2.1.243 CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MSNonsense values in retry, MCP output and hook timeout env vars now fall back to defaults. 2.1.138 – 2.1.243 CLAUDE_CODE_SHELLNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SHELL_PREFIXHooks now run with the shell prefix and environment of whichever side made the call. 2.1.138 – 2.1.243 CLAUDE_CODE_SHOJI_ENGINENo description from anybody. 2.1.193 – 2.1.202 CLAUDE_CODE_SILENT_TURN_REMINDERClaude can be nudged to check in when it has gone quiet for several turns, off by default. 2.1.236 – 2.1.243 CLAUDE_CODE_SILENT_TURN_REMINDER_TEXTSilent-turn reminder and artifact room environment variables are now recognised by name in the settings allowlist. 2.1.238 – 2.1.243 CLAUDE_CODE_SILENT_TURN_REMINDER_TURNSClaude can be nudged to check in when it has gone quiet for several turns, off by default. 2.1.236 – 2.1.243 CLAUDE_CODE_SIMPLEWhen a coordinator agent cannot use a tool, Claude is told to run it from a worker. 2.1.138 – 2.1.243 CLAUDE_CODE_SIMPLE_SYSTEM_PROMPTWhich models get the simple system prompt is now decided locally, not by remote config. 2.1.138 – 2.1.243 CLAUDE_CODE_SIMULATE_PROXY_USAGENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKILL_DESC_REFRAMENo description from anybody. 2.1.196 – 2.1.215 CLAUDE_CODE_SKILL_PROPOSALSAn env var turns on the tool that proposes new skills; otherwise it stays off in this build. 2.1.233 – 2.1.243 CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTHNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_ANTHROPIC_GOOGLE_CLOUD_AUTHMore model providers are accepted, each with an environment variable to skip its auth step. 2.1.213 – 2.1.243 CLAUDE_CODE_SKIP_AWS_CRED_CACHENo description from anybody. 2.1.207 – 2.1.243 CLAUDE_CODE_SKIP_BEDROCK_AUTHNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECKNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_FOUNDRY_AUTHNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_HFI_VERSION_CHECKNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_SKIP_MANTLE_AUTHMore model providers are accepted, each with an environment variable to skip its auth step. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_PLUGIN_MCP_SERVERSNo description from anybody. 2.1.172 – 2.1.243 CLAUDE_CODE_SKIP_PLUGIN_MCP_SERVERS_EXCEPTNo description from anybody. 2.1.199 – 2.1.243 CLAUDE_CODE_SKIP_PROJECT_BACKFILLNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_SKIP_PROMPT_HISTORYRecalling an old prompt now restores its pasted attachments and remembers how you submitted it. 2.1.138 – 2.1.243 CLAUDE_CODE_SKIP_REPO_UPLOADNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_SKIP_VERTEX_AUTHNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SLACK_TAG_TOKENMore Slack tokens and webhook URLs are detected and redacted, and one token is hidden from child processes. 2.1.234 – 2.1.243 CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SPAWN_TIMESTAMP_MSNo description from anybody. 2.1.152 – 2.1.243 CLAUDE_CODE_SSE_PORTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_STALL_TIMEOUT_MS_FOR_TESTINGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_STOP_HOOK_BLOCK_CAPNo description from anybody. 2.1.143 – 2.1.243 CLAUDE_CODE_SUBAGENT_CACHE_EVICTNo description from anybody. 2.1.198 – 2.1.243 CLAUDE_CODE_SUBAGENT_MODELNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTLYou can pin the prompt cache to five minutes or an hour, separately for subagents. 2.1.242 – 2.1.243 CLAUDE_CODE_SUBPROCESS_ENV_SCRUBNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SUBSCRIPTION_TYPENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SUPERVISEDNo description from anybody. 2.1.139 – 2.1.243 CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTIONNo description from anybody. 2.1.161 – 2.1.243 CLAUDE_CODE_SYNC_PLUGIN_INSTALLHeadless plugin installs refresh the cache in the background; set CLAUDE_CODE_SYNC_PLUGIN_INSTALL to skip it. 2.1.138 – 2.1.243 CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SYNC_PLUGINSThe name synced is now reserved for marketplaces, with new messages for claude.ai plugin conflicts. 2.1.157 – 2.1.243 CLAUDE_CODE_SYNC_PLUGINS_BUFFERED_DOWNLOADNo description from anybody. 2.1.179 – 2.1.243 CLAUDE_CODE_SYNC_PLUGINS_DOWNLOAD_STALL_MSNo description from anybody. 2.1.179 – 2.1.243 CLAUDE_CODE_SYNC_PLUGINS_INSTALL_TIMEOUT_MSNo description from anybody. 2.1.157 – 2.1.243 CLAUDE_CODE_SYNC_PLUGINS_MCP_TIMEOUT_MSNo description from anybody. 2.1.157 – 2.1.243 CLAUDE_CODE_SYNC_SESSION_REFSSkills from your claude.ai account can load as a source, but only if you set the sync env var. 2.1.210 – 2.1.243 CLAUDE_CODE_SYNC_SKILLSSynced-skill state files are schema-checked, so one bad record no longer discards the lot. 2.1.149 – 2.1.243 CLAUDE_CODE_SYNC_SKILLS_INSTALL_TIMEOUT_MSNo description from anybody. 2.1.163 – 2.1.243 CLAUDE_CODE_SYNC_SKILLS_WAIT_TIMEOUT_MSNo description from anybody. 2.1.149 – 2.1.243 CLAUDE_CODE_SYNTAX_HIGHLIGHTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_SYSTEM_PROMPT_GB_FEATURENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TAG_ISMETA_MESSAGESNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_TAGSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TASK_LIST_IDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TEAM_ONBOARDINGNo description from anybody. 2.1.138 – 2.1.179 CLAUDE_CODE_TEAM_TEARDOWN_PARK_TIMEOUT_MSFive more environment variables, including stream and byte watchdogs, can be set in settings.json. 2.1.206 – 2.1.243 CLAUDE_CODE_TEE_SDK_STDOUTNo description from anybody. 2.1.139 – 2.1.243 CLAUDE_CODE_TERMINAL_MCP_TOOLSNo description from anybody. 2.1.181 – 2.1.243 CLAUDE_CODE_TERMINAL_RECORDINGNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_TEST_ALLOW_REAL_NETWORKA module that blocks network access during test runs ships complete but does nothing here. 2.1.239 – 2.1.243 CLAUDE_CODE_TEST_FIXTURES_ROOTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TEST_FORCE_DENYNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_TEST_NO_GIT_BASHNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_TEST_NO_PWSHNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_THINKING_DISPLAY_UPDATESSet CLAUDE_CODE_THINKING_DISPLAY_UPDATES to force the new thinking display on or off yourself. 2.1.240 – 2.1.243 CLAUDE_CODE_THISTLE_GREBESubagent delegation nudges are now switched off for Opus 5; you can also control them by env var. 2.1.215 – 2.1.243 CLAUDE_CODE_THRIFTY_SONICAuto mode can be told to do file reads, searches and edits through Bash, but it's off by default. 2.1.221 – 2.1.243 CLAUDE_CODE_TICKLISH_WHISPERAuto mode can show a prompt that denies itself after two minutes when you are away; off by default. never mined CLAUDE_CODE_TICKLISH_WHISPER_TIMEOUT_MSAuto mode can show a prompt that denies itself after two minutes when you are away; off by default. never mined CLAUDE_CODE_TMPDIRNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TMUX_PREFIXNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TMUX_PREFIX_CONFLICTSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TMUX_SESSIONNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TMUX_TRUECOLORNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TOASTY_THIMBLEA short reminder can be slipped in after tool results, set by an environment variable or server config. 2.1.236 – 2.1.243 CLAUDE_CODE_TODO_REMINDER_MODENo description from anybody. 2.1.178 – 2.1.243 CLAUDE_CODE_TOOL_MEMORY_CGROUP_EXCLUDEMemory limits now reach npm, git, tmux, LSP, MCP and hooks, but everything except Bash is excluded. never mined CLAUDE_CODE_TOOL_MEMORY_LIMITOn Linux you can cap memory for shell commands so a runaway process cannot eat your machine. 2.1.233 – 2.1.243 CLAUDE_CODE_TOTAL_TOKENS_REMINDERToken-reminder settings can now arrive from the server, but your env var and setting still win. 2.1.176 – 2.1.243 CLAUDE_CODE_TOTAL_TOKENS_REMINDER_AFTER_USER_TURNNo description from anybody. 2.1.202 – 2.1.243 CLAUDE_CODE_TOTAL_TOKENS_REMINDER_BUDGETYour token reminder budget override is now honoured instead of silently ignored. 2.1.196 – 2.1.243 CLAUDE_CODE_TRANSCRIPT_LOCAL_GCNo description from anybody. 2.1.217 – 2.1.243 CLAUDE_CODE_TRIGGER_IDNo description from anybody. 2.1.207 – 2.1.243 CLAUDE_CODE_TUI_JUST_SWITCHEDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_TUI_TRIALYou can start a throwaway fullscreen session with an env var, and the upsell stops after three showings. 2.1.236 – 2.1.243 CLAUDE_CODE_TURN_UPDATESClaude can narrate what it's about to do and post progress updates; set CLAUDE_CODE_TURN_UPDATES. 2.1.229 – 2.1.243 CLAUDE_CODE_TWO_STAGE_CLASSIFIERNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_ULTRAREVIEW_PREFLIGHT_FIXTURENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_ULTRAREVIEW_QUOTA_FIXTUREYour remaining free cloud reviews can appear in the slash menu and in tips after commits. 2.1.224 – 2.1.243 CLAUDE_CODE_USE_ANTHROPIC_AWSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUDNo description from anybody. 2.1.213 – 2.1.243 CLAUDE_CODE_USE_BEDROCKNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_CCR_V2No description from anybody. 2.1.138 – 2.1.202 CLAUDE_CODE_USE_COWORK_PLUGINSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_FOUNDRYNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_GATEWAYCLAUDE_CODE_USE_GATEWAY now passes down to spawned agent processes, so gateway routing is no longer dropped. 2.1.195 – 2.1.243 CLAUDE_CODE_USE_MANTLENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_NATIVE_FILE_SEARCHNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CODE_USE_POWERSHELL_TOOLNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USE_VERTEXNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_USER_DIALOG_TIMEOUT_MSSet dialogExpiry to control how long a forwarded permission prompt waits before resolving to its safe default. 2.1.169 – 2.1.243 CLAUDE_CODE_USER_EMAILNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_VELVET_FALCONNo description from anybody. 2.1.163 – 2.1.173 CLAUDE_CODE_VERIFY_PROMPTNo description from anybody. 2.1.138 – 2.1.205 CLAUDE_CODE_VOICE_FORWARD_INTERIMS_TYPEDNo description from anybody. 2.1.141 – 2.1.243 CLAUDE_CODE_WALNUT_SPIRESetting CLAUDE_CODE_WALNUT_SPIRE=1 turns on the early-access plugin eval command. 2.1.207 – 2.1.243 CLAUDE_CODE_WEB_FETCH_AGENTThe built-in web-fetch agent refuses observer and worktree roles and just runs locally. 2.1.232 – 2.1.243 CLAUDE_CODE_WEBFETCH_CACHE_TTL_MSYou can set how long WebFetch keeps pages cached, in milliseconds. 2.1.233 – 2.1.243 CLAUDE_CODE_WEBFETCH_PROXY_PATHNo description from anybody. 2.1.166 – 2.1.168 CLAUDE_CODE_WEBFETCH_USE_CCR_PROXYNo description from anybody. 2.1.169 – 2.1.243 CLAUDE_CODE_WEBSEARCH_USE_CCR_PROXYNo description from anybody. 2.1.182 – 2.1.243 CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTORNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CODE_WILLOW_TERNA writing-style prompt block can be forced on with an environment variable; otherwise it stays off. never mined CLAUDE_CODE_WORKER_EPOCHCloud sessions track which worker generation they're on and re-register only after a worker restart. 2.1.138 – 2.1.243 CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MSParallel workflow agents stagger their first call to share cache; tune with an env var. 2.1.229 – 2.1.243 CLAUDE_CODE_WORKFLOW_PROMPT_PROVENANCEWorkflow runs now label whether a person or a schedule triggered them, and quote the request. never mined CLAUDE_CODE_WORKFLOW_SIZE_WARNING_AGENTSNo description from anybody. 2.1.203 – 2.1.243 CLAUDE_CODE_WORKFLOW_SIZE_WARNING_TOKENSNo description from anybody. 2.1.203 – 2.1.243 CLAUDE_CODE_WORKFLOWSEnvironment flags are now parsed centrally, so values are compared to explicit true or false. 2.1.146 – 2.1.243 CLAUDE_CODE_WORKSPACE_HOST_PATHSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_CONFIG_DIRResumed sessions no longer inherit a stale config directory or abort on a failed file copy. 2.1.138 – 2.1.243 CLAUDE_CONTEXT_COLLAPSENo description from anybody. 2.1.160 – 2.1.243 CLAUDE_CONTEXT_COLLAPSE_MODELNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_COWORK_MEMORY_EXTRA_GUIDELINESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_COWORK_MEMORY_GUIDELINESNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_COWORK_MEMORY_INDEX_CONTENTAdding pinned: true to a memory file's frontmatter would apply it to every session automatically. 2.1.138 – 2.1.243 CLAUDE_COWORK_MEMORY_PATH_OVERRIDENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_DEBUGNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_DISABLE_ADOPTNo description from anybody. 2.1.195 – 2.1.243 CLAUDE_ENABLE_BYTE_WATCHDOGStalled streams are now detected across direct, gateway and Bedrock connections, and you can force it with an env var. 2.1.138 – 2.1.243 CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCKStalled streams are now detected across direct, gateway and Bedrock connections, and you can force it with an env var. 2.1.143 – 2.1.243 CLAUDE_ENABLE_STREAM_WATCHDOGFive more environment variables, including stream and byte watchdogs, can be set in settings.json. 2.1.138 – 2.1.241 CLAUDE_ENV_FILESession environment files can be read and written through a storage layer instead of directly on disk. 2.1.138 – 2.1.243 CLAUDE_FORCE_DISPLAY_SURVEYNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_GATEWAY_ALLOW_LOOPBACKThe self-hosted gateway accepts a strict customer-routed inference config block, off unless you enable it. 2.1.160 – 2.1.243 CLAUDE_GATEWAY_LOG_LEVELNo description from anybody. 2.1.162 – 2.1.243 CLAUDE_IMPORT_CONVERSATIONSNo description from anybody. 2.1.152 – 2.1.243 CLAUDE_INTERNAL_ASSISTANT_TEAM_NAMENo description from anybody. 2.1.160 – 2.1.243 CLAUDE_INTERNAL_FC_OVERRIDESNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_INTERNAL_WARM_RESUME_QANo description from anybody. 2.1.160 – 2.1.211 CLAUDE_JOB_DIRAbout 220 environment variables now parse and validate in one place, including bounds checks. 2.1.138 – 2.1.243 CLAUDE_LOCAL_OAUTH_API_BASENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_LOCAL_OAUTH_APPS_BASENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_LOCAL_OAUTH_CONSOLE_BASENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_MEMORY_STORESThe memory store picker nudges you to pick a specific project instead of leaving the legacy default. 2.1.143 – 2.1.243 CLAUDE_MOCK_HEADERLESS_429No description from anybody. 2.1.160 – 2.1.241 CLAUDE_PREVIEW_CLASSIFIER_FLOORNo description from anybody. 2.1.196 – 2.1.241 CLAUDE_PROJECT_TOOLNo description from anybody. 2.1.174 – 2.1.185 CLAUDE_PROJECT_UUIDAbout 220 environment variables now parse and validate in one place, including bounds checks. 2.1.174 – 2.1.243 CLAUDE_PTY_HEARTBEAT_MSNo description from anybody. 2.1.166 – 2.1.243 CLAUDE_PTY_HOST_EXECNo description from anybody. 2.1.144 – 2.1.243 CLAUDE_PTY_ORPHAN_CHECK_MSNo description from anybody. 2.1.154 – 2.1.243 CLAUDE_PTY_RECORDNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIXNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_REMOTE_TOOLS_BRIDGE_URLThe device bridge now only connects to approved hosts, with local overrides limited to localhost. never mined CLAUDE_REMOTE_WORKFLOW_ARGSNo description from anybody. 2.1.200 – 2.1.243 CLAUDE_REMOTE_WORKFLOW_SCRIPTNo description from anybody. 2.1.200 – 2.1.243 CLAUDE_REPL_VARIANTNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_RUNNER_ACTIVITY_FDNo description from anybody. 2.1.196 – 2.1.243 CLAUDE_RUNNER_CLAUDE_BINThe runner writes a code-sign helper script, using CLAUDE_RUNNER_CLAUDE_BIN if you set it. never mined CLAUDE_RUNNER_CLIENT_PLATFORMOdd platform labels from the runner are rejected or replaced with "unknown" instead of exported. never mined CLAUDE_RUNNER_DISABLE_AWAITING_ACTION_OVERRIDENo description from anybody. 2.1.200 – 2.1.243 CLAUDE_RUNNER_FAIL_FAST_FETCHTwo env vars change how runner git fetches handle retries and stalled delta resolution. never mined CLAUDE_RUNNER_FETCH_DEPTHFull git checkout machinery for self-hosted runners now ships, but you cannot reach it interactively. 2.1.172 – 2.1.243 CLAUDE_RUNNER_SESSION_UUIDRunner hooks now get CLAUDE_RUNNER_SESSION_UUID and CLAUDE_CODE_REMOTE_SESSION_UUID so your scripts can key on the session. never mined CLAUDE_RUNNER_SKIP_GIT_VERIFYNo description from anybody. 2.1.224 – 2.1.243 CLAUDE_RUNNER_USE_GIT_PROXYNo description from anybody. 2.1.224 – 2.1.243 CLAUDE_SECURESTORAGE_CONFIG_DIRNo description from anybody. 2.1.144 – 2.1.243 CLAUDE_SERVE_DRAIN_TIMEOUT_MSNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_SESSION_INGRESS_TOKEN_FILENo description from anybody. 2.1.138 – 2.1.243 CLAUDE_SLOW_FIRST_BYTE_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_SNIPNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_SSH_LOCAL_BINARYNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_SSH_VERSIONNo description from anybody. 2.1.160 – 2.1.243 CLAUDE_STAGE_FILE_ROOTNo description from anybody. 2.1.174 – 2.1.243 CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MSHung requests are aborted when headers never arrive, and you can tune the window. never mined CLAUDE_STREAM_IDLE_TIMEOUT_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_SUBAGENT_BG_SHELL_MAX_MSNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_TMPDIRNo description from anybody. 2.1.138 – 2.1.243 CLAUDE_TRUSTED_DEVICE_TOKENSetting a trusted-device token in the environment skips the remote bridge's untrusted-device retry and prompt. 2.1.138 – 2.1.243 CLAUDE_WORKFLOW_NAME_ONLYNo description from anybody. 2.1.200 – 2.1.243 CLAUDE_WORKSHOP_PROGRESSStreaming now feeds tool and partial-input events to the workshop progress display. never mined CLAUDECODESet to 1 in subprocesses Claude Code spawns (Bash and PowerShell tools, tmux sessions, [hook](/docs/en/hooks) commands, [status line](/docs/en/statusline) commands, stdio [MCP server](/docs/en/mcp) subprocesses). IDE extensions also set this in their integrated terminals. Use to detect when a script is running inside a subprocess spawned by Claude Code. To check whether the current process was spawned directly by a tool call or hook, rather than inside a stdio MCP server that Claude Code started, use CLAUDE_CODE_CHILD_SESSION instead 2.1.160 – 2.1.243 CLI_WIDTHNo description from anybody. 2.1.138 – 2.1.243 CLOUD_ML_REGIONNo description from anybody. 2.1.138 – 2.1.243 CLOUD_RUN_JOBNo description from anybody. 2.1.138 – 2.1.243 CLOUDSDK_AUTH_ACCESS_TOKENNo description from anybody. 2.1.178 – 2.1.243 CLOUDSDK_CONFIGNo description from anybody. 2.1.138 – 2.1.243 CLOUDSDK_PROXY_USERNAMEConcurrent sandboxes now get unique proxy usernames instead of sharing one identity. never mined CODERNo description from anybody. 2.1.138 – 2.1.243 CODER_WORKSPACE_NAMENo description from anybody. 2.1.138 – 2.1.243 CODESPACESNo description from anybody. 2.1.138 – 2.1.243 CODEX_HOMENo description from anybody. 2.1.182 COLORFGBGNo description from anybody. 2.1.138 – 2.1.243 COLORTERMNo description from anybody. 2.1.138 – 2.1.243 COMPUTER_USE_SWIFT_NODE_PATHNo description from anybody. 2.1.138 – 2.1.243 COMSPECNo description from anybody. 2.1.138 – 2.1.243 COREPACK_ENABLE_AUTO_PINNo description from anybody. 2.1.138 – 2.1.243 CURSOR_TRACE_IDNo description from anybody. 2.1.138 – 2.1.243 DATABASE_URLNo description from anybody. 2.1.160 – 2.1.221 DAYTONA_WS_IDNo description from anybody. 2.1.138 – 2.1.243 DEBUGNo description from anybody. 2.1.138 – 2.1.243 DEBUG_AUTHNo description from anybody. 2.1.138 – 2.1.243 DEBUG_CLAUDE_AGENT_SDKSDK debug logging tags a session id and can write through the storage layer when given one. 2.1.138 – 2.1.243 DEBUG_SDKNo description from anybody. 2.1.138 – 2.1.243 DEMO_VERSIONNo description from anybody. 2.1.138 – 2.1.243 DENO_DEPLOYMENT_IDNo description from anybody. 2.1.138 – 2.1.243 DETECT_GCP_RETRIESNo description from anybody. 2.1.138 – 2.1.243 DEVPODNo description from anybody. 2.1.138 – 2.1.243 DEVPOD_WORKSPACE_UIDNo description from anybody. 2.1.138 – 2.1.243 DISABLE_AUTO_COMPACTUnknown model names now get an assumed context budget so auto-compact works instead of stalling. 2.1.138 – 2.1.243 DISABLE_AUTOUPDATERDISABLE_AUTOUPDATER=0 or false no longer disables updates; only truthy values count now. 2.1.138 – 2.1.243 DISABLE_BRIEF_MODE_STOP_HOOKNo description from anybody. 2.1.138 – 2.1.243 DISABLE_BUG_COMMANDFeedback and bug-report commands are hidden when Claude Code runs through the SDK. 2.1.138 – 2.1.243 DISABLE_COMPACTUnknown model names now get an assumed context budget so auto-compact works instead of stalling. 2.1.138 – 2.1.243 DISABLE_COST_WARNINGSNo description from anybody. 2.1.138 – 2.1.243 DISABLE_DOCTOR_COMMANDNo description from anybody. 2.1.138 – 2.1.243 DISABLE_ERROR_REPORTINGNo description from anybody. 2.1.138 – 2.1.243 DISABLE_EXTRA_USAGE_COMMANDSetting DISABLE_EXTRA_USAGE_COMMAND now also hides the buy-credits prompts, which point at /model instead. 2.1.138 – 2.1.243 DISABLE_FEEDBACK_COMMANDFeedback and bug-report commands are hidden when Claude Code runs through the SDK. 2.1.138 – 2.1.243 DISABLE_GROWTHBOOKAuto mode uses sensible built-in defaults when remote config is missing, instead of everything off. 2.1.138 – 2.1.243 DISABLE_INSTALL_GITHUB_APP_COMMANDNo description from anybody. 2.1.138 – 2.1.243 DISABLE_INSTALLATION_CHECKSDISABLE_INSTALLATION_CHECKS now reads its value, so 0 or false means off. 2.1.138 – 2.1.243 DISABLE_INTERLEAVED_THINKINGNo description from anybody. 2.1.138 – 2.1.243 DISABLE_LOGIN_COMMANDNo description from anybody. 2.1.138 – 2.1.243 DISABLE_LOGOUT_COMMANDNo description from anybody. 2.1.138 – 2.1.243 DISABLE_PROMPT_CACHINGParallel workflow agents stagger their first call to share cache; tune with an env var. 2.1.138 – 2.1.243 DISABLE_PROMPT_CACHING_FABLENo description from anybody. 2.1.170 – 2.1.243 DISABLE_PROMPT_CACHING_HAIKUNo description from anybody. 2.1.138 – 2.1.243 DISABLE_PROMPT_CACHING_MYTHOSNo description from anybody. 2.1.170 – 2.1.243 DISABLE_PROMPT_CACHING_OPUSNo description from anybody. 2.1.138 – 2.1.243 DISABLE_PROMPT_CACHING_SONNETNo description from anybody. 2.1.138 – 2.1.243 DISABLE_TELEMETRYNo description from anybody. 2.1.138 – 2.1.243 DISABLE_UPDATESDISABLE_AUTOUPDATER=0 or false no longer disables updates; only truthy values count now. 2.1.138 – 2.1.243 DISABLE_UPGRADE_COMMANDNo description from anybody. 2.1.138 – 2.1.243 DISPLAYNo description from anybody. 2.1.145 – 2.1.243 DO_NOT_TRACKNo description from anybody. 2.1.138 – 2.1.243 DOCKER_CONFIGNo description from anybody. 2.1.242 – 2.1.243 DS_CHROMIUM_PATHNo description from anybody. 2.1.166 – 2.1.243 DS_VALIDATE_CAP_SECONDSNo description from anybody. 2.1.166 – 2.1.168 DYNONo description from anybody. 2.1.138 – 2.1.243 EDITORNo description from anybody. 2.1.138 – 2.1.243 EMBEDDED_SEARCH_TOOLSNo description from anybody. 2.1.160 – 2.1.243 ENABLE_BETA_TRACING_DETAILEDNo description from anybody. 2.1.138 – 2.1.243 ENABLE_CLAUDEAI_MCP_SERVERSNo description from anybody. 2.1.138 – 2.1.243 ENABLE_ENHANCED_TELEMETRY_BETANo description from anybody. 2.1.138 – 2.1.243 ENABLE_LOCKLESS_UPDATESNo description from anybody. 2.1.160 – 2.1.243 ENABLE_LSP_TOOLNo description from anybody. 2.1.160 – 2.1.243 ENABLE_MCP_LARGE_OUTPUT_FILESMCP_TOOL_TIMEOUT is parsed with a minimum of 1 and ENABLE_MCP_LARGE_OUTPUT_FILES only disables when explicitly false. 2.1.138 – 2.1.243 ENABLE_PID_BASED_VERSION_LOCKINGNo description from anybody. 2.1.160 – 2.1.243 ENABLE_PROMPT_CACHING_1HNo description from anybody. 2.1.138 – 2.1.243 ENABLE_PROMPT_CACHING_1H_BEDROCKNo description from anybody. 2.1.138 – 2.1.243 ENABLE_SESSION_BACKGROUNDINGNo description from anybody. 2.1.160 – 2.1.243 ENABLE_SESSION_PERSISTENCENo description from anybody. 2.1.160 – 2.1.243 ENABLE_TOOL_SEARCHTool search now runs on Vertex AI instead of being refused outright. 2.1.138 – 2.1.243 ENVIRONMENT_SERVICE_KEYNo description from anybody. 2.1.160 – 2.1.243 FALLBACK_FOR_ALL_PRIMARY_MODELSNo description from anybody. 2.1.138 – 2.1.243 FLY_APP_NAMENo description from anybody. 2.1.138 – 2.1.243 FLY_MACHINE_IDNo description from anybody. 2.1.138 – 2.1.243 FORCE_AUTOUPDATE_PLUGINSNo description from anybody. 2.1.138 – 2.1.243 FORCE_CODE_TERMINALNo description from anybody. 2.1.138 – 2.1.243 FORCE_COLOREnvironment variables your org policy blocks can no longer sneak through by changing their capitalization. 2.1.138 – 2.1.243 FORCE_PROMPT_CACHING_5MNo description from anybody. 2.1.138 – 2.1.243 FORCE_VCRNo description from anybody. 2.1.160 – 2.1.243 FUNCTION_NAMENo description from anybody. 2.1.138 – 2.1.243 FUNCTION_TARGETNo description from anybody. 2.1.138 – 2.1.243 GAE_MODULE_NAMENo description from anybody. 2.1.138 – 2.1.243 GAE_SERVICENo description from anybody. 2.1.138 – 2.1.243 GCE_METADATA_HOSTNo description from anybody. 2.1.138 – 2.1.243 GCE_METADATA_IPNo description from anybody. 2.1.138 – 2.1.243 GCLOUD_PROJECTNo description from anybody. 2.1.138 – 2.1.243 GCM_INTERACTIVENo description from anybody. 2.1.186 – 2.1.243 GEMINI_HOMENo description from anybody. 2.1.182 GH_ENTERPRISE_TOKENNo description from anybody. 2.1.138 – 2.1.243 GH_HOSTNo description from anybody. 2.1.138 – 2.1.243 GH_TOKENNo description from anybody. 2.1.138 – 2.1.243 GIT_ALLOW_PROTOCOLGit calls made while packaging your repo for the cloud cannot fetch or ask for passwords. never mined GIT_ASKPASSNo description from anybody. 2.1.186 – 2.1.243 GIT_CONFIGRepo git hooks stay suppressed by default, tag pushes excepted, and GIT_CONFIG is now cleared. never mined GIT_CONFIG_COUNTNo description from anybody. 2.1.186 – 2.1.243 GIT_CONFIG_GLOBALGit calls in the sync path now respect your custom global and system config paths. 2.1.202 – 2.1.243 GIT_CONFIG_NOSYSTEMPlugin eval helpers ignore machine-wide git settings so results cannot be skewed. never mined GIT_CONFIG_SYSTEMGit calls in the sync path now respect your custom global and system config paths. 2.1.242 – 2.1.243 GIT_DIRStray git environment variables in your shell can no longer misdirect worktree operations. never mined GIT_INDEX_FILEStray git environment variables in your shell can no longer misdirect worktree operations. never mined GIT_PROXY_COMMANDEvery git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off. never mined GIT_SSH_COMMANDNo description from anybody. 2.1.160 – 2.1.243 GIT_TERMINAL_PROMPTGit now runs under fixed environments that block network protocols unless the operation needs them. 2.1.186 – 2.1.243 GIT_WORK_TREEStray git environment variables in your shell can no longer misdirect worktree operations. never mined GITHUB_ACTION_INPUTSNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ACTION_PATHNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ACTIONSNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ACTORNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ACTOR_IDNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ENTERPRISE_TOKENNo description from anybody. 2.1.138 – 2.1.243 GITHUB_ENVNo description from anybody. 2.1.138 – 2.1.243 GITHUB_EVENT_NAMENo description from anybody. 2.1.138 – 2.1.243 GITHUB_EVENT_PATHNo description from anybody. 2.1.138 – 2.1.243 GITHUB_REPOSITORYNo description from anybody. 2.1.138 – 2.1.243 GITHUB_REPOSITORY_IDNo description from anybody. 2.1.138 – 2.1.243 GITHUB_REPOSITORY_OWNERNo description from anybody. 2.1.138 – 2.1.243 GITHUB_REPOSITORY_OWNER_IDNo description from anybody. 2.1.138 – 2.1.243 GITHUB_TOKENNo description from anybody. 2.1.138 – 2.1.243 GITHUB_WORKSPACENo description from anybody. 2.1.138 – 2.1.243 GITLAB_CINo description from anybody. 2.1.138 – 2.1.243 GITPOD_WORKSPACE_IDNo description from anybody. 2.1.138 – 2.1.243 GNOME_TERMINAL_SERVICENo description from anybody. 2.1.138 – 2.1.243 GNUPGHOMENo description from anybody. 2.1.242 – 2.1.243 GOOGLE_APPLICATION_CREDENTIALSNo description from anybody. 2.1.138 – 2.1.243 GOOGLE_CLOUD_PROJECTNo description from anybody. 2.1.138 – 2.1.243 GOOGLE_CLOUD_QUOTA_PROJECTNo description from anybody. 2.1.138 – 2.1.243 GOOGLE_CLOUD_WORKSTATIONSNo description from anybody. 2.1.138 – 2.1.243 GRACEFUL_FS_PLATFORMNo description from anybody. 2.1.138 – 2.1.243 GRADLE_USER_HOMENo description from anybody. 2.1.242 – 2.1.243 GRPC_DEFAULT_SSL_ROOTS_FILE_PATHNo description from anybody. 2.1.138 – 2.1.243 GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTIONNo description from anybody. 2.1.138 – 2.1.243 GRPC_NODE_TRACENo description from anybody. 2.1.138 – 2.1.243 GRPC_NODE_USE_ALTERNATIVE_RESOLVERNo description from anybody. 2.1.138 – 2.1.243 GRPC_NODE_VERBOSITYNo description from anybody. 2.1.138 – 2.1.243 GRPC_SSL_CIPHER_SUITESNo description from anybody. 2.1.138 – 2.1.243 GRPC_TRACENo description from anybody. 2.1.138 – 2.1.243 GRPC_VERBOSITYNo description from anybody. 2.1.138 – 2.1.243 HISTFILENo description from anybody. 2.1.208 – 2.1.243 HOMERemote settings can now supply many more environment variables, including auth tokens and home directory paths. 2.1.138 – 2.1.243 HTTP_PROXYConcurrent sandboxes now get unique proxy usernames instead of sharing one identity. 2.1.138 – 2.1.243 HTTPS_PROXYIf a connection fails through your proxy, the error now names the proxy environment variable to check. 2.1.138 – 2.1.243 INK_SCREEN_READERScreen-reader mode repaints less, so assistive tech hears less redundant output. 2.1.181 – 2.1.243 INTELLIJ_TERMINAL_COMMAND_BLOCKSNo description from anybody. 2.1.138 – 2.1.243 INTELLIJ_TERMINAL_COMMAND_BLOCKS_REWORKEDNo description from anybody. 2.1.138 – 2.1.243 IS_DEMONo description from anybody. 2.1.138 – 2.1.243 IS_SANDBOXDocker, bubblewrap and root-outside-sandbox checks share one cached prober that answers false until ready. 2.1.138 – 2.1.243 ITERM_SESSION_IDNo description from anybody. 2.1.138 – 2.1.243 JAVA_HOMENo description from anybody. 2.1.186 – 2.1.243 JAVA_TOOL_OPTIONSNo description from anybody. 2.1.186 – 2.1.243 K_CONFIGURATIONNo description from anybody. 2.1.138 – 2.1.243 K_SERVICENo description from anybody. 2.1.138 – 2.1.243 KITTY_WINDOW_IDNo description from anybody. 2.1.138 – 2.1.243 KONSOLE_VERSIONNo description from anybody. 2.1.138 – 2.1.243 KUBECONFIGNo description from anybody. 2.1.242 – 2.1.243 KUBERNETES_SERVICE_HOSTNo description from anybody. 2.1.138 – 2.1.243 LANGNo description from anybody. 2.1.138 – 2.1.243 LC_ALLNo description from anybody. 2.1.138 – 2.1.243 LC_TERMINALNo description from anybody. 2.1.138 – 2.1.243 LC_TIMENo description from anybody. 2.1.138 – 2.1.243 LOCAL_BRIDGENo description from anybody. 2.1.138 – 2.1.243 LOCALAPPDATANo description from anybody. 2.1.138 – 2.1.243 MAX_MCP_OUTPUT_TOKENSNonsense values in retry, MCP output and hook timeout env vars now fall back to defaults. 2.1.138 – 2.1.241 MAX_STRUCTURED_OUTPUT_RETRIESNo description from anybody. 2.1.138 – 2.1.241 MAX_THINKING_TOKENSYou now get told when an effort level needs thinking on, and what turned thinking off. 2.1.138 – 2.1.243 MCP_CLIENT_SECRETNo description from anybody. 2.1.138 – 2.1.243 MCP_CONNECT_TIMEOUT_MSVery large MCP_TIMEOUT values are capped instead of overflowing and timing out instantly. 2.1.138 – 2.1.243 MCP_CONNECTION_NONBLOCKINGFive more environment variables, including stream and byte watchdogs, can be set in settings.json. 2.1.138 – 2.1.243 MCP_DISCOVERY_CACHEStartup no longer dials cached HTTP or SSE MCP servers; they restore from cache and connect on first use. 2.1.217 – 2.1.243 MCP_DISCOVERY_CACHE_MAX_STALE_SNo description from anybody. 2.1.217 – 2.1.243 MCP_DISCOVERY_CACHE_STRIKESNo description from anybody. 2.1.238 – 2.1.243 MCP_DISCOVERY_CACHE_TTL_SNo description from anybody. 2.1.217 – 2.1.243 MCP_OAUTH_CALLBACK_PORTAbout 220 environment variables now parse and validate in one place, including bounds checks. 2.1.138 – 2.1.243 MCP_OAUTH_CLIENT_METADATA_URLNo description from anybody. 2.1.138 – 2.1.243 MCP_PROTOCOL_NEGOTIATIONIn auto mode MCP connections would probe for a modern protocol and fall back to legacy, but nothing enables it. 2.1.221 – 2.1.243 MCP_REMOTE_SERVER_CONNECTION_BATCH_SIZETwo new env vars set how many MCP servers connect at once, local and remote. 2.1.138 – 2.1.243 MCP_SDK_GENERATIONNo description from anybody. 2.1.218 – 2.1.243 MCP_SERVER_CONNECTION_BATCH_SIZEMCP servers now connect three at a time; set MCP_SERVER_CONNECTION_BATCH_SIZE to change it. 2.1.138 – 2.1.243 MCP_TIMEOUTVery large MCP_TIMEOUT values are capped instead of overflowing and timing out instantly. 2.1.138 – 2.1.243 MCP_TOOL_TIMEOUTTwo new env vars set how many MCP servers connect at once, local and remote. 2.1.138 – 2.1.243 MCP_TRUNCATION_PROMPT_OVERRIDENo description from anybody. 2.1.138 – 2.1.243 MCP_XAA_IDP_CLIENT_SECRETNo description from anybody. 2.1.138 – 2.1.243 METADATA_SERVER_DETECTIONNo description from anybody. 2.1.138 – 2.1.243 MORERIGHT_TESTNo description from anybody. 2.1.160 – 2.1.193 MSYSTEMNo description from anybody. 2.1.138 – 2.1.243 NETLIFYNo description from anybody. 2.1.138 – 2.1.243 NO_COLOREnvironment variables your org policy blocks can no longer sneak through by changing their capitalization. 2.1.138 – 2.1.243 NO_PROXYNo description from anybody. 2.1.138 – 2.1.243 NODE_DEBUGNo description from anybody. 2.1.138 – 2.1.243 NODE_ENVNo description from anybody. 2.1.160 – 2.1.243 NODE_EXTRA_CA_CERTSInherited certificate settings are no longer reported as your own custom CA in local agent runs. 2.1.138 – 2.1.243 NODE_OPTIONSNo description from anybody. 2.1.138 – 2.1.243 NPM_CONFIG_GLOBALCONFIGNo description from anybody. 2.1.242 – 2.1.243 NPM_CONFIG_USERCONFIGNo description from anybody. 2.1.242 – 2.1.243 OSTYPENo description from anybody. 2.1.138 – 2.1.243 OTEL_ATTRIBUTE_VALUE_LENGTH_LIMITNo description from anybody. 2.1.213 – 2.1.243 OTEL_EXPORTER_OTLP_ENDPOINTNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_HEADERSNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_INSECURENo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_LOGS_ENDPOINTNo description from anybody. 2.1.160 – 2.1.243 OTEL_EXPORTER_OTLP_LOGS_HEADERSNo description from anybody. 2.1.229 – 2.1.243 OTEL_EXPORTER_OTLP_LOGS_PROTOCOLNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_METRICS_ENDPOINTNo description from anybody. 2.1.160 – 2.1.243 OTEL_EXPORTER_OTLP_METRICS_HEADERSNo description from anybody. 2.1.229 – 2.1.243 OTEL_EXPORTER_OTLP_METRICS_PROTOCOLNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCENo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_PROTOCOLNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_OTLP_TRACES_ENDPOINTNo description from anybody. 2.1.160 – 2.1.243 OTEL_EXPORTER_OTLP_TRACES_HEADERSNo description from anybody. 2.1.229 – 2.1.243 OTEL_EXPORTER_OTLP_TRACES_PROTOCOLNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_PROMETHEUS_HOSTNo description from anybody. 2.1.138 – 2.1.243 OTEL_EXPORTER_PROMETHEUS_PORTNo description from anybody. 2.1.138 – 2.1.243 OTEL_LOG_ASSISTANT_RESPONSESNo description from anybody. 2.1.193 – 2.1.243 OTEL_LOG_RAW_API_BODIESChanging the raw-API-body telemetry variable now takes effect instead of being frozen at startup. 2.1.138 – 2.1.243 OTEL_LOG_TOOL_CONTENTNo description from anybody. 2.1.138 – 2.1.243 OTEL_LOG_TOOL_DETAILSNo description from anybody. 2.1.138 – 2.1.243 OTEL_LOG_USER_PROMPTSNo description from anybody. 2.1.138 – 2.1.243 OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMITNo description from anybody. 2.1.213 – 2.1.243 OTEL_LOGS_EXPORT_INTERVALNo description from anybody. 2.1.138 – 2.1.243 OTEL_LOGS_EXPORTERNo description from anybody. 2.1.138 – 2.1.243 OTEL_METRIC_EXPORT_INTERVALNo description from anybody. 2.1.138 – 2.1.243 OTEL_METRICS_EXPORTERSet OTEL_METRICS_EXPORTER=prometheus and child sessions report through the runner, giving one scrape target per machine. 2.1.138 – 2.1.243 OTEL_RESOURCE_ATTRIBUTESNo description from anybody. 2.1.160 – 2.1.243 OTEL_SERVICE_NAMEYou can now set OTEL_SERVICE_NAME, OTEL_TRACES_EXPORT_INTERVAL and CLAUDE_CODE_FORK_SUBAGENT in settings.json. never mined OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMITNo description from anybody. 2.1.213 – 2.1.243 OTEL_TRACES_EXPORT_INTERVALYou can now set OTEL_SERVICE_NAME, OTEL_TRACES_EXPORT_INTERVAL and CLAUDE_CODE_FORK_SUBAGENT in settings.json. 2.1.138 – 2.1.243 OTEL_TRACES_EXPORTERNo description from anybody. 2.1.138 – 2.1.243 P4PORTNo description from anybody. 2.1.138 – 2.1.243 PATHNo description from anybody. 2.1.138 – 2.1.243 PATHEXTNo description from anybody. 2.1.138 – 2.1.243 PIP_CONFIG_FILENo description from anybody. 2.1.242 – 2.1.243 PKG_CONFIG_PATHNo description from anybody. 2.1.138 – 2.1.243 PLAYWRIGHT_BROWSERS_PATHNo description from anybody. 2.1.160 – 2.1.243 PREFIXNo description from anybody. 2.1.138 – 2.1.243 PROJECT_DOMAINNo description from anybody. 2.1.138 – 2.1.243 PWDNo description from anybody. 2.1.138 – 2.1.243 PYTHONSTARTUPNo description from anybody. 2.1.242 – 2.1.243 RAILWAY_ENVIRONMENT_NAMENo description from anybody. 2.1.138 – 2.1.243 RAILWAY_SERVICE_NAMENo description from anybody. 2.1.138 – 2.1.243 RENDERNo description from anybody. 2.1.138 – 2.1.243 REPL_IDNo description from anybody. 2.1.138 – 2.1.243 REPL_SLUGNo description from anybody. 2.1.138 – 2.1.243 RUNNER_ENVIRONMENTNo description from anybody. 2.1.138 – 2.1.243 RUNNER_OSNo description from anybody. 2.1.138 – 2.1.243 RUSTUP_HOMENo description from anybody. 2.1.242 – 2.1.243 SAFEUSERNo description from anybody. 2.1.138 – 2.1.243 SCREENSHOT_DIRNo description from anybody. 2.1.145 – 2.1.243 SDK_NATIVE_BINNo description from anybody. 2.1.138 – 2.1.243 SELF_HOSTED_RUNNER_BASE_DIRThe self-hosted runner fails fast if its base directory is unwritable or the mount hangs. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_BG_RESULT_GRACE_MSSelf-hosted runners hold shutdown until a finished background task is read; the grace window is configurable. never mined SELF_HOSTED_RUNNER_CLIENT_LABELName a self-hosted runner with --client-label or an env var instead of using the hostname. never mined SELF_HOSTED_RUNNER_CONFIGURE_GITNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGSThe runner can warn about or block repo-committed settings that grant access outside the workspace. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_DEBUG_DIRNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_DEBUG_TOKEN_DIRNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_DEFER_SHUTDOWN_MAX_MSSelf-hosted runners can keep serving attached sessions on the first shutdown signal instead of draining. 2.1.238 – 2.1.243 SELF_HOSTED_RUNNER_DRAIN_GRACE_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_DRAIN_WAIT_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_ENVIRONMENT_SECRETRunner "pool" flags are renamed to "environment"; old names still work but warn. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_EXEC_PATHNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_HEALTH_PORTNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_HOOKS_DIRThe runner now has Windows errors for hooks and orchestrator mode, but they never fire. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_HOST_CONFIG_DIRNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_IDLE_SHUTDOWN_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_LOCK_TO_ACCOUNTNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_LOG_FILENo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_MAX_LIFETIME_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_POOL_SECRETRunner "pool" flags are renamed to "environment"; old names still work but warn. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_POST_SESSION_HOOK_TIMEOUT_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_PROXY_AUTHORIZATION_COMMANDThe self-hosted runner can generate a fresh proxy auth token for every outbound connection. never mined SELF_HOSTED_RUNNER_PROXY_AUTHORIZATION_FILEThe self-hosted runner can generate a fresh proxy auth token for every outbound connection. never mined SELF_HOSTED_RUNNER_PUSH_OUTCOME_ON_RELEASENo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_RETIRE_ATNew flags retire a runner at a set time, release idle sessions, and control drain behaviour. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_SESSION_IDLE_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_SESSION_STOP_GRACE_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_SIGKILL_TIMEOUT_MSNo description from anybody. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_STARTUP_TIMEOUT_MSYou can set a startup timeout for self-hosted runners, otherwise the built-in default applies. 2.1.224 – 2.1.243 SELF_HOSTED_RUNNER_TRUST_WORKSPACENo description from anybody. 2.1.224 – 2.1.243 SESSION_INGRESS_URLNo description from anybody. 2.1.138 – 2.1.243 SESSIONNAMENo description from anybody. 2.1.138 – 2.1.243 SHARP_FORCE_GLOBAL_LIBVIPSNo description from anybody. 2.1.138 – 2.1.243 SHARP_IGNORE_GLOBAL_LIBVIPSNo description from anybody. 2.1.138 – 2.1.243 SHELLNo description from anybody. 2.1.138 – 2.1.243 SLASH_COMMAND_TOOL_CHAR_BUDGETNo description from anybody. 2.1.138 – 2.1.243 SPACE_CREATOR_USER_IDNo description from anybody. 2.1.138 – 2.1.243 SRT_DEBUGNo description from anybody. 2.1.138 – 2.1.243 SRT_WIN_PATHNo description from anybody. 2.1.169 – 2.1.207 SSH_AUTH_SOCKNo description from anybody. 2.1.186 – 2.1.243 SSH_CLIENTNo description from anybody. 2.1.138 – 2.1.243 SSH_CONNECTIONNo description from anybody. 2.1.138 – 2.1.243 SSH_TTYNo description from anybody. 2.1.138 – 2.1.243 SSL_CERT_FILENo description from anybody. 2.1.138 – 2.1.243 STYNo description from anybody. 2.1.138 – 2.1.243 SUDO_GIDNo description from anybody. 2.1.235 – 2.1.243 SUDO_UIDNo description from anybody. 2.1.235 – 2.1.243 SUDO_USERNo description from anybody. 2.1.235 – 2.1.243 SWE_BENCH_INSTANCE_IDNo description from anybody. 2.1.138 – 2.1.243 SWE_BENCH_RUN_IDNo description from anybody. 2.1.138 – 2.1.243 SWE_BENCH_TASK_IDNo description from anybody. 2.1.138 – 2.1.243 SYSTEM_OIDCREQUESTURINo description from anybody. 2.1.138 – 2.1.243 SYSTEMROOTNo description from anybody. 2.1.138 – 2.1.243 TASK_MAX_OUTPUT_LENGTHNo description from anybody. 2.1.138 – 2.1.243 TEAM_MEMORY_SYNC_URLNo description from anybody. 2.1.138 – 2.1.209 TEMPNo description from anybody. 2.1.160 – 2.1.243 TERMPaste and clipboard handling now adjusts for Ghostty terminals, and the image hint was rebuilt. 2.1.138 – 2.1.243 TERM_PROGRAMNo description from anybody. 2.1.138 – 2.1.243 TERM_PROGRAM_VERSIONNo description from anybody. 2.1.138 – 2.1.243 TERMINALNo description from anybody. 2.1.138 – 2.1.243 TERMINAL_EMULATORNo description from anybody. 2.1.138 – 2.1.243 TERMINATOR_UUIDNo description from anybody. 2.1.138 – 2.1.243 TERMUX_VERSIONNo description from anybody. 2.1.138 – 2.1.243 TEST_ENABLE_SESSION_PERSISTENCENo description from anybody. 2.1.138 – 2.1.243 TEST_GRACEFUL_FS_GLOBAL_PATCHNo description from anybody. 2.1.138 – 2.1.243 TILIX_IDNo description from anybody. 2.1.138 – 2.1.243 TMPNo description from anybody. 2.1.160 – 2.1.243 TMPDIRNo description from anybody. 2.1.160 – 2.1.243 TMUXNo description from anybody. 2.1.138 – 2.1.243 TMUX_PANENo description from anybody. 2.1.138 – 2.1.243 TRACEPARENTNo description from anybody. 2.1.138 – 2.1.243 TRACESTATENo description from anybody. 2.1.138 – 2.1.243 ULTRAPLAN_PROMPT_FILENo description from anybody. 2.1.160 – 2.1.243 USE_API_CLEAR_TOOL_RESULTSNo description from anybody. 2.1.160 – 2.1.211 USE_API_CLEAR_TOOL_USESNo description from anybody. 2.1.160 – 2.1.211 USE_API_CONTEXT_MANAGEMENTNo description from anybody. 2.1.138 – 2.1.243 USE_BUILTIN_RIPGREPNo description from anybody. 2.1.138 – 2.1.243 USE_LOCAL_OAUTHNo description from anybody. 2.1.138 – 2.1.243 USE_STAGING_OAUTHNo description from anybody. 2.1.138 – 2.1.243 USERNo description from anybody. 2.1.138 – 2.1.243 USER_TYPEThe launcher now handles USER_TYPE specially when setting up the environment it passes down. never mined USERNAMENo description from anybody. 2.1.138 – 2.1.243 USERPROFILENo description from anybody. 2.1.138 – 2.1.243 UV_THREADPOOL_SIZENo description from anybody. 2.1.138 – 2.1.243 VCR_RECORDNo description from anybody. 2.1.138 – 2.1.243 VERCELNo description from anybody. 2.1.138 – 2.1.243 VERTEX_REGION_CLAUDE_5_OPUSOpus 5 is now the default Opus, with a 1M-context option in the model picker. never mined VISUALNo description from anybody. 2.1.138 – 2.1.243 VITALS_EMITTER_BINNo description from anybody. 2.1.239 – 2.1.243 VOICE_STREAM_BASE_URLNo description from anybody. 2.1.138 – 2.1.243 VSCODE_GIT_ASKPASS_MAINNo description from anybody. 2.1.138 – 2.1.243 VTE_VERSIONNo description from anybody. 2.1.138 – 2.1.243 WAYLAND_DISPLAYNo description from anybody. 2.1.161 – 2.1.243 WEBSITE_SITE_NAMENo description from anybody. 2.1.138 – 2.1.243 WEBSITE_SKUNo description from anybody. 2.1.138 – 2.1.243 WINDIRNo description from anybody. 2.1.242 – 2.1.243 WSL_DISTRO_NAMENo description from anybody. 2.1.138 – 2.1.243 WSL_INTEROPNo description from anybody. 2.1.157 – 2.1.243 WT_SESSIONNo description from anybody. 2.1.138 – 2.1.243 XDG_CONFIG_HOMERemote settings can now supply many more environment variables, including auth tokens and home directory paths. 2.1.138 – 2.1.243 XDG_DATA_HOMENo description from anybody. 2.1.208 – 2.1.243 XDG_RUNTIME_DIRThe messaging socket lives under XDG_RUNTIME_DIR with locked-down permissions and refuses to hijack a live one. 2.1.138 – 2.1.243 XTERM_VERSIONNo description from anybody. 2.1.138 – 2.1.243 ZDOTDIRNo description from anybody. 2.1.242 – 2.1.243 ZED_TERMNo description from anybody. 2.1.138 – 2.1.243 ZELLIJZellij is now detected as a terminal multiplexer alongside tmux and screen. 2.1.138 – 2.1.243

Nothing matches that.