Claude Code cannot read claude.ai artifact links (sandboxed frame blocks text extraction, scrolling, and export)
Status Open
Reported on v2.1.233
Maintainer reply None cached
Activity 0 comments · opened Aug 17, 2026
Summary
Claude Code cannot read the content of a claude.ai/code/artifact/... link, even though the link is Anthropic's own product surface and the user is fully authenticated. Asking Claude Code to "translate this artifact" (a colleague-shared org artifact) fails at every layer of tooling, ending in a dead end where the model can only see a single frozen screenshot of the document.
Steps to reproduce
- A teammate shares a Claude Code artifact link, e.g.
https://claude.ai/code/artifact/<uuid>?via=auto_preview(org-visible artifact, viewer is logged in and authorized — it opens fine in the user's own Chrome). - In a Claude Code session, ask: "translate this artifact into Chinese" with the link.
- Claude Code attempts, in order:
- WebFetch / non-authenticated browser → claude.ai returns "Page not found" (artifact requires auth).
- Claude in Chrome extension (authenticated) → the artifact page loads, but the artifact body renders inside a sandboxed cross-origin iframe (
claude.ai/code/frame/<uuid>→<uuid>.frame.claudeusercontent.com/_f/...signed URL): get_page_textreturns "No text content found".read_page(accessibility tree) shows only a single opaque node:generic "User-generated artifact content".- Synthetic scroll/keyboard input from the extension does not reach the iframe scroller, so the viewport is frozen at one scroll position — the model can screenshot exactly one screenful of a long document.
fetch()of the frame URL from the page context is blocked (CSP/CORS), and the signed query string is (correctly) redacted from the model, so there is no legitimate way to retrieve the document.- The artifact menu offers no Download/Copy/View-source for org-shared artifacts (only Duplicate / Report / Delete).
- Net result: the user has to manually print-to-PDF or copy-paste the artifact content to let Claude Code work on it.
Expected
Claude Code should be able to resolve Anthropic's own artifact links for an authenticated user — e.g.:
- a first-party resolver so WebFetch (or a dedicated tool) can fetch artifact source/text when the CLI is signed in to the same account/org, or
- the artifact viewer exposing text to the accessibility tree / an export endpoint the browser tools can use, or
- at minimum a "Copy content" / "Download" action on org-shared artifacts.
Environment
- Claude Code: 2.1.233 (desktop app session on macOS 26.6.1)
- Model: claude-fable-5
- Browser tooling: Claude in Chrome extension (authenticated), in-app Browser pane (unauthenticated)
🤖 Generated with Claude Code