{"name":"CLAUDE_CODE_ARTIFACT","slug":"claude-code-artifact","family":"env","title":"Environment variables","noun":"environment variable","description":"PR review artifact pages can show a pinned button that approves the pull request from your GitHub account.","description_source":"entry","described_by":{"version":"2.1.221","anchor":"pr-review-artifacts-can-carry-an-approve-on-github-button"},"presence":{"first_seen":"2.1.166","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":125,"mined_builds":150,"first_cited":{"version":"2.1.221","released_at":"2026-08-03 22:16:25","spans":2}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"artifact-and-api-base-url-env-vars-regrouped-into-shared-lis","heading":"Artifact and service address variables are now grouped in one list","line":"Claude Code now keeps the `CLAUDE_CODE_ARTIFACT*` variables in one list with several other server-address override variables","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.269","anchor":"new-bridge-child-env-vars-for-auto-permission-mode-and-artif","heading":"New bridge-child env vars for auto permission mode and artifact publishing","line":"New env vars let a bridge-spawned child session default to auto permission mode and force-enable artifacts","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text"},{"version":"2.1.269","anchor":"claude-code-bridge-child-artifact-new-artifact-inheritance","heading":"CLAUDE_CODE_BRIDGE_CHILD_ARTIFACT: new artifact-inheritance signal for bridge child sessions","line":"New CLAUDE_CODE_BRIDGE_CHILD_ARTIFACT env var signals artifact settings to bridge child sessions","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text"},{"version":"2.1.260","anchor":"artifact-tool-availability-now-has-an-explicit-off-switch-wi","heading":"Artifact tool availability now has an explicit off-switch with telemetry","line":"Whether the artifact tool is offered now follows an explicit, logged chain of checks.","released_at":"2026-09-03 22:32:02","reason":"found in this entry's text, named in this entry"},{"version":"2.1.223","anchor":"settings-supplied-api-and-credential-env-vars-are-stripped-w","heading":"Settings-supplied API and credential env vars are stripped when ANTHROPIC_UNIX_SOCKET is set","line":"When you connect through a unix socket, settings files can no longer override your API keys or endpoint.","released_at":"2026-08-05 22:51:13","reason":"found in this entry's text"},{"version":"2.1.221","anchor":"pr-review-artifacts-can-carry-an-approve-on-github-button","heading":"PR review artifacts can carry an \"Approve on GitHub\" button","line":"PR review artifact pages can show a pinned button that approves the pull request from your GitHub account.","released_at":"2026-08-03 22:16:25","reason":"named in this entry, found in this entry's text"},{"version":"2.1.221","anchor":"artifact-environment-variables-with-the-api-token-treated-as","heading":"Artifact environment variables, with the API token treated as a credential","line":"Three artifact environment variables are now recognised, with the API token stripped from spawned processes as a secret.","released_at":"2026-08-03 22:16:25","reason":"found in this entry's text"},{"version":"2.1.221","anchor":"artifact-credentials-and-artifact-base-urls-are-stripped-fro","heading":"Artifact credentials and artifact base URLs are stripped from child process environments","line":"Artifact tokens and artifact base URLs no longer leak into processes Claude spawns.","released_at":"2026-08-03 22:16:25","reason":"found in this entry's text"},{"version":"2.1.221","anchor":"new-artifact-diagramming-skill-and-slash-command","heading":"New artifact-diagramming skill and slash command","line":"A new \/artifact-diagramming command gives guidance on hand-authoring inline SVG diagrams inside Artifacts.","released_at":"2026-08-03 22:16:25","reason":"named in this entry, found in this entry's text"}],"entries_total":9,"docs":[{"source":"claude-code","path":"artifacts","title":"Share session output as artifacts","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"CLAUDE_CODE_3P_PROBE_WROTE_HAIKU_DEFAULT","slug":"claude-code-3p-probe-wrote-haiku-default","description":"If your cloud account cannot use a model, Claude Code can step down to the next one; `CLAUDE_CODE_DISABLE_MODEL_ACCESS_FALLBACK` turns this off"},{"name":"CLAUDE_CODE_3P_PROBE_WROTE_OPUS_DEFAULT","slug":"claude-code-3p-probe-wrote-opus-default","description":"Internal marker on third-party providers. When Claude Code itself writes `ANTHROPIC_DEFAULT_OPUS_MODEL` into its environment (the model availability probe on Bedrock, Vertex or Mantle, or a move down the model fallback ladder), it sets this variable to the same model ID. An `ANTHROPIC_DEFAULT_OPUS_MODEL` equal to it is treated as Claude Code's own choice rather than a user pin: it does not count as pinned, the probe does not skip it, and the fallback ladder may move it."},{"name":"CLAUDE_CODE_3P_PROBE_WROTE_SONNET_DEFAULT","slug":"claude-code-3p-probe-wrote-sonnet-default","description":"On third-party providers, Haiku model names are no longer skipped by the check that sets up the Sonnet default model"},{"name":"CLAUDE_CODE_3P_SEEDED_OPUS_DEFAULT","slug":"claude-code-3p-seeded-opus-default","description":"If your cloud account cannot use a model, Claude Code can step down to the next one; `CLAUDE_CODE_DISABLE_MODEL_ACCESS_FALLBACK` turns this off"},{"name":"CLAUDE_CODE_3P_SEEDED_SONNET_DEFAULT","slug":"claude-code-3p-seeded-sonnet-default","description":"If your cloud account cannot use a model, Claude Code can step down to the next one; `CLAUDE_CODE_DISABLE_MODEL_ACCESS_FALLBACK` turns this off"},{"name":"CLAUDE_CODE_ACCESSIBILITY","slug":"claude-code-accessibility","description":"Set 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"},{"name":"CLAUDE_CODE_ACCOUNT_TAGGED_ID","slug":"claude-code-account-tagged-id","description":"Overrides the `user.account_id` attribute Claude Code attaches to its OpenTelemetry data. It applies only when an account UUID is known and `OTEL_METRICS_INCLUDE_ACCOUNT_UUID` is not turned off (default on); when unset or empty, `user.account_id` is derived from the account UUID as a tagged ID of the form `user_01...`."},{"name":"CLAUDE_CODE_ACCOUNT_UUID","slug":"claude-code-account-uuid","description":"The device bridge is skipped entirely when the host's account UUID doesn't match the stored one."},{"name":"CLAUDE_CODE_ACT_DONT_REDERIVE","slug":"claude-code-act-dont-rederive","description":"Three existing feature gates moved position; their defaults are unchanged."},{"name":"CLAUDE_CODE_ACTION","slug":"claude-code-action","description":"Marks a run as coming from the Claude Code GitHub Action. A truthy value (`1`, `true`, `yes` or `on`) makes Claude Code set `CLAUDE_CODE_ENTRYPOINT` to `claude-code-github-action`, but only when `CLAUDE_CODE_ENTRYPOINT` is not already set and the command is not `claude mcp serve`. It is also reported as `isClaudeCodeAction` in the environment details attached to telemetry."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-artifact","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}