CLAUDE_CODE_ARTIFACT_PREVIEW
A Claude Code environment variable, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
An artifact preview action would screenshot a page locally at several widths, but it cannot run here.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.247.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.247Artifact
preview: a local headless-Chrome render check that is not compiled into this buildAn artifact preview action would screenshot a page locally at several widths, but it cannot run here.
named in this entry
Documentation pages
None of Anthropic's documentation pages this site has a copy of carries this name.
Names beside it
Every environment variable in the inventory starting claude_code_artifact, up to twelve of them.
CLAUDE_CODE_ARTIFACTPR review artifact pages can show a pinned button that approves the pull request from your GitHub account. 2.1.166
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
CLAUDE_CODE_ARTIFACT_ASSETSClaude can now upload, list, read and delete images, video, PDFs and fonts attached to your published artifacts. 2.1.234
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
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
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
CLAUDE_CODE_ARTIFACT_COMMENT_RESPONDERA read-only subagent that analyses one artifact comment thread exists but stays off. 2.1.227
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
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
CLAUDE_CODE_ARTIFACT_DBPublished artifacts can gain a document database Claude reads and writes, off unless you set the env var. 2.1.224
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
CLAUDE_CODE_ARTIFACT_DIRECT_UPLOADArtifact availability now hinges on one gate, and direct upload kicks in for create paths. 2.1.172
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.