Share session output as artifacts
--- a/artifacts.md
+++ b/artifacts.md
@@ -136,10 +136,10 @@
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
* **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
-Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see the artifacts your session is watching. `/tasks` groups the watches Claude Code started on its own under the **System tasks** row. Press `Enter` on that row to list them. A watch you asked Claude to start appears under **Monitors**. You can stop Claude from replying on its own in any of these ways:
+Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see the artifacts your session is watching. `/tasks` groups the watches Claude Code started on its own under the **System tasks** row. Press `Enter` on that row to list them. You can stop Claude from replying on its own in any of these ways:
* **Press Ctrl+C once at an idle, empty prompt** : Claude pauses replying on every artifact your session is watching. Replies start again after you send your next message.
- * **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
+ * **Stop the task in`/tasks`**: Claude stops replying on that artifact. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later. You can ask Claude to resume replies on that artifact, but Claude can’t always do so.
* **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
If you see `Stopped watching Artifact: <name>` followed by `(idle)`, `(connection lost)`, or `(made room for a newer watch)`, ask Claude to republish the artifact to restart the watch. A watch that Claude Code started on its own can end after several hours without activity.
@@ -171,7 +171,7 @@
* **The viewer hasn’t connected the connector** : they can add it at [claude.ai/customize/connectors](<https://claude.ai/customize/connectors>), then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
- * **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
+ * **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again.
## Offer a file download
@@ -217,7 +217,7 @@
## Improve the visual design
-Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record them where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
+When Claude builds an artifact, it looks for an existing design system in your project before choosing its own palette, typography, and layout. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record your design tokens where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
## Design system
@@ -296,14 +296,16 @@
### Check why `/design-sync` didn’t publish an artifact
-If `/design-sync` says it can’t publish, offers only to build locally, or uploads to standalone Claude Design when you didn’t choose that, check each of these requirements:
-
- * Claude Code v2.1.329 or later, with [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) on
- * A local session where artifacts are available for your plan and sign-in. [Cloud sessions](</docs/en/claude-code-on-the-web>) and sessions served by [`claude remote-control`](</docs/en/remote-control>) can’t sync to an artifact.
- * On Team and Enterprise plans, **Design systems** turned on under [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>). It’s on by default on Team plans and off on Enterprise plans. If your organization uses custom roles, your role also needs the [**Design systems** capability](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_d830917488>). If either is missing, ask an Owner to turn on the setting or add the capability to your role.
- * If the design system already has an artifact, permission to edit that artifact as the owner or an editor, and no public link to it. Ask the owner to make you an editor or remove the public link.
-
-If the design system has no artifact yet and your version or session misses one of the first two requirements, `/design-sync` uploads to standalone Claude Design at claude.ai/design. That site closes by December 14, 2026. After you fix what’s missing, start a new session and run `/design-sync` again.
+If `/design-sync` says it can’t publish, offers only to build locally, or uploads to standalone Claude Design when you didn’t choose that, find the requirement you’re missing in this table. Fix it, start a new session, and run `/design-sync` again.
+
+Check| What you need
+---|---
+Version| Claude Code v2.1.334 or later, or v2.1.329 or later with [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) on
+Telemetry or feature flags off| You can keep `DISABLE_TELEMETRY`, `DO_NOT_TRACK`, or `CLAUDE_CODE_DISABLE_FEATURE_FLAGS` set on v2.1.334 or later, so update if your version is earlier. To publish with one set, also leave `ANTHROPIC_BASE_URL` unset or pointing at `api.anthropic.com`.
+Session| A local session where artifacts are available for your plan and sign-in. [Cloud sessions](</docs/en/claude-code-on-the-web>) and [`claude remote-control`](</docs/en/remote-control>) sessions can’t sync to an artifact.
+First artifact on Team or Enterprise| **Design systems** turned on under [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>), plus the [**Design systems** capability](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_d830917488>) if your organization uses custom roles. The setting is off by default on Enterprise. Ask an Owner for either.
+Existing artifact| You own the artifact or are an editor, and it has no public link. The owner can make you an editor or remove the public link.
+Size| At most 4,080 published files and 256 MiB in total. Count up to two files per component, plus the moved files on your first sync after a move from standalone. To fit, tell Claude which components to exclude, and commit the `.design-sync/config.json` change. Before v2.1.334, a sync can stop at about 1,000 files, so update Claude Code.
## Page constraints
--- a/artifacts.md
+++ b/artifacts.md
@@ -251,6 +251,60 @@
Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn off only the `claude.ai Claude Docs` connector, see [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>). Keep the connector on if you use the Sheets template, which needs it too.
+## Sync a design system from your repository
+
+[`/design-sync`](</docs/en/commands#all-commands>) publishes the components in a React design system’s repository to claude.ai as a [Design System artifact](<https://support.claude.com/en/articles/14604397>), so your designs use your real components. Run `/design-sync` at the Claude Code prompt in the repository, optionally with a hint such as the design system’s name:
+
+ /design-sync Acme DS
+
+If the repository has no earlier sync, Claude asks you to confirm a name, creates a new artifact, and gives you its link. A first-time sync verifies every component and can take a few hours on a large repository. The new artifact is private to you until you share it. To keep syncing to the same artifact:
+
+ * **Change the design system in the code** : the artifact’s page is read-only after a sync, so edit the code and run `/design-sync` again.
+ * **Commit`.design-sync/artifact.json`**: Claude records the artifact’s link in this file, so you and your teammates update the same artifact on later syncs.
+ * **Let teammates sync** : on Team and Enterprise plans, make them editors of the artifact so their syncs can publish to it.
+
+### Move a design system from standalone Claude Design
+
+If your repository synced to standalone Claude Design, the separate site at claude.ai/design, move the design system to an artifact. The site closes by December 14, 2026. If the design system has already moved, `/design-sync` follows it without asking about the move, so go to step 4.
+
+1
+
+Get the design system's link
+
+When `/design-sync` asks “Move this design system to Claude now?”, select **Move it to Claude**. Claude gives you the link to the design system’s page in standalone Claude Design and waits for you to say how the move went. To send this sync to standalone Claude Design and get the question again next time, select **Not now**.
+
+2
+
+Start the move
+
+If you own the design system, open the link and [start the move](<https://support.claude.com/en/articles/17440474-move-from-standalone-claude-design-to-claude>). If someone else owns it, send them the link. Ask them to tell you when the move finishes and to make you an editor of the artifact.
+
+3
+
+Sync to the moved design system
+
+After the move finishes, tell Claude it’s done or run `/design-sync` again.
+
+4
+
+Check the files and confirm
+
+You can’t undo this sync’s changes to the artifact. When Claude shows the artifact’s link and the files to replace or remove, decide whether you need the current versions of those files:
+
+ * **You don’t need them** : confirm.
+ * **You need them or aren’t sure** : decline, open the artifact’s link, and select **Duplicate** in the title menu to keep a backup. If **Duplicate** is unavailable, ask the owner to duplicate the artifact. Then run `/design-sync` again and confirm.
+
+### Check why `/design-sync` didn’t publish an artifact
+
+If `/design-sync` says it can’t publish, offers only to build locally, or uploads to standalone Claude Design when you didn’t choose that, check each of these requirements:
+
+ * Claude Code v2.1.329 or later, with [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) on
+ * A local session where artifacts are available for your plan and sign-in. [Cloud sessions](</docs/en/claude-code-on-the-web>) and sessions served by [`claude remote-control`](</docs/en/remote-control>) can’t sync to an artifact.
+ * On Team and Enterprise plans, **Design systems** turned on under [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>). It’s on by default on Team plans and off on Enterprise plans. If your organization uses custom roles, your role also needs the [**Design systems** capability](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_d830917488>). If either is missing, ask an Owner to turn on the setting or add the capability to your role.
+ * If the design system already has an artifact, permission to edit that artifact as the owner or an editor, and no public link to it. Ask the owner to make you an editor or remove the public link.
+
+If the design system has no artifact yet and your version or session misses one of the first two requirements, `/design-sync` uploads to standalone Claude Design at claude.ai/design. That site closes by December 14, 2026. After you fix what’s missing, start a new session and run `/design-sync` again.
+
## Page constraints
Each artifact is served under a strict Content Security Policy (CSP) that limits what the page can do.
Show diff (105 lines)
--- a/artifacts.md
+++ b/artifacts.md
@@ -27,7 +27,7 @@
Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate.
-Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. The artifact stays private to you until you share it. After the first publish, Claude prints the URL, and your browser opens to the new page.
+The artifact stays private to you until you share it. After the first publish, Claude prints the URL, and your browser opens to the new page.
* **Reopen the page** : press `Ctrl+]` at any time to reopen the session’s most recent artifact
* **See this session’s artifacts** : a `⧉` pill below the prompt shows the artifact’s name, or a count when the session has several. In [fullscreen rendering](</docs/en/fullscreen>), click it to open the `/artifacts` list
@@ -38,7 +38,7 @@
### When Claude Code asks before publishing
-A new artifact that Claude publishes in response to a prompt you type goes through without a permission prompt or classifier review. In these cases Claude Code asks you first, or in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) has the classifier review the publish:
+A new artifact that Claude publishes in response to a prompt you type can go through without a permission prompt or classifier review. Outside `bypassPermissions` mode, the publish needs your approval in cases such as these, or the classifier’s review in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>):
When| What Claude Code does
---|---
@@ -46,14 +46,14 @@
The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
You shared the artifact publicly| Asks at least once per conversation before changing it, and before each reply to a comment on it
Claude publishes in a turn that a [session-scoped scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
-Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
+Claude publishes from a file it can’t read without your approval| Asks before publishing, or refuses the file. An allow rule for the `Artifact` tool doesn’t count as approval
In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
-To let Claude read a file outside your [working directories](</docs/en/permissions#working-directories>) without your approval, add its folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session. Claude already reads files in those directories, and in the temporary directory it writes pages to, without asking. If a publish prompt includes a sentence such as `Also makes 1 edit to that file on disk.`, Claude is changing the artifact’s file and publishing it in one step. When you approve the prompt, Claude Code publishes the page, then writes the change to your file.
+To let Claude read a file outside your [working directories](</docs/en/permissions#working-directories>) without your approval, add its folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session. If a publish prompt includes a sentence such as `Also makes 1 edit to that file on disk.`, Claude is changing the artifact’s file and publishing it in one step. When you approve the prompt, Claude Code publishes the page, then writes the change to your file.
## Update an artifact
-Ask Claude to revise the page, or let a long-running task republish as it makes progress. Claude edits the underlying file and publishes again to the same URL.
+Ask Claude to revise the page, or let a long-running task republish as it makes progress. Claude publishes again to the same URL.
Add a per-region breakdown below the summary chart and republish.
@@ -106,10 +106,10 @@
## Read an artifact shared with you
-When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude reads a page someone else wrote the way it reads a web page with [WebFetch](</docs/en/tools-reference#webfetch-tool-behavior>): it gets a summary of what it asked about rather than the raw page, and the summary reports instructions written into the page instead of relaying them. Claude Code also saves the page’s full source to a local file, which Claude can open when it needs the exact content, such as to republish the artifact as an editor. Claude Code asks for your approval before Claude reads the artifact in these cases, in addition to any prompt your permission mode or rules call for:
+When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude Code can save the page’s full source to a local file, which Claude can open. Claude Code can ask for your approval before the [Artifact tool](</docs/en/tools-reference>) reads an artifact in these cases, in addition to any prompt your permission mode or rules call for:
* **Cloud session without network access** : for a [cloud environment](</docs/en/cloud-environments#access-levels>), that’s the **None** level. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve instead; in a [Cowork](<https://claude.com/product/cowork>) session, the approval is yours alone.
- * **Another organization’s public artifact** : Claude Code asks you first, even in auto mode. Where Claude Code can’t ask you, such as in `bypassPermissions` mode, Claude can’t read the artifact. Claude can read these artifacts only while [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) is on.
+ * **Another organization’s public artifact** : the tool asks you first, even in auto mode. Where Claude Code can’t ask you, such as in `bypassPermissions` mode, the tool can’t read one you haven’t approved in this conversation. The tool can read these artifacts only while [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) is on.
* **Unconfirmed owner or network setting** : when Claude Code can’t confirm who made the artifact, or can’t confirm a cloud session’s network setting, it asks, and your approval covers that one request. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve or block the read instead of asking you.
* **Plan mode** : in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), Claude Code asks before the Artifact tool reads an artifact someone else in your organization made.
@@ -119,7 +119,7 @@
When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later. Claude reads the comments in two cases:
- * **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments. Claude lists each thread and marks the comments someone who can edit the artifact sent to it.
+ * **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments.
* **Someone who can edit the artifact sends a comment to Claude** : in a thread on the page, they send a comment with **Send to Claude** , or mention `@claude` in one. Either way, they activate the thread.
Claude can reply to or resolve only an activated thread. Other threads stay open until a person resolves them on the page. Viewers see each reply attributed to Claude, via you. If you share an artifact publicly, people whose only access is the public link don’t see its comments and can’t add any. Existing comment threads stay on the artifact, and you and its editors can still read and reply to them. To ask for the comments yourself, give Claude the URL:
@@ -132,7 +132,7 @@
After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
- * **Claude replies on its own** : if you’re in a permission mode that lets Claude post the reply without asking you, Claude reads the thread and replies. You see `Auto-replied to comment thread on Artifact: <name>`.
+ * **Claude replies on its own** : if you’re in a permission mode that lets Claude post the reply without asking you, Claude reads the thread and replies. You see a notice such as `Auto-replied to comment thread on Artifact: <name>`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
* **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
@@ -142,7 +142,7 @@
* **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
* **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
-A watch that Claude Code started on its own can end after the artifact goes several hours without activity. You see `Stopped watching Artifact: <name> (idle)`. To start the watch again, publish the artifact again or ask Claude to watch it. If you see `(made room for a newer watch)` in place of `(idle)`, your session reached its limit of 25 watches. Publish again to restart that watch. If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
+If you see `Stopped watching Artifact: <name>` followed by `(idle)`, `(connection lost)`, or `(made room for a newer watch)`, ask Claude to republish the artifact to restart the watch. A watch that Claude Code started on its own can end after several hours without activity.
## Pull live data with MCP connectors
@@ -232,7 +232,7 @@
The [artifact templates](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) on your claude.ai account also work from Claude Code. For example, use the [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) template for a visual design, or the [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) template for a document other people will read and edit. Your account can include others, such as Sheets, Whiteboards, or Data. To see which ones your session has, ask Claude to list the artifact templates available to you. To use a template from Claude Code, you need:
* A session where artifacts are available
- * On Team and Enterprise plans, the template turned on for your organization. If it’s off, ask an Owner to [turn the template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_6e06d8f1a8>) under **Organization settings > Artifacts** on claude.ai.
+ * On Team and Enterprise plans, the template turned on for your organization. If it’s off, ask an Owner to [turn the template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_6e06d8f1a8>) under [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) on claude.ai.
* On Enterprise plans with custom roles, a role that [includes the template](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_d830917488>)
* For the Docs and Sheets templates, the Claude Docs connector, which Claude uses to write the content of both. If you [turned the connector off](</docs/en/mcp#disable-claude-ai-connectors>), turn it back on first.
* Claude Code v2.1.265 or later, if you start the Design template with its `/design` command
@@ -253,7 +253,7 @@
## Page constraints
-Each artifact is one self-contained page. Claude Code wraps the file you publish in an HTML document shell and serves it under a strict Content Security Policy (CSP), which shapes what the page can do.
+Each artifact is served under a strict Content Security Policy (CSP) that limits what the page can do.
Constraint| Effect
---|---
@@ -282,7 +282,7 @@
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Sessions served by [`claude remote-control`](</docs/en/remote-control>) can publish artifacts when you started the session yourself. Requires Claude Code v2.1.281 or later. Off by default in the [Agent SDK](</docs/en/agent-sdk/overview>), the GitHub Action, and MCP-server contexts, when you run Claude Code with [`-p`](</docs/en/headless>) from your own terminal or scripts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
-Whether artifacts are allowed for your organization comes from your organization’s policy, which Claude Code loads from `api.anthropic.com`. When Claude Code can’t load the policy, artifacts are unavailable. When you ask for one, Claude says why. If a proxy, VPN, or web filter is involved, ask your IT admin to let `api.anthropic.com` through. Claude Code keeps retrying in the background, and artifacts become available once the policy loads and allows them.
+Whether artifacts are allowed for your organization comes from your organization’s policy, which Claude Code loads from `api.anthropic.com`. When Claude Code can’t load the policy, artifacts are unavailable. When you ask for one, Claude says why. If a proxy, VPN, or web filter is involved, ask whoever runs it to let `api.anthropic.com` through. Claude Code keeps retrying in the background, and artifacts become available once the policy loads and allows them.
## Disable artifacts
--- a/artifacts.md
+++ b/artifacts.md
@@ -57,7 +57,7 @@
Add a per-region breakdown below the summary chart and republish.
-Anyone with the page open sees the update in place. Each publish becomes a version, and from the **Share** control in the page header you can choose which version viewers see. To update an artifact from a different session, give Claude its URL, or attach it with `/artifacts`. Without either, a new session creates a new artifact instead of updating one.
+To update an artifact from a different session, give Claude its URL, or attach it with `/artifacts`. Without either, a new session creates a new artifact instead of updating one.
Update https://claude.ai/code/artifact/5fbea6f3-... with today's numbers.
--- a/artifacts.md
+++ b/artifacts.md
@@ -126,15 +126,11 @@
Read the comments on https://claude.ai/code/artifact/5fbea6f3-... and make the changes the commenters ask for.
-If Claude tells you it can’t read comments, confirm your version, your session, and your feature-flag setting:
-
- * You’re running Claude Code v2.1.221 or later.
- * You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude might not be able to read comments yet; start a new session and ask again.
- * You haven’t turned feature-flag fetching off.
+Before v2.1.326, Claude needs [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) on to read or watch comments.
### Let Claude reply to comments on its own
-After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
+After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
* **Claude replies on its own** : if you’re in a permission mode that lets Claude post the reply without asking you, Claude reads the thread and replies. You see `Auto-replied to comment thread on Artifact: <name>`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
@@ -154,11 +150,11 @@
Build a dashboard artifact of our open pull requests that pulls the live list through my GitHub connector when the page loads.
-Claude declares which connectors the page may call as part of publishing, and the page can’t call connectors outside that declaration. Only connectors from your claude.ai account qualify: Claude names them in the declaration, and when someone views the page, each call runs through the viewing account’s own connection to that connector. Local MCP servers you configure in Claude Code, such as servers from `.mcp.json`, can supply data while Claude builds the page, but the published page can’t call them. The page fetches data when it loads and can refresh on an interval or when a viewer uses a refresh control on the page. Responses are cached in the viewer’s browser, so a reopened page renders from the cached responses immediately, then updates with fresh results.
+Use a connector from your claude.ai account. Local MCP servers you configure in Claude Code, such as servers from `.mcp.json`, can supply data while Claude builds the page, but the published page can’t call them. The page fetches data when it loads and can refresh on an interval or when a viewer uses a refresh control on the page. Responses are cached in the viewer’s browser, so a reopened page renders from the cached responses immediately, then updates with fresh results.
### How connector calls work for viewers
-When a published page calls a connector, the call uses the account of the person viewing the page, not the account of the person who published it:
+By default, when a published page calls a connector, the call uses the account of the person viewing the page, not the account of the person who published it:
* **Each viewer uses their own connectors** : calls go through the viewing account’s connected tools, so two people opening the same dashboard can see different data depending on what their accounts can access. The page never sees anyone’s credentials; claude.ai makes the calls on the page’s behalf.
* **Viewers approve access first** : claude.ai asks each viewer for permission before the page’s first connector call. A viewer who declines, or who hasn’t connected a connector the page uses, still sees the page without its live sections.
@@ -166,11 +162,13 @@
When you plan to share a connector-backed page, ask Claude to include a fallback message in each live section that names the connector it needs. A viewer who’s missing the connection then sees what to connect instead of an empty section. You can share a connector-backed page within your organization or publicly, as your plan and organization settings allow. Connector calls don’t run for a viewer who opens the public link without signing in to claude.ai, or from outside your organization. That viewer sees the page without its live sections.
+If you turn on [live sharing](<https://support.claude.com/en/articles/17454700-get-started-with-claude-data#h_9b12806a2a>) for a dashboard, the calls you share run through your account. Check what data the dashboard shows before you share it.
+
### The page shows no live data for a viewer
When a connector-backed page renders but its live sections stay empty for a viewer in your organization, work through these causes:
- * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one at [claude.ai/customize/connectors](<https://claude.ai/customize/connectors>), then reload the page.
+ * **The viewer hasn’t connected the connector** : they can add it at [claude.ai/customize/connectors](<https://claude.ai/customize/connectors>), then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
* **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
@@ -181,7 +179,7 @@
Add a button that downloads this table as a CSV file.
-Claude declares the downloads capability as part of publishing, the same way it declares connectors.
+Claude declares the downloads capability as part of publishing.
## What you can build
--- a/artifacts.md
+++ b/artifacts.md
@@ -146,7 +146,7 @@
* **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
* **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
-A watch that Claude Code started on its own can end after the artifact goes several hours without activity. To start the watch again, publish the artifact again or ask Claude to watch it. If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
+A watch that Claude Code started on its own can end after the artifact goes several hours without activity. You see `Stopped watching Artifact: <name> (idle)`. To start the watch again, publish the artifact again or ask Claude to watch it. If you see `(made room for a newer watch)` in place of `(idle)`, your session reached its limit of 25 watches. Publish again to restart that watch. If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
## Pull live data with MCP connectors
@@ -315,7 +315,7 @@
Public sharing is off by default on Team and Enterprise plans. To let members publish artifacts to public links that anyone can view without signing in, go to [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
-### Set a retention policy
+### Set a retention policy on Enterprise plans
To set how long artifacts are kept before automatic deletion, go to [**Organization settings > Data and privacy**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
--- a/artifacts.md
+++ b/artifacts.md
@@ -44,7 +44,7 @@
---|---
The session is in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>)| Asks before the first publish of each artifact
The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
-You shared the artifact publicly| Asks once per conversation before changing it, and before each reply to a comment on it
+You shared the artifact publicly| Asks at least once per conversation before changing it, and before each reply to a comment on it
Claude publishes in a turn that a [session-scoped scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
--- a/artifacts.md
+++ b/artifacts.md
@@ -142,7 +142,7 @@
Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see the artifacts your session is watching. `/tasks` groups the watches Claude Code started on its own under the **System tasks** row. Press `Enter` on that row to list them. A watch you asked Claude to start appears under **Monitors**. You can stop Claude from replying on its own in any of these ways:
- * **Press Ctrl+C once at an idle prompt** : Claude pauses replying on every artifact your session is watching. Replies start again after you send your next message.
+ * **Press Ctrl+C once at an idle, empty prompt** : Claude pauses replying on every artifact your session is watching. Replies start again after you send your next message.
* **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
* **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
@@ -170,7 +170,7 @@
When a connector-backed page renders but its live sections stay empty for a viewer in your organization, work through these causes:
- * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under [**Customize > Connectors**](<https://claude.ai/customize/connectors>) on claude.ai, then reload the page.
+ * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one at [claude.ai/customize/connectors](<https://claude.ai/customize/connectors>), then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
* **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
@@ -229,19 +229,17 @@
Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works. For typography, Claude can load a typeface from Google Fonts, the one external font source an artifact page can load from. Claude inlines any other typeface as a `@font-face` data URI and gives every typeface a fallback stack, so the page still renders if a font doesn’t load. To use a specific typeface, name it in your prompt or your design system.
-## Start from a Slides, Design, or Docs template
-
-Instead of building a page from scratch, Claude can start an artifact from one of the templates on your claude.ai account: [Claude Slides](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) for a presentation, [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) for a visual design, or [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) for a document other people will read and edit. Each opens in its own editor on claude.ai, where you and your teammates change it directly or ask Claude to, and export it to formats such as PowerPoint, PDF, or Word. To start from a template, describe what you want, such as “turn the migration notes into a deck for Thursday’s review” or “write this plan up as a doc for the team”. Claude picks the matching template, fills it from your request and from what the session already has, and gives you the link. For a deck or a design you can also run `/slides` or `/design` with a brief.
-
-Templates are in beta. They’re on by default on Pro, Max, Ultra, and Team plans. On Enterprise plans, an Owner [turns each template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans>) under **Organization settings > Artifacts**. If your organization has the Slides template turned off, `/slides` doesn’t appear; if it has the Design template turned off, `/design` doesn’t draft designs. Both commands require Claude Code v2.1.265 or later and a session where artifacts are available.
-
-### Make a slide deck
-
-Run `/slides` with a brief that says what the deck covers and who it’s for:
-
- /slides a quarterly review of the platform team's reliability work, for the engineering all-hands
-
-Claude creates a Claude Slides artifact and gives you the link. Open it in a desktop browser to edit or present the deck. If you run `/slides` without a brief, Claude asks what the deck should be about before creating anything.
+## Start an artifact from a template
+
+The [artifact templates](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) on your claude.ai account also work from Claude Code. For example, use the [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) template for a visual design, or the [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) template for a document other people will read and edit. Your account can include others, such as Sheets, Whiteboards, or Data. To see which ones your session has, ask Claude to list the artifact templates available to you. To use a template from Claude Code, you need:
+
+ * A session where artifacts are available
+ * On Team and Enterprise plans, the template turned on for your organization. If it’s off, ask an Owner to [turn the template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_6e06d8f1a8>) under **Organization settings > Artifacts** on claude.ai.
+ * On Enterprise plans with custom roles, a role that [includes the template](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans#h_d830917488>)
+ * For the Docs and Sheets templates, the Claude Docs connector, which Claude uses to write the content of both. If you [turned the connector off](</docs/en/mcp#disable-claude-ai-connectors>), turn it back on first.
+ * Claude Code v2.1.265 or later, if you start the Design template with its `/design` command
+
+To start from a template, name it or describe what you want, such as “write this plan up as a doc for the team” or “make a shared task spreadsheet”. Claude picks the matching template, fills it from your request and from what the session already has, and gives you the link. To get a file instead, name the format, such as `.csv`. To edit the artifact yourself, open the link, which goes to that template’s editor on claude.ai. You can also keep asking Claude for changes from your session. For export formats, see [View and export](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_1403132eb8>).
### Draft a design canvas
@@ -253,7 +251,7 @@
### Write a document with Claude Docs
-Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn off only the `claude.ai Claude Docs` connector, see [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>).
+Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn off only the `claude.ai Claude Docs` connector, see [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>). Keep the connector on if you use the Sheets template, which needs it too.
## Page constraints
--- a/artifacts.md
+++ b/artifacts.md
@@ -264,7 +264,6 @@
External requests| The page can load typefaces from Google Fonts, and scripts from five public CDN hosts: cdnjs, unpkg, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
No backend| An artifact is a static page. It can’t authenticate viewers itself.
Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
-Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`, and must decode as UTF-8, or as little-endian UTF-16 by its byte-order mark. Markdown files render as styled document pages with syntax-highlighted code. A file that doesn’t decode, or that contains the replacement character `U+FFFD`, is [refused with the line and column to fix](</docs/en/errors#the-source-file-is-not-valid-utf-8-text>).
Source location| A file at a path that names a network host is refused without being read. See [Not published: that file is on a network share](</docs/en/errors#not-published-that-file-is-on-a-network-share>) for which paths are refused and the mapped-drive exception on Windows.
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
--- a/artifacts.md
+++ b/artifacts.md
@@ -322,9 +322,9 @@
To set how long artifacts are kept before automatic deletion, go to [**Organization settings > Data and privacy**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
-### Review the audit log
-
-Publishing, sharing, and deleting an artifact each appear in your organization’s audit log under the `claude_artifact_*` event types, the same family used for artifacts created in claude.ai conversations.
+### Audit artifact activity with the Compliance API
+
+On Enterprise plans, query the Compliance API’s [Activity Feed](<https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed>) to see who published, shared, or deleted an artifact. To find the activity types to filter by, expand `activity_types` in the [Activity Feed reference](<https://platform.claude.com/docs/en/api/compliance/activities/list>) and look for names that contain `artifact`.
### Allowlist the viewer domain
Show diff (466 lines)
--- a/artifacts.md
+++ b/artifacts.md
@@ -2,11 +2,7 @@
An [artifact](<https://claude.com/features/artifacts>) is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too.
-##
-
-
-
-When to use an artifact
+## When to use an artifact
Use an artifact when terminal text is the wrong medium for what Claude produced: output that is easier to look at and interact with than to read line by line. Claude builds the page from anything your session can reach, including your codebase and data it pulls through your [connected tools](</docs/en/mcp>), so the page can show things that would take paragraphs to describe. For example, ask Claude to:
@@ -19,19 +15,11 @@
See What you can build for prompts that match these, and Pull live data with MCP connectors for the connector-backed board’s prompt.
-###
-
-
-
-What an artifact is not
+### What an artifact is not
An artifact is a capture of work: one self-contained page with no backend, so it can’t serve multiple routes. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
-##
-
-
-
-Create an artifact
+## Create an artifact
Claude may publish an artifact on its own when the output suits a page, or you can ask for one directly. To ask, name the feature or describe the visual output you want in plain language. A good candidate is anything easier to see than to read as text, such as an annotated diff, a chart, or a set of options to compare. The prompts below are two examples; see What you can build for more patterns.
@@ -48,11 +36,7 @@
Claude picks the artifact’s title and a browser-tab icon that matches what the page is, such as a chart or a calendar. The title appears in your gallery of artifacts on claude.ai and in shared links. Ask Claude for a specific title or tab icon if you want one. If Claude responds that it can’t publish, or writes a local HTML file without a link, artifacts aren’t enabled for your session. Check the Availability requirements. If the terminal shows `Artifacts need a claude.ai login`, see [that error’s entry](</docs/en/errors#artifacts-need-a-claude-ai-login>) for how to sign in.
-###
-
-
-
-When Claude Code asks before publishing
+### When Claude Code asks before publishing
A new artifact that Claude publishes in response to a prompt you type goes through without a permission prompt or classifier review. In these cases Claude Code asks you first, or in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) has the classifier review the publish:
@@ -67,11 +51,7 @@
To let Claude read a file outside your [working directories](</docs/en/permissions#working-directories>) without your approval, add its folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session. Claude already reads files in those directories, and in the temporary directory it writes pages to, without asking. If a publish prompt includes a sentence such as `Also makes 1 edit to that file on disk.`, Claude is changing the artifact’s file and publishing it in one step. When you approve the prompt, Claude Code publishes the page, then writes the change to your file.
-##
-
-
-
-Update an artifact
+## Update an artifact
Ask Claude to revise the page, or let a long-running task republish as it makes progress. Claude edits the underlying file and publishes again to the same URL.
@@ -81,11 +61,7 @@
Update https://claude.ai/code/artifact/5fbea6f3-... with today's numbers.
-###
-
-
-
-Turn off one-step artifact updates
+### Turn off one-step artifact updates
A one-step update is a small change Claude makes to an artifact’s file as part of a publish, instead of through an `Edit` or `Write` call. To turn one-step updates off, set [`CLAUDE_CODE_ARTIFACT_PUBLISH_EDITS`](</docs/en/env-vars>) to `0`. This example adds the variable to the `env` block in `~/.claude/settings.json`:
@@ -97,11 +73,7 @@
Then quit and relaunch Claude Code, because a running session doesn’t reread the variable.
-##
-
-
-
-Find an artifact again
+## Find an artifact again
Run `/artifacts` in Claude Code to list the artifacts you own and the ones shared with you. The current session’s artifacts come first, under **This session**. Select an artifact, then press one of these keys:
@@ -112,11 +84,7 @@
Claude Code reads the list from your claude.ai account, so `/artifacts` works in a new session and after `/clear`, when an artifact’s link has scrolled out of the terminal.
-##
-
-
-
-Share an artifact
+## Share an artifact
A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Viewers in your organization can see who published the page: on an artifact shared within your organization, your name is in the title menu, and on a public artifact it’s in the page header for signed-in viewers in your organization. A viewer who opens a public link without signing in, or from outside your organization, sees the label `Content is user-generated and unverified.` instead of your name. Who you can share with depends on your plan:
@@ -124,11 +92,7 @@
* **People with access to a shared folder** : on Team and Enterprise plans, move the artifact to a folder that you own or are an editor of. Move it from the [Artifacts page](<https://claude.ai/artifacts>), which is available if you can use claude.ai chat. Everyone with access to the folder can then open it, and the folder’s owner and editors can change it.
* **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
-###
-
-
-
-Link to a specific view
+### Link to a specific view
If a page has several views, such as tabs or sections, you can link to one of them directly. Ask Claude for the links:
@@ -136,19 +100,11 @@
Each link is the artifact’s link with an anchor on the end, such as `#overview`.
-###
-
-
-
-Let someone edit with you
+### Let someone edit with you
People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL, or attach it from `/artifacts`, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live. If an editor publishes while Claude holds an older copy of the page, Claude Code refuses a publish built on that copy. Claude then merges its changes onto the newer version and publishes again.
-##
-
-
-
-Read an artifact shared with you
+## Read an artifact shared with you
When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude reads a page someone else wrote the way it reads a web page with [WebFetch](</docs/en/tools-reference#webfetch-tool-behavior>): it gets a summary of what it asked about rather than the raw page, and the summary reports instructions written into the page instead of relaying them. Claude Code also saves the page’s full source to a local file, which Claude can open when it needs the exact content, such as to republish the artifact as an editor. Claude Code asks for your approval before Claude reads the artifact in these cases, in addition to any prompt your permission mode or rules call for:
@@ -159,11 +115,7 @@
When Claude reads the artifact with WebFetch, WebFetch’s own [prompting rules](</docs/en/tools-reference#webfetch-tool-behavior>) still apply.
-##
-
-
-
-Collect comments on an artifact
+## Collect comments on an artifact
When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later. Claude reads the comments in two cases:
@@ -180,11 +132,7 @@
* You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude might not be able to read comments yet; start a new session and ask again.
* You haven’t turned feature-flag fetching off.
-###
-
-
-
-Let Claude reply to comments on its own
+### Let Claude reply to comments on its own
After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
@@ -200,11 +148,7 @@
A watch that Claude Code started on its own can end after the artifact goes several hours without activity. To start the watch again, publish the artifact again or ask Claude to watch it. If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
-##
-
-
-
-Pull live data with MCP connectors
+## Pull live data with MCP connectors
An artifact can call [MCP connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) each time someone views it, so the page shows current data rather than a snapshot from the session that built it. Connector calls from artifacts are available on Pro, Max, Ultra, Team, and Enterprise plans and require Claude Code v2.1.209 or later. On earlier versions, Claude publishes the page with whatever data the session gathered while building it. To create a connector-backed page, name the connector and the data you want in your prompt:
@@ -212,11 +156,7 @@
Claude declares which connectors the page may call as part of publishing, and the page can’t call connectors outside that declaration. Only connectors from your claude.ai account qualify: Claude names them in the declaration, and when someone views the page, each call runs through the viewing account’s own connection to that connector. Local MCP servers you configure in Claude Code, such as servers from `.mcp.json`, can supply data while Claude builds the page, but the published page can’t call them. The page fetches data when it loads and can refresh on an interval or when a viewer uses a refresh control on the page. Responses are cached in the viewer’s browser, so a reopened page renders from the cached responses immediately, then updates with fresh results.
-###
-
-
-
-How connector calls work for viewers
+### How connector calls work for viewers
When a published page calls a connector, the call uses the account of the person viewing the page, not the account of the person who published it:
@@ -226,11 +166,7 @@
When you plan to share a connector-backed page, ask Claude to include a fallback message in each live section that names the connector it needs. A viewer who’s missing the connection then sees what to connect instead of an empty section. You can share a connector-backed page within your organization or publicly, as your plan and organization settings allow. Connector calls don’t run for a viewer who opens the public link without signing in to claude.ai, or from outside your organization. That viewer sees the page without its live sections.
-###
-
-
-
-The page shows no live data for a viewer
+### The page shows no live data for a viewer
When a connector-backed page renders but its live sections stay empty for a viewer in your organization, work through these causes:
@@ -239,11 +175,7 @@
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
* **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
-##
-
-
-
-Offer a file download
+## Offer a file download
An artifact can offer viewers a file the page generates, such as a CSV export of a table or a PNG of a chart. The viewer saves it through a download control on the page, such as a button. File downloads are a runtime capability that claude.ai enables per account, so Claude checks whether your account has it before it builds the control. Viewers can’t save a file from an ordinary download link or a script on the page, because the artifact viewer on claude.ai blocks any download the page starts itself, including links to `data:` or `blob:` URLs. If a page has download buttons built that way, ask Claude to rebuild them with the downloads capability. To offer a file, ask for the control and the file format in your prompt:
@@ -251,69 +183,41 @@
Claude declares the downloads capability as part of publishing, the same way it declares connectors.
-##
-
-
-
-What you can build
+## What you can build
An artifact is a single HTML page, so anything you can express in HTML, CSS, and inline JavaScript is in scope. The patterns below come up most often.
-###
-
-
-
-Walk through a change
+### Walk through a change
Ask for a page that renders a diff or a design change with annotations beside the relevant lines, so reviewers can read your reasoning next to the code instead of reconstructing it from a description.
Make an artifact that walks through this PR. Render the diff with margin annotations and color-code findings by severity.
-###
-
-
-
-Compare alternatives
+### Compare alternatives
Ask for several variants on one page so you can evaluate them against each other. This works for layouts, copy, API shapes, or implementation plans.
Make an artifact with four distinctly different layouts for the settings panel. Vary density and grouping, and lay them out as a grid with a one-line tradeoff under each.
-###
-
-
-
-Tune with interactive controls
+### Tune with interactive controls
Ask for sliders, toggles, or input fields bound to whatever you are adjusting, so you can explore values directly instead of describing them.
Build an artifact with sliders for the easing curve, duration, and delay so I can try values on this transition. Show the animation live as I move them.
-###
-
-
-
-Bring the result back to your session
+### Bring the result back to your session
An artifact can act as a lightweight editor for a decision you then send back to Claude. Ask for an export control that produces text you can paste into the terminal, so the result of interacting with the page flows back into the session instead of staying on the page.
Make a triage board artifact with each open issue as a draggable card across Now, Next, Later, and Cut columns. Add a "Copy as prompt" button that gives me the final ordering to paste back here.
-###
-
-
-
-Track work in progress
+### Track work in progress
Ask Claude to keep an artifact current while a long task runs, so anyone with the link can follow along without reading the terminal.
Turn this migration plan into a checklist artifact. Check items off as you complete them and add a note for anything you skip.
-##
-
-
-
-Improve the visual design
+## Improve the visual design
Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record them where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
@@ -325,21 +229,13 @@
Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works. For typography, Claude can load a typeface from Google Fonts, the one external font source an artifact page can load from. Claude inlines any other typeface as a `@font-face` data URI and gives every typeface a fallback stack, so the page still renders if a font doesn’t load. To use a specific typeface, name it in your prompt or your design system.
-##
-
-
-
-Start from a Slides, Design, or Docs template
+## Start from a Slides, Design, or Docs template
Instead of building a page from scratch, Claude can start an artifact from one of the templates on your claude.ai account: [Claude Slides](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) for a presentation, [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) for a visual design, or [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) for a document other people will read and edit. Each opens in its own editor on claude.ai, where you and your teammates change it directly or ask Claude to, and export it to formats such as PowerPoint, PDF, or Word. To start from a template, describe what you want, such as “turn the migration notes into a deck for Thursday’s review” or “write this plan up as a doc for the team”. Claude picks the matching template, fills it from your request and from what the session already has, and gives you the link. For a deck or a design you can also run `/slides` or `/design` with a brief.
Templates are in beta. They’re on by default on Pro, Max, Ultra, and Team plans. On Enterprise plans, an Owner [turns each template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans>) under **Organization settings > Artifacts**. If your organization has the Slides template turned off, `/slides` doesn’t appear; if it has the Design template turned off, `/design` doesn’t draft designs. Both commands require Claude Code v2.1.265 or later and a session where artifacts are available.
-###
-
-
-
-Make a slide deck
+### Make a slide deck
Run `/slides` with a brief that says what the deck covers and who it’s for:
@@ -347,11 +243,7 @@
Claude creates a Claude Slides artifact and gives you the link. Open it in a desktop browser to edit or present the deck. If you run `/slides` without a brief, Claude asks what the deck should be about before creating anything.
-###
-
-
-
-Draft a design canvas
+### Draft a design canvas
To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as a Claude Design artifact. The brief names what you want drawn:
@@ -359,19 +251,11 @@
Open the published artifact in a desktop browser to review the artboards. Select an element on an artboard and change it, and your edits save automatically. You can export each artboard as PNG or PDF.
-###
-
-
-
-Write a document with Claude Docs
+### Write a document with Claude Docs
Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn off only the `claude.ai Claude Docs` connector, see [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>).
-##
-
-
-
-Page constraints
+## Page constraints
Each artifact is one self-contained page. Claude Code wraps the file you publish in an HTML document shell and serves it under a strict Content Security Policy (CSP), which shapes what the page can do.
@@ -391,11 +275,7 @@
* Omit interactivity you do not need
* Have the page summarize large datasets rather than inline them in full
-##
-
-
-
-Availability
+## Availability
Artifacts require every condition below. When one is not met, Claude writes a local HTML file or says it cannot publish instead.
@@ -409,11 +289,7 @@
Whether artifacts are allowed for your organization comes from your organization’s policy, which Claude Code loads from `api.anthropic.com`. When Claude Code can’t load the policy, artifacts are unavailable. When you ask for one, Claude says why. If a proxy, VPN, or web filter is involved, ask your IT admin to let `api.anthropic.com` through. Claude Code keeps retrying in the background, and artifacts become available once the policy loads and allows them.
-##
-
-
-
-Disable artifacts
+## Disable artifacts
To turn artifacts off for your own sessions regardless of your organization’s setting, use any of:
@@ -426,67 +302,35 @@
Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later. If you add a `WebFetch` deny or ask rule with no `domain:` part, it doesn’t turn artifacts off or block artifact reads. A [`WebFetch(domain:claude.ai)` rule in `deny` or `ask` does apply to artifact reads](</docs/en/permissions#allow-or-deny-every-fetch>).
-##
-
-
-
-Manage artifacts for your organization
+## Manage artifacts for your organization
Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/artifacts>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization and the people they share it with, unless the artifact is shared publicly.
-###
-
-
-
-Enable or disable artifacts
+### Enable or disable artifacts
To enable or disable artifacts for the whole organization, go to [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to [**Organization settings > Roles**](<https://claude.ai/admin-settings/roles>), edit a role, and set the **Artifacts** permission.
-###
-
-
-
-Control connector calls from artifacts
+### Control connector calls from artifacts
Connector calls from artifacts have their own toggle, separate from the **Artifacts** toggle that turns artifacts on or off. Go to [**Organization settings > Capabilities**](<https://claude.ai/admin-settings/capabilities>) and use the **Enable artifact connectors** toggle. The same toggle governs connector calls from artifacts created in claude.ai conversations.
-###
-
-
-
-Control public sharing
+### Control public sharing
Public sharing is off by default on Team and Enterprise plans. To let members publish artifacts to public links that anyone can view without signing in, go to [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
-###
-
-
-
-Set a retention policy
+### Set a retention policy
To set how long artifacts are kept before automatic deletion, go to [**Organization settings > Data and privacy**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
-###
-
-
-
-Review the audit log
+### Review the audit log
Publishing, sharing, and deleting an artifact each appear in your organization’s audit log under the `claude_artifact_*` event types, the same family used for artifacts created in claude.ai conversations.
-###
-
-
-
-Allowlist the viewer domain
+### Allowlist the viewer domain
The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render. Artifacts can also load JavaScript libraries, such as React or a charting package, from `cdnjs.cloudflare.com`, `cdn.jsdelivr.net`, `cdn.tailwindcss.com`, `code.jquery.com`, and `unpkg.com`, and from no other external host. If you block those hosts, the parts of an artifact that depend on a library don’t work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once rather than hanging until it times out.
-###
-
-
-
-List and delete artifacts with the Compliance API
+### List and delete artifacts with the Compliance API
The [Compliance API](<https://docs.claude.com/en/api/compliance>) provides endpoints to list an organization’s artifacts, retrieve a specific version’s content, and delete an artifact:
@@ -498,11 +342,7 @@
For the request and response schemas, see the [Compliance API reference](<https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts>).
-##
-
-
-
-Related resources
+## Related resources
* Browse [prompting patterns and workflows](</docs/en/prompt-library>) that pair with artifacts
* Turn an artifact prompt you reuse into a [skill](</docs/en/skills>) so you can invoke it as a command
--- a/artifacts.md
+++ b/artifacts.md
@@ -60,7 +60,7 @@
---|---
The session is in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>)| Asks before the first publish of each artifact
The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
-You shared the artifact publicly| Asks once per conversation before changing it
+You shared the artifact publicly| Asks once per conversation before changing it, and before each reply to a comment on it
Claude publishes in a turn that a [session-scoped scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
@@ -80,6 +80,22 @@
Anyone with the page open sees the update in place. Each publish becomes a version, and from the **Share** control in the page header you can choose which version viewers see. To update an artifact from a different session, give Claude its URL, or attach it with `/artifacts`. Without either, a new session creates a new artifact instead of updating one.
Update https://claude.ai/code/artifact/5fbea6f3-... with today's numbers.
+
+###
+
+
+
+Turn off one-step artifact updates
+
+A one-step update is a small change Claude makes to an artifact’s file as part of a publish, instead of through an `Edit` or `Write` call. To turn one-step updates off, set [`CLAUDE_CODE_ARTIFACT_PUBLISH_EDITS`](</docs/en/env-vars>) to `0`. This example adds the variable to the `env` block in `~/.claude/settings.json`:
+
+ {
+ "env": {
+ "CLAUDE_CODE_ARTIFACT_PUBLISH_EDITS": "0"
+ }
+ }
+
+Then quit and relaunch Claude Code, because a running session doesn’t reread the variable.
##
@@ -105,6 +121,7 @@
A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Viewers in your organization can see who published the page: on an artifact shared within your organization, your name is in the title menu, and on a public artifact it’s in the page header for signed-in viewers in your organization. A viewer who opens a public link without signing in, or from outside your organization, sees the label `Content is user-generated and unverified.` instead of your name. Who you can share with depends on your plan:
* **Within your organization** : on Team and Enterprise plans, grant access to specific people in your organization, or to everyone in it. Viewers sign in to claude.ai as members of your organization to see the page.
+ * **People with access to a shared folder** : on Team and Enterprise plans, move the artifact to a folder that you own or are an editor of. Move it from the [Artifacts page](<https://claude.ai/artifacts>), which is available if you can use claude.ai chat. Everyone with access to the folder can then open it, and the folder’s owner and editors can change it.
* **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -137,7 +137,7 @@
* **Cloud session without network access** : for a [cloud environment](</docs/en/cloud-environments#access-levels>), that’s the **None** level. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve instead; in a [Cowork](<https://claude.com/product/cowork>) session, the approval is yours alone.
* **Another organization’s public artifact** : Claude Code asks you first, even in auto mode. Where Claude Code can’t ask you, such as in `bypassPermissions` mode, Claude can’t read the artifact. Claude can read these artifacts only while [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) is on.
- * **Unconfirmed owner or network setting** : when Claude Code can’t confirm who made the artifact, or can’t confirm a cloud session’s network setting, it asks, and your approval covers that one request.
+ * **Unconfirmed owner or network setting** : when Claude Code can’t confirm who made the artifact, or can’t confirm a cloud session’s network setting, it asks, and your approval covers that one request. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve or block the read instead of asking you.
* **Plan mode** : in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), Claude Code asks before the Artifact tool reads an artifact someone else in your organization made.
When Claude reads the artifact with WebFetch, WebFetch’s own [prompting rules](</docs/en/tools-reference#webfetch-tool-behavior>) still apply.
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,4 +1,4 @@
-Artifacts are available on Pro, Max, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
+Artifacts are available on Pro, Max, Ultra, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
An [artifact](<https://claude.com/features/artifacts>) is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too.
@@ -189,7 +189,7 @@
Pull live data with MCP connectors
-An artifact can call [MCP connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) each time someone views it, so the page shows current data rather than a snapshot from the session that built it. Connector calls from artifacts are available on Pro, Max, Team, and Enterprise plans and require Claude Code v2.1.209 or later. On earlier versions, Claude publishes the page with whatever data the session gathered while building it. To create a connector-backed page, name the connector and the data you want in your prompt:
+An artifact can call [MCP connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) each time someone views it, so the page shows current data rather than a snapshot from the session that built it. Connector calls from artifacts are available on Pro, Max, Ultra, Team, and Enterprise plans and require Claude Code v2.1.209 or later. On earlier versions, Claude publishes the page with whatever data the session gathered while building it. To create a connector-backed page, name the connector and the data you want in your prompt:
Build a dashboard artifact of our open pull requests that pulls the live list through my GitHub connector when the page loads.
@@ -316,7 +316,7 @@
Instead of building a page from scratch, Claude can start an artifact from one of the templates on your claude.ai account: [Claude Slides](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) for a presentation, [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) for a visual design, or [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) for a document other people will read and edit. Each opens in its own editor on claude.ai, where you and your teammates change it directly or ask Claude to, and export it to formats such as PowerPoint, PDF, or Word. To start from a template, describe what you want, such as “turn the migration notes into a deck for Thursday’s review” or “write this plan up as a doc for the team”. Claude picks the matching template, fills it from your request and from what the session already has, and gives you the link. For a deck or a design you can also run `/slides` or `/design` with a brief.
-Templates are in beta. They’re on by default on Pro, Max, and Team plans. On Enterprise plans, an Owner [turns each template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans>) under **Organization settings > Artifacts**. If your organization has the Slides template turned off, `/slides` doesn’t appear; if it has the Design template turned off, `/design` doesn’t draft designs. Both commands require Claude Code v2.1.265 or later and a session where artifacts are available.
+Templates are in beta. They’re on by default on Pro, Max, Ultra, and Team plans. On Enterprise plans, an Owner [turns each template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans>) under **Organization settings > Artifacts**. If your organization has the Slides template turned off, `/slides` doesn’t appear; if it has the Design template turned off, `/design` doesn’t draft designs. Both commands require Claude Code v2.1.265 or later and a session where artifacts are available.
###
@@ -384,7 +384,7 @@
Requirement| Available when
---|---
-Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you until you share them, and no admin management applies. On Team and Enterprise plans, artifacts are on by default, and an Owner can turn them off for the organization in claude.ai admin settings.
+Plan| Pro, Max, Ultra, Team, or Enterprise. On Pro, Max, and Ultra plans, artifacts are private to you until you share them, and no admin management applies. On Team and Enterprise plans, artifacts are on by default, and an Owner can turn them off for the organization in claude.ai admin settings.
Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions need no sign-in step. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
--- a/artifacts.md
+++ b/artifacts.md
@@ -385,7 +385,7 @@
Requirement| Available when
---|---
Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you until you share them, and no admin management applies. On Team and Enterprise plans, artifacts are on by default, and an Owner can turn them off for the organization in claude.ai admin settings.
-Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions are signed in through the agent’s identity, so no step is needed there. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
+Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions need no sign-in step. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Sessions served by [`claude remote-control`](</docs/en/remote-control>) can publish artifacts when you started the session yourself. Requires Claude Code v2.1.281 or later. Off by default in the [Agent SDK](</docs/en/agent-sdk/overview>), the GitHub Action, and MCP-server contexts, when you run Claude Code with [`-p`](</docs/en/headless>) from your own terminal or scripts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
--- a/artifacts.md
+++ b/artifacts.md
@@ -89,7 +89,7 @@
Run `/artifacts` in Claude Code to list the artifacts you own and the ones shared with you. The current session’s artifacts come first, under **This session**. Select an artifact, then press one of these keys:
- * **`Enter`** : opens it in your browser when it’s already attached to the current session, and attaches it when it isn’t. Before v2.1.216, `Enter` opened it in your browser
+ * **`Enter`** : opens it in your browser when it’s already attached to the current session, and attaches it when it isn’t
* **`o`** : opens it in your browser
* **`c`** : copies its link
* **`d`** : outside a [cloud session](</docs/en/claude-code-on-the-web>), permanently deletes an artifact you own after you confirm. Its link stops working for everyone, including you
@@ -217,7 +217,7 @@
When a connector-backed page renders but its live sections stay empty for a viewer in your organization, work through these causes:
- * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under **Settings > Connectors** on claude.ai, then reload the page.
+ * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under [**Customize > Connectors**](<https://claude.ai/customize/connectors>) on claude.ai, then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
* **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
--- a/artifacts.md
+++ b/artifacts.md
@@ -348,7 +348,7 @@
Write a document with Claude Docs
-Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn the connector off, add `claude.ai Claude Docs` to `deniedMcpServers` or use the `/mcp` toggle, both described in [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>).
+Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn off only the `claude.ai Claude Docs` connector, see [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>).
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -106,6 +106,18 @@
* **Within your organization** : on Team and Enterprise plans, grant access to specific people in your organization, or to everyone in it. Viewers sign in to claude.ai as members of your organization to see the page.
* **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
+
+###
+
+
+
+Link to a specific view
+
+If a page has several views, such as tabs or sections, you can link to one of them directly. Ask Claude for the links:
+
+ Give me a link to each tab of the deploy failures dashboard.
+
+Each link is the artifact’s link with an anchor on the end, such as `#overview`.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -92,8 +92,9 @@
* **`Enter`** : opens it in your browser when it’s already attached to the current session, and attaches it when it isn’t. Before v2.1.216, `Enter` opened it in your browser
* **`o`** : opens it in your browser
* **`c`** : copies its link
-
-Claude Code reads the list from your claude.ai account, so it works in a new session and after `/clear`, when the link has scrolled out of the terminal.
+ * **`d`** : outside a [cloud session](</docs/en/claude-code-on-the-web>), permanently deletes an artifact you own after you confirm. Its link stops working for everyone, including you
+
+Claude Code reads the list from your claude.ai account, so `/artifacts` works in a new session and after `/clear`, when an artifact’s link has scrolled out of the terminal.
##
@@ -462,11 +463,11 @@
Method| Endpoint
---|---
-`GET`| `/v1/compliance/code/artifacts`
-`GET`| `/v1/compliance/code/artifacts/{artifact_id}/versions/{version_id}`
-`DELETE`| `/v1/compliance/code/artifacts/{artifact_id}`
-
-For the request and response schemas, see the [Compliance API reference](<https://docs.claude.com/en/api/compliance/code/artifacts>).
+`GET`| `/v1/compliance/apps/code/artifacts`
+`GET`| `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
+`DELETE`| `/v1/compliance/apps/code/artifacts/{artifact_id}`
+
+For the request and response schemas, see the [Compliance API reference](<https://platform.claude.com/docs/en/api/compliance/apps/code/artifacts>).
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -61,7 +61,7 @@
The session is in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>)| Asks before the first publish of each artifact
The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
You shared the artifact publicly| Asks once per conversation before changing it
-Claude publishes in a turn that a [scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
+Claude publishes in a turn that a [session-scoped scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
@@ -87,7 +87,7 @@
Find an artifact again
-Run `/artifacts` in Claude Code to list the artifacts you own and the ones shared with you. The current session’s artifacts come first, under **This session**. Requires Claude Code v2.1.208 or later. Select an artifact, then press one of these keys:
+Run `/artifacts` in Claude Code to list the artifacts you own and the ones shared with you. The current session’s artifacts come first, under **This session**. Select an artifact, then press one of these keys:
* **`Enter`** : opens it in your browser when it’s already attached to the current session, and attaches it when it isn’t. Before v2.1.216, `Enter` opened it in your browser
* **`o`** : opens it in your browser
--- a/artifacts.md
+++ b/artifacts.md
@@ -61,7 +61,6 @@
The session is in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>)| Asks before the first publish of each artifact
The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
You shared the artifact publicly| Asks once per conversation before changing it
-You turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off| Asks before the first publish of each artifact
Claude publishes in a turn that a [scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
@@ -126,7 +125,7 @@
* **Cloud session without network access** : for a [cloud environment](</docs/en/cloud-environments#access-levels>), that’s the **None** level. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve instead; in a [Cowork](<https://claude.com/product/cowork>) session, the approval is yours alone.
* **Another organization’s public artifact** : Claude Code asks you first, even in auto mode. Where Claude Code can’t ask you, such as in `bypassPermissions` mode, Claude can’t read the artifact. Claude can read these artifacts only while [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) is on.
* **Unconfirmed owner or network setting** : when Claude Code can’t confirm who made the artifact, or can’t confirm a cloud session’s network setting, it asks, and your approval covers that one request.
- * **Plan mode, or feature-flag fetching turned off** : in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), or if you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code asks before the Artifact tool reads an artifact someone else in your organization made.
+ * **Plan mode** : in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), Claude Code asks before the Artifact tool reads an artifact someone else in your organization made.
When Claude reads the artifact with WebFetch, WebFetch’s own [prompting rules](</docs/en/tools-reference#webfetch-tool-behavior>) still apply.
--- a/artifacts.md
+++ b/artifacts.md
@@ -64,8 +64,9 @@
You turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off| Asks before the first publish of each artifact
Claude publishes in a turn that a [scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
-
-Claude reads files in your session’s [working directories](</docs/en/permissions#working-directories>), and in the temporary directory it writes pages to, without asking. To let Claude publish from another folder without the prompt, add the folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session.
+In [Manual](</docs/en/permission-modes>) or `acceptEdits` mode, Claude makes a small change to an artifact’s file it can’t edit without your approval, such as a project file in Manual mode| Asks before publishing the change. You’re asked even if an allow rule covers the `Artifact` tool, because the edit to the file needs your approval
+
+To let Claude read a file outside your [working directories](</docs/en/permissions#working-directories>) without your approval, add its folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session. Claude already reads files in those directories, and in the temporary directory it writes pages to, without asking. If a publish prompt includes a sentence such as `Also makes 1 edit to that file on disk.`, Claude is changing the artifact’s file and publishing it in one step. When you approve the prompt, Claude Code publishes the page, then writes the change to your file.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -158,7 +158,7 @@
After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
- * **Claude replies on its own** : when your permission mode lets Claude post the reply without asking you, Claude reads the thread and replies, and edits the artifact when the comment asks for a change. You see `Auto-replied to comment thread on Artifact: <name>` or `Auto-edited Artifact: <name> in response to a comment thread`.
+ * **Claude replies on its own** : if you’re in a permission mode that lets Claude post the reply without asking you, Claude reads the thread and replies. You see `Auto-replied to comment thread on Artifact: <name>`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
* **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
--- a/artifacts.md
+++ b/artifacts.md
@@ -39,7 +39,33 @@
Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate.
-Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. Outside [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), a new artifact that Claude publishes in response to a prompt you type goes through without a permission prompt or classifier review, unless that publish declares runtime capabilities for the page, such as connector calls or file downloads. In plan mode, Claude Code asks you before the first publish of each artifact. The artifact stays private to you until you share it. After you share it publicly, Claude Code asks for your approval once per conversation before changing it, or in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) has the classifier review the change. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code asks before the first publish of each artifact, or in auto mode has the classifier review it. After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji, and both appear in your gallery of artifacts on claude.ai and in shared links. Claude can also pick a browser-tab icon that matches what the page is, such as a chart or a calendar. Ask Claude for a specific title, emoji, or tab icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. The artifact stays private to you until you share it. After the first publish, Claude prints the URL, and your browser opens to the new page.
+
+ * **Reopen the page** : press `Ctrl+]` at any time to reopen the session’s most recent artifact
+ * **See this session’s artifacts** : a `⧉` pill below the prompt shows the artifact’s name, or a count when the session has several. In [fullscreen rendering](</docs/en/fullscreen>), click it to open the `/artifacts` list
+ * **Keep the browser from opening** : set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment
+ * **Remote Control** : if you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal
+
+Claude picks the artifact’s title and a browser-tab icon that matches what the page is, such as a chart or a calendar. The title appears in your gallery of artifacts on claude.ai and in shared links. Ask Claude for a specific title or tab icon if you want one. If Claude responds that it can’t publish, or writes a local HTML file without a link, artifacts aren’t enabled for your session. Check the Availability requirements. If the terminal shows `Artifacts need a claude.ai login`, see [that error’s entry](</docs/en/errors#artifacts-need-a-claude-ai-login>) for how to sign in.
+
+###
+
+
+
+When Claude Code asks before publishing
+
+A new artifact that Claude publishes in response to a prompt you type goes through without a permission prompt or classifier review. In these cases Claude Code asks you first, or in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) has the classifier review the publish:
+
+When| What Claude Code does
+---|---
+The session is in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>)| Asks before the first publish of each artifact
+The publish declares runtime capabilities for the page, such as connector calls or file downloads| Asks before that publish
+You shared the artifact publicly| Asks once per conversation before changing it
+You turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off| Asks before the first publish of each artifact
+Claude publishes in a turn that a [scheduled task](</docs/en/scheduled-tasks>) firing in your session started, rather than a prompt you typed| Asks before the first publish of each artifact
+Claude can’t read the file without your approval| Asks before publishing it. An allow rule for the `Artifact` tool doesn’t skip this prompt
+
+Claude reads files in your session’s [working directories](</docs/en/permissions#working-directories>), and in the temporary directory it writes pages to, without asking. To let Claude publish from another folder without the prompt, add the folder as a working directory with [`--add-dir`](</docs/en/cli-reference#cli-flags>) at launch or `/add-dir` during the session.
##
@@ -61,7 +87,13 @@
Find an artifact again
-Run `/artifacts` in Claude Code to list every artifact you own and every artifact shared with you. Select one and press `o` to open it in your browser or `c` to copy its link. Press `Enter` to attach it to the current session; before v2.1.216, `Enter` opened it in your browser. Claude Code reads the list from your claude.ai account, so it works in a new session and after `/clear`, when the link has scrolled out of the terminal. Requires Claude Code v2.1.208 or later.
+Run `/artifacts` in Claude Code to list the artifacts you own and the ones shared with you. The current session’s artifacts come first, under **This session**. Requires Claude Code v2.1.208 or later. Select an artifact, then press one of these keys:
+
+ * **`Enter`** : opens it in your browser when it’s already attached to the current session, and attaches it when it isn’t. Before v2.1.216, `Enter` opened it in your browser
+ * **`o`** : opens it in your browser
+ * **`c`** : copies its link
+
+Claude Code reads the list from your claude.ai account, so it works in a new session and after `/clear`, when the link has scrolled out of the terminal.
##
@@ -80,7 +112,7 @@
Let someone edit with you
-People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL, or attach it from `/artifacts`, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
+People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL, or attach it from `/artifacts`, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live. If an editor publishes while Claude holds an older copy of the page, Claude Code refuses a publish built on that copy. Claude then merges its changes onto the newer version and publishes again.
##
@@ -130,7 +162,7 @@
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
* **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
-Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see each artifact your session is watching, listed as a live-updates task. You can stop Claude from replying on its own in any of these ways:
+Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see the artifacts your session is watching. `/tasks` groups the watches Claude Code started on its own under the **System tasks** row. Press `Enter` on that row to list them. A watch you asked Claude to start appears under **Monitors**. You can stop Claude from replying on its own in any of these ways:
* **Press Ctrl+C once at an idle prompt** : Claude pauses replying on every artifact your session is watching. Replies start again after you send your next message.
* **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
@@ -343,7 +375,7 @@
Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions are signed in through the agent’s identity, so no step is needed there. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
-Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
+Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Sessions served by [`claude remote-control`](</docs/en/remote-control>) can publish artifacts when you started the session yourself. Requires Claude Code v2.1.281 or later. Off by default in the [Agent SDK](</docs/en/agent-sdk/overview>), the GitHub Action, and MCP-server contexts, when you run Claude Code with [`-p`](</docs/en/headless>) from your own terminal or scripts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
Whether artifacts are allowed for your organization comes from your organization’s policy, which Claude Code loads from `api.anthropic.com`. When Claude Code can’t load the policy, artifacts are unavailable. When you ask for one, Claude says why. If a proxy, VPN, or web filter is involved, ask your IT admin to let `api.anthropic.com` through. Claude Code keeps retrying in the background, and artifacts become available once the policy loads and allows them.
--- a/artifacts.md
+++ b/artifacts.md
@@ -124,7 +124,7 @@
Let Claude reply to comments on its own
-After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
+After your session publishes an artifact, Claude Code watches that artifact for comments. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
* **Claude replies on its own** : when your permission mode lets Claude post the reply without asking you, Claude reads the thread and replies, and edits the artifact when the comment asks for a change. You see `Auto-replied to comment thread on Artifact: <name>` or `Auto-edited Artifact: <name> in response to a comment thread`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
@@ -136,7 +136,7 @@
* **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
* **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
-If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
+A watch that Claude Code started on its own can end after the artifact goes several hours without activity. To start the watch again, publish the artifact again or ask Claude to watch it. If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -88,7 +88,14 @@
Read an artifact shared with you
-When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude reads a page someone else wrote the way it reads a web page with [WebFetch](</docs/en/tools-reference#webfetch-tool-behavior>): it gets a summary of what it asked about rather than the raw page, and the summary reports instructions written into the page instead of relaying them. Claude Code also saves the page’s full source to a local file, which Claude can open when it needs the exact content, such as to republish the artifact as an editor.
+When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude reads a page someone else wrote the way it reads a web page with [WebFetch](</docs/en/tools-reference#webfetch-tool-behavior>): it gets a summary of what it asked about rather than the raw page, and the summary reports instructions written into the page instead of relaying them. Claude Code also saves the page’s full source to a local file, which Claude can open when it needs the exact content, such as to republish the artifact as an editor. Claude Code asks for your approval before Claude reads the artifact in these cases, in addition to any prompt your permission mode or rules call for:
+
+ * **Cloud session without network access** : for a [cloud environment](</docs/en/cloud-environments#access-levels>), that’s the **None** level. In [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), the classifier can approve instead; in a [Cowork](<https://claude.com/product/cowork>) session, the approval is yours alone.
+ * **Another organization’s public artifact** : Claude Code asks you first, even in auto mode. Where Claude Code can’t ask you, such as in `bypassPermissions` mode, Claude can’t read the artifact. Claude can read these artifacts only while [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) is on.
+ * **Unconfirmed owner or network setting** : when Claude Code can’t confirm who made the artifact, or can’t confirm a cloud session’s network setting, it asks, and your approval covers that one request.
+ * **Plan mode, or feature-flag fetching turned off** : in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), or if you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code asks before the Artifact tool reads an artifact someone else in your organization made.
+
+When Claude reads the artifact with WebFetch, WebFetch’s own [prompting rules](</docs/en/tools-reference#webfetch-tool-behavior>) still apply.
##
@@ -313,6 +320,7 @@
Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`, and must decode as UTF-8, or as little-endian UTF-16 by its byte-order mark. Markdown files render as styled document pages with syntax-highlighted code. A file that doesn’t decode, or that contains the replacement character `U+FFFD`, is [refused with the line and column to fix](</docs/en/errors#the-source-file-is-not-valid-utf-8-text>).
+Source location| A file at a path that names a network host is refused without being read. See [Not published: that file is on a network share](</docs/en/errors#not-published-that-file-is-on-a-network-share>) for which paths are refused and the mapped-drive exception on Windows.
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
Generating an artifact uses output tokens like any other response, and a styled page is more token-intensive than the same content as terminal text. Inline CSS, JavaScript for interactive controls, and especially images embedded as data URIs are the main contributors. To reduce an artifact’s token cost:
--- a/artifacts.md
+++ b/artifacts.md
@@ -354,7 +354,7 @@
[Environment variable](</docs/en/env-vars>)| Set `CLAUDE_CODE_DISABLE_ARTIFACT=1`
[Permission rule](</docs/en/permissions>)| Add `Artifact` to `permissions.deny`
-Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. Before v2.1.242, a file higher in the [precedence stack](</docs/en/settings#settings-precedence>) could turn artifacts back on even when a lower-precedence file set `"enableArtifact": false`. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later. If you add a `WebFetch` deny or ask rule with no `domain:` part, it doesn’t turn artifacts off or block artifact reads. A [`WebFetch(domain:claude.ai)` rule in `deny` or `ask` does apply to artifact reads](</docs/en/permissions#allow-or-deny-every-fetch>).
+Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later. If you add a `WebFetch` deny or ask rule with no `domain:` part, it doesn’t turn artifacts off or block artifact reads. A [`WebFetch(domain:claude.ai)` rule in `deny` or `ask` does apply to artifact reads](</docs/en/permissions#allow-or-deny-every-fetch>).
##
Show diff (118 lines)
--- a/artifacts.md
+++ b/artifacts.md
@@ -39,18 +39,7 @@
Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate.
-Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. Publishing a new artifact goes through your session’s [permission mode](</docs/en/permission-modes>):
-
- * **Auto mode** : the classifier reviews the publish instead of prompting you, so Claude can publish a page without you seeing a prompt. Which mode your sessions start in depends on your plan; see [the starting permission mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>).
- * **Manual and Accept edits modes** : Claude Code asks for permission; it might say something like `Claude wants to publish deploy-failures.html, uploading it to claude.ai (Anthropic's servers) to host as the page "Deploy failures by service", private to you until you share it`. Select **Yes** to publish.
-
-After you approve an artifact once, Claude Code republishes it without asking, and asks again in some cases, including when:
-
- * Claude declares a runtime capability for the page, such as connector calls or file downloads
- * You have since shared it publicly
- * You have since shared it with specific people or your organization with the latest version chosen as the version viewers see
-
-After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji, and both appear in your gallery of artifacts on claude.ai and in shared links. Claude can also pick a browser-tab icon that matches what the page is, such as a chart or a calendar. Ask Claude for a specific title, emoji, or tab icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. Outside [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>), a new artifact that Claude publishes in response to a prompt you type goes through without a permission prompt or classifier review, unless that publish declares runtime capabilities for the page, such as connector calls or file downloads. In plan mode, Claude Code asks you before the first publish of each artifact. The artifact stays private to you until you share it. After you share it publicly, Claude Code asks for your approval once per conversation before changing it, or in [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) has the classifier review the change. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code asks before the first publish of each artifact, or in auto mode has the classifier review it. After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji, and both appear in your gallery of artifacts on claude.ai and in shared links. Claude can also pick a browser-tab icon that matches what the page is, such as a chart or a calendar. Ask Claude for a specific title, emoji, or tab icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
##
@@ -83,7 +72,7 @@
A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Viewers in your organization can see who published the page: on an artifact shared within your organization, your name is in the title menu, and on a public artifact it’s in the page header for signed-in viewers in your organization. A viewer who opens a public link without signing in, or from outside your organization, sees the label `Content is user-generated and unverified.` instead of your name. Who you can share with depends on your plan:
* **Within your organization** : on Team and Enterprise plans, grant access to specific people in your organization, or to everyone in it. Viewers sign in to claude.ai as members of your organization to see the page.
- * **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Pro and Max plans, a public link is the only way to share an artifact. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
+ * **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
###
@@ -107,12 +96,12 @@
Collect comments on an artifact
-When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later and a Team or Enterprise plan, because only an artifact you share within your organization takes comments. Claude reads the comments in two cases:
+When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later. Claude reads the comments in two cases:
* **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments. Claude lists each thread and marks the comments someone who can edit the artifact sent to it.
* **Someone who can edit the artifact sends a comment to Claude** : in a thread on the page, they send a comment with **Send to Claude** , or mention `@claude` in one. Either way, they activate the thread.
-Claude can reply to or resolve only an activated thread. Other threads stay open until a person resolves them on the page. Viewers see each reply attributed to Claude, via you. If you share an artifact publicly, viewers can’t comment on it: the page says `Comments aren't available while this Artifact is shared publicly.` To switch an artifact that already has comment threads to a public link, delete the threads first. To ask for the comments yourself, give Claude the URL:
+Claude can reply to or resolve only an activated thread. Other threads stay open until a person resolves them on the page. Viewers see each reply attributed to Claude, via you. If you share an artifact publicly, people whose only access is the public link don’t see its comments and can’t add any. Existing comment threads stay on the artifact, and you and its editors can still read and reply to them. To ask for the comments yourself, give Claude the URL:
Read the comments on https://claude.ai/code/artifact/5fbea6f3-... and make the changes the commenters ask for.
@@ -166,7 +155,7 @@
* **Viewers approve access first** : claude.ai asks each viewer for permission before the page’s first connector call. A viewer who declines, or who hasn’t connected a connector the page uses, still sees the page without its live sections.
* **Actions use the viewer’s account too** : a page can offer controls that invoke connector tools with side effects, such as posting a message or updating an issue. The action goes through the account of whoever selects the control.
-When you plan to share a connector-backed page, ask Claude to include a fallback message in each live section that names the connector it needs. A viewer who’s missing the connection then sees what to connect instead of an empty section. An artifact that calls connectors can’t be shared to a public link on any plan. On Team and Enterprise plans, you can keep it private or share it within your organization. On Pro and Max plans, where a public link is the only way to share, a connector-backed artifact stays private to you.
+When you plan to share a connector-backed page, ask Claude to include a fallback message in each live section that names the connector it needs. A viewer who’s missing the connection then sees what to connect instead of an empty section. You can share a connector-backed page within your organization or publicly, as your plan and organization settings allow. Connector calls don’t run for a viewer who opens the public link without signing in to claude.ai, or from outside your organization. That viewer sees the page without its live sections.
###
@@ -174,7 +163,7 @@
The page shows no live data for a viewer
-When a connector-backed page renders but its live sections stay empty for someone you shared it with, work through these causes:
+When a connector-backed page renders but its live sections stay empty for a viewer in your organization, work through these causes:
* **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under **Settings > Connectors** on claude.ai, then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
@@ -342,7 +331,7 @@
Requirement| Available when
---|---
-Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you until you share them, and no admin management applies. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
+Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you until you share them, and no admin management applies. On Team and Enterprise plans, artifacts are on by default, and an Owner can turn them off for the organization in claude.ai admin settings.
Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions are signed in through the agent’s identity, so no step is needed there. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
@@ -373,7 +362,7 @@
Manage artifacts for your organization
-Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization, unless the artifact is shared publicly.
+Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/artifacts>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization and the people they share it with, unless the artifact is shared publicly.
###
@@ -381,7 +370,7 @@
Enable or disable artifacts
-To enable or disable artifacts for the whole organization, go to [**Settings > Claude Code > Capabilities**](<https://claude.ai/admin-settings/claude-code>) and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to [**Settings > Roles**](<https://claude.ai/admin-settings/roles>), edit a role, and set the **Artifacts** permission under the **Claude Code** group.
+To enable or disable artifacts for the whole organization, go to [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to [**Organization settings > Roles**](<https://claude.ai/admin-settings/roles>), edit a role, and set the **Artifacts** permission.
###
@@ -389,7 +378,7 @@
Control connector calls from artifacts
-Connector calls from artifacts have their own toggle, separate from the **Artifacts** toggle that turns artifacts on or off. Go to [**Settings > Capabilities**](<https://claude.ai/admin-settings/capabilities>) and use the **Enable artifact connectors** toggle. The same toggle governs connector calls from artifacts created in claude.ai conversations, which is why it sits under **Settings > Capabilities** rather than **Settings > Claude Code**.
+Connector calls from artifacts have their own toggle, separate from the **Artifacts** toggle that turns artifacts on or off. Go to [**Organization settings > Capabilities**](<https://claude.ai/admin-settings/capabilities>) and use the **Enable artifact connectors** toggle. The same toggle governs connector calls from artifacts created in claude.ai conversations.
###
@@ -397,7 +386,7 @@
Control public sharing
-Public sharing is off by default on Team and Enterprise plans, so members can share artifacts only within the organization until an Owner turns it on. To let members publish artifacts to public links that anyone can view without signing in, go to **Settings > Claude Code > Capabilities** and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
+Public sharing is off by default on Team and Enterprise plans. To let members publish artifacts to public links that anyone can view without signing in, go to [**Organization settings > Artifacts**](<https://claude.ai/admin-settings/artifacts>) and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
###
@@ -405,7 +394,7 @@
Set a retention policy
-To set how long artifacts are kept before automatic deletion, go to [**Settings > Data & privacy controls**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
+To set how long artifacts are kept before automatic deletion, go to [**Organization settings > Data and privacy**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -271,13 +271,43 @@
+Start from a Slides, Design, or Docs template
+
+Instead of building a page from scratch, Claude can start an artifact from one of the templates on your claude.ai account: [Claude Slides](<https://support.claude.com/en/articles/17153992-what-are-artifacts-and-how-do-i-use-them#h_11d5a9a5fa>) for a presentation, [Claude Design](<https://support.claude.com/en/articles/14604416-get-started-with-claude-design>) for a visual design, or [Claude Docs](<https://support.claude.com/en/articles/16923645-get-started-with-claude-docs>) for a document other people will read and edit. Each opens in its own editor on claude.ai, where you and your teammates change it directly or ask Claude to, and export it to formats such as PowerPoint, PDF, or Word. To start from a template, describe what you want, such as “turn the migration notes into a deck for Thursday’s review” or “write this plan up as a doc for the team”. Claude picks the matching template, fills it from your request and from what the session already has, and gives you the link. For a deck or a design you can also run `/slides` or `/design` with a brief.
+
+Templates are in beta. They’re on by default on Pro, Max, and Team plans. On Enterprise plans, an Owner [turns each template on](<https://support.claude.com/en/articles/16994751-artifacts-admin-guide-for-team-and-enterprise-plans>) under **Organization settings > Artifacts**. If your organization has the Slides template turned off, `/slides` doesn’t appear; if it has the Design template turned off, `/design` doesn’t draft designs. Both commands require Claude Code v2.1.265 or later and a session where artifacts are available.
+
+###
+
+
+
+Make a slide deck
+
+Run `/slides` with a brief that says what the deck covers and who it’s for:
+
+ /slides a quarterly review of the platform team's reliability work, for the engineering all-hands
+
+Claude creates a Claude Slides artifact and gives you the link. Open it in a desktop browser to edit or present the deck. If you run `/slides` without a brief, Claude asks what the deck should be about before creating anything.
+
+###
+
+
+
Draft a design canvas
-To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as a Design artifact. The brief names what you want drawn:
+To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as a Claude Design artifact. The brief names what you want drawn:
/design a settings screen for a mobile banking app
-Open the published artifact in a desktop browser to review the artboards. Select an element on an artboard and change it, and your edits save automatically. You can export each artboard as PNG or PDF. `/design` requires a session where artifacts are available and Claude Code v2.1.265 or later.
+Open the published artifact in a desktop browser to review the artboards. Select an element on an artboard and change it, and your edits save automatically. You can export each artboard as PNG or PDF.
+
+###
+
+
+
+Write a document with Claude Docs
+
+Claude Docs reaches Claude Code as a claude.ai [connector](</docs/en/mcp#use-mcp-servers-from-claude-ai>) rather than a command. When it’s connected, `/mcp` lists it as `claude.ai Claude Docs`. A request for a document meant for other people then goes to Claude Docs instead of an artifact page: a spec, a proposal, or a write-up of the plan you worked through in the session. Claude gives you the doc’s link when it’s drafted. A document that belongs in the codebase, such as a README, stays a file. To get a file for something Claude would otherwise put in Claude Docs, name the format, such as `.docx` or a Markdown file in the repository. To turn the connector off, add `claude.ai Claude Docs` to `deniedMcpServers` or use the `/mcp` toggle, both described in [Disable claude.ai connectors](</docs/en/mcp#disable-claude-ai-connectors>).
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -318,6 +318,8 @@
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
+Whether artifacts are allowed for your organization comes from your organization’s policy, which Claude Code loads from `api.anthropic.com`. When Claude Code can’t load the policy, artifacts are unavailable. When you ask for one, Claude says why. If a proxy, VPN, or web filter is involved, ask your IT admin to let `api.anthropic.com` through. Claude Code keeps retrying in the background, and artifacts become available once the policy loads and allows them.
+
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -289,7 +289,7 @@
Constraint| Effect
---|---
-External requests| The page can load typefaces from Google Fonts, and scripts from four public CDN hosts: cdnjs, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
+External requests| The page can load typefaces from Google Fonts, and scripts from five public CDN hosts: cdnjs, unpkg, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
No backend| An artifact is a static page. It can’t authenticate viewers itself.
Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
@@ -316,7 +316,7 @@
Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions are signed in through the agent’s identity, so no step is needed there. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
-Surface| Claude Code CLI version 2.1.183 or later, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
+Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
##
@@ -389,7 +389,7 @@
Allowlist the viewer domain
-The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render. Artifacts can also load JavaScript libraries, such as React or a charting package, from `cdnjs.cloudflare.com`, `cdn.jsdelivr.net`, `cdn.tailwindcss.com`, and `code.jquery.com`, and from no other external host. If you block those hosts, the parts of an artifact that depend on a library don’t work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once rather than hanging until it times out.
+The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render. Artifacts can also load JavaScript libraries, such as React or a charting package, from `cdnjs.cloudflare.com`, `cdn.jsdelivr.net`, `cdn.tailwindcss.com`, `code.jquery.com`, and `unpkg.com`, and from no other external host. If you block those hosts, the parts of an artifact that depend on a library don’t work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once rather than hanging until it times out.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -273,11 +273,11 @@
Draft a design canvas
-To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as an artifact that runs a research preview of Claude Design’s editor. The brief names what you want drawn:
+To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as a Design artifact. The brief names what you want drawn:
/design a settings screen for a mobile banking app
-Open the published artifact to review the artboards. Where saving is enabled for your account, select an element on an artboard, change it, and save to publish a new version; otherwise you view the draft and export it as PNG or PDF. `/design` requires a session where artifacts are available and Claude Code v2.1.234 or later.
+Open the published artifact in a desktop browser to review the artboards. Select an element on an artboard and change it, and your edits save automatically. You can export each artboard as PNG or PDF. `/design` requires a session where artifacts are available and Claude Code v2.1.265 or later.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -257,7 +257,7 @@
Improve the visual design
-Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. Requires Claude Code v2.1.182 or later. That skill also looks for an existing design system in your project before choosing its own. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record them where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
+Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record them where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
## Design system
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,6 +1,6 @@
Artifacts are available on Pro, Max, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
-An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too.
+An [artifact](<https://claude.com/features/artifacts>) is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -116,7 +116,7 @@
Read the comments on https://claude.ai/code/artifact/5fbea6f3-... and make the changes the commenters ask for.
-If Claude tells you it can’t read comments, check three things:
+If Claude tells you it can’t read comments, confirm your version, your session, and your feature-flag setting:
* You’re running Claude Code v2.1.221 or later.
* You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude might not be able to read comments yet; start a new session and ask again.
@@ -237,7 +237,7 @@
Bring the result back to your session
-An artifact can act as a lightweight editor for a decision you then hand back to Claude. Ask for an export control that produces text you can paste into the terminal, so the result of interacting with the page flows back into the session instead of staying on the page.
+An artifact can act as a lightweight editor for a decision you then send back to Claude. Ask for an export control that produces text you can paste into the terminal, so the result of interacting with the page flows back into the session instead of staying on the page.
Make a triage board artifact with each open issue as a draggable card across Now, Next, Later, and Cut columns. Add a "Copy as prompt" button that gives me the final ordering to paste back here.
--- a/artifacts.md
+++ b/artifacts.md
@@ -293,7 +293,7 @@
No backend| An artifact is a static page. It can’t authenticate viewers itself.
Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
-Source file types| The published file must be `.html`, `.htm`, or `.md`, and must decode as UTF-8, or as little-endian UTF-16 by its byte-order mark. Markdown files render as styled HTML. A file that doesn’t decode, or that contains the replacement character `U+FFFD`, is [refused with the line and column to fix](</docs/en/errors#the-source-file-is-not-valid-utf-8-text>).
+Source file types| The published file must be `.html`, `.htm`, or `.md`, and must decode as UTF-8, or as little-endian UTF-16 by its byte-order mark. Markdown files render as styled document pages with syntax-highlighted code. A file that doesn’t decode, or that contains the replacement character `U+FFFD`, is [refused with the line and column to fix](</docs/en/errors#the-source-file-is-not-valid-utf-8-text>).
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
Generating an artifact uses output tokens like any other response, and a styled page is more token-intensive than the same content as terminal text. Inline CSS, JavaScript for interactive controls, and especially images embedded as data URIs are the main contributors. To reduce an artifact’s token cost:
--- a/artifacts.md
+++ b/artifacts.md
@@ -333,7 +333,7 @@
[Environment variable](</docs/en/env-vars>)| Set `CLAUDE_CODE_DISABLE_ARTIFACT=1`
[Permission rule](</docs/en/permissions>)| Add `Artifact` to `permissions.deny`
-Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. Before v2.1.242, a file higher in the [precedence stack](</docs/en/settings#settings-precedence>) could turn artifacts back on even when a lower-precedence file set `"enableArtifact": false`. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later.
+Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. Before v2.1.242, a file higher in the [precedence stack](</docs/en/settings#settings-precedence>) could turn artifacts back on even when a lower-precedence file set `"enableArtifact": false`. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later. If you add a `WebFetch` deny or ask rule with no `domain:` part, it doesn’t turn artifacts off or block artifact reads. A [`WebFetch(domain:claude.ai)` rule in `deny` or `ask` does apply to artifact reads](</docs/en/permissions#allow-or-deny-every-fetch>).
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -25,7 +25,7 @@
What an artifact is not
-An artifact is a capture of work: one self-contained page with no backend, so it can’t store form input or serve multiple routes, and its only path to outside data when someone views it is calling MCP connectors. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
+An artifact is a capture of work: one self-contained page with no backend, so it can’t serve multiple routes. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
##
@@ -50,7 +50,7 @@
* You have since shared it publicly
* You have since shared it with specific people or your organization with the latest version chosen as the version viewers see
-After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji, and both appear in your gallery of artifacts on claude.ai and in shared links. Claude can also pick a browser-tab icon that matches what the page is, such as a chart or a calendar. Ask Claude for a specific title, emoji, or tab icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
##
@@ -290,10 +290,10 @@
Constraint| Effect
---|---
External requests| The page can load typefaces from Google Fonts, and scripts from four public CDN hosts: cdnjs, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
-No backend| An artifact is a static page. It can’t store data submitted through a form or authenticate viewers itself. Its only way to fetch data when someone views it is calling MCP connectors, not an API of its own.
+No backend| An artifact is a static page. It can’t authenticate viewers itself.
Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
-Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
+Source file types| The published file must be `.html`, `.htm`, or `.md`, and must decode as UTF-8, or as little-endian UTF-16 by its byte-order mark. Markdown files render as styled HTML. A file that doesn’t decode, or that contains the replacement character `U+FFFD`, is [refused with the line and column to fix](</docs/en/errors#the-source-file-is-not-valid-utf-8-text>).
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
Generating an artifact uses output tokens like any other response, and a styled page is more token-intensive than the same content as terminal text. Inline CSS, JavaScript for interactive controls, and especially images embedded as data URIs are the main contributors. To reduce an artifact’s token cost:
--- a/artifacts.md
+++ b/artifacts.md
@@ -46,11 +46,11 @@
After you approve an artifact once, Claude Code republishes it without asking, and asks again in some cases, including when:
- * Claude declares a runtime capability for the page, such as connector calls
+ * Claude declares a runtime capability for the page, such as connector calls or file downloads
* You have since shared it publicly
* You have since shared it with specific people or your organization with the latest version chosen as the version viewers see
-After the first publish, Claude prints the URL, and your browser opens to the new page. Press `Ctrl+]` at any time to reopen the most recent artifact from the terminal. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+After the first publish, Claude prints the URL, and your browser opens to the new page. If you sent the prompt through [Remote Control](</docs/en/remote-control>) from claude.ai, Claude Desktop, or the Claude mobile app, no tab opens on the machine running the session. The browser opens there the next time Claude publishes the artifact from a prompt you type at the terminal. Press `Ctrl+]` at any time to reopen the session’s most recent artifact. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
##
@@ -92,6 +92,14 @@
Let someone edit with you
People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL, or attach it from `/artifacts`, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
+
+##
+
+
+
+Read an artifact shared with you
+
+When someone shares an artifact with you, you can have Claude read it: give Claude its URL, or attach it from `/artifacts`. Claude reads a page someone else wrote the way it reads a web page with [WebFetch](</docs/en/tools-reference#webfetch-tool-behavior>): it gets a summary of what it asked about rather than the raw page, and the summary reports instructions written into the page instead of relaying them. Claude Code also saves the page’s full source to a local file, which Claude can open when it needs the exact content, such as to republish the artifact as an editor.
##
@@ -171,6 +179,19 @@
* **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under **Settings > Connectors** on claude.ai, then reload the page.
* **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
* **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
+ * **The page calls tool names the connector doesn’t expose** : the affected sections stay empty for everyone, including you. This can happen when a page names the individual tools behind a gateway-style connector that exposes only a few tools of its own. Ask Claude to fix the tool names the page calls and publish it again. When Claude publishes the page and that connector’s tools are available in your session, Claude Code checks the tool names the page declares against them, warns Claude about names that don’t match, and refuses the publish when none do. Before v2.1.265, it published the page without checking them.
+
+##
+
+
+
+Offer a file download
+
+An artifact can offer viewers a file the page generates, such as a CSV export of a table or a PNG of a chart. The viewer saves it through a download control on the page, such as a button. File downloads are a runtime capability that claude.ai enables per account, so Claude checks whether your account has it before it builds the control. Viewers can’t save a file from an ordinary download link or a script on the page, because the artifact viewer on claude.ai blocks any download the page starts itself, including links to `data:` or `blob:` URLs. If a page has download buttons built that way, ask Claude to rebuild them with the downloads capability. To offer a file, ask for the control and the file format in your prompt:
+
+ Add a button that downloads this table as a CSV file.
+
+Claude declares the downloads capability as part of publishing, the same way it declares connectors.
##
@@ -270,6 +291,7 @@
---|---
External requests| The page can load typefaces from Google Fonts, and scripts from four public CDN hosts: cdnjs, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
No backend| An artifact is a static page. It can’t store data submitted through a form or authenticate viewers itself. Its only way to fetch data when someone views it is calling MCP connectors, not an API of its own.
+Downloads| The page can’t start a download itself. To let viewers save a file the page generates, Claude declares the downloads capability. See Offer a file download.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
--- a/artifacts.md
+++ b/artifacts.md
@@ -101,10 +101,10 @@
When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later and a Team or Enterprise plan, because only an artifact you share within your organization takes comments. Claude reads the comments in two cases:
- * **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments. Claude lists each thread and marks the comments a commenter sent to it.
- * **A commenter sends a comment to Claude** : in a thread on the page, the commenter mentions `@claude` or uses the thread’s Claude control, where the page offers one. Either gesture activates the thread, and Claude can reply only in a thread someone activated. Viewers see each reply attributed to Claude, via you.
-
-If you share an artifact publicly, viewers can’t comment on it: the page says `Comments aren't available while this Artifact is shared publicly.` To switch an artifact that already has comment threads to a public link, delete the threads first. To ask for the comments yourself, give Claude the URL:
+ * **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments. Claude lists each thread and marks the comments someone who can edit the artifact sent to it.
+ * **Someone who can edit the artifact sends a comment to Claude** : in a thread on the page, they send a comment with **Send to Claude** , or mention `@claude` in one. Either way, they activate the thread.
+
+Claude can reply to or resolve only an activated thread. Other threads stay open until a person resolves them on the page. Viewers see each reply attributed to Claude, via you. If you share an artifact publicly, viewers can’t comment on it: the page says `Comments aren't available while this Artifact is shared publicly.` To switch an artifact that already has comment threads to a public link, delete the threads first. To ask for the comments yourself, give Claude the URL:
Read the comments on https://claude.ai/code/artifact/5fbea6f3-... and make the changes the commenters ask for.
@@ -120,17 +120,19 @@
Let Claude reply to comments on its own
-After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When a commenter sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
+After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When someone who can edit the artifact sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
* **Claude replies on its own** : when your permission mode lets Claude post the reply without asking you, Claude reads the thread and replies, and edits the artifact when the comment asks for a change. You see `Auto-replied to comment thread on Artifact: <name>` or `Auto-edited Artifact: <name> in response to a comment thread`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
* **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
-Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see each artifact your session is watching, listed as a live-updates task. You can stop Claude from replying on its own in three ways, and each one lasts a different length of time:
-
- * **Press Ctrl+C once** : Claude stops replying on every artifact your session is watching, and starts again on an artifact when you have your session publish it again.
- * **Stop the task in`/tasks`**: Claude stops replying on that artifact for the rest of the session. Publishing it again doesn’t start replies again, and if you resume the session later, Claude still doesn’t reply there.
- * **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session.
+Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see each artifact your session is watching, listed as a live-updates task. You can stop Claude from replying on its own in any of these ways:
+
+ * **Press Ctrl+C once at an idle prompt** : Claude pauses replying on every artifact your session is watching. Replies start again after you send your next message.
+ * **Stop the task in`/tasks`**: Claude stops replying on that artifact until you ask it to resume replies there. Publishing the artifact again doesn’t start replies again, and the stop still applies when you resume the session later.
+ * **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session. Asking Claude to resume replies doesn’t undo this stop.
+
+If the service that delivers comments becomes unavailable or stops answering, Claude Code keeps trying to reconnect for a while, then stops watching each artifact your session was watching.
##
@@ -243,6 +245,18 @@
- Spacing: 8px scale, 6px border radius
Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works. For typography, Claude can load a typeface from Google Fonts, the one external font source an artifact page can load from. Claude inlines any other typeface as a `@font-face` data URI and gives every typeface a fallback stack, so the page still renders if a font doesn’t load. To use a specific typeface, name it in your prompt or your design system.
+
+##
+
+
+
+Draft a design canvas
+
+To mock up a UI, a screen flow, a landing page, or a poster rather than build a page, run `/design` with a brief. Claude drafts the design as artboards on one canvas and publishes the canvas as an artifact that runs a research preview of Claude Design’s editor. The brief names what you want drawn:
+
+ /design a settings screen for a mobile banking app
+
+Open the published artifact to review the artboards. Where saving is enabled for your account, select an element on an artboard, change it, and save to publish a new version; otherwise you view the draft and export it as PNG or PDF. `/design` requires a session where artifacts are available and Claude Code v2.1.234 or later.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -25,7 +25,7 @@
What an artifact is not
-An artifact is a capture of work, not an application. It is one self-contained page with no backend, so it can’t store form input or serve multiple routes, and its only path to outside data when someone views it is calling MCP connectors. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
+An artifact is a capture of work: one self-contained page with no backend, so it can’t store form input or serve multiple routes, and its only path to outside data when someone views it is calling MCP connectors. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -39,7 +39,18 @@
Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate.
-Claude writes the page to an HTML or Markdown file in your project, then publishes it. Before publishing a new artifact, Claude Code asks for permission; it might say something like `Claude wants to publish "Deploy failures by service" (deploy-failures.html) to a private page on claude.ai`. Republishing an artifact you have already approved does not prompt again. Select **Yes** to publish. Claude prints the URL, and your browser opens to the new page. Press `Ctrl+]` at any time to reopen the most recent artifact from the terminal. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. Publishing a new artifact goes through your session’s [permission mode](</docs/en/permission-modes>):
+
+ * **Auto mode** : the classifier reviews the publish instead of prompting you, so Claude can publish a page without you seeing a prompt. Which mode your sessions start in depends on your plan; see [the starting permission mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>).
+ * **Manual and Accept edits modes** : Claude Code asks for permission; it might say something like `Claude wants to publish deploy-failures.html, uploading it to claude.ai (Anthropic's servers) to host as the page "Deploy failures by service", private to you until you share it`. Select **Yes** to publish.
+
+After you approve an artifact once, Claude Code republishes it without asking, and asks again in some cases, including when:
+
+ * Claude declares a runtime capability for the page, such as connector calls
+ * You have since shared it publicly
+ * You have since shared it with specific people or your organization with the latest version chosen as the version viewers see
+
+After the first publish, Claude prints the URL, and your browser opens to the new page. Press `Ctrl+]` at any time to reopen the most recent artifact from the terminal. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
##
@@ -101,7 +112,7 @@
* You’re running Claude Code v2.1.221 or later.
* You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude might not be able to read comments yet; start a new session and ask again.
- * You haven’t turned feature-flag fetching off. If you set `DISABLE_GROWTHBOOK`, `DISABLE_TELEMETRY`, or `DO_NOT_TRACK`, also set [`CLAUDE_CODE_ARTIFACT_COMMENTS=1`](</docs/en/env-vars#features-that-need-feature-flag-fetching>) so Claude can read comments without fetching flags.
+ * You haven’t turned feature-flag fetching off.
###
@@ -109,7 +120,7 @@
Let Claude reply to comments on its own
-After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When a commenter sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned feature-flag fetching off, also set both [`CLAUDE_CODE_ARTIFACT_COMMENTS=1` and `CLAUDE_CODE_ARTIFACT_COMMENTS_AUTOREACT=1`](</docs/en/env-vars#features-that-need-feature-flag-fetching>). Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
+After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When a commenter sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>) off, Claude Code doesn’t watch for comments. Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
* **Claude replies on its own** : when your permission mode lets Claude post the reply without asking you, Claude reads the thread and replies, and edits the artifact when the comment asks for a change. You see `Auto-replied to comment thread on Artifact: <name>` or `Auto-edited Artifact: <name> in response to a comment thread`.
* **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
@@ -243,7 +254,7 @@
Constraint| Effect
---|---
-External requests| Apart from Google Fonts and connector data, nothing reaches the page from outside. The CSP blocks scripts, stylesheets, fonts, and images from other hosts, along with `fetch`, XHR, and WebSocket calls, so Claude inlines CSS and JavaScript and embeds images as data URIs. Google Fonts stylesheets load through a `<link>` tag or a CSS `@import` from `fonts.googleapis.com`, along with the font files they reference from `fonts.gstatic.com`. Connector calls go through claude.ai, which makes the network call itself.
+External requests| The page can load typefaces from Google Fonts, and scripts from four public CDN hosts: cdnjs, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and lets `fetch`, XHR, and WebSocket calls reach only the page’s own origin and the Google Fonts hosts. Claude therefore loads any library the page needs from one of those CDNs, inlines all other CSS and JavaScript, and embeds images as data URIs. Connector calls go through claude.ai, which makes the network call itself.
No backend| An artifact is a static page. It can’t store data submitted through a form or authenticate viewers itself. Its only way to fetch data when someone views it is calling MCP connectors, not an API of its own.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
@@ -279,12 +290,15 @@
To turn artifacts off for your own sessions regardless of your organization’s setting, use any of:
-Method| Setting
+Where| What to do
---|---
-[Settings file](</docs/en/settings>)| `"disableArtifact": true`
-[Environment variable](</docs/en/env-vars>)| `CLAUDE_CODE_DISABLE_ARTIFACT=1`
+[`/config`](</docs/en/commands>)| Turn the **Artifacts** row off, which writes [`"enableArtifact": false`](</docs/en/settings-reference#enableartifact>) to your user settings
+[Settings file](</docs/en/settings>)| Set `"enableArtifact": false`. The deprecated `"disableArtifact": true` also turns artifacts off
+[Environment variable](</docs/en/env-vars>)| Set `CLAUDE_CODE_DISABLE_ARTIFACT=1`
[Permission rule](</docs/en/permissions>)| Add `Artifact` to `permissions.deny`
+Once you turn artifacts off in a [`--settings`](</docs/en/cli-reference#cli-flags>) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](</docs/en/server-managed-settings>), no settings file turns them back on. Before v2.1.242, a file higher in the [precedence stack](</docs/en/settings#settings-precedence>) could turn artifacts back on even when a lower-precedence file set `"enableArtifact": false`. You can also set `"enableArtifact": false` in a project’s `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn’t turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later.
+
##
@@ -339,7 +353,7 @@
Allowlist the viewer domain
-The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render.
+The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render. Artifacts can also load JavaScript libraries, such as React or a charting package, from `cdnjs.cloudflare.com`, `cdn.jsdelivr.net`, `cdn.tailwindcss.com`, and `code.jquery.com`, and from no other external host. If you block those hosts, the parts of an artifact that depend on a library don’t work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once rather than hanging until it times out.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -100,7 +100,7 @@
If Claude tells you it can’t read comments, check three things:
* You’re running Claude Code v2.1.221 or later.
- * You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude can’t read comments yet; start a new session and ask again.
+ * You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude might not be able to read comments yet; start a new session and ask again.
* You haven’t turned feature-flag fetching off. If you set `DISABLE_GROWTHBOOK`, `DISABLE_TELEMETRY`, or `DO_NOT_TRACK`, also set [`CLAUDE_CODE_ARTIFACT_COMMENTS=1`](</docs/en/env-vars#features-that-need-feature-flag-fetching>) so Claude can read comments without fetching flags.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -51,9 +51,17 @@
Add a per-region breakdown below the summary chart and republish.
-Anyone with the page open sees the update in place. Each publish becomes a version, and from the **Share** control in the page header you can choose which version viewers see. To update an artifact from a different session, give Claude the artifact’s URL and ask it to revise. Without the URL, a new session always creates a new artifact rather than updating an existing one.
+Anyone with the page open sees the update in place. Each publish becomes a version, and from the **Share** control in the page header you can choose which version viewers see. To update an artifact from a different session, give Claude its URL, or attach it with `/artifacts`. Without either, a new session creates a new artifact instead of updating one.
Update https://claude.ai/code/artifact/5fbea6f3-... with today's numbers.
+
+##
+
+
+
+Find an artifact again
+
+Run `/artifacts` in Claude Code to list every artifact you own and every artifact shared with you. Select one and press `o` to open it in your browser or `c` to copy its link. Press `Enter` to attach it to the current session; before v2.1.216, `Enter` opened it in your browser. Claude Code reads the list from your claude.ai account, so it works in a new session and after `/clear`, when the link has scrolled out of the terminal. Requires Claude Code v2.1.208 or later.
##
@@ -72,7 +80,7 @@
Let someone edit with you
-People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL in their own session, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
+People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL, or attach it from `/artifacts`, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -61,7 +61,7 @@
Share an artifact
-A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Who you can share with depends on your plan:
+A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Viewers in your organization can see who published the page: on an artifact shared within your organization, your name is in the title menu, and on a public artifact it’s in the page header for signed-in viewers in your organization. A viewer who opens a public link without signing in, or from outside your organization, sees the label `Content is user-generated and unverified.` instead of your name. Who you can share with depends on your plan:
* **Within your organization** : on Team and Enterprise plans, grant access to specific people in your organization, or to everyone in it. Viewers sign in to claude.ai as members of your organization to see the page.
* **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Pro and Max plans, a public link is the only way to share an artifact. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
@@ -73,6 +73,45 @@
Let someone edit with you
People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL in their own session, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
+
+##
+
+
+
+Collect comments on an artifact
+
+When you share an artifact within your organization, the people you share it with can leave comments on the page, and you can have Claude read those comments and reply to them. You need Claude Code v2.1.221 or later and a Team or Enterprise plan, because only an artifact you share within your organization takes comments. Claude reads the comments in two cases:
+
+ * **You ask Claude to read them** : give Claude the artifact’s URL and ask for the comments. Claude lists each thread and marks the comments a commenter sent to it.
+ * **A commenter sends a comment to Claude** : in a thread on the page, the commenter mentions `@claude` or uses the thread’s Claude control, where the page offers one. Either gesture activates the thread, and Claude can reply only in a thread someone activated. Viewers see each reply attributed to Claude, via you.
+
+If you share an artifact publicly, viewers can’t comment on it: the page says `Comments aren't available while this Artifact is shared publicly.` To switch an artifact that already has comment threads to a public link, delete the threads first. To ask for the comments yourself, give Claude the URL:
+
+ Read the comments on https://claude.ai/code/artifact/5fbea6f3-... and make the changes the commenters ask for.
+
+If Claude tells you it can’t read comments, check three things:
+
+ * You’re running Claude Code v2.1.221 or later.
+ * You’re not in your first session since you installed Claude Code or upgraded from a version before v2.1.221. In that [first session after an install or upgrade](</docs/en/env-vars#first-session-after-an-install-or-upgrade>), Claude can’t read comments yet; start a new session and ask again.
+ * You haven’t turned feature-flag fetching off. If you set `DISABLE_GROWTHBOOK`, `DISABLE_TELEMETRY`, or `DO_NOT_TRACK`, also set [`CLAUDE_CODE_ARTIFACT_COMMENTS=1`](</docs/en/env-vars#features-that-need-feature-flag-fetching>) so Claude can read comments without fetching flags.
+
+###
+
+
+
+Let Claude reply to comments on its own
+
+After your session publishes an artifact, Claude Code watches that artifact for comments for as long as the session runs. When a commenter sends a comment to Claude, it reaches your session right away, and Claude can read the thread and reply without you asking. You need Claude Code v2.1.228 or later. If you turned feature-flag fetching off, also set both [`CLAUDE_CODE_ARTIFACT_COMMENTS=1` and `CLAUDE_CODE_ARTIFACT_COMMENTS_AUTOREACT=1`](</docs/en/env-vars#features-that-need-feature-flag-fetching>). Your [permission mode](</docs/en/permission-modes>) decides what Claude does when a sent comment arrives:
+
+ * **Claude replies on its own** : when your permission mode lets Claude post the reply without asking you, Claude reads the thread and replies, and edits the artifact when the comment asks for a change. You see `Auto-replied to comment thread on Artifact: <name>` or `Auto-edited Artifact: <name> in response to a comment thread`.
+ * **Claude waits for you** : outside plan mode, when posting the reply would need your approval, you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
+ * **Claude pauses in plan mode** : you see `Comments are waiting on Artifact: <name>`, and Claude doesn’t reply until you leave plan mode and ask it to read and reply.
+
+Claude also stops replying on its own to an artifact after it handles 60 sent comments or thread activations on that artifact within an hour. You see `Comments are waiting on Artifact: <name>` once, and Claude picks up again as that hour’s comments age out. Run `/tasks` to see each artifact your session is watching, listed as a live-updates task. You can stop Claude from replying on its own in three ways, and each one lasts a different length of time:
+
+ * **Press Ctrl+C once** : Claude stops replying on every artifact your session is watching, and starts again on an artifact when you have your session publish it again.
+ * **Stop the task in`/tasks`**: Claude stops replying on that artifact for the rest of the session. Publishing it again doesn’t start replies again, and if you resume the session later, Claude still doesn’t reply there.
+ * **Press`Ctrl+X Ctrl+K` twice within 3 seconds**: the chord that [stops every running background subagent](</docs/en/interactive-mode#general-controls>) also stops Claude from replying on every artifact for the rest of the session.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -184,7 +184,7 @@
- Typography: Inter for body, JetBrains Mono for code
- Spacing: 8px scale, 6px border radius
-Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works.
+Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works. For typography, Claude can load a typeface from Google Fonts, the one external font source an artifact page can load from. Claude inlines any other typeface as a `@font-face` data URI and gives every typeface a fallback stack, so the page still renders if a font doesn’t load. To use a specific typeface, name it in your prompt or your design system.
##
@@ -196,7 +196,7 @@
Constraint| Effect
---|---
-No external requests| The CSP blocks scripts, stylesheets, fonts, and images loaded from any other host, along with `fetch`, XHR, and WebSocket calls. Claude inlines CSS and JavaScript and embeds images as data URIs so the page renders without any external request. Connector calls are the exception: the page hands them to claude.ai, which makes the network call itself.
+External requests| Apart from Google Fonts and connector data, nothing reaches the page from outside. The CSP blocks scripts, stylesheets, fonts, and images from other hosts, along with `fetch`, XHR, and WebSocket calls, so Claude inlines CSS and JavaScript and embeds images as data URIs. Google Fonts stylesheets load through a `<link>` tag or a CSS `@import` from `fonts.googleapis.com`, along with the font files they reference from `fonts.gstatic.com`. Connector calls go through claude.ai, which makes the network call itself.
No backend| An artifact is a static page. It can’t store data submitted through a form or authenticate viewers itself. Its only way to fetch data when someone views it is calling MCP connectors, not an API of its own.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
@@ -292,7 +292,7 @@
Allowlist the viewer domain
-The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list.
+The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list. An artifact that loads a typeface from Google Fonts also requests `fonts.googleapis.com` and `fonts.gstatic.com`. Both hosts are optional. If you block them, artifacts render in fallback typefaces. Block with a fast rejection rather than a silent drop so the font request fails immediately instead of delaying the page’s first render.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,6 +1,6 @@
Artifacts are available on Pro, Max, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
-An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
+An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too.
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -252,7 +252,7 @@
Enable or disable artifacts
-To enable or disable artifacts for the whole organization, go to **Settings > Claude Code > Capabilities** and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to **Settings > Roles**, edit a role, and set the **Artifacts** permission under the **Claude Code** group.
+To enable or disable artifacts for the whole organization, go to [**Settings > Claude Code > Capabilities**](<https://claude.ai/admin-settings/claude-code>) and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to [**Settings > Roles**](<https://claude.ai/admin-settings/roles>), edit a role, and set the **Artifacts** permission under the **Claude Code** group.
###
@@ -276,7 +276,7 @@
Set a retention policy
-To set how long artifacts are kept before automatic deletion, go to **Settings > Data & privacy controls**. You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
+To set how long artifacts are kept before automatic deletion, go to [**Settings > Data & privacy controls**](<https://claude.ai/admin-settings/data-privacy-controls>). You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -176,7 +176,7 @@
Improve the visual design
-As of Claude Code v2.1.183, Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. To keep artifacts consistent with your product’s branding, record your design tokens where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
+Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. Requires Claude Code v2.1.182 or later. That skill also looks for an existing design system in your project before choosing its own. Design tokens are the named color, typography, and spacing values your design system reuses. To keep artifacts consistent with your product’s branding, record them where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
## Design system
--- a/artifacts.md
+++ b/artifacts.md
@@ -15,8 +15,9 @@
* Lay out several design or implementation options side by side
* Keep an investigation timeline that fills in while a long task runs
* Send a teammate a link instead of pasting output into Slack
-
-See What you can build for prompts that match each of these.
+ * Publish a status board that pulls fresh data through MCP connectors each time someone opens it
+
+See What you can build for prompts that match these, and Pull live data with MCP connectors for the connector-backed board’s prompt.
###
@@ -24,7 +25,7 @@
What an artifact is not
-An artifact is a capture of work, not an application. It is one self-contained page with no backend, so it cannot store form input, call an API at view time, or serve multiple routes. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
+An artifact is a capture of work, not an application. It is one self-contained page with no backend, so it can’t store form input or serve multiple routes, and its only path to outside data when someone views it is calling MCP connectors. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
##
@@ -72,6 +73,44 @@
Let someone edit with you
People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL in their own session, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
+
+##
+
+
+
+Pull live data with MCP connectors
+
+An artifact can call [MCP connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) each time someone views it, so the page shows current data rather than a snapshot from the session that built it. Connector calls from artifacts are available on Pro, Max, Team, and Enterprise plans and require Claude Code v2.1.209 or later. On earlier versions, Claude publishes the page with whatever data the session gathered while building it. To create a connector-backed page, name the connector and the data you want in your prompt:
+
+ Build a dashboard artifact of our open pull requests that pulls the live list through my GitHub connector when the page loads.
+
+Claude declares which connectors the page may call as part of publishing, and the page can’t call connectors outside that declaration. Only connectors from your claude.ai account qualify: Claude names them in the declaration, and when someone views the page, each call runs through the viewing account’s own connection to that connector. Local MCP servers you configure in Claude Code, such as servers from `.mcp.json`, can supply data while Claude builds the page, but the published page can’t call them. The page fetches data when it loads and can refresh on an interval or when a viewer uses a refresh control on the page. Responses are cached in the viewer’s browser, so a reopened page renders from the cached responses immediately, then updates with fresh results.
+
+###
+
+
+
+How connector calls work for viewers
+
+When a published page calls a connector, the call uses the account of the person viewing the page, not the account of the person who published it:
+
+ * **Each viewer uses their own connectors** : calls go through the viewing account’s connected tools, so two people opening the same dashboard can see different data depending on what their accounts can access. The page never sees anyone’s credentials; claude.ai makes the calls on the page’s behalf.
+ * **Viewers approve access first** : claude.ai asks each viewer for permission before the page’s first connector call. A viewer who declines, or who hasn’t connected a connector the page uses, still sees the page without its live sections.
+ * **Actions use the viewer’s account too** : a page can offer controls that invoke connector tools with side effects, such as posting a message or updating an issue. The action goes through the account of whoever selects the control.
+
+When you plan to share a connector-backed page, ask Claude to include a fallback message in each live section that names the connector it needs. A viewer who’s missing the connection then sees what to connect instead of an empty section. An artifact that calls connectors can’t be shared to a public link on any plan. On Team and Enterprise plans, you can keep it private or share it within your organization. On Pro and Max plans, where a public link is the only way to share, a connector-backed artifact stays private to you.
+
+###
+
+
+
+The page shows no live data for a viewer
+
+When a connector-backed page renders but its live sections stay empty for someone you shared it with, work through these causes:
+
+ * **The viewer hasn’t connected the connector** : connectors are per-account, so each viewer needs their own connection to every connector the page calls. They can add one under **Settings > Connectors** on claude.ai, then reload the page.
+ * **The viewer declined the permission ask** : a denial lasts for the rest of that page load. Reloading the page brings the permission ask back.
+ * **Connector calls are turned off for the organization** : an Owner controls the **Enable artifact connectors** toggle in admin settings.
##
@@ -157,8 +196,8 @@
Constraint| Effect
---|---
-No external requests| The CSP blocks scripts, stylesheets, fonts, and images loaded from any other host, along with `fetch`, XHR, and WebSocket calls. Claude inlines CSS and JavaScript and embeds images as data URIs so the page renders without any external request.
-No backend| An artifact is a static page. It cannot store data submitted through a form, authenticate viewers itself, or call an API at view time.
+No external requests| The CSP blocks scripts, stylesheets, fonts, and images loaded from any other host, along with `fetch`, XHR, and WebSocket calls. Claude inlines CSS and JavaScript and embeds images as data URIs so the page renders without any external request. Connector calls are the exception: the page hands them to claude.ai, which makes the network call itself.
+No backend| An artifact is a static page. It can’t store data submitted through a form or authenticate viewers itself. Its only way to fetch data when someone views it is calling MCP connectors, not an API of its own.
Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
@@ -219,6 +258,14 @@
+Control connector calls from artifacts
+
+Connector calls from artifacts have their own toggle, separate from the **Artifacts** toggle that turns artifacts on or off. Go to [**Settings > Capabilities**](<https://claude.ai/admin-settings/capabilities>) and use the **Enable artifact connectors** toggle. The same toggle governs connector calls from artifacts created in claude.ai conversations, which is why it sits under **Settings > Capabilities** rather than **Settings > Claude Code**.
+
+###
+
+
+
Control public sharing
Public sharing is off by default on Team and Enterprise plans, so members can share artifacts only within the organization until an Owner turns it on. To let members publish artifacts to public links that anyone can view without signing in, go to **Settings > Claude Code > Capabilities** and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
@@ -271,4 +318,4 @@
* Browse [prompting patterns and workflows](</docs/en/prompt-library>) that pair with artifacts
* Turn an artifact prompt you reuse into a [skill](</docs/en/skills>) so you can invoke it as a command
- * [Connect MCP servers](</docs/en/mcp>) so Claude can pull live data into an artifact
+ * [Connect MCP servers](</docs/en/mcp>) so Claude can pull data into an artifact while it builds the page
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,6 +1,6 @@
Artifacts are available on Pro, Max, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
-An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. On Team and Enterprise plans, share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
+An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want someone else to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
##
@@ -60,7 +60,18 @@
Share an artifact
-A new artifact is visible only to you. On Pro and Max plans, artifacts stay private to you. On Team and Enterprise plans, open the artifact in your browser and use the **Share** control in the page header to grant access to specific people in your organization, or to everyone in it. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Sharing stops at your organization. Viewers must sign in to claude.ai as a member of the same organization that published the artifact, and there is no option to make an artifact viewable outside it. To send the underlying content to someone outside your organization, ask Claude for the HTML file and share that file directly. Artifacts are viewable, not co-edited. People you share with see each version you publish but cannot change the page; you remain the only writer.
+A new artifact is visible only to you. To share it, open the artifact in your browser and use the **Share** control in the page header. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Who you can share with depends on your plan:
+
+ * **Within your organization** : on Team and Enterprise plans, grant access to specific people in your organization, or to everyone in it. Viewers sign in to claude.ai as members of your organization to see the page.
+ * **Publicly** : share a link that anyone on the internet can open, with no claude.ai sign-in required. On Pro and Max plans, a public link is the only way to share an artifact. On Team and Enterprise plans, public sharing is off until an Owner enables it for the organization.
+
+###
+
+
+
+Let someone edit with you
+
+People you share with are viewers by default: they see each version you publish but can’t change the page. On Team and Enterprise plans, you can also make someone an editor. In the share dialog, add a person and switch their role from **viewer** to **editor**. An editor publishes new versions the same way you update the artifact from another session: they give Claude the artifact’s URL in their own session, and Claude pulls the current content and republishes with their changes. Everyone with the page open sees each update live.
##
@@ -126,7 +137,7 @@
Improve the visual design
-Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. To keep artifacts consistent with your product’s branding, record your design tokens where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
+As of Claude Code v2.1.183, Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. To keep artifacts consistent with your product’s branding, record your design tokens where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
## Design system
@@ -168,11 +179,11 @@
Requirement| Available when
---|---
-Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you, and no admin management applies. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
-Authentication| Signed in to claude.ai with `/login`. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
+Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you until you share them, and no admin management applies. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
+Authentication| The session is backed by a claude.ai account: sign in with `/login` in the CLI or desktop app. Claude Tag sessions are signed in through the agent’s identity, so no step is needed there. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
-Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
+Surface| Claude Code CLI version 2.1.183 or later, or the Claude desktop app version 1.13576.0 or later. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can also publish artifacts when both Claude Tag and artifacts are enabled for the organization. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
##
@@ -194,7 +205,7 @@
Manage artifacts for your organization
-Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization.
+Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization, unless the artifact is shared publicly.
###
@@ -203,6 +214,14 @@
Enable or disable artifacts
To enable or disable artifacts for the whole organization, go to **Settings > Claude Code > Capabilities** and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to **Settings > Roles**, edit a role, and set the **Artifacts** permission under the **Claude Code** group.
+
+###
+
+
+
+Control public sharing
+
+Public sharing is off by default on Team and Enterprise plans, so members can share artifacts only within the organization until an Owner turns it on. To let members publish artifacts to public links that anyone can view without signing in, go to **Settings > Claude Code > Capabilities** and turn on **External sharing** under the **Artifacts** toggle. Turning it back off blocks access through existing public links without changing each artifact’s audience; access resumes if you re-enable it.
###
--- a/artifacts.md
+++ b/artifacts.md
@@ -170,7 +170,7 @@
---|---
Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you, and no admin management applies. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
Authentication| Signed in to claude.ai with `/login`. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
-Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud Vertex AI](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
+Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,6 +1,6 @@
-Artifacts require a Team or Enterprise plan and a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
-
-An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
+Artifacts are available on Pro, Max, Team, and Enterprise plans and require a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
+
+An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. On Team and Enterprise plans, share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
##
@@ -60,7 +60,7 @@
Share an artifact
-A new artifact is visible only to you. Open it in your browser and use the **Share** control in the page header to grant access to specific people in your organization, or to everyone in it. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Sharing stops at your organization. Viewers must sign in to claude.ai as a member of the same organization that published the artifact, and there is no option to make an artifact viewable outside it. To send the underlying content to someone outside your organization, ask Claude for the HTML file and share that file directly. Artifacts are viewable, not co-edited. People you share with see each version you publish but cannot change the page; you remain the only writer.
+A new artifact is visible only to you. On Pro and Max plans, artifacts stay private to you. On Team and Enterprise plans, open the artifact in your browser and use the **Share** control in the page header to grant access to specific people in your organization, or to everyone in it. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Sharing stops at your organization. Viewers must sign in to claude.ai as a member of the same organization that published the artifact, and there is no option to make an artifact viewable outside it. To send the underlying content to someone outside your organization, ask Claude for the HTML file and share that file directly. Artifacts are viewable, not co-edited. People you share with see each version you publish but cannot change the page; you remain the only writer.
##
@@ -168,7 +168,7 @@
Requirement| Available when
---|---
-Plan| Team or Enterprise. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
+Plan| Pro, Max, Team, or Enterprise. On Pro and Max plans, artifacts are private to you, and no admin management applies. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
Authentication| Signed in to claude.ai with `/login`. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud Vertex AI](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,4 +1,4 @@
-Artifacts are in beta. They require a Team or Enterprise plan and a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
+Artifacts require a Team or Enterprise plan and a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
--- a/artifacts.md
+++ b/artifacts.md
@@ -1,15 +1,6 @@
Artifacts are in beta. They require a Team or Enterprise plan and a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
-
-This page covers how to:
-
- * Decide when to use an artifact
- * Create, update, and share an artifact
- * Apply prompting patterns for richer pages
- * Apply your own design system so artifacts match your product’s branding
- * Understand the page constraints and availability requirements
- * Disable or manage artifacts for your organization
##
--- a/artifacts.md
+++ b/artifacts.md
@@ -177,7 +177,7 @@
Requirement| Available when
---|---
-Plan| Team or Enterprise. On Team plans, artifacts are on by default. On Enterprise plans, an admin enables them in claude.ai admin settings.
+Plan| Team or Enterprise. On Team plans, artifacts are on by default. On Enterprise plans, an Owner enables them in claude.ai admin settings.
Authentication| Signed in to claude.ai with `/login`. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud Vertex AI](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
@@ -203,7 +203,7 @@
Manage artifacts for your organization
-Admins on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization.
+Owners on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization.
###
Show diff (267 lines)
--- a/artifacts.md
+++ b/artifacts.md
@@ -0,0 +1,264 @@
+Artifacts are in beta. They require a Team or Enterprise plan and a session signed in with [`/login`](</docs/en/setup#authenticate>). See Availability for the full set of requirements.
+
+An artifact is a live, interactive web page that Claude Code publishes from your session to a private URL on claude.ai. You open it in a browser, and it updates in place as the session continues. Share it from the page header when you want a teammate to see it too. For example, use an artifact to walk a reviewer through a pull request with annotated diffs, build a dashboard from session data, or keep an investigation timeline that fills in as Claude works.
+
+This page covers how to:
+
+ * Decide when to use an artifact
+ * Create, update, and share an artifact
+ * Apply prompting patterns for richer pages
+ * Apply your own design system so artifacts match your product’s branding
+ * Understand the page constraints and availability requirements
+ * Disable or manage artifacts for your organization
+
+##
+
+
+
+When to use an artifact
+
+Use an artifact when terminal text is the wrong medium for what Claude produced: output that is easier to look at and interact with than to read line by line. Claude builds the page from anything your session can reach, including your codebase and data it pulls through your [connected tools](</docs/en/mcp>), so the page can show things that would take paragraphs to describe. For example, ask Claude to:
+
+ * Walk a reviewer through a pull request with annotated diffs
+ * Render a dashboard from data the session already pulled
+ * Lay out several design or implementation options side by side
+ * Keep an investigation timeline that fills in while a long task runs
+ * Send a teammate a link instead of pasting output into Slack
+
+See What you can build for prompts that match each of these.
+
+###
+
+
+
+What an artifact is not
+
+An artifact is a capture of work, not an application. It is one self-contained page with no backend, so it cannot store form input, call an API at view time, or serve multiple routes. For a hosted internal tool with a backend, deploy it on your own infrastructure instead. See Page constraints for the full set of limits.
+
+##
+
+
+
+Create an artifact
+
+Claude may publish an artifact on its own when the output suits a page, or you can ask for one directly. To ask, name the feature or describe the visual output you want in plain language. A good candidate is anything easier to see than to read as text, such as an annotated diff, a chart, or a set of options to compare. The prompts below are two examples; see What you can build for more patterns.
+
+ Make an artifact that walks through this PR with the diff annotated inline.
+
+ Build a dashboard artifact of last week's deploy failures by service and keep it updated as you investigate.
+
+Claude writes the page to an HTML or Markdown file in your project, then publishes it. Before publishing a new artifact, Claude Code asks for permission; it might say something like `Claude wants to publish "Deploy failures by service" (deploy-failures.html) to a private page on claude.ai`. Republishing an artifact you have already approved does not prompt again. Select **Yes** to publish. Claude prints the URL, and your browser opens to the new page. Press `Ctrl+]` at any time to reopen the most recent artifact from the terminal. Claude picks the artifact’s title and an emoji for its browser-tab icon. Both appear in your gallery of artifacts on claude.ai and in shared links, so ask Claude to use a specific title or icon if you want one. To stop the browser from opening automatically when a new artifact is published, set `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` in your environment. If Claude responds that it cannot publish, or writes a local HTML file without a link, the tool is not enabled for your session. Check the Availability requirements.
+
+##
+
+
+
+Update an artifact
+
+Ask Claude to revise the page, or let a long-running task republish as it makes progress. Claude edits the underlying file and publishes again to the same URL.
+
+ Add a per-region breakdown below the summary chart and republish.
+
+Anyone with the page open sees the update in place. Each publish becomes a version, and from the **Share** control in the page header you can choose which version viewers see. To update an artifact from a different session, give Claude the artifact’s URL and ask it to revise. Without the URL, a new session always creates a new artifact rather than updating an existing one.
+
+ Update https://claude.ai/code/artifact/5fbea6f3-... with today's numbers.
+
+##
+
+
+
+Share an artifact
+
+A new artifact is visible only to you. Open it in your browser and use the **Share** control in the page header to grant access to specific people in your organization, or to everyone in it. The header names you as the artifact’s author, so anyone you share it with can see who published the page. It also links to your gallery at [claude.ai/code/artifacts](<https://claude.ai/code/artifacts>), which lists every artifact you have created. Sharing stops at your organization. Viewers must sign in to claude.ai as a member of the same organization that published the artifact, and there is no option to make an artifact viewable outside it. To send the underlying content to someone outside your organization, ask Claude for the HTML file and share that file directly. Artifacts are viewable, not co-edited. People you share with see each version you publish but cannot change the page; you remain the only writer.
+
+##
+
+
+
+What you can build
+
+An artifact is a single HTML page, so anything you can express in HTML, CSS, and inline JavaScript is in scope. The patterns below come up most often.
+
+###
+
+
+
+Walk through a change
+
+Ask for a page that renders a diff or a design change with annotations beside the relevant lines, so reviewers can read your reasoning next to the code instead of reconstructing it from a description.
+
+ Make an artifact that walks through this PR. Render the diff with margin annotations and color-code findings by severity.
+
+###
+
+
+
+Compare alternatives
+
+Ask for several variants on one page so you can evaluate them against each other. This works for layouts, copy, API shapes, or implementation plans.
+
+ Make an artifact with four distinctly different layouts for the settings panel. Vary density and grouping, and lay them out as a grid with a one-line tradeoff under each.
+
+###
+
+
+
+Tune with interactive controls
+
+Ask for sliders, toggles, or input fields bound to whatever you are adjusting, so you can explore values directly instead of describing them.
+
+ Build an artifact with sliders for the easing curve, duration, and delay so I can try values on this transition. Show the animation live as I move them.
+
+###
+
+
+
+Bring the result back to your session
+
+An artifact can act as a lightweight editor for a decision you then hand back to Claude. Ask for an export control that produces text you can paste into the terminal, so the result of interacting with the page flows back into the session instead of staying on the page.
+
+ Make a triage board artifact with each open issue as a draggable card across Now, Next, Later, and Cut columns. Add a "Copy as prompt" button that gives me the final ordering to paste back here.
+
+###
+
+
+
+Track work in progress
+
+Ask Claude to keep an artifact current while a long task runs, so anyone with the link can follow along without reading the terminal.
+
+ Turn this migration plan into a checklist artifact. Check items off as you complete them and add a note for anything you skip.
+
+##
+
+
+
+Improve the visual design
+
+Claude applies a built-in design skill when it builds an artifact, so pages get a deliberate palette, typography, and layout without extra prompting. That skill also looks for an existing design system in your project before choosing its own. To keep artifacts consistent with your product’s branding, record your design tokens where Claude can find them, such as the project’s [CLAUDE.md](</docs/en/memory>) or a theme file in your repository:
+
+ ## Design system
+
+ - Colors: primary #1a4d8f, accent #f59e0b, surface #f8fafc
+ - Typography: Inter for body, JetBrains Mono for code
+ - Spacing: 8px scale, 6px border radius
+
+Claude treats your design system as higher precedence than its own choices, and your prompt as higher precedence than both. The heading and format above are an example; any clear list of colors, fonts, and spacing works.
+
+##
+
+
+
+Page constraints
+
+Each artifact is one self-contained page. Claude Code wraps the file you publish in an HTML document shell and serves it under a strict Content Security Policy (CSP), which shapes what the page can do.
+
+Constraint| Effect
+---|---
+No external requests| The CSP blocks scripts, stylesheets, fonts, and images loaded from any other host, along with `fetch`, XHR, and WebSocket calls. Claude inlines CSS and JavaScript and embeds images as data URIs so the page renders without any external request.
+No backend| An artifact is a static page. It cannot store data submitted through a form, authenticate viewers itself, or call an API at view time.
+Single page| Relative links do not resolve, because nothing is deployed alongside the page. For multi-section content, Claude uses in-page anchors rather than separate files.
+Source file types| The published file must be `.html`, `.htm`, or `.md`. Markdown files render as styled HTML.
+Rendered size| The rendered page must be 16 MiB or smaller. Large embedded images are the usual cause when a publish fails for size.
+
+Generating an artifact uses output tokens like any other response, and a styled page is more token-intensive than the same content as terminal text. Inline CSS, JavaScript for interactive controls, and especially images embedded as data URIs are the main contributors. To reduce an artifact’s token cost:
+
+ * Prefer SVG, or HTML and CSS, for diagrams over embedded raster images
+ * Omit interactivity you do not need
+ * Have the page summarize large datasets rather than inline them in full
+
+##
+
+
+
+Availability
+
+Artifacts require every condition below. When one is not met, Claude writes a local HTML file or says it cannot publish instead.
+
+Requirement| Available when
+---|---
+Plan| Team or Enterprise. On Team plans, artifacts are on by default. On Enterprise plans, an admin enables them in claude.ai admin settings.
+Authentication| Signed in to claude.ai with `/login`. Sessions using an API key, [gateway token](</docs/en/llm-gateway>), or cloud-provider credential cannot publish.
+Model provider| Anthropic API. Not available on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud Vertex AI](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>).
+Organization policy| Customer-managed encryption keys (CMEK), HIPAA, and [Zero Data Retention](</docs/en/zero-data-retention>) are not enabled for the organization.
+Surface| Claude Code CLI, or the Claude desktop app version 1.13576.0 or later. Off by default in [Agent SDK](</docs/en/agent-sdk/overview>), GitHub Action, and MCP-server contexts, and when [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](</docs/en/env-vars>) is set.
+
+##
+
+
+
+Disable artifacts
+
+To turn artifacts off for your own sessions regardless of your organization’s setting, use any of:
+
+Method| Setting
+---|---
+[Settings file](</docs/en/settings>)| `"disableArtifact": true`
+[Environment variable](</docs/en/env-vars>)| `CLAUDE_CODE_DISABLE_ARTIFACT=1`
+[Permission rule](</docs/en/permissions>)| Add `Artifact` to `permissions.deny`
+
+##
+
+
+
+Manage artifacts for your organization
+
+Admins on Team and Enterprise plans control artifacts from [claude.ai admin settings](<https://claude.ai/admin-settings/claude-code>). Artifact content is stored on Anthropic-operated infrastructure and is visible only to authenticated members of the publishing organization.
+
+###
+
+
+
+Enable or disable artifacts
+
+To enable or disable artifacts for the whole organization, go to **Settings > Claude Code > Capabilities** and use the **Artifacts** toggle. On Enterprise plans with role-based access control, you can additionally scope artifacts to specific roles: go to **Settings > Roles**, edit a role, and set the **Artifacts** permission under the **Claude Code** group.
+
+###
+
+
+
+Set a retention policy
+
+To set how long artifacts are kept before automatic deletion, go to **Settings > Data & privacy controls**. You can set separate retention periods for artifacts that are still private to their author and artifacts that have been shared.
+
+###
+
+
+
+Review the audit log
+
+Publishing, sharing, and deleting an artifact each appear in your organization’s audit log under the `claude_artifact_*` event types, the same family used for artifacts created in claude.ai conversations.
+
+###
+
+
+
+Allowlist the viewer domain
+
+The viewer on claude.ai loads each artifact from a sandboxed `*.claudeusercontent.com` origin. If your organization restricts outbound network access, add that domain to your allowlist alongside `claude.ai`. See [Network access requirements](</docs/en/network-config#network-access-requirements>) for the full list.
+
+###
+
+
+
+List and delete artifacts with the Compliance API
+
+The [Compliance API](<https://docs.claude.com/en/api/compliance>) provides endpoints to list an organization’s artifacts, retrieve a specific version’s content, and delete an artifact:
+
+Method| Endpoint
+---|---
+`GET`| `/v1/compliance/code/artifacts`
+`GET`| `/v1/compliance/code/artifacts/{artifact_id}/versions/{version_id}`
+`DELETE`| `/v1/compliance/code/artifacts/{artifact_id}`
+
+For the request and response schemas, see the [Compliance API reference](<https://docs.claude.com/en/api/compliance/code/artifacts>).
+
+##
+
+
+
+Related resources
+
+ * Browse [prompting patterns and workflows](</docs/en/prompt-library>) that pair with artifacts
+ * Turn an artifact prompt you reuse into a [skill](</docs/en/skills>) so you can invoke it as a command
+ * [Connect MCP servers](</docs/en/mcp>) so Claude can pull live data into an artifact