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-20261202T230702Z

68 pages moved out of 220 read.

Pages moved 68 significant first
Pages read 220 in this capture
Captured 23:07 UTC
Corpus hash 98745c4a90d1 corpus-hash

What this read moved

51-68 of 68, page 3 of 3

This capture is too large to show at once. Changes 51-68 of 68 are below, significant first; the rest are on the following screens.

permission-modes Changed · +1 / -1 lines

from line 245
245245 
246246> [tab] Web and mobile
247247>
248> On [claude.ai/code](https://claude.ai/code), use the mode dropdown in the row under the prompt box. In the mobile app, tap the **+** button in the prompt box, then **Permission**. Cloud sessions and Remote Control sessions offer different permission modes:
248> On [claude.ai/code](https://claude.ai/code), use the mode dropdown in the row under the prompt box. In the mobile app, tap the **+** button in the prompt box, then the **Permission** row. If you don't see that row, tap the **More** row first. Cloud sessions and Remote Control sessions offer different permission modes:
249249>
250250> * **[Cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web.md)**: Accept edits, Plan, and Auto. In Accept edits mode, Claude can run most shell commands and make most file edits in most cloud sessions without asking. Cloud sessions honor `defaultMode: "acceptEdits"` from settings. Auto mode appears unless your organization turns it off, and on claude.ai/code it's grayed out if the selected model doesn't [support it](#eliminate-prompts-with-auto-mode). Bypass permissions isn't available.
251251> * **[Remote Control](https://code.claude.com/docs/en/remote-control.md) sessions** on your local machine: Manual, Accept edits, Plan, and Auto for a session you started yourself, and you can't select Bypass permissions from the app. To use Auto, the session has to meet the auto mode [availability requirements](#eliminate-prompts-with-auto-mode). For a project thread running on your computer, see [Run a thread on your own computer](https://code.claude.com/docs/en/claude-projects.md#run-a-thread-on-your-own-computer).

permissions Changed · +2 / -2 lines

from line 317
317317 
318318#### Redirections
319319 
320When a command redirects output or input, Claude Code checks the redirect target against your file rules as if Claude wrote or read that file directly:
320When a command that Claude Code [can analyze](#read-only-commands) redirects output or input, Claude Code checks the redirect target:
321321 
322322* **Output redirects**: for `> file`, `>> file`, or `2> file`, the check covers your `Edit` allow and deny rules, [protected paths](https://code.claude.com/docs/en/permission-modes.md#protected-paths), and the [working directories](#working-directories). A rule such as `Bash(git commit *)` allows the command, not the target. A target that starts with `~` or contains a glob character needs your approval.
323323* **Input redirects**: for `< file`, the check covers your `Read` allow and deny rules and the working directories. A target outside the working directories needs your approval unless an allow rule covers it. A target that contains a glob pattern, or a relative path that follows a `cd` in the same command, needs your approval even when an allow rule covers it. Claude Code checks input targets in v2.1.257 and later.
from line 504
504504* **`@`-mentions**: a file or directory you mention in your prompt. A refused file leaves nothing in the conversation, and a [directory's listing](#read-and-edit) leaves out the names a rule covers.
505505* **Pasted images**: an image whose path you paste or drag into the prompt in the terminal
506506* **Changed files**: a file Claude Code re-reads after it changes on disk
507* **IDE context**: the selection and open-file context a connected IDE shares
507* **IDE context**: the selection and open-file context a connected IDE shares with a terminal session
508508 
509509With [`permissions.blockReadsOutsideWorkingDirectories`](https://code.claude.com/docs/en/settings-reference#permissions-blockreadsoutsideworkingdirectories) on, or in a [`--restricted`](https://code.claude.com/docs/en/cli-reference#cli-flags) session, these attachments are also left out when they come from a path where that setting or flag refuses Claude's file reads.
510510 

plugins/host-marketplace Changed · +2 / -2 lines

from line 82
8282 
8383## Distribute through organization settings
8484 
85On a Team or Enterprise plan, you can also distribute the marketplace through [**Organization settings > Plugins & skills**](https://claude.ai/admin-settings/skills?tab=inventory) on claude.ai instead of hosting it somewhere users add it themselves. Organization sync reads the repository through your organization's GitHub or GitLab connection on claude.ai, so your users' git credentials aren't involved.
85On a Team or Enterprise plan, you can also distribute the marketplace through [**Organization settings > Plugins & skills**](https://claude.ai/admin-settings/skills?tab=marketplaces), or the **Marketplaces** page in the newer layout. Organization sync reads the repository through your organization's GitHub or GitLab connection on claude.ai, so your users' git credentials aren't involved.
8686 
8787Organization sync is stricter about the repository than `/plugin marketplace add` is:
8888 
from line 109
109109 
110110For a GitHub Enterprise Server host, users need git access to that host from their machine. See [Plugin marketplaces on GHES](https://code.claude.com/docs/en/github-enterprise-server.md#plugin-marketplaces-on-ghes) for what each Claude Code surface needs to reach a GHES-hosted marketplace.
111111 
112If you distribute through [**Organization settings > Plugins & skills**](https://claude.ai/admin-settings/skills?tab=inventory) on claude.ai instead, your users' git credentials aren't involved. See [Distribute through organization settings](#distribute-through-organization-settings).
112If you [distribute through organization settings](#distribute-through-organization-settings) on claude.ai instead, your users' git credentials aren't involved.
113113 
114114### Serve users who have no git-host account
115115 

plugins/manifest-reference Changed · +1 / -1 lines

from line 667
667667 
668668The entry either serves as the manifest, adds components to it, or conflicts with it:
669669 
670* **No `plugin.json`**: the entry is the manifest, regardless of `strict`. Entry `hooks` loads only in the inline object form. For a file path or array there, the `/plugin` **Errors** tab shows a `not yet supported in a marketplace entry` error
670* **No `plugin.json`**: the entry is the manifest, regardless of the `strict` field. Write the entry's `hooks` field as an inline object. If you write a file path or array instead, the `/plugin` **Errors** tab shows an error such as `not yet supported in a marketplace entry`
671671* **`plugin.json` present, `strict` unset or `true`**: Claude Code loads the manifest and appends the entry's `commands`, `agents`, `skills`, `outputStyles`, and `themes` to it. For `hooks`, the entry's matchers for an event replace the manifest's matchers for that same event, and events only the manifest declares keep theirs
672672* **`plugin.json` present, `strict: false`**: an entry that declares any of `commands`, `agents`, `skills`, `hooks`, `outputStyles`, or `themes` is a conflict, and the plugin fails to load with `Plugin <name> has conflicting manifests`
673673 

plugins/marketplace-reference Changed · +2 / -2 lines

from line 15
1515> * **Building or hosting a marketplace**: see [Create a marketplace](https://code.claude.com/docs/en/plugins/create-marketplace.md) and [Host and maintain a marketplace](https://code.claude.com/docs/en/plugins/host-marketplace.md)
1616> * **Allowlist and blocklist recipes**: see [Manage plugins for your organization](https://code.claude.com/docs/en/plugins/org.md)
1717 
18Find the section for what you're writing or reading:
18You can look up the marketplace file, sources, and validation output in these sections:
1919 
2020* **The marketplace file**: [Top-level fields](#top-level-fields) and [Plugin entries](#plugin-entries)
2121* **An entry's `source`**: [Plugin sources](#plugin-sources)
from line 103
103103 
104104#### Hooks in an entry
105105 
106Write entry `hooks` as an inline object that maps hook event names to matcher arrays. If you write a file path or an array instead, `claude plugin validate` passes it. Those hooks never run, and Claude Code reports a `not yet supported in a marketplace entry` error for the plugin. Put file-based hooks in the plugin's own [`hooks/hooks.json`](https://code.claude.com/docs/en/plugins/components) or `plugin.json`.
106Write the entry's `hooks` field as an inline object that maps hook event names to matcher arrays. If you write a file path or an array instead, Claude Code reports an error for the plugin, such as `not yet supported in a marketplace entry`. The `claude plugin validate` command still passes the entry. Put file-based hooks in the plugin's own [`hooks/hooks.json`](https://code.claude.com/docs/en/plugins/components) or `plugin.json`.
107107 
108108#### Display fields
109109 

plugins/measure Changed · +1 / -1 lines

from line 61
6161 
6262If you maintain the plugin, these changes reduce what it adds to every session. If you only use it, your options are to disable or uninstall it; see [Manage installed plugins](https://code.claude.com/docs/en/plugins/install.md#manage-installed-plugins).
6363 
64The always-on figure counts each component's name plus its `description` and `when_to_use` frontmatter. To lower it:
64The always-on figure counts each component's name plus its `description` and `when_to_use` frontmatter. You can lower it in the following ways:
6565 
6666* Shorten skill and agent descriptions.
6767* Split a large plugin so users install only the components they need.

plugins/mods/interface Changed · +2 / -2 lines

from line 1161
11611161})
11621162```
11631163 
1164To try the pane:
1164In the pane, you can add and delete notes:
11651165 
11661166* **Add a note**: type a line and press Enter. The line appears as a new row, and the field empties.
11671167* **Delete a note**: press Tab until the note's `x` button has the focus, then press Enter. The `x` is the button's label and not a hotkey, so typing the letter doesn't press it.
from line 1369
13691369 
13701370Local sessions on your machine that run your mod share one `$.store`. A `get` followed by a `set` isn't atomic. When two sessions each read a value, change it, and write it back, they race, and the second write replaces the first.
13711371 
1372To make that less likely:
1372To make a lost write less likely, do the following:
13731373 
13741374* **Give each item its own key**: a `set` changes only its own key, so sessions that write different keys don't overwrite each other
13751375* **Read again right before you write**: for a value that several sessions change, `get` the key in the callback and build the new value from that, not from a copy you loaded at `session.start`. Another session's write is still lost if it lands between your `get` and your `set`.

plugins/mods/overview Changed · +1 / -1 lines

from line 22
2222 
2323## Get a mod
2424 
25To start with a mod:
25You can use a mod you already have, make one, or install one:
2626 
2727* **Use one you already have**: some of Claude Code's own features are mods, such as `/diff`. See [Mods built into Claude Code](#mods-built-into-claude-code).
2828* **Make one**: describe what you want in a Claude Code session, and Claude writes the mod. See [Ask Claude for a mod](https://code.claude.com/docs/en/plugins/mods/create.md#ask-claude-for-a-mod). To learn how a mod's code works, [write one yourself](https://code.claude.com/docs/en/plugins/mods/create.md#write-a-mod-yourself).

plugins/mods/reference Changed · +1 / -0 lines

from line 179
179179| Limit | Value |
180180| :- | :- |
181181| A hook's own execution time for one event, not counting time inside `next` or a mods API call other than `$.clock.sleep` | 10 seconds, or 50 milliseconds for a `prompt.edit` hook |
182| Combined execution time of all `ui.key` hooks for one key press, mods API calls included | 50 milliseconds. The `ui.key` event requires Claude Code v2.1.333 or later. |
182183| A `.catch` handler's execution time | 1 second |
183184| Time a `ui.render` or `plugin.register` hook waits on mods API calls for one event | 30 seconds for `ui.render`. 10 seconds for `plugin.register`, not counting `$.ui.ask`. The `ui.render` limit and the `$.ui.ask` exemption require Claude Code v2.1.326 or later. |
184185| All `session.end` hooks together | As long as the [SessionEnd hook budget](https://code.claude.com/docs/en/hooks.md#sessionend-input), 1.5 seconds unless you change it, counted from when your settings `SessionEnd` hooks finish |

pr-steward-setup Changed · +1 / -1 lines

from line 187
187187 
188188## Turn off PR Steward
189189 
190When you turn off PR Steward, new starts stop. It keeps working for a time on pull requests that already have the `claude-pr-steward-watching` label. When you turn it off for one author, that time can be about a week.
190You can turn off PR Steward to stop it from starting on more pull requests. After you do, it keeps working for a time on pull requests that already have the `claude-pr-steward-watching` label. If you turn it off for one author, that time can be about a week.
191191 
192192To stop PR Steward there as well, first remove the label from the pull requests that the change covers.
193193 

remote-control Changed · +2 / -2 lines

from line 31
3131* **Feature-flag evaluation**: if you set an [environment variable that turns off feature-flag evaluation](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching), whether Remote Control is available depends on which one:
3232 * If you set `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` or [`CLAUDE_CODE_DISABLE_FEATURE_FLAGS`](https://code.claude.com/docs/en/env-vars#variables), Remote Control is unavailable. Unset the variable wherever it's set, in your shell environment or in the `env` block of a [`settings.json` file](https://code.claude.com/docs/en/settings-reference#all-settings), to use Remote Control.
3333 * If you set only `DISABLE_TELEMETRY` or `DO_NOT_TRACK`, Remote Control stays available unless your organization requires [Trusted Devices](#trusted-devices). If it does, unset the variable to use Remote Control. Using Remote Control with either variable set requires Claude Code v2.1.283 or later, or v2.1.304 or later in the Claude Desktop app.
34* **Workspace trust**: in a directory you haven't trusted yet, `claude remote-control` prints what trusting it turns on and asks `Trust <directory>? [y/N]` before it starts. Answering `y` saves the choice, except in your home directory, where trust is never saved and the question returns on every run. When its standard input or output isn't a terminal, the command can't ask and exits with a [`Workspace not trusted`](https://code.claude.com/docs/en/errors#workspace-not-trusted-when-starting-remote-control) error.
34* **Workspace trust**: in a directory you haven't trusted yet, `claude remote-control` prints what trusting it turns on and asks `Trust <directory>? [y/N]` before it starts. Answering `y` saves the choice, except in your home directory. When its standard input or output isn't a terminal, the command can't ask and exits with a [`Workspace not trusted`](https://code.claude.com/docs/en/errors#workspace-not-trusted-when-starting-remote-control) error.
3535 
3636## Start a Remote Control session
3737 
from line 181
181181* **Diff of your changes**: when the session's directory is in a git repository, a connected device's diff pane shows your changes. On a branch that has commits ahead of the repository's default branch, the pane shows the changes since the branch split from it, including your uncommitted edits. On the default branch itself, or on a branch that isn't ahead of it, the pane shows only your uncommitted changes.
182182* **Model**: when you pick a [model](https://code.claude.com/docs/en/model-config.md) from a connected device, Claude Code runs the session on that model. Requires Claude Code v2.1.238 or later. A model you pick from the device's model control applies to the current session only. When you send `/model <name>` from the device to an interactive session, Claude Code also sets your default for new sessions.
183183* **Effort level**: when you set the [effort level](https://code.claude.com/docs/en/model-config.md#adjust-effort-level) from a connected device, with `/effort` or the device's effort control, Claude Code applies it to the session on your machine. If you pinned a level with `CLAUDE_CODE_EFFORT_LEVEL`, the session keeps that level. Picking a level from the effort control requires Claude Code v2.1.234 or later on your machine.
184* **Reconnecting after a connection failure**: run `/remote-control` to reconnect. If compaction rewrote the conversation or you switched conversations with `/resume` in the meantime, Claude Code archives the server session it was using instead of leaving it in the session list. You can still find that session among your [archived sessions](https://code.claude.com/docs/en/claude-code-on-the-web.md#find-an-archived-session) at claude.ai/code. Switching conversations while a device is still connected doesn't archive the session.
184* **Reconnecting after a connection failure**: run `/remote-control` to reconnect. If compaction rewrote the conversation or you switched conversations with `/resume` in the meantime, Claude Code archives the server session it was using. You can still find that session among your [archived sessions](https://code.claude.com/docs/en/claude-code-on-the-web.md#find-an-archived-session) at claude.ai/code.
185185 
186186### Fork a session from your browser
187187 

routines Changed · +1 / -1 lines

from line 381
381381 
382382Scheduled tasks can use your connected MCP connectors to read from and write to external services during each run. For example, a task that triages support requests might read from a Slack channel and create issues in Linear.
383383 
384Connectors are the [claude.ai integrations](https://code.claude.com/docs/en/mcp.md#use-mcp-servers-from-claude-ai) on your account. MCP servers you added locally in the CLI with `claude mcp add` are stored on your machine rather than your claude.ai account, so they do not appear in the connectors list. To use one of those servers in a scheduled task:
384Connectors are the [claude.ai integrations](https://code.claude.com/docs/en/mcp.md#use-mcp-servers-from-claude-ai) on your account. MCP servers you added locally in the CLI with `claude mcp add` are stored on your machine rather than your claude.ai account, so they do not appear in the connectors list. To use one of those servers in a scheduled task, add it as a connector or declare it in the repository:
385385 
386386* **As a connector**: add it as a connector at [claude.ai/customize/connectors](https://claude.ai/customize/connectors)
387387* **In the repository**: for a scheduled task with one repository, you can instead declare the server in a committed [`.mcp.json`](https://code.claude.com/docs/en/mcp#project-scope), unless the task runs as threads in a [project](https://code.claude.com/docs/en/claude-projects.md#what-threads-pick-up-from-your-repositories). If it does, add the server as a connector.

server-managed-settings Changed · +1 / -1 lines

from line 314
314314 
315315By default, if the remote settings fetch fails at startup, the CLI continues on unexpired cached settings, with [exceptions](#fetch-and-caching-behavior). The [values Claude Code withholds](#fetch-and-caching-behavior) stay withheld until a fetch succeeds.
316316 
317If the fetch fails with expired or no cached settings, a developer on a saved Team or Enterprise claude.ai login [usually can't start a session](#fetch-and-caching-behavior). A session that does start can run without server-managed settings and still applies any [endpoint-managed settings](https://code.claude.com/docs/en/managed-settings.md#delivery-mechanisms) on the device. To stop clients from starting on cached or absent server-managed settings, set `forceRemoteSettingsRefresh: true` in your managed settings.
317If the fetch fails with expired or no cached settings, a developer on a saved Team or Enterprise claude.ai login [usually can't start a session](#fetch-and-caching-behavior). A session that does start can run without server-managed settings and still applies any [endpoint-managed settings](https://code.claude.com/docs/en/managed-settings.md#delivery-mechanisms) on the device. To stop clients from starting on cached or absent server-managed settings, set `forceRemoteSettingsRefresh: true` in endpoint-managed settings.
318318 
319319Clients signed in through a [Claude apps gateway](#platform-availability) wait for the startup fetch whether or not you set this, and handle a failed fetch as follows:
320320 

ship-command Changed · +1 / -1 lines

from line 99
9999 
100100To skip the review and start a watch, type `/steward` at the Claude Code prompt. Use it on your own open pull request, or to start again after a watch ends. Before you leave a watch alone, see [Code that a watch runs on your computer](#code-that-a-watch-runs-on-your-computer).
101101 
102`/steward` is separate from [PR Steward](https://code.claude.com/docs/en/pr-steward.md), the agent that an organization sets up. Where PR Steward is already working on your pull request, no watch starts.
102`/steward` is separate from [PR Steward](https://code.claude.com/docs/en/pr-steward.md), the agent that an organization sets up. If your pull request has a PR Steward label, [take over from PR Steward](https://code.claude.com/docs/en/ship-command-troubleshooting.md#your-pull-request-or-branch-isn’t-ready-for-a-watch) before you start a watch.
103103 
104104## What Claude does during a watch
105105 

ship-command-troubleshooting Changed · +1 / -1 lines

from line 191
191191 
192192### A file that the watch relies on changed
193193 
194A watch ends when something changes a file that `gh`, `git`, or `/steward` relies on. Files such as these count:
194When something changes a file that `gh`, `git`, or `/steward` relies on, your watch ends. Check files such as these for changes:
195195 
196196* **Git's settings**: `git push -u`, `git branch -u`, and `git remote add` change them. An editor such as VS Code can also add a setting to `.git/config` when it opens the repository or you switch back to it
197197* **`.claude/settings.local.json`**: Claude Code writes it when you answer a permission prompt with "Yes, and don't ask again"

sub-agents Changed · +2 / -2 lines

from line 75
7575> | claude-code-guide | Haiku | When you ask questions about Claude Code features |
7676> | web-fetch | Haiku, or the model of the conversation that starts it [when it can't use Haiku](https://code.claude.com/docs/en/tools-reference.md#which-model-the-web-fetch-subagent-runs-on) | When Claude reads a web page in a [session that uses this subagent](https://code.claude.com/docs/en/tools-reference.md#web-fetch-subagent) |
7777 
78Built-in subagents are registered by default in interactive sessions. To restrict them:
78Built-in subagents are registered by default in interactive sessions. You can restrict them with a deny rule or an environment variable:
7979 
8080* To block a specific built-in type, add it to `permissions.deny` as shown in [Disable specific subagents](#disable-specific-subagents).
8181* To prevent Claude from delegating to any subagent, deny the `Agent` tool itself with [`permissions.deny`](https://code.claude.com/docs/en/permissions#tool-specific-permission-rules).
from line 1302
13021302 
13031303### Turn fork mode off
13041304 
1305Fork mode lets Claude start a fork on its own. To stop Claude from starting forks:
1305Fork mode lets Claude start a fork on its own. You can stop Claude from starting forks with a deny rule or by turning fork mode off:
13061306 
13071307* **Stop forks only**: add `"Agent(fork)"` to `permissions.deny` in your [settings](#disable-specific-subagents).
13081308* **Turn fork mode off**: set `CLAUDE_CODE_FORK_SUBAGENT` to `0`, following the steps in [Let Claude wait for a subagent](#let-claude-wait-for-a-subagent).

voice-dictation Changed · +1 / -1 lines

from line 120
120120 
121121With no panel, question, or permission prompt open, press `Esc` or `Ctrl+C` to cancel a dictation instead of finalizing it. Claude Code stops the microphone, discards the transcript, and restores the prompt to what it held before the recording started.
122122 
123At the prompt, both keys also cancel while a finished recording's transcript is still processing. A prompt you edited or submitted during processing stays as you left it.
123At the prompt, both keys also cancel while a finished recording's transcript is still processing. A prompt you edited or submitted during recording or processing stays as you left it.
124124 
125125Neither key does anything else in the press that cancels: `Esc` doesn't interrupt Claude's response, and `Ctrl+C` doesn't clear the prompt or count as the first of the [two presses that exit Claude Code](https://code.claude.com/docs/en/interactive-mode.md#general-controls).
126126 

worktrees Changed · +1 / -1 lines

from line 354
354354 
355355To get the real files, run `git lfs pull` inside the worktree.
356356 
357If worktree creation fails with one of these errors, match the error to its fix:
357Worktree creation can fail with these errors, each with its own fix:
358358 
359359* **`Could not read the repository git config to neutralize filter drivers`**: Claude Code couldn't read the repository's `.git/config`, for example because of its permissions. Fix that and retry.
360360* **`The repository git config defines a filter driver whose name cannot be neutralized (contains "=" or a newline)`**: rename or remove that filter driver in `.git/config` and retry.
Feedback