{"name":"CLAUDE_CODE_AUTO_BACKGROUND_WORKER_CHECKIN_SECONDS","slug":"claude-code-auto-background-worker-checkin-seconds","family":"env","title":"Environment variables","noun":"environment variable","description":"When `CLAUDE_AUTO_BACKGROUND_TASKS` is enabled, seconds between reminders to Claude to check on [background subagents](\/docs\/en\/sub-agents#run-subagents-in-foreground-or-background) that are still running. Accepts a plain integer from `1` to `86400` only; any other value or spelling reads as unset. When unset, there are no check-in reminders. Requires Claude Code v2.1.248 or later","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.248","removed_in":"2.1.283","in_current_build":false,"newest_mined":"2.1.283","builds":27,"mined_builds":126,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.283","anchor":"worker-check-in-interval-becomes-an-escalating-schedule-via","heading":"Worker check-ins now follow a schedule set by CLAUDE_CODE_WORKER_CHECKIN_SCHEDULE","line":"One schedule variable replaces the two single-interval check-in variables, and setting the old ones no longer changes anything","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_CODE_AUTO_COMPACT_WINDOW","slug":"claude-code-auto-compact-window","description":"Set 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. The effective window is also capped at the model's context window. 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"},{"name":"CLAUDE_CODE_AUTO_CONNECT_IDE","slug":"claude-code-auto-connect-ide","description":"Override 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"},{"name":"CLAUDE_CODE_AUTO_MODE_ARTIFACT_CONSENT_RULE","slug":"claude-code-auto-mode-artifact-consent-rule","description":"The rule stopping Claude publishing artifacts you didn't ask for can now be removed remotely."},{"name":"CLAUDE_CODE_AUTO_MODE_CLASSIFY_ASK_USER_QUESTION","slug":"claude-code-auto-mode-classify-ask-user-question","description":"In auto mode, a question can be classified and handled instead of halting the run."},{"name":"CLAUDE_CODE_AUTO_MODE_EXTERNAL_PERMISSIONS","slug":"claude-code-auto-mode-external-permissions","description":null},{"name":"CLAUDE_CODE_AUTO_MODE_MODEL","slug":"claude-code-auto-mode-model","description":null},{"name":"CLAUDE_CODE_AUTO_MODE_OUTCOME_CODES","slug":"claude-code-auto-mode-outcome-codes","description":"The switch controlling outcome codes in auto mode now runs through a wrapper with an empty branch."},{"name":"CLAUDE_CODE_AUTO_MODE_REPO_VISIBILITY","slug":"claude-code-auto-mode-repo-visibility","description":"Auto mode's awareness of whether your repo is public now has its own environment variable and config field."},{"name":"CLAUDE_CODE_AUTO_MODE_SERVER","slug":"claude-code-auto-mode-server","description":"Controls whether Claude Code asks the server to [review auto mode actions](\/docs\/en\/permission-modes#server-side-classifier-review). Set to `0` to use Claude Code's own classifier requests instead. On a direct connection to the Anthropic API, requires v2.1.281 or later. The linked section lists which sessions ask the server when the variable is unset, and from which version. Requires Claude Code v2.1.271 or later"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-auto-background-worker-checkin-seconds","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}