One read of Claude Code CLIclaude-code-20261201T013702Z
24 pages moved out of 221 read.
Pages moved
24
significant first
Pages read
221
in this capture
Captured
01:37 UTC
Corpus hash
b24a81d7221a
corpus-hash
What this read moved
1-24 of 24computer-use Changed · +4 / -4 lines
from line 4
44
55> [!NOTE]
66>
7> Computer use is a research preview on macOS that requires a Pro, Max, or Ultra plan. It is not available on Team or Enterprise plans. It requires an interactive session, so it is not available in non-interactive mode with the `-p` flag.
7> Computer use is a research preview on macOS for Pro, Max, and Ultra plans. It's rolling out to eligible Team and Enterprise organizations, where you need Claude Code v2.1.332 or later and an Owner must turn it on. It requires an interactive session.
88
99Computer use lets Claude open apps, control your screen, and work on your machine the way you would. From the CLI, Claude can compile a Swift app, launch it, click through every button, and screenshot the result, all in the same conversation where it wrote the code.
1010
from line 82
8282| Can open, change, or delete any file, and run apps and scripts | Finder |
8383| Can change system settings | System Settings |
8484
85These apps aren't blocked. The warning lets you decide whether the task warrants that level of access. Approve Finder to let Claude click the desktop, the Dock, or a Finder window.
85Approve Finder to let Claude click the desktop, the Dock, or a Finder window.
8686
8787Claude's level of control also varies by app category: view only for browsers and trading platforms, click only for terminals and IDEs, and full access for most other apps. See [app permissions in Desktop](https://code.claude.com/docs/en/desktop.md#app-permissions) for what each level lets Claude do.
8888
from line 173
173173| :- | :- | :- |
174174| Platforms | macOS and Windows | macOS only |
175175| Enable | Toggle in [Settings](https://code.claude.com/docs/en/desktop.md#enable-computer-use) | Enable `computer-use` in `/mcp` |
176| Denied apps list | Configurable in Settings | Not yet available |
176| Personal denied apps list | Configurable in Settings | Not available |
177177| Auto-unhide toggle | Optional | Always on |
178178| Dispatch integration | Dispatch-spawned sessions can use computer use | Not applicable |
179179
from line 192
192192The server only appears on eligible setups. Check that:
193193
194194* You're on macOS. Computer use in the CLI is not available on Linux or Windows. On Windows, use [computer use in Desktop](https://code.claude.com/docs/en/desktop.md#let-claude-use-your-computer) instead.
195* You're on a Pro, Max, or Ultra plan. Run `/status` to confirm your subscription.
195* Your plan [includes computer use](https://code.claude.com/docs/en/feature-availability.md#availability-by-subscription-plan). Run `/status` to confirm your subscription. On Team or Enterprise, you need v2.1.332 or later. If it's still missing, ask an Owner whether your organization and role have it.
196196* You're authenticated through claude.ai. Computer use is not available with third-party providers like Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry. If you access Claude exclusively through a third-party provider, you need a separate claude.ai account to use this feature.
197197* You're in an interactive session. Computer use is not available in non-interactive mode with the `-p` flag.
198198
agent-sdk/secure-deployment Changed · +1 / -1 lines
from line 239
239239export HTTPS_PROXY="http://localhost:8080"
240240```
241241
242Claude Code and the Agent SDK respect these standard environment variables, routing all HTTP traffic through the proxy. For HTTPS, the proxy creates an encrypted CONNECT tunnel: it cannot see or modify request contents without TLS interception.
242Claude Code and the Agent SDK then route HTTP traffic through the proxy. For HTTPS, the proxy creates an encrypted CONNECT tunnel: it cannot see or modify request contents without TLS interception.
243243
244244### Implementing a proxy
245245
agent-sdk/typescript Changed · +1 / -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 2057
20572057
20582058Why Claude Code refused to start, so your application can offer the fix instead of a retry. Claude Code sets it on the `error_during_execution` result it writes before exiting on a known startup failure. That result carries zeroed totals, and its `errors` array carries the failure message. The field is absent on every other result. Requires Agent SDK v0.3.274 or later.
20592059
2060Set `CLAUDE_CODE_STARTUP_FAILURE_RESULTS` to `1` in [`env`](#options) to receive this result for every `SDKStartupFailureReason` value. Without that variable, Claude Code writes the result only for these failures, and the rest end with stderr output, a non-zero exit, and no result message:
2060Set `CLAUDE_CODE_STARTUP_FAILURE_RESULTS` to `1` in the [`env`](#options) option to receive this result for every `SDKStartupFailureReason` value. When the variable is unset, check stderr and the exit code for a startup failure. You still receive the result in cases such as these:
20612061
20622062* A resume that Claude Code stops because it [can't return the session to its worktree](https://code.claude.com/docs/en/worktrees.md#the-session-resumes-outside-its-worktree), with `worktree_unverified` or `worktree_resume_refused`. That section says which error carries which value.
20632063* A refused [`continue`](#options) of a conversation that a background session holds, with `session_held_by_background`. For a refused [`resume`](#options) of such a conversation, Claude Code writes the result only when the variable is set.
from line 4620
46204620| Field | Type | Description |
46214621| - | - | - |
46224622| `status` | `"async_launched" \| "remote_launched"` | The tool accepted the invocation. `"async_launched"` for in-process runs, `"remote_launched"` for runs dispatched to a cloud session instead of running in-process |
4623| `taskId` | `string` | Background task identifier for
4623| `taskId` | `string` | Background task identifier for the run
claude-code-on-the-web Changed · +1 / -1 lines
from line 470
470470* **Not restored**: other background work that was still running or pending when the VM was reclaimed, including:
471471 * **Shell commands**: Claude Code tells Claude which commands stopped. Ask Claude to rerun the ones you still need.
472472 * **Subagents**: Claude Code tells Claude which subagents stopped, and which of those can be [resumed](https://code.claude.com/docs/en/sub-agents.md#resume-subagents) instead of started over. Ask Claude to continue their work.
473 * **Session-scoped scheduled tasks**: tasks you [scheduled in the session](https://code.claude.com/docs/en/scheduled-tasks.md) and a `/loop` waiting for its next iteration don't carry over to the reopened session. Ask Claude to schedule the tasks again, or run `/loop` again to restart the loop.
473 * **Session-scoped scheduled tasks**: Ask Claude to [schedule the tasks](https://code.claude.com/docs/en/scheduled-tasks.md) again, or rerun the same `/loop` command.
474474
475475## Limitations
476476
code-mode Changed · +1 / -1 lines
from line 276
276276
277277* **Change the text**: redact `result`, `stdout`, `stderr`, and `error`. Handle a `result` that's missing or `null`, and expect `error` only when the code failed or was stopped
278278* **Keep the shape**: return `code`, `stdout`, and `stderr` as strings, and return `error` as a string or leave it out. If you break this shape, Claude gets the original output
279* **Remove images, PDFs, and page errors**: if the copy has `images`, `documents`, or `imagePagesFailed` to hide, set that field to `[]`. The `imagePagesFailed` field lists the file path and error for each PDF page that couldn't be shown
279* **Remove images, PDFs, and page errors**: to hide `images`, `documents`, or `imagePagesFailed`, set that field to `[]` and return the copy each time the hook runs. The `imagePagesFailed` field lists the file path and error for each PDF page that couldn't be shown
280280* **Remove the path to long output**: on v2.1.331 or later, omit `uncutOutputNote` from the copy. The field gives Claude a path to the uncut text
281281
282282To hide the deploy token in the `notes.txt` result, print this JSON:
errors Changed · +2 / -2 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 622
622622
623623* A TLS certificate validation failure, such as a TLS-inspecting proxy, a missing `NODE_EXTRA_CA_CERTS` bundle, or an expired certificate. Claude Code reports the error on the first attempt, so you can fix the certificate setup right away; see [SSL certificate errors](#ssl-certificate-errors). Claude Code still retries transient TLS conditions such as a handshake timeout. Before v2.1.199, Claude Code retried certificate failures through the full retry budget before showing the error.
624624* A server error, dropped connection, or stalled stream that arrives after Claude has completed a block of text or a tool call, or has started one after finishing its thinking, but before it finishes the response. Claude Code doesn't re-run the request, because that could execute the same tool calls twice. It keeps what Claude completed, runs any tool calls Claude finished, and continues the turn from their results. For what you see in an interactive session and in a non-interactive one, read [The response above may be incomplete](#the-response-above-may-be-incomplete). Before v2.1.199, Claude Code discarded the partial output and reported the whole turn as an error when a server error arrived mid-stream.
625* A failure that arrives after Claude has finished the response: nothing needs retrying, so Claude Code keeps the complete response and ends the turn normally.
625* A server error, dropped connection, or stalled stream after Claude has finished the response. Claude Code keeps the complete response and ends the turn normally.
626626* An [Amazon Bedrock streaming response with an unexpected content-type](#bedrock-streaming-response-has-an-unexpected-content-type), because the gateway or proxy rewriting the response would rewrite the retry the same way. Requires Claude Code v2.1.208 or later.
627627* A non-streaming retry of a failed streaming request that gets a success status but [no Claude API message in the body](#api-returned-an-empty-or-malformed-response). Claude Code ends the turn with that error.
628628* A request that your organization's policy check denied, which surfaces as an `API Error:` line carrying the denial message. Your organization's administrators set up the check with [Inference hooks](https://platform.claude.com/docs/en/manage-claude/inference-hooks), a Claude Enterprise feature, and the message ends with the instructions they configured, or by default tells you to contact them. Claude Code doesn't re-send the denied request to the same model or to a [fallback model](https://code.claude.com/docs/en/model-config.md#fallback-model-chains), because the denial is about the request's content rather than the model. Before v2.1.239, Claude Code could re-send a denied request, without streaming or on a configured fallback model, before showing you the denial.
from line 810
810810In four cases, Claude Code handles the failure without showing this notice right away:
811811
812812* Earlier in the response, Claude Code either retries the failure or ends the turn with a different error. See [Automatic retries](#automatic-retries).
813* When one of these failures arrives after Claude has finished the response, Claude Code keeps the complete response and ends the turn normally, without this notice. Before v2.1.222, Claude Code showed this notice when the connection dropped or stalled after the response finished, and reported the turn as an error even though the response was complete.
813* When a server error, dropped connection, or stall happens after Claude has finished the response, Claude Code keeps the complete response and ends the turn normally. Before v2.1.222, Claude Code showed this notice when the connection dropped or stalled after the response finished, and reported the turn as an error.
814814* In a [non-interactive session](https://code.claude.com/docs/en/headless.md), such as a `-p` run, an [Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview.md) run, or a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md), you don't have to send `continue` yourself when the cut-off response is in the main conversation and contains text but no tool calls: Claude Code keeps the partial output and prompts Claude to continue from where it stopped, up to three times in a row. You see this notice for such a response only once Claude Code has used up those continuations. Before v2.1.246, Claude Code ended a non-interactive turn with this notice on the first cut-off.
815815* In a [subagent](https://code.claude.com/docs/en/sub-agents.md#api-errors-in-subagents), whether the session is interactive or not: when its cut-off response contains text but no tool calls, Claude Code prompts the subagent to continue. The notice becomes the subagent's last message only once those continuations are used up. Before v2.1.257, a subagent showed this notice on the first cut-off.
816816
from line 2368
23682368
23692369```text theme={null}
23702370artifact content fetch failed (proxy refused the connection: HTTP 407)
2371artifact content fetch failed (proxy refused
2371artifact content fetch failed (proxy refused the connection: HTTP 403)
2372the p
feature-availability Changed · +2 / -2 lines
from line 51
5151* [Claude Approvals](https://code.claude.com/docs/en/approvals.md): Team and Enterprise plans
5252* [Remote Control](https://code.claude.com/docs/en/remote-control.md)
5353* [Chrome extension](https://code.claude.com/docs/en/chrome.md)
54* [Computer use](https://code.claude.com/docs/en/computer-use.md): Pro, Max, and Ultra plans
54* [Computer use](https://code.claude.com/docs/en/computer-use.md)
5555* [Artifacts](https://code.claude.com/docs/en/artifacts.md): Pro, Max, Ultra, Team, and Enterprise plans
5656* [Voice dictation](https://code.claude.com/docs/en/voice-dictation.md)
5757
from line 342
342342| [Remote Control](https://code.claude.com/docs/en/remote-control.md) | ✓ | ✓ | ✓ | Admin-enabled | Admin-enabled |
343343| [Channels](https://code.claude.com/docs/en/channels.md) | ✓ | ✓ | ✓ | Admin-enabled | Admin-enabled |
344344| [Skills from MCP servers](https://code.claude.com/docs/en/mcp.md#requirements-for-skills-from-mcp-servers) | ✓ | ✓ | ✓ | Admin-enabled | Admin-enabled |
345| [Computer use](https://code.claude.com/docs/en/computer-use.md) | ✓ | ✓ | ✓ | ✗ | ✗ |
345| Computer use ([CLI](https://code.claude.com/docs/en/computer-use.md)) | ✓ | ✓ | ✓ | Owner-enabled, rolling out | Owner-enabled, rolling out |
346346| Dispatch ([Desktop](https://code.claude.com/docs/en/desktop.md#sessions-from-dispatch)) | Not available to new users | Not available to new users | Not available to new users | Not available to new users | Not available to new users |
347347| [Code Review](https://code.claude.com/docs/en/code-review.md) | ✗ | ✗ | ✗ | ✓ | ✓ |
348348| [PR Steward](https://code.claude.com/docs/en/pr-steward.md) | ✗ | ✗ | ✗ | ✓ | ✓ |
goal Changed · +1 / -1 lines
from line 97
9797
9898When you resume a session, Claude Code restores a goal that was still active when the session ended. Claude Code restores it on every resume route: `--continue`, `--resume` with a session ID, name, or [transcript file path](https://code.claude.com/docs/en/sessions.md#resume-a-session), and the [session picker](https://code.claude.com/docs/en/sessions.md#use-the-session-picker). Before v2.1.239, Claude Code restored the goal on every route except the `claude --resume` picker.
9999
100Claude Code carries the condition over but resets the turn count, timer, and token-spend baseline. It doesn't restore a goal that was already achieved or cleared.
100The goal's turn count and timer reset.
101101
102102### Run non-interactively
103103
headless Changed · +1 / -1 lines
from line 221
221221
222222Messages from [subagents](https://code.claude.com/docs/en/sub-agents.md) and from skills that [run in a subagent](https://code.claude.com/docs/en/skills.md#run-skills-in-a-subagent) appear in the stream as `assistant` and `user` messages. Their `parent_tool_use_id` field says which run each one belongs to. Messages from the main conversation carry `null` in that field.
223223
224The first message from a forked skill, or from a subagent running in the [foreground](https://code.claude.com/docs/en/sub-agents.md#run-subagents-in-foreground-or-background), is a `user` message carrying the prompt or skill content that drives it. After that first message, Claude Code emits:
224The first message from a forked skill, or from a [foreground](https://code.claude.com/docs/en/sub-agents.md#run-subagents-in-foreground-or-background) subagent other than a [fork](https://code.claude.com/docs/en/sub-agents.md#fork-the-current-conversation), is a `user` message with the subagent's prompt or the skill's content. After that first message, Claude Code emits:
225225
226226* **By default**: the run's `tool_use` and `tool_result` blocks.
227227* **With [`--forward-subagent-text`](https://code.claude.com/docs/en/cli-reference#cli-flags) or [`CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`](https://code.claude.com/docs/en/env-vars)**: the run's text and thinking blocks too, so you can reconstruct each run's transcript.
model-config Changed · +2 / -2 lines
from line 188
188188}
189189```
190190
191When the active model at startup comes from project or managed settings rather than your own selection, the startup header shows which settings file set it. Run `/model` to override; the project or managed setting reapplies in new sessions.
191To override a model set in project or managed settings, run `/model`. The project or managed setting reapplies in new sessions.
192192
193193On platforms that embed Claude Code and set [`CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST`](https://code.claude.com/docs/en/env-vars), the host's model configuration takes precedence over managed model settings. A managed `availableModels` allowlist stays in force unless the host supplies its own. [Exceptions to managed settings precedence](https://code.claude.com/docs/en/settings.md#exceptions-to-managed-settings-precedence) says which keys and variables the host overrides.
194194
from line 245
245245When you pick a model with `/model` and your next session starts on something else, these are the usual causes:
246246
247247* **You chose it for one session.** Pressing `s` in the picker, launching with `--model`, and running `/model` in non-interactive mode all apply to the current session and leave your saved default alone.
248* **Something with higher priority sets the model.** A `model` value in project or managed settings, `ANTHROPIC_MODEL` in your shell, or an [organization default](#organization-default-model) set to override user choices applies again at every new-session launch. Your `/model` choice is still saved; it's outranked. When project or managed settings set the model, the startup header names the file.
248* **Something with higher priority sets the model.** A `model` value in project or managed settings, the `ANTHROPIC_MODEL` variable in your shell, or an [organization default](#organization-default-model) set to override user choices applies again at every new-session launch. Your `/model` choice is still saved.
249249* **Claude Code couldn't save your choice.** `/model` writes `model` to `~/.claude/settings.json`. If you can't write to that file, for example because another tool generates it or links it to a read-only copy, the model you chose lasts for the session and the next launch reads the old value. Set `model` in the tool that generates the file, or make the file writable. See [A change you made in Claude Code is lost in new sessions](https://code.claude.com/docs/en/settings.md#a-change-you-made-in-claude-code-is-lost-in-new-sessions).
250250* **You resumed a session.** A session you resume with `claude --resume` or `--continue` usually [keeps the model it was using](#which-model-a-resumed-session-uses) rather than your current default.
251251
permission-modes Changed · +1 / -3 lines
from line 648
648648>
649649> Claude Code's classifier requests can run on a model other than your `/model` selection. See [which model they run on](#default-classifier-model).
650650>
651> Classifier calls count toward your token usage on Enterprise plans. They also count on accounts that use the Claude API, [Claude Platform on AWS](https://code.claude.com/docs/en/claude-platform-on-aws.md), Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry. Each check sends a portion of the transcript plus the pending action, adding a round-trip before execution.
652>
653> Where the server reviews the actions as part of the session's model requests, there are no separate classifier calls to count. See [Server-side classifier review](#server-side-classifier-review).
651> [Claude Code's own classifier requests](#server-side-classifier-review) count toward your token usage on Enterprise plans. They also count on accounts that use the Claude API, [Claude Platform on AWS](https://code.claude.com/docs/en/claude-platform-on-aws.md), Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry. Each request sends a portion of the transcript plus the pending action, adding a round-trip before execution.
654652>
655653> Sandboxed network access adds no per-connection classifier requests. The classifier judges [the hosts a command names](https://code.claude.com/docs/en/sandboxing.md#per-command-allowed-domains-in-auto-mode) together with the command in one review, and Claude Code checks each connection against the approved list without calling the classifier again.
656654
permissions Changed · +1 / -1 lines
from line 282
282282
283283A redirect such as `ls > out.txt` adds a check on the target. See [Redirections](#redirections).
284284
285In Manual mode, commands from this set still prompt in these cases:
285In Manual mode, commands from this set still prompt in cases such as these:
286286
287287* **Unquoted globs for commands with write-capable flags**: commands with write-capable or exec-capable flags, such as `find`, `sort`, `sed`, and `git`, prompt when an unquoted glob is present, because the glob could expand to a flag like `-delete`. Commands such as `ls *.ts` and `head src/*.py` run without a prompt despite the unquoted glob.
288288* **`docker` pointed at another daemon**: read-only forms of `docker` prompt when the command carries a flag that selects a different daemon, such as `-H`, `--context`, or Podman's `--url` and `--connection`.
platforms Changed · +1 / -1 lines
from line 10
1010
1111| Platform | Best for | What you get |
1212| :- | :- | :- |
13| [CLI](https://code.claude.com/docs/en/quickstart.md) | Terminal workflows, scripting, remote servers | Full feature set, [Agent SDK](https://code.claude.com/docs/en/headless.md), [computer use](https://code.claude.com/docs/en/computer-use.md) on macOS (Pro, Max, and Ultra), third-party providers |
13| [CLI](https://code.claude.com/docs/en/quickstart.md) | Terminal workflows, scripting, remote servers | Full feature set, [Agent SDK](https://code.claude.com/docs/en/headless.md), [computer use](https://code.claude.com/docs/en/computer-use.md) on macOS with a [supported plan](https://code.claude.com/docs/en/feature-availability.md#availability-by-subscription-plan), third-party providers |
1414| [Desktop](https://code.claude.com/docs/en/desktop.md) | Visual review, parallel sessions, managed setup | Diff viewer, app preview, [computer use](https://code.claude.com/docs/en/desktop.md#let-claude-use-your-computer) on Pro, Max, and Ultra |
1515| [VS Code](https://code.claude.com/docs/en/vs-code.md) | Working inside VS Code without switching to a terminal | Inline diffs, integrated terminal, file context |
1616| [JetBrains](https://code.claude.com/docs/en/jetbrains.md) | Working inside IntelliJ, PyCharm, WebStorm, or other JetBrains IDEs | Diff viewer, selection sharing, terminal session |
plugins/components Changed · +1 / -1 lines
from line 439
439439
440440The file maps each server name directly to its configuration, with no wrapper object around the map. `command` is the binary's name, with its arguments in `args`. `extensionToLanguage` needs at least one extension, each starting with `.`.
441441
442`claude plugin validate` doesn't read this file. When any entry is invalid, the whole file is skipped at load and `Invalid LSP server config for ".lsp.json"` appears in the `/plugin` **Errors** tab.
442An invalid `.lsp.json` file still passes the `claude plugin validate` command. To check the file, load the plugin and open the `/plugin` **Errors** tab. If any entry is invalid, you see `Invalid LSP server config for ".lsp.json"` and Claude Code skips the file.
443443
444444Your plugin configures the connection but doesn't install the server binary, and each file extension gets one server:
445445
plugins/create-marketplace Changed · +1 / -1 lines
from line 193
193193* Unknown fields at the top level or in a plugin entry, as warnings
194194* Problems in the `plugin.json` of each relative-path plugin, as `plugins[N] plugin.json → <field>: <message>`
195195
196For every message `validate` can print, see [Validation messages](https://code.claude.com/docs/en/plugins/marketplace-reference.md#validation-messages). For its flags and exit codes, see [`plugin validate`](https://code.claude.com/docs/en/plugins/cli-reference#plugin-validate).
196To look up a message, see [Validation messages](https://code.claude.com/docs/en/plugins/marketplace-reference.md#validation-messages). For flags and exit codes, see [`plugin validate`](https://code.claude.com/docs/en/plugins/cli-reference#plugin-validate).
197197
198198### Problems that surface when you add or install
199199
plugins/manifest-reference Changed · +2 / -2 lines
from line 19
1919* A `userConfig` option or a `channels` entry: the [User configuration](#user-configuration) and [Channels](#channels) schemas
2020* `${CLAUDE_PLUGIN_ROOT}` or another variable a plugin can reference: [Environment variables](#environment-variables)
2121* Where each component's files go: [Standard layout](#standard-layout)
22* A message from `claude plugin validate`: the [troubleshooting page](https://code.claude.com/docs/en/plugins/troubleshooting.md) lists each message with its fix and links to the relevant sections on this page
22* A message from the `claude plugin validate` command: [Troubleshoot plugins](https://code.claude.com/docs/en/plugins/troubleshooting.md)
2323
2424## Manifest file
2525
from line 686
686686* [Add components to a plugin](https://code.claude.com/docs/en/plugins/components.md): what each component does at runtime, with an example that validates
687687* [Marketplace reference](https://code.claude.com/docs/en/plugins/marketplace-reference.md): the entry fields a marketplace can set for your plugin
688688* [Plugin commands reference](https://code.claude.com/docs/en/plugins/cli-reference.md#plugin-validate): `claude plugin validate` flags and output
689* [Troubleshoot plugins](https://code.claude.com/docs/en/plugins/troubleshooting.md#claude-plugin-validate-reports-errors): each validation message with its fix
689* [Troubleshoot plugins](https://code.claude.com/docs/en/plugins/troubleshooting.md#claude-plugin-validate-reports-errors): validation messages with their fixes
690690
plugins/marketplace-reference Changed · +1 / -1 lines
from line 20
2020* **The marketplace file**: [Top-level fields](#top-level-fields) and [Plugin entries](#plugin-entries)
2121* **An entry's `source`**: [Plugin sources](#plugin-sources)
2222* **A `source` object in settings**: [Marketplace sources](#marketplace-sources)
23* **Output from [`claude plugin validate <path>`](https://code.claude.com/docs/en/plugins/cli-reference)**: [Validation messages](#validation-messages), which maps each message to the field it names
23* **Output from [`claude plugin validate <path>`](https://code.claude.com/docs/en/plugins/cli-reference)**: [Validation messages](#validation-messages)
2424
2525## Marketplace file
2626
plugins/org Changed · +1 / -1 lines
from line 181
181181| `blockedMarketplaces` | Blocklist of marketplace sources, checked before the allowlist | Doesn't block a marketplace already registered from a source it doesn't match |
182182| `syncClaudeAiPlugins` | Set `false` to stop Claude Code downloading and loading the plugins [synced from claude.ai](https://code.claude.com/docs/en/plugins/loading.md#synced-plugins) for each user's account. Requires Claude Code v2.1.273 or later | Doesn't turn off one synced plugin. For that, set `"<name>@synced": false` in [`enabledPlugins`](https://code.claude.com/docs/en/settings-reference#enabledplugins) |
183183| `enabledPlugins` | `true` force-enables, `false` blocks at every scope and hides the plugin | Doesn't install a plugin whose marketplace isn't registered or allowed |
184| `disableSideloadFlags` | Rejects `--plugin-dir`, `--plugin-url`, `--agents`, the Agent SDK `plugins` option, and folders named in the [`CLAUDE_CODE_PLUGIN_DIRS`](https://code.claude.com/docs/en/env-vars#variables) variable at startup, and `--mcp-config` too unless every server in it is an in-process `type: "sdk"` entry. Refuses plugin folders an Agent SDK application adds mid-session with [`addPlugins`](https://code.claude.com/docs/en/agent-sdk/typescript#load-more-plugin-folders-with-addplugins) | Doesn't restrict `.mcp.json`, `claude mcp add`, or SDK-provided servers. Pair it with [`allowedMcpServers`](https://code.claude.com/docs/en/managed-mcp) |
184| `disableSideloadFlags` | Rejects `--plugin-dir`, `--plugin-url`, `--agents`, the Agent SDK `plugins` option, and folders named in the [`CLAUDE_CODE_PLUGIN_DIRS`](https://code.claude.com/docs/en/env-vars#variables) variable at startup, and `--mcp-config` too unless every server in it is an in-process `type: "sdk"` entry. Refuses plugin folders an Agent SDK application adds mid-session with the [`addPlugins`](https://code.claude.com/docs/en/agent-sdk/typescript#load-more-plugin-folders-with-addplugins) option | Doesn't restrict `.mcp.json`, `claude mcp add`, or servers a local Agent SDK application adds with the [`setMcpServers()`](https://code.claude.com/docs/en/agent-sdk/typescript#mcpsetserversresult) method. Pair it with the [`allowedMcpServers`](https://code.claude.com/docs/en/managed-mcp) setting |
185185| `disableCommandPluginSources` | Blocks plugins with a `command` source from installing, updating, or loading. A `command` source is one whose plugin directory is produced by running a command on the machine. When unset, it takes the value of `allowManagedHooksOnly` | Doesn't affect other source types |
186186| `allowManagedHooksOnly` | Restricts which hooks run. See [`allowManagedHooksOnly`](https://code.claude.com/docs/en/settings-reference#allowmanagedhooksonly) | Doesn't trust hooks from plugins users enable themselves |
187187| `strictPluginOnlyCustomization` | Blocks skills, agents, hooks, and MCP servers from user and project sources. It also stops [skills-directory plugins](#keep-skills-directory-plugins-loading) loading. Set `true` to cover all four types, or an array of `skills`, `agents`, `hooks`, and `mcp` values such as `["skills", "hooks"]` to cover some | Doesn't restrict which plugins users install, or reject the CLI flags that sideload plugins, agents, and MCP servers. Pair it with `strictKnownMarketplaces` and `disableSideloadFlags` |
remote-control Changed · +1 / -1 lines
from line 353
353353* On iOS, Focus modes and notification summaries can suppress or delay pushes. Check Settings → Notifications → Claude.
354354* On Android, aggressive battery optimization can delay delivery. Exempt the Claude app from battery optimization in system settings.
355355
356Claude Code skips mobile push notifications while you are typing in or focused on the connected terminal. To extend this to any time you are at the machine, even in another window, set [`CLAUDE_CLIENT_PRESENCE_FILE`](https://code.claude.com/docs/en/env-vars) to a marker file path: notifications are skipped while the file exists. Configure a screen-lock listener or similar tool to create the file when your screen unlocks and delete it when your screen locks.
356While you type in the connected terminal, Claude Code skips mobile push notifications. Outside server mode, set the [`CLAUDE_CLIENT_PRESENCE_FILE`](https://code.claude.com/docs/en/env-vars) variable to a marker file path to skip pushes for permission prompts and questions any time you are at the machine. Configure a screen-lock listener or similar tool to create the file when your screen unlocks and delete it when your screen locks.
357357
358358## Limitations
359359
scheduled-tasks Changed · +2 / -2 lines
from line 238
238238* Tasks only fire while Claude Code is running and idle. Closing the terminal or letting the session exit stops them firing. [Backgrounding the session](https://code.claude.com/docs/en/agent-view.md#from-inside-a-session) carries `/loop` tasks over to a background session, which keeps running without a terminal.
239239* No catch-up for missed fires. If a task's scheduled time passes while Claude is busy on a long-running request, it fires once when Claude becomes idle, not once per missed interval.
240240* In a [background session](https://code.claude.com/docs/en/agent-view.md#from-inside-a-session), a [self-paced loop](#let-claude-choose-the-interval) stops if its next wakeup comes due while the session's process isn't running, such as after a crash. When the process starts again, the transcript shows a [notice that the wakeup won't fire](https://code.claude.com/docs/en/errors.md#restarted-after-its-next-loop-wakeup-was-due). To continue the loop, [reply to the session](https://code.claude.com/docs/en/agent-view.md#peek-and-reply) and ask Claude to keep it running.
241* When you resume with `claude --resume` or `claude --continue`, Claude Code restores tasks scheduled with `CronCreate`, except [expired](#seven-day-expiry) recurring tasks and one-shot tasks whose time has passed. You also lose session-scoped tasks if you exit between turns by choosing `Exit and stop tasks`. A [self-paced `/loop`](#let-claude-choose-the-interval) isn't restored either. To restart a loop that didn't come back, run `/loop` again.
241* When you resume with `claude --resume` or `claude --continue`, Claude Code restores tasks scheduled with `CronCreate`, except [expired](#seven-day-expiry) recurring tasks and one-shot tasks whose time has passed. You also lose session-scoped tasks if you exit between turns by choosing `Exit and stop tasks`. After you resume, rerun the same `/loop` command to restart a [self-paced loop](#let-claude-choose-the-interval) or another loop you lost.
242242* A restored recurring task doesn't fire for the runs it missed while the session wasn't running. Its next run is the first one due after you resume, and [jitter](#jitter) applies to that run.
243243* When you resume with `claude --resume` or `claude --continue`, Claude Code doesn't restart the background Bash commands and monitors that were running when the session ended. If you still need one, ask Claude to start it again.
244* With [feature-flag fetching off](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching), Claude Code stores a task you asked to keep across sessions in the project's `.claude/scheduled_tasks.json` file. When the `.claude` directory or that file is a symlink, Claude Code returns an error instead of scheduling the task. A saved task runs only in the project folder where you created it. If you copy the file into another folder, such as a new worktree, sessions there list the copied tasks but don't run them, so create the task again in that folder.
244* With [feature-flag fetching off](https://code.claude.com/docs/en/env-vars.md#features-that-need-feature-flag-fetching), Claude Code stores a task you asked to keep across sessions in the project's `.claude/scheduled_tasks.json` file. When the `.claude` directory or that file is a symlink, Claude Code returns an error. To run a saved task in another folder, such as a new worktree, create it again in that folder.
245245
246246For cron-driven automation that needs to run unattended:
247247
sessions Changed · +1 / -1 lines
from line 46
4646* Interrupted tool calls: a tool that was still running when the previous process ended, for example in a crash, doesn't get rerun when you resume.
4747* Model: with `claude --resume` or `--continue`, the session continues on the model it was using, except in the cases in [Which model a resumed session uses](https://code.claude.com/docs/en/model-config.md#which-model-a-resumed-session-uses).
4848* Permission mode: if you resume from a terminal with `claude --continue`, `claude --resume <session-id>`, or `claude --resume <name>` when the name matches one session, without `-p`, Claude Code restores the permission mode the session was in, except in the cases in [permission mode on resume](#permission-mode-on-resume), which also covers the session picker, `/resume`, and resuming with `claude -p`. Pass `--permission-mode` or `--dangerously-skip-permissions` to override the restored mode.
49* Active goal: a [goal](https://code.claude.com/docs/en/goal.md#resume-with-an-active-goal) that was still active when the session ended carries over; its turn count, timer, and token-spend baseline reset.
49* Active goal: a [goal](https://code.claude.com/docs/en/goal.md#resume-with-an-active-goal) that was still active when the session ended carries over.
5050* Session-scoped scheduled tasks: restored, with [exceptions](https://code.claude.com/docs/en/scheduled-tasks.md#limitations). Background Bash and monitor tasks aren't restored.
5151* Background work: a [background subagent](https://code.claude.com/docs/en/sub-agents.md#run-subagents-in-foreground-or-background), background Bash command, or [workflow](https://code.claude.com/docs/en/workflows.md) that ended with the previous process shows up in the resumed transcript as a note that it didn't finish. Claude Code doesn't start a turn from those notes; Claude reads them with your next prompt.
5252
skills Changed · +1 / -1 lines
from line 422
422422| `allowed-tools` | No | Tools Claude can use without asking permission during the turn that invokes this skill. The grant clears when you send your next message. Accepts a space- or comma-separated string, or a YAML list. See [Pre-approve tools for a skill](#pre-approve-tools-for-a-skill). |
423423| `disallowed-tools` | No | Tools removed from Claude's available pool while this skill is active. Use for autonomous skills that should never call certain tools, such as `AskUserQuestion` for a background loop. Accepts a space- or comma-separated string, or a YAML list. The restriction clears when you send your next message. Like deny rules, the field can't remove [`EndConversation`](https://code.claude.com/docs/en/tools-reference#endconversation-tool-behavior) while any other tool remains. |
424424| `model` | No | Model for the turn when you [run this skill with `/name`](#where-you-write-the-skills-name). Accepts [`/model`](https://code.claude.com/docs/en/model-config) values, or `inherit` for the active model. When Claude runs the skill, the session keeps its model. The same can happen in plan mode, in [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode), or under [model restrictions](https://code.claude.com/docs/en/model-config.md#restrict-model-selection). With `context: fork`, the value is the forked subagent's [per-invocation model](https://code.claude.com/docs/en/sub-agents.md#choose-a-model). |
425| `effort` | No | [Effort level](https://code.claude.com/docs/en/model-config.md#adjust-effort-level) for the rest of the current turn. Overrides the session effort level, but not the [`CLAUDE_CODE_EFFORT_LEVEL`](https://code.claude.com/docs/en/env-vars#variables) environment variable. With `context: fork`, the value sets the forked subagent's effort level instead. When you omit it, the level comes from the [effort resolution order](https://code.claude.com/docs/en/model-config.md#adjust-effort-level). For a fork on another model, see [Effort level of subagents and teammates](https://code.claude.com/docs/en/model-config.md#effort-level-of-subagents-and-teammates). Options: `low`, `medium`, `high`, `xhigh`, `max`; available levels depend on the model. |
425| `effort` | No | [Effort level](https://code.claude.com/docs/en/model-config.md#adjust-effort-level) for the rest of the current turn. Overrides the session effort level, but not the [`CLAUDE_CODE_EFFORT_LEVEL`](https://code.claude.com/docs/en/env-vars#variables) environment variable. With `context: fork`, the value sets the forked subagent's effort level instead. For a fork on another model, see [Effort level of subagents and teammates](https://code.claude.com/docs/en/model-config.md#effort-level-of-subagents-and-teammates). Options: `low`, `medium`, `high`, `xhigh`, `max`; available levels depend on the model. |
426426| `context` | No | Set to `fork` to run in a forked subagent context. See [Run skills in a subagent](#run-skills-in-a-subagent). |
427427| `agent` | No | Which subagent type to use when `context: fork` is set. |
428428| `background` | No | Only applies with `context: fork`. Set to `false` to wait for the forked subagent's result in the turn that invoked the skill, instead of [running it in the background](#run-skills-in-a-subagent). Default: `true`. |
tools-reference Changed · +1 / -1 lines
from line 52
5252| `SendFeedback` | Drafts a feedback report about Claude Code, covering a product problem or Claude's own behavior in the session, and queues it on your machine for you to review. Claude Code sends nothing until you choose to send the draft. See [SendFeedback tool behavior](#sendfeedback-tool-behavior). Requires Claude Code v2.1.238 or later | No |
5353| `SendMessage` | Sends a message to another agent: an [agent team](https://code.claude.com/docs/en/agent-teams.md) teammate, a [subagent it resumes](https://code.claude.com/docs/en/sub-agents.md#resume-subagents) by agent ID or name, or one of your other Claude Code sessions, on this machine or beyond it. Messaging other sessions requires Claude Code v2.1.224 or later. [Cross-session messaging](https://code.claude.com/docs/en/cross-session-messaging.md) covers which sessions Claude can reach, [what a message looks like when it arrives](https://code.claude.com/docs/en/cross-session-messaging.md#what-a-message-looks-like), and [how Claude gets a notice when another session goes idle](https://code.claude.com/docs/en/cross-session-messaging.md#get-a-notice-when-another-session-goes-idle). Claude can include an optional `summary` input, typically 5-10 words, that Claude Code shows as a one-line preview. When Claude omits it on a [plain-text message](https://code.claude.com/docs/en/cross-session-messaging.md#limitations), Claude Code uses the first line of the message as the summary. Claude Code truncates a summary longer than 200 characters with an ellipsis | No |
5454| `SendUserFile` | Sends files from the session to you with an optional caption, so a generated report, diagram, screenshot, or built artifact reaches your device instead of only being mentioned in the transcript. The optional `display` input controls presentation: `render` opens the file inline in the client, `attach` shows a download card only, and when unset the client decides by file type. Available when a [Remote Control](https://code.claude.com/docs/en/remote-control.md) client is connected or in a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md). Delivery runs through Anthropic-hosted infrastructure, so the tool is not available on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry | No |
55| `ShareOnboardingGuide` | Uploads `ONBOARDING.md` and returns a share link teammates can open in Claude Code. Called from `/team-onboarding` after the guide is written. Available to claude.ai subscribers on Team and Enterprise plans | Yes |
55| `ShareOnboardingGuide` | Uploads `ONBOARDING.md` and returns a share link teammates can open in Claude Code. Called from `/team-onboarding` after the guide is written. Available to claude.ai subscribers on Team and Enterprise plans | No |
5656| `Skill` | Executes a [skill](https://code.claude.com/docs/en/skills.md#control-who-invokes-a-skill) within the main conversation. Can prompt for skills that set `allowed-tools`, `disallowed-tools`, or `hooks`, and for [skills from MCP servers](https://code.claude.com/docs/en/mcp.md#approvals-for-mcp-skills) | Some skills |
5757| `SubagentHandback` | Delivers a subagent's final report to whichever conversation receives that subagent's result. Provided only in [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode), to subagents that the Agent tool runs locally other than [forks](https://code.claude.com/docs/en/sub-agents.md#fork-the-current-conversation), and available in the terminal CLI, IDE extensions, cloud sessions, and the Agent SDK; the classifier reviews the report before it's delivered. Requires Claude Code v2.1.271 or later | No |
5858| `SuggestPluginInstall` | Shows a [card of suggested plugins](https://code.claude.com/docs/en/claude-code-on-the-web.md#plugin-suggestions-in-the-conversation) you can add. Available in the same sessions as `ListPlugins` | No |
vs-code Changed · +0 / -1 lines
from line 871
871871| MCP server config | Yes | Yes: [add and manage servers](#connect-to-external-tools-with-mcp) with `/mcp` in the chat panel |
872872| Checkpoints | Yes | Yes |
873873| `!` Bash shortcut | Yes | No |
874| Tab completion | Yes | No |
875874
876875### Run CLI in VS Code
877876