Skip to content

docs(claude): explain how to turn on Claude artifacts - #31264

Open
seanx10m wants to merge 4 commits into
pingdotgg:mainfrom
seanx10m:docs/claude-artifacts
Open

seanx10m wants to merge 4 commits into
pingdotgg:mainfrom
seanx10m:docs/claude-artifacts

Conversation

@seanx10m

@seanx10m seanx10m commented Nov 5, 2026

Copy link
Copy Markdown

Problem

Claude threads in T3 Code have no Artifact tool, so when a user asks for an artifact the agent says the tool doesn't exist.
Claude Code leaves the tool off for Agent SDK sessions unless CLAUDE_CODE_ARTIFACT is set, and T3 Code launches Claude through the SDK.
The fix, setting that variable on the Claude provider, appears only in closed issues #7452 and #14816 and #16278.
Nothing in the user guide mentions it.

Change

Adds an Artifacts section to docs/user/providers-claude.md, next to Task lists, which documents CLAUDE_CODE_ENABLE_TODO_TOOLS=1 the same way.
It says how to turn artifacts on, points to Claude Code's own requirements for when that isn't enough, and says how to stop the browser opening on a remote host.
No code or default changes.

Scope and approval

Documentation for an existing, supported workflow.
CONTRIBUTING treats difficulty finding an existing workflow as a documentation problem.
The default stays off. Whether to change it or add a toggle is a separate question, in Ideas discussion #27826.

Verification

Claude Code 2.1.318, T3 Code 0.1.6 (Beta), macOS. This is the Artifact entries from the session's init tool list:

$ env -u CLAUDE_CODE_ARTIFACT CLAUDE_CODE_ENTRYPOINT=sdk-ts claude -p --setting-sources project \
    --output-format stream-json --verbose --max-turns 1 "ok" \
  | jq -c 'select(.type=="system" and .subtype=="init") | [.tools[]|select(test("^Artifact"))]'
[]
$ CLAUDE_CODE_ARTIFACT=1 CLAUDE_CODE_ENTRYPOINT=sdk-ts claude -p ...same...
["Artifact","ArtifactComments","ArtifactData"]
  • That result is from a claude.ai Enterprise login.
  • I set the variable through the provider instance's environment field in settings.json, which is the value the Environment section's Variables editor holds. I didn't click through the editor itself. The section and field names in the doc come from ProviderInstanceCard.tsx.
  • A new T3 thread on that login had CLAUDE_CODE_ARTIFACT=1 in its process and had the Artifact tool. Before the change, ToolSearch for select:Artifact returned nothing.
  • CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0 is documented by Claude Code's environment variable reference. I didn't run a publish on a remote host.

The variable isn't enough on every account, which is why the section links to Claude Code's requirements.
On a claude.ai Max login on the same machine, the same command with the variable set still lists no Artifact tool, and neither does a plain -p run outside the SDK entrypoint.
Claude Code's docs list Max as supported, so I don't know the cause. I didn't test whether an interactive terminal session on that login has the tool.

Not checked: Pro, Team, API-key, Bedrock, Vertex and Foundry accounts.

Written with Claude Opus 5.5 in Claude Code, running inside T3 Code.

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 5, 2026
@macroscopeapp

macroscopeapp Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at eced61d

Macroscope's review found this PR approvable — Documents how to opt into Claude artifacts, including account requirements and remote-host browser behavior. Existing product defaults and runtime behavior remain unchanged.

You can add or adjust custom eligibility rules. Learn more.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Claude provider guide documents how to enable Claude Code’s Artifact tool, eligibility requirements, and how to prevent automatic browser opening in remote sessions.

Changes: Claude Artifacts documentation

Layer / File(s) Summary
Artifact setup guidance
docs/user/providers-claude.md
The guide documents the CLAUDE_CODE_ARTIFACT setting, account and organization eligibility, and the CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0 setting for remote sessions.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: shivamhwp

Merge Risk: Minimal · up to 3ade5

This documentation-only change adds instructions for enabling Claude Code Artifacts. It does not alter any runtime behavior, and no concrete merge-blocking issue was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "docs(claude): explain how to turn on Claude artifacts" matches the change. The PR adds an Artifacts section to docs/user/providers-claude.md that explains how to enable the Artifact tool wi…
Description check Passed The description follows the template's required sections and is mostly complete. Problem and Change are clearly explained. Scope explains why this is a documentation fix for an existing workflow, and …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "docs(claude): explain how to turn on Claude artifacts" matches the change. The PR adds an Artifacts section to docs/user/providers-claude.md that explains how to enable the Artifact tool with CLAUDE_CODE_ARTIFACT. It follows the conventional commit format from the template and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the template's required sections and is mostly complete. Problem and Change are clearly explained. Scope explains why this is a documentation fix for an existing workflow, and links Ideas discussion #27826 for the separate default question. Verification gives specific commands, observed output, account types tested, and what was not checked. The template asks for a model and harness attribution, and the description includes one (Claude Opus 5.5 in Claude Code). The Scope section does not link a bug issue as the template asks, but it cites closed issues #7452, #14816 and #16278 in the Problem section and explains why no separate issue applies. These gaps are minor, so the check passes.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f0634e4 and 3ade50f.

Files selected for processing: 1

  • docs/user/providers-claude.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@maria-rcks

Copy link
Copy Markdown
Collaborator

Note

Written by gpt-6.1-sol on behalf of Maria

merged main into the existing branch and resolved the documentation conflict by keeping both the artifacts instructions and main's claude in chrome section. the diff against main remains one file, 14 added lines.

verification at f0634e4013d7fa526f10f055f784b7cd58d223fa: all 30 reported checks green; github reports clean mergeability; no unresolved review threads. blacksmith vp run check:changed FETCH_HEAD passed against merged main. its docs-only selection ran formatting and selected no code typechecks or tests. two independent reviews approved this head with no findings. settings labels and environment forwarding were checked against source, and both flags exist in the installed claude binary.

artifact publishing and automatic browser opening were not exercised with an eligible account.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 15, 2026
juliusmarminge and others added 2 commits November 15, 2026 04:29
T3 Code launches Claude Code with the t3-code entrypoint, for which Claude Code
loads its Artifact tools by default, so the section no longer claims they start
off. Setting CLAUDE_CODE_ARTIFACT to 1 or 0 works either way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge

Copy link
Copy Markdown
Member

The automated pipeline stopped on this pull request and will not merge it:

the fix is written and reviewed, but proving it needs something no worker has:

  • Permanent blocker: Publishing an artifact requires an eligible first-party claude.ai OAuth login, explicitly unavailable on every worker VM. Replay cannot verify Claude-specific behavior. The requested publishing flow and base/head runtime equivalence were therefore not demonstrated.

It stays open for a person to finish or close.

@github-actions

Copy link
Copy Markdown
Contributor

This PR conflicts with main. Rebase it or merge main into it. If it still conflicts after 7 days with no activity, it will be closed automatically.

See the conflict window.

@github-actions github-actions Bot added needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. and removed needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. labels Nov 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). takeover:blocked Takeover blocked; reason in the PR body vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants