Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · claude-code

One read of Claude Code CLIclaude-code-20261202T203701Z

8 pages moved out of 220 read.

Pages moved 8 significant first
Pages read 220 in this capture
Captured 20:37 UTC
Corpus hash 670ffa18368d corpus-hash

What this read moved

1-8 of 8

artifacts Changed · +16 / -14 lines

from line 161
161161 
162162## Collect comments on an artifact
163163 
164To let people in your organization comment on an artifact, open the [share dialog](#share-an-artifact) and give them the **Commenter** role. You can have Claude read their comments and reply to them. You need Claude Code v2.1.221 or later. Claude reads the comments in two cases:
164To let people in your organization comment on an artifact, open the [share dialog](#share-an-artifact) and give them the **Commenter** role. You can have Claude read their comments and reply to them. You need Claude Code v2.1.221 or later. To have Claude read the comments, do one of these:
165165 
166* **You ask Claude to read them**: give Claude the artifact's URL and ask for the comments.
167* **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.
166* **Ask Claude to read them**: give Claude the artifact's URL and ask for the comments.
167* **Send a comment to Claude**: in a thread on the page, send a comment with the **Send to Claude** checkbox selected, or mention `@claude` in one. Either way, you activate the thread. Only people who can edit the artifact can send a comment to Claude.
168168 
169Claude can reply to or resolve only an activated thread. Other threads stay open until a person resolves them on the page. People reading a thread see your name on the replies from your session, as `Claude · via <your name>`.
169Claude can reply to or resolve only a thread you activated. Threads nobody activated stay open until a person resolves them on the page. People reading a thread see your name on the replies from your session, as `Claude · via <your name>`.
170170 
171171If 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.
172172 
from line 180
180180 
181181### Let Claude reply to comments on its own
182182 
183After 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.
183After your session publishes an artifact, Claude Code watches that artifact for comments. When you send Claude a comment on the artifact, the comment reaches your session right away, and Claude can read the thread and reply without you asking.
184184 
185185You need Claude Code v2.1.228 or later.
186186 
187Your [permission mode](https://code.claude.com/docs/en/permission-modes.md) decides what Claude does when a sent comment arrives:
187Your [permission mode](https://code.claude.com/docs/en/permission-modes.md) decides what Claude does when you send Claude a comment:
188188 
189* **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>`.
190* **Claude waits for you**: outside plan mode, when posting the reply [would need your approval](#when-claude-code-asks-before-publishing), you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply.
191* **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.
189* **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.
190* **Claude waits for you**: outside plan mode, when posting the reply [would need your approval](#when-claude-code-asks-before-publishing), you see `Comments are waiting on Artifact: <name>`. Claude then asks you for approval to read the thread, and again to post the reply. If you don't see a notice for a later comment, ask Claude to read and reply.
191* **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. You may not see the notice for every comment.
192192 
193Claude 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.
193When another editor sends Claude a comment, the comment can also reach a session on your computer, and Claude can read the thread without you asking. Claude can answer in that thread once you've sent your own comment to Claude there.
194 
195After 60 comments or thread activations from other editors on an artifact within an hour, Claude skips their new comments there until that hour's comments age out.
194196 
195197Run `/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.
196198 

claude-projects Changed · +3 / -3 lines

from line 56
5656 
5757* **The project conversation**: one long-running session where Claude acts as the Project coordinator. In that role, Claude takes what you send, decides what becomes a thread, and keeps track of every thread it started. It sees what threads report back, not every step they take.
5858* **Threads**: the workers. Each is a separate session with its own context window that does one piece of work and reports back to the conversation when it finishes. A cloud thread works on its own branch and opens a pull request when the work calls for one.
59* **What every cloud thread starts with**:
59* **What a cloud thread starts with**:
6060 * The project's repositories and files, plus its [instructions and memory](#give-a-project-standing-context)
6161 * The `CLAUDE.md` in [each of the project's repositories](#what-threads-pick-up-from-your-repositories), but not the repositories' `.mcp.json` servers or `.claude/settings.json` hooks, permission rules, and `env`
62 * The [connectors](#get-skills-plugins-connectors-and-tools-into-threads) on your claude.ai account
62 * The [connectors](#get-skills-plugins-connectors-and-tools-into-threads) on your claude.ai account that its environment's [network access](https://code.claude.com/docs/en/cloud-environments.md#network-access) allows
6363 * A [cloud environment](#choose-an-environment-for-threads) that sets its network access, environment variables, network secrets, and installed tools
6464* **The Overview pane**: where you [see all the threads at once](#see-what-needs-you-in-overview) and which of them need you.
6565 
from line 384
384384 
385385* Skills: enable them for your claude.ai account, and cloud threads load the [skills you enable there](https://code.claude.com/docs/en/skills.md#skills-in-cowork-and-cloud-sessions), apart from [some threads in a self-hosted environment](https://code.claude.com/docs/en/self-hosted-environments-configuration.md#how-each-session’s-config-is-assembled). For skills committed to a repository, see [What threads pick up from your repositories](#what-threads-pick-up-from-your-repositories).
386386* Plugins: enable them for your claude.ai account at [claude.ai/customize/plugins](https://claude.ai/customize/plugins), and the cloud threads that Claude starts load them.
387* MCP servers: cloud threads get their MCP tools from the connectors on your claude.ai account, which are MCP servers you connect once at [claude.ai/customize/connectors](https://claude.ai/customize/connectors). Every cloud thread can use all of them with no per-project setup. [How connectors reach Claude Code](https://code.claude.com/docs/en/mcp.md#how-connectors-reach-claude-code) lists the rules for cloud sessions and the settings that turn connectors off.
387* MCP servers: cloud threads get their MCP tools from the connectors on your claude.ai account, which are MCP servers you connect once at [claude.ai/customize/connectors](https://claude.ai/customize/connectors). [How connectors reach Claude Code](https://code.claude.com/docs/en/mcp.md#how-connectors-reach-claude-code) lists the rules for cloud sessions and the settings that turn connectors off.
388388* Command-line tools and packages: install them in the environment's [setup script](https://code.claude.com/docs/en/cloud-environments.md#setup-scripts).
389389 
390390To see which connectors a running cloud thread has at claude.ai/code, open the thread and select **Connectors** from the **+** menu beside its message box. Turning a connector off there removes it from that thread and saves that as your account default, so new threads and claude.ai chats start without it until you turn it back on. A cloud thread picks up a connector you add or reconnect after the next message you send it.

cloud-environments Changed · +5 / -3 lines

from line 200
200200 
201201> [!NOTE]
202202>
203> MCP connectors you enable on a session or scheduled task work without adding their hosts to **Allowed domains**, because connector traffic travels through Anthropic's servers rather than the session's network. This relies on the same Anthropic-bound channel noted under [Security and isolation](https://code.claude.com/docs/en/claude-code-on-the-web.md#security-and-isolation). Turn off any connector you don't need to limit which tools Claude can reach.
203> In your own environments, the MCP connectors you enable work without adding their hosts to the **Allowed domains** field, because connector traffic travels through Anthropic's servers. Turn off any connector you don't need to limit which tools Claude can reach.
204>
205> In a [shared environment](#organization-shared-environments) set to **None**, or ever saved at **Limited** with the **Allow package managers** checkbox cleared, sessions can start without the connectors whose hosts aren't listed. To keep a connector that a member enables on a session or scheduled task, an Owner selects **Limited** and adds its server URL's host to the **Allowed domains** field. Sessions that start afterward get the connector.
204206 
205207When you change an Anthropic-hosted environment's network access, existing sessions follow the new setting within about a minute for requests that commands such as `curl` send through the [agent proxy](#add-network-secrets). If a request is still blocked after that, start a new session.
206208 
from line 219
217219Whichever level you pick, sessions can still reach these, because each one takes a path that doesn't go through the session's network allowlist:
218220 
219221* GitHub, through its [separate proxy](#github-proxy)
220* [MCP connectors](#network-access) you enable, whose traffic travels through Anthropic's servers
222* [MCP connectors](#network-access) you enable in your own environments, through Anthropic's servers
221223* The hosts you listed on the environment's [network secrets](#add-network-secrets), except the [hosts that never get the secret](#requests-that-never-get-the-credential)
222224* The Anthropic API, for Claude Code's own requests, even at **None**, as noted under [Security and isolation](https://code.claude.com/docs/en/claude-code-on-the-web.md#security-and-isolation)
223225 
from line 238
236238registry.example.com
237239```
238240 
239While **Allow package managers** is checked, sessions in this environment reach the [default allowlist](#default-allowed-domains) as well as the domains you list. Clear the checkbox to leave the default allowlist out. [GitHub traffic](#github-proxy), [MCP connector traffic](#network-access), and requests to the hosts of the environment's [network secrets](#add-network-secrets), other than the [hosts that never get the secret](#requests-that-never-get-the-credential), don't go through this allowlist.
241While the **Allow package managers** checkbox is checked, sessions in this environment reach the [default allowlist](#default-allowed-domains) as well as the domains you list. Clear the checkbox to exclude the default allowlist. In a shared environment, clearing it [can also drop connectors](#network-access). Checking it again may not bring them back. See [Access levels](#access-levels) for the traffic that doesn't go through this allowlist.
240242 
241243If your organization uses [artifacts](https://code.claude.com/docs/en/artifacts.md#availability), you don't need `*.frame.claudeusercontent.com` in the list for sessions to read them. When the list leaves that host out, Claude Code reads artifact content through the session's connection to Anthropic instead. Keep the host in an allowlist in two situations:
242244 

desktop Changed · +7 / -1 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 184
184184 
185185#### Approve Claude's actions on a site
186186 
187Outside Auto and Bypass permissions modes, a permission card appears before Claude uses an external site you haven't approved. Choose **Allow once**, **Always allow**, or **Deny**. **Allow once** approves the action without saving anything. **Always allow** saves the approval for that site on your device, and you can revoke it in Settings. Each site needs its own approval. Your local dev servers and project files don't need approval.
187Outside Auto and Bypass permissions modes, a permission card appears before Claude uses an external site you haven't approved. Choose the **Deny** option or an allow option. You see up to two of these on a card:
188188 
189* **Allow once**: approves the page Claude is on or opening in a Browser pane tab, until the tab reloads or loads another page
190* **Allow for this session**: approves that site in this session for up to 24 hours, ending sooner if you quit the app or archive the session
191* **Always allow**: saves the approval for that site on your device, and you can revoke it in Settings
192 
193Each site needs its own approval. Your local dev servers and project files don't need approval.
194 
189195Even on an approved site, Claude won't purchase items, create accounts, or bypass CAPTCHAs without your input. Browsing in the Browser pane uses the same safety model as the [Claude in Chrome extension](https://code.claude.com/docs/en/chrome.md). See [Using Claude in Chrome safely](https://support.claude.com/en/articles/12902428-using-claude-in-chrome-safely) for how Claude handles sensitive sites and risky actions.
190196 
191197#### Choose between the Browser and the Chrome extension
from line 2806
28002806 
28012807Rerun the same `ssh` command with `-v -S none` added. In its output, a `Server host key:` line shows a fingerprint, and the next `Host '<name>' is known` line names the machine that it belongs to. [Compare](#check-a-remote-machines-host-key) each fingerprint that you find with that machine's own.
28022808 
2803* **A jump host has no `Server host key:` line**: run `ssh -v -S none <jump host>` too, and compare that fingerprint in the same way.
2804* **A fingerprint doesn't match, or you can't check it**: don't connect again. Remove the saved key: under `Host '<name>' is known`, the
2809* **A jump host has no `Se

settings-reference Changed · +3 / -3 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

Nothing in the body moved in this read. What changed is above.

skills Changed · +6 / -6 lines

from line 295
295295 
296296#### Names reserved for synced skills
297297 
298Claude Code reserves the name `anthropic-skills`, and every name inside that namespace such as `anthropic-skills:pdf`, for skills synced from claude.ai, so a synced skill's full name never runs anything else. The name is reserved in every session, whether or not you sign in with a claude.ai account.
298Claude Code reserves the name `anthropic-skills`, and every name inside that namespace such as `anthropic-skills:pdf`, for skills synced from claude.ai. The name is reserved in every session.
299299 
300300* **A skill folder, a frontmatter `name`, a file or subfolder in `.claude/commands/`, or a [saved workflow](https://code.claude.com/docs/en/workflows.md#save-the-workflow-for-reuse)**: it doesn't load. A [startup notice](https://code.claude.com/docs/en/errors.md#a-skill-command-or-workflow-wasnt-loaded-because-its-name-is-reserved) names the first item to rename or edit.
301301* **A plugin named `anthropic-skills`**: it loads. When one of its skills and a synced skill are both named `<name>`, `/anthropic-skills:<name>` runs the synced skill.
from line 314
314314 
315315* In a cloud session, the body keeps the behavior a local skill has, because the session runs in an isolated container.
316316* In a Cowork session on your desktop, the body keeps the behavior a local skill has, except that Claude Code replaces every `!` command line with the [`disableSkillShellExecution` placeholder](#inject-dynamic-context), as it does for every skill you supply there.
317* In a terminal or VS Code session, Claude Code doesn't run [`!` commands](#inject-dynamic-context), doesn't attach the files that `@` references name, and doesn't substitute the `${CLAUDE_PROJECT_DIR}` and `${CLAUDE_SESSION_ID}` placeholders. The `@` references and both placeholders reach Claude as literal text. A `!` command line reaches Claude as literal text too, or as the `disableSkillShellExecution` placeholder when that setting is on. This handling requires Claude Code v2.1.228 or later.
317* In a terminal or VS Code session, [`!` commands](#inject-dynamic-context) can run under the usual [permission checks](#permission-checks-on-injected-commands). To stop them, turn on the [`disableSkillShellExecution`](https://code.claude.com/docs/en/settings-reference#disableskillshellexecution) setting, which also stops `!` commands in your own skills and in plugins.
318318 
319In a terminal or VS Code session, a synced skill's `!` lines, `@` file references, and `${CLAUDE_PROJECT_DIR}` and `${CLAUDE_SESSION_ID}` placeholders can also reach Claude as literal text.
320 
319321### Skills from MCP servers
320322 
321323[MCP servers can provide skills](https://code.claude.com/docs/en/mcp.md#use-skills-from-mcp-servers). Using them requires Claude Code v2.1.331 or later. Claude reads a skill's supporting files from the server as [MCP resources](https://code.claude.com/docs/en/mcp.md#use-mcp-resources). For prompts and rules, see [Approvals for MCP skills](https://code.claude.com/docs/en/mcp.md#approvals-for-mcp-skills).
from line 765
763765```
764766````
765767 
766To disable this behavior for skills and custom commands from user, project, plugin, or [additional-directory](#skills-from-additional-directories) sources, set `"disableSkillShellExecution": true` in [settings](https://code.claude.com/docs/en/settings.md). Each command is replaced with `[shell command execution disabled by policy]` instead of being run. Bundled and managed skills are not affected. This setting is most useful in [managed settings](https://code.claude.com/docs/en/managed-settings.md), where users cannot override it.
768To disable this behavior for skills and custom commands from user, project, plugin, synced, or [additional-directory](#skills-from-additional-directories) sources, set `"disableSkillShellExecution": true` in [settings](https://code.claude.com/docs/en/settings.md). Each command is replaced with `[shell command execution disabled by policy]` instead of being run. Bundled and managed skills are not affected. This setting is most useful in [managed settings](https://code.claude.com/docs/en/managed-settings.md), where users cannot override it.
767769 
768In a terminal or VS Code session, Claude Code doesn't run these commands in skills [synced from your claude.ai account](#how-synced-skills-behave), regardless of this setting. This restriction requires Claude Code v2.1.228 or later.
769 
770770> [!TIP]
771771>
772772> To request deeper reasoning when a skill runs, include `ultrathink` anywhere in the skill content. See [Use ultrathink for one-off deep reasoning](https://code.claude.com/docs/en/model-config.md#use-ultrathink-for-one-off-deep-reasoning).
from line 928
928928Claude Code matches an `allow` rule only against the skill's own name and the name in Claude's invocation. To approve a [synced skill](#how-synced-skills-behave) without a prompt, name it inside its [reserved namespace](#names-reserved-for-synced-skills):
929929 
930930* `Skill(anthropic-skills:pdf)` approves the synced `pdf` skill
931* `Skill(anthropic-skills *)` approves every synced skill
931* `Skill(anthropic-skills *)` approves every synced skill in that namespace
932932* `Skill(anthropic *)` doesn't cover `anthropic-skills:pdf`, because a prefix outside the namespace doesn't match the names inside it
933933 
934934For a [skill from an MCP server](#skills-from-mcp-servers), [set a rule for its server](https://code.claude.com/docs/en/mcp.md#block-a-servers-skills-or-ask-first) instead. You can't skip its prompt with an `allow` rule for the skill's name.

hooks Changed · +3 / -1 lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 2810
28102810}
28112811```
28122812 
2813SubagentStop hooks use the same decision control format as [Stop hooks](#stop-decision-control), including the `hookSpecificOutput.additionalContext` field with the `hookEventName` field set to `"SubagentStop"`, for non-error feedback that keeps the subagent running. Returning `decision: "block"` with a `reason` keeps the subagent running and delivers `reason` to the subagent. To inject context into the parent session after a subagent returns, use a [`PostToolUse`](#posttooluse) hook on the `Agent` tool instead.
2813To keep the subagent running, return `decision: "block"` with a `reason` field, or return a `hookSpecificOutput.additionalContext` field, as for [Stop hooks](#stop-decision-control). The subagent receives that text. In the `hookSpecificOutput` object, also set the `hookEventName` field to `"SubagentStop"`.
28142814 
2815To add context to the parent session after a foreground subagent returns, use a [`PostToolUse`](#posttooluse) hook on the `Agent` tool.
2816 
28152817### TaskCreated
28162818 
28172819Runs when a task is being created via the `TaskCreate` tool. Use this to enforce naming conventions, require task descriptions, or prevent certain tasks from being created. In a [session without the Task tools](https://code.claude.com/docs/en/tools-reference.md#task-tool-availability), this event doesn't fire.
from line 3643
36413643| `prompt_cache_warm` | boolean | Whether the current model's prompt cache is likely still warm, meaning the switch forfeits it |
36423644| `cache_ttl` | string | [Prompt cache lifetime](https://code.claude.com/docs/en/prompt-caching.md#cache-lifetime) of the main conversation at the time of this switch: `"5m"` or `"1h"` |
36433645| `estimated_cache_write_usd` | number | Estimated cost in US dollars of writing `context_tokens` to the prompt cache on `to_model` at the `cache_ttl` rate, excluding the next response. The server may not need to re-cache the whole context, so treat it as an estimate |
3644| `pricing` | string | How Claude Code priced `estimated_cache_write_usd`: `"configured"` at your organization'
3646| `pricing` | string | How Claude Code priced `estimated_cache_write_usd`: `"configured"` at your organization's own rates when it has configured them, `"catalog"` at list price, or `"

routines Changed · +2 / -2 lines

from line 113
113113* **Environment variables**: provide values Claude can use during each run. They're [visible to anyone who uses the environment](https://code.claude.com/docs/en/cloud-environments.md#what-carries-over-from-your-setup), so in an Anthropic-hosted environment, store keys for the APIs Claude calls during a run as [network secrets](https://code.claude.com/docs/en/cloud-environments.md#add-network-secrets) instead. That section also lists the requests that never get a secret
114114* **Setup script**: install dependencies and tools the task needs. The result is [cached](https://code.claude.com/docs/en/cloud-environments.md#environment-caching), so the script doesn't re-run on every session
115115 
116A **Default** environment is provided with **Limited** network access and **Allow package managers** checked. Its runs reach the [default allowlist](https://code.claude.com/docs/en/cloud-environments.md#default-allowed-domains): package registries, cloud provider APIs, container registries, and common development domains. Connectors you add to the task reach their services through Anthropic's servers, so they don't need allowlist changes.
116A **Default** environment is provided with **Limited** network access and **Allow package managers** checked. Its runs reach the [default allowlist](https://code.claude.com/docs/en/cloud-environments.md#default-allowed-domains): package registries, cloud provider APIs, container registries, and common development domains. See [Network access](https://code.claude.com/docs/en/cloud-environments.md#network-access) for when connectors need their hosts allowed.
117117 
118118If your task needs to reach your own services directly, or a domain outside that list, edit the environment's [network access](https://code.claude.com/docs/en/cloud-environments.md#network-access) before running. To use a separate environment, [create one](https://code.claude.com/docs/en/cloud-environments.md#configure-your-environment) first.
119119 
from line 433
433433 
434434Each scheduled task uses a [cloud environment](https://code.claude.com/docs/en/cloud-environments.md) that controls network access, environment variables, and setup scripts. The task inherits the environment's network policy on every run.
435435 
436The **Default** environment uses **Limited** access with **Allow package managers** checked, so its runs reach the [default allowlist](https://code.claude.com/docs/en/cloud-environments.md#default-allowed-domains). A request to a blocked host fails with [an error such as a `403` or `ENOTFOUND`](https://code.claude.com/docs/en/errors#host-not-allowed-in-a-cloud-session). MCP connector traffic is routed through Anthropic's servers, so the connectors you add to the task work without adding their hosts to **Allowed domains**. Remove any connectors you don't need under [Connectors](#connectors).
436The **Default** environment uses **Limited** access with **Allow package managers** checked, so its runs reach the [default allowlist](https://code.claude.com/docs/en/cloud-environments.md#default-allowed-domains). A request to a blocked host fails with [an error such as a `403` or `ENOTFOUND`](https://code.claude.com/docs/en/errors#host-not-allowed-in-a-cloud-session).
437437 
438438To allow additional domains on one of your own environments, follow these steps. An [organization-shared environment](https://code.claude.com/docs/en/cloud-environments.md#organization-shared-environments) opens read-only here, so an Owner changes its network access from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings) instead.
439439 
Feedback