modified Set up Claude Code for your organization View current →
--- a/admin-setup.md +++ b/admin-setup.md @@ -159,7 +159,7 @@ With provider and delivery mechanism chosen, move on to detailed configuration: * [Server-managed settings](</docs/en/server-managed-settings>): deliver managed policy from the Claude admin console - * [Settings reference](</docs/en/settings-reference>): every setting key, with where it goes and an example + * [All settings](</docs/en/settings-reference>): every setting key, with where it goes and an example * [Which value Claude Code uses](</docs/en/settings#which-value-claude-code-uses>): the precedence rules across managed, project, local, and user settings * [Monorepos and large repos](</docs/en/large-codebases>): per-directory configuration patterns for organizations deploying into a monorepo * [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), [Microsoft Foundry](</docs/en/microsoft-foundry>): provider-specific deployment
modified Configure auto mode View current →
--- a/auto-mode-config.md +++ b/auto-mode-config.md @@ -362,4 +362,4 @@ * [Permission modes](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>): what auto mode is, what it blocks by default, and which sessions start in it * [Managed settings](</docs/en/server-managed-settings>): deploy `autoMode` configuration across your organization * [Permissions](</docs/en/permissions>): allow, ask, and deny rules that apply before the classifier runs - * [Settings reference](</docs/en/settings-reference#automode>): every settings key, including `autoMode` + * [All settings](</docs/en/settings-reference#automode>): every settings key, including `autoMode`
modified Claude Code changelog View current →
--- a/changelog.md +++ b/changelog.md @@ -1,4 +1,69 @@ This page is generated from the [CHANGELOG.md on GitHub](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md>). Run `claude --version` to check your installed version. + +​ + +2.1.266 + +September 8, 2026 + + * Fixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented `CLAUDE_CODE_USE_GATEWAY` environment variable, previously ignored unless `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` were both set, began forcing Cloud-gateway sign-in on its own in 2.1.265, so configurations that set it alongside an API key, `apiKeyHelper`, or custom auth headers failed every request with “Not signed in to the Cloud gateway”. The variable on its own is ignored again; no configuration change is needed + +​ + +2.1.265 + +September 8, 2026 + + * Added `user.email` and `user.groups` to the telemetry Claude Desktop and Cowork send through a Claude apps gateway, matching terminal sessions + * Added support for pointing `--plugin-dir` at a folder of plugins: each child folder with a manifest loads, and children added or removed while running are picked up + * Added a 1 GB cap on tool results saved to disk; the in-conversation preview says when a saved file was truncated + * Fixed resuming a foreground-spawned subagent changing its tool list and system prompt prefix, which broke prompt-cache reuse for that agent + * Fixed agent teammates and resumed subagents moving SubagentStart hook context and preloaded skills out of the prompt prefix on later turns, which broke prompt-cache reuse + * Fixed resume after the previous process died while a tool was running: the last prompt is no longer rewritten, and the interrupted tool call is kept and marked interrupted + * Fixed `/model opusplan[1m]` being rejected with “Model not found” + * Fixed syntax-highlighted code in permission prompts and messages sometimes omitting a character after a Ruby `?`, Erlang `$`, or Perl `$` sigil + * Fixed the fullscreen transcript jumping by one row whenever the slash-command or @-file suggestion list opened or closed + * Fixed a plugin path containing a backslash bypassing the symlink containment check on macOS and Linux + * Fixed plugin directories whose names begin with two dots being wrongly refused as outside the plugin root + * Fixed VS Code and SDK sessions occasionally requiring re-login when a session was closed while refreshing its token + * Fixed Remote Control sessions sending the end-of-turn signal before the reply’s last message, which could show a reply as finished in the Claude app before its last part arrived + * Fixed background (`--bg`) sessions occasionally being retired mid-turn when a message arrived just before the idle timeout + * Fixed Claude Code’s own git status and diff probes running clean filters configured by a nested repository inside the working tree + * Fixed the advisor tool and its instructions being re-decided per request from the request’s model; the decision is now made once and announced in the conversation when it changes + * Fixed artifact publish accepting connector tool names the connector doesn’t expose; the publish is now refused when none of the declared tools exist, and warned when only some don’t + * Fixed `/add-dir <subdirectory>` refusing to load a subdirectory’s agents when managed settings lock only skills to plugins, and promising agents when only agents are locked + * Fixed two-key keyboard shortcuts cancelling silently when the second key arrived more than a second later, as happens inside tmux; they now wait 3 seconds and show a notice when they time out + * Fixed forked skills (`context: fork`) not streaming their kickoff prompt and, with `--forward-subagent-text`, their text turns as progress events in stream-json + * Fixed a plugin’s default component folder that the OS cannot check, such as a symlink loop, being silently skipped; it is now reported in `/plugin` with the error code + * Fixed the Claude apps gateway’s OTLP telemetry relay pausing all forwarding to a collector for 30 seconds after it rejected a few payloads as malformed or too large + * Fixed `/plugin` Discover/Browse and `claude plugin list --json --available` showing no description or display name for marketplace plugins whose metadata lives only in their `plugin.json` + * Fixed `/login` showing “no gateway URL is configured” when re-run in a session that signed in to a Claude apps gateway set by managed settings + * Fixed `/model` claiming a model was “saved as your default” when the settings file couldn’t be written; it now says the save failed and why + * Fixed `/clear` from Remote Control waiting on SessionStart hooks and on open terminal dialogs before completing + * Fixed the `/config` dialog changing height when switching between its tabs + * Fixed resuming a workflow run after its container restarted; a resume whose run journal is missing now fails with a clear error instead of rerunning every agent + * Fixed the `claude-api` skill’s error-code reference: model access failures return 404 and unavailable beta headers return 400, not 403 + * Fixed non-interactive sessions (`-p` with stream-json input, Agent SDK, cloud sessions) resetting the shell working directory at each new user message; a `cd` now persists across turns + * Fixed MCP servers configured as `http` that only speak the legacy HTTP+SSE transport never connecting; Claude Code now falls back to SSE as the MCP spec describes + * Fixed some claude.ai connectors in cloud sessions showing as needing authentication even though they are connected in claude.ai (servers that answer an unsupported request with HTTP 401) + * Fixed remote sessions keeping their sandbox container alive while a connector approval or sign-in link waits for you + * Fixed resumed sessions showing long model-facing recovery instructions in “background task didn’t finish” notices instead of a short status line + * Windows: Fixed Read, Write and Edit refusing every file (“symlink resolution changed after permission was checked”) when running inside an AppContainer or restricted-token sandbox + * Improved `--worktree` startup on large repositories: the new worktree is now checked out in parallel (git 2.32+) + * Improved `/workflows` agent detail: tool calls are marked running, failed or done, the subagent’s task list is shown when it has one, and Enter unfolds the listed calls with their inputs and results + * Improved slash commands typed mid-prompt: matches now show in a list (Tab opens it outside fullscreen) instead of a single suggestion, and a plugin skill is now found by its bare name + * Improved remote MCP servers that need sign-in: Claude Code no longer registers an OAuth client with them until you actually authenticate + * Improved the time to resume long sessions that read many files + * Improved the error shown when an image over the size limits cannot be decoded: it now names the cause and how to fix it instead of only citing the limit + * Improved the Artifact tool’s read of an artifact someone else wrote: the summary now treats the page as untrusted content and flags embedded instructions rather than relaying them + * Updated the `.claude` folder permission option to say what it actually allows: editing files in the project’s `.claude` folder (or `~/.claude`) for the session + * Changed machines with `forceLoginGatewayUrl` in managed settings to be Claude apps gateway sessions from startup, like `forceLoginMethod: "gateway"`; a leftover claude.ai login or API key is not used + * Changed image processing to use the runtime’s built-in image support; the CLI no longer extracts a native image module to the temp directory + * Changed plugin display metadata to prefer the marketplace entry over `plugin.json` on the Installed tab and `claude plugin details`, filling gaps from `plugin.json` + * Changed Claude apps gateway sessions to export OpenTelemetry directly to a collector the gateway’s managed settings name in `OTEL_EXPORTER_OTLP_ENDPOINT`, instead of through the gateway’s relay; sessions without a named collector still use the relay + * [VSCode] Added automatic archiving of sessions inactive for a set period (new “Archive inactive sessions” setting, default 14 days) + * [VSCode] Fixed the sidebar chat coming back blank after Reload Window or a restart when the conversation had been open for more than 10 minutes + * [VSCode] Fixed the timeline dot sitting below the text on the “Remote Control is active” message ​
modified Use Claude Code on the web View current →
--- a/claude-code-on-the-web.md +++ b/claude-code-on-the-web.md @@ -392,7 +392,7 @@ * [Ultrareview](</docs/en/ultrareview>): run a deep multi-agent code review in a cloud sandbox * [Routines](</docs/en/routines>): automate work on a schedule, via API call, or in response to GitHub events * [Hooks configuration](</docs/en/hooks>): run scripts at session lifecycle events - * [Settings reference](</docs/en/settings-reference>): all configuration options + * [All settings](</docs/en/settings-reference>): all configuration options * [Security](</docs/en/security>): isolation guarantees and data handling * [Data usage](</docs/en/data-usage>): what Anthropic retains from cloud sessions * [Claude Tag](<https://claude.com/docs/claude-tag/overview>): an organization-managed @Claude in Slack that runs on the same cloud infrastructure
modified Configure cloud environments View current →
--- a/cloud-environments.md +++ b/cloud-environments.md @@ -433,10 +433,7 @@ Setup scripts vs. SessionStart hooks -Use a setup script to provision the VM itself: toolchains and CLI tools that aren’t pre-installed. Use a [SessionStart hook](</docs/en/hooks#sessionstart>) for project setup that should run everywhere, cloud and local, like `npm install`. Setup scripts and SessionStart hooks run in a fixed order when a cloud session starts: - - 1. The setup script runs first, before Claude Code launches, and only when no cached environment exists. - 2. Claude Code launches and runs your SessionStart hooks, as it does at the start of every session, local or cloud. +Use a setup script to provision the VM itself: toolchains and CLI tools that aren’t pre-installed. Use a [SessionStart hook](</docs/en/hooks#sessionstart>) for project setup that should run everywhere, cloud and local, like `npm install`. Setup scripts and SessionStart hooks run in a fixed order when a cloud session starts. The table compares where you configure them, when they run, and where they run. | Setup scripts| SessionStart hooks ---|---|---
modified Commands View current →
--- a/commands.md +++ b/commands.md @@ -39,7 +39,7 @@ `/branch [name]`| Create a branch of the current conversation at this point, so you can try a different direction without losing the conversation as it stands. Switches you into the branch and preserves the original, which you can return to with `/resume`. To run a copy as a separate [background session](</docs/en/agent-view>) instead of switching into it, use `/fork`; to hand a side task to a [subagent](</docs/en/sub-agents>) that reports back into this conversation, use `/subtask` `/btw [question]`| Ask a [side question](</docs/en/interactive-mode#side-questions-with-%2Fbtw>) about the current session without adding to the conversation. If you run `/btw` without a question, Claude Code shows your most recent side question so you can browse earlier answers; if you haven’t asked one yet, Claude Code prints a usage line. Before v2.1.212, `/btw` required a question `/bug [report]`| Report a bug or share your conversation. You choose how much session history to include and confirm on a consent screen before anything is sent. When you’re signed in to Anthropic on a first-party connection, the report goes to Anthropic; on a third-party provider, or without Anthropic credentials, Claude Code writes the report to a [local archive under `~/.claude/feedback-bundles/`](</docs/en/data-usage#telemetry-services>) that you forward yourself. In the [VS Code extension](</docs/en/vs-code#use-the-prompt-box>), `/bug` opens the extension’s own feedback dialog instead; requires Claude Code v2.1.229 or later. When you run it while Claude is responding, Claude Code opens the dialog immediately. Before v2.1.232, Claude Code queued the command until the turn finished. Alias: `/share`. Before v2.1.212, `/bug` and `/share` were aliases of `/feedback` -`/cd <path>`| Move this session to a new working directory, keeping the conversation. Type a partial path to see matching directory suggestions; press `Tab` to accept one. The suggestions require Claude Code v2.1.206 or later. For what Claude Code applies from the new directory as soon as you move, and how `/cd` differs from `/add-dir`, see [Move the session to another directory](</docs/en/permissions#move-the-session-to-another-directory>). Requires Claude Code v2.1.169 or later +`/cd <path>`| Move this session to a new working directory, keeping the conversation. Type a partial path to see matching directory suggestions; press `Tab` to accept one. The suggestions require Claude Code v2.1.206 or later. For what Claude Code applies from the new directory as soon as you move, and how `/cd` differs from `/add-dir`, see [Move the session to another directory](</docs/en/permissions#move-the-session-to-another-directory>) `/chrome`| Configure [Claude in Chrome](</docs/en/chrome>) settings `/claude-api [migrate|upgrade|managed-agents-onboard|prompt-audit|cost-optimize]`| **[Skill](</docs/en/skills#bundled-skills>).** Load [Claude API](<https://platform.claude.com/docs/en/api/overview>) and [Managed Agents](<https://platform.claude.com/docs/en/managed-agents/overview>) reference material for your project’s language. Also activates automatically when your code imports `anthropic` or `@anthropic-ai/sdk`. Run `migrate` to update existing Claude API code to a newer model. Run `upgrade` to move your project’s Anthropic SDK dependency across a major version, currently the Python `anthropic` package from 0.x to 1.x. Run `managed-agents-onboard` for a walkthrough that creates a new Managed Agent. Run `prompt-audit` to flag instructions written for older models in your prompts, skills, and tool descriptions and propose fixes as a diff. Run `cost-optimize` to profile where your project’s Claude API spend goes and propose savings from options such as prompt caching, trimming unneeded input and output tokens, batch processing, effort, and model choice, one change at a time. The `prompt-audit` subcommand requires Claude Code v2.1.221 or later, `upgrade` requires v2.1.236 or later, and `cost-optimize` requires v2.1.247 or later `/clear [name]`| Start a new conversation with empty context. Pass a name to label the previous conversation in the `/resume` picker. To free up context while continuing the same conversation, use `/compact` instead. Resume the previous conversation with `/resume`, or, in the same Claude Code process, restore it from [the rewind menu’s previous-session entry](</docs/en/checkpointing#rewind-past-a-cleared-conversation>). The rewind entry requires Claude Code v2.1.191 or later. Aliases: `/reset`, `/new`
modified Get started with the desktop app View current →
--- a/desktop-quickstart.md +++ b/desktop-quickstart.md @@ -118,17 +118,10 @@ ​ -Coming from the CLI? - -Desktop runs the same engine as the CLI with a graphical interface. You can run both simultaneously on the same project, and they share configuration (CLAUDE.md files, MCP servers, hooks, skills, and settings). For a full comparison of features, flag equivalents, and what’s not available in Desktop, see [CLI comparison](</docs/en/desktop#coming-from-the-cli>). - -## - -​ - What’s next * [Use Claude Code Desktop](</docs/en/desktop>): permission modes, parallel sessions, diff view, connectors, and enterprise configuration + * [Coming from the CLI?](</docs/en/desktop#coming-from-the-cli>): run Desktop and the CLI on the same project, and compare features, flag equivalents, and what’s not available in Desktop * [Troubleshooting](</docs/en/desktop#troubleshooting>): solutions to common errors and setup issues * [Best practices](</docs/en/best-practices>): tips for writing effective prompts and getting the most out of Claude Code * [Common workflows](</docs/en/common-workflows>): tutorials for debugging, refactoring, testing, and more
modified Environment variables View current →
--- a/env-vars.md +++ b/env-vars.md @@ -127,24 +127,24 @@ `ANTHROPIC_CUSTOM_HEADERS`| Custom headers to add to requests (`Name: Value` format, newline-separated for multiple headers). If a name or value contains a character an HTTP header can’t carry, such as a curly quote or a zero-width space, the request fails with an error that identifies the pair by position. Requires Claude Code v2.1.227 or later. [Invalid request header value](</docs/en/errors#invalid-request-header-value>) lists the exact character set and where the check runs. A value that sets a credential, org or tenant, routing, or API-behavior header, such as `Authorization` or `Host`, counts as a [setting that needs approval](</docs/en/server-managed-settings#environment-variables-and-the-approval-dialog>) when server-managed settings deliver it. From project or local settings, such a value follows the [rules for when `env` values apply](</docs/en/settings-reference#when-claude-code-applies-env-values>) `ANTHROPIC_CUSTOM_MODEL_OPTION`| Model ID to add as a custom entry in the `/model` picker. Use this to make a non-standard or gateway-specific model selectable without replacing built-in aliases. See [Model configuration](</docs/en/model-config#add-a-custom-model-option>) `ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION`| Display description for the custom model entry in the `/model` picker. Defaults to `Custom model (<model-id>)` when not set -`ANTHROPIC_CUSTOM_MODEL_OPTION_NAME`| Display name for the custom model entry in the `/model` picker. Defaults to the model ID when not set +`ANTHROPIC_CUSTOM_MODEL_OPTION_NAME`| Display name for the custom model entry in the `/model` picker. When not set, the entry shows the model’s name if Claude Code [recognizes the ID](</docs/en/model-config#customize-pinned-model-display-and-capabilities>), and the model ID otherwise `ANTHROPIC_CUSTOM_MODEL_OPTION_SUPPORTED_CAPABILITIES`| Comma-separated list of [capabilities](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) the custom model supports, for example `effort,thinking`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_FABLE_MODEL`| Model ID that the `fable` alias resolves to, and the ID Claude Code recognizes as a Fable model for [automatic model fallback](</docs/en/model-config#automatic-model-fallback>) on third-party providers. See [Model configuration](</docs/en/model-config#environment-variables>) -`ANTHROPIC_DEFAULT_FABLE_MODEL_DESCRIPTION`| Display description for the pinned Fable model in the `/model` picker. Defaults to `Custom Fable model` when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) -`ANTHROPIC_DEFAULT_FABLE_MODEL_NAME`| Display name for the pinned Fable model in the `/model` picker. Defaults to the model ID when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_FABLE_MODEL_DESCRIPTION`| Display description for the pinned Fable model in the `/model` picker. When not set, the row shows a default description that begins `Custom Fable model`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_FABLE_MODEL_NAME`| Display name for the pinned Fable model in the `/model` picker. When not set, the row shows the model’s name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_FABLE_MODEL_SUPPORTED_CAPABILITIES`| Comma-separated list of [capabilities](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) the pinned Fable model supports, for example `effort,thinking`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_HAIKU_MODEL`| Model ID that the `haiku` alias resolves to, also used for [background functionality](</docs/en/costs#background-token-usage>). See [Model configuration](</docs/en/model-config#environment-variables>) -`ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION`| Display description for the pinned Haiku model in the `/model` picker. Defaults to `Custom Haiku model` when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) -`ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME`| Display name for the pinned Haiku model in the `/model` picker. Defaults to the model ID when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION`| Display description for the pinned Haiku model in the `/model` picker. When not set, the row shows a default description that begins `Custom Haiku model`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME`| Display name for the pinned Haiku model in the `/model` picker. When not set, the row shows the model’s name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES`| Comma-separated list of [capabilities](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) the pinned Haiku model supports, for example `effort,thinking`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_MODEL`| Model that new sessions start on by default. Requires Claude Code v2.1.236 or later. See [Set a default model for new sessions](</docs/en/model-config#set-a-default-model-for-new-sessions>) `ANTHROPIC_DEFAULT_OPUS_MODEL`| Model ID that the `opus` alias resolves to, and that `opusplan` uses while Plan Mode is active. See [Model configuration](</docs/en/model-config#environment-variables>) -`ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION`| Display description for the pinned Opus model in the `/model` picker. When not set, defaults to `Custom Opus model`, or `Custom Opus model (1M context)` if the pinned model ID has the `[1m]` suffix and `CLAUDE_CODE_DISABLE_1M_CONTEXT` isn’t turned on. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) -`ANTHROPIC_DEFAULT_OPUS_MODEL_NAME`| Display name for the pinned Opus model in the `/model` picker. Defaults to the model ID when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION`| Display description for the pinned Opus model in the `/model` picker. When not set, the row shows a default description that begins `Custom Opus model`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_OPUS_MODEL_NAME`| Display name for the pinned Opus model in the `/model` picker. When not set, the row shows the model’s name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES`| Comma-separated list of [capabilities](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) the pinned Opus model supports, for example `effort,thinking`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_SONNET_MODEL`| Model ID that the `sonnet` alias resolves to, and that `opusplan` uses when Plan Mode is not active. See [Model configuration](</docs/en/model-config#environment-variables>) -`ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION`| Display description for the pinned Sonnet model in the `/model` picker. When not set, defaults to `Custom Sonnet model`, or `Custom Sonnet model (1M context)` if the pinned model ID has the `[1m]` suffix and `CLAUDE_CODE_DISABLE_1M_CONTEXT` isn’t turned on. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) -`ANTHROPIC_DEFAULT_SONNET_MODEL_NAME`| Display name for the pinned Sonnet model in the `/model` picker. Defaults to the model ID when not set. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION`| Display description for the pinned Sonnet model in the `/model` picker. When not set, the row shows a default description that begins `Custom Sonnet model`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) +`ANTHROPIC_DEFAULT_SONNET_MODEL_NAME`| Display name for the pinned Sonnet model in the `/model` picker. When not set, the row shows the model’s name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES`| Comma-separated list of [capabilities](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) the pinned Sonnet model supports, for example `effort,thinking`. See [Model configuration](</docs/en/model-config#customize-pinned-model-display-and-capabilities>) `ANTHROPIC_FEDERATION_RULE_ID`| Federation rule ID for [Workload Identity Federation](<https://platform.claude.com/docs/en/manage-claude/workload-identity-federation>). When you set it together with `ANTHROPIC_ORGANIZATION_ID`, Claude Code selects federation credentials, which rank above your `/login` credential. See [authentication precedence](</docs/en/authentication#authentication-precedence>) `ANTHROPIC_FOUNDRY_API_KEY`| API key for Microsoft Foundry authentication (see [Microsoft Foundry](</docs/en/microsoft-foundry>)) @@ -159,7 +159,7 @@ `ANTHROPIC_VERTEX_BASE_URL`| Override Google Cloud’s Agent Platform endpoint URL. Use for custom Google Cloud’s Agent Platform endpoints or when routing through an [LLM gateway](</docs/en/llm-gateway>). See [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>) `ANTHROPIC_VERTEX_PROJECT_ID`| GCP project ID for Google Cloud’s Agent Platform requests. Overridden by `GCLOUD_PROJECT`, `GOOGLE_CLOUD_PROJECT`, or the project in your `GOOGLE_APPLICATION_CREDENTIALS` credential file. See [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>) `ANTHROPIC_WORKSPACE_ID`| Workspace ID for [workload identity federation](<https://platform.claude.com/docs/en/manage-claude/workload-identity-federation>). Set this when your federation rule is scoped to more than one workspace so the token exchange knows which workspace to target -`API_FORCE_IDLE_TIMEOUT`| Override the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to `0` to turn the timeout off, for example when a slow [gateway](</docs/en/llm-gateway>) or local model pauses longer than 5 minutes between chunks, or `1` to keep it on for every provider. When unset, the timeout is active on providers other than the direct Anthropic API and [Claude Platform on AWS](</docs/en/claude-platform-on-aws>). The [stream watchdogs](</docs/en/network-config#streaming-idle-watchdogs>) run independently of it and abort a long silent pause even when you set `0` here. Requires Claude Code v2.1.169 or later +`API_FORCE_IDLE_TIMEOUT`| Override the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to `0` to turn the timeout off, for example when a slow [gateway](</docs/en/llm-gateway>) or local model pauses longer than 5 minutes between chunks, or `1` to keep it on for every provider. When unset, the timeout is active on providers other than the direct Anthropic API and [Claude Platform on AWS](</docs/en/claude-platform-on-aws>). The [stream watchdogs](</docs/en/network-config#streaming-idle-watchdogs>) run independently of it and abort a long silent pause even when you set `0` here `API_TIMEOUT_MS`| Timeout for API requests in milliseconds (default: 600000, or 10 minutes; maximum: 2147483647). Increase this when requests time out on slow networks or when routing through a proxy. Values above the maximum overflow the underlying timer and cause requests to fail immediately `AWS_BEARER_TOKEN_BEDROCK`| Amazon Bedrock API key for authentication (see [Amazon Bedrock API keys](<https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/>)) `BASH_DEFAULT_TIMEOUT_MS`| Default timeout for long-running bash commands (default: 120000, or 2 minutes) @@ -354,7 +354,7 @@ `CLAUDE_CODE_SYNTAX_HIGHLIGHT`| Set to `false` to disable syntax highlighting in diff output. Useful when colors interfere with your terminal setup. To also disable highlighting in code blocks and file previews, use the [`syntaxHighlightingDisabled`](</docs/en/settings-reference#syntaxhighlightingdisabled>) setting `CLAUDE_CODE_TASK_LIST_ID`| Share a task list across sessions. Set the same ID in multiple Claude Code instances to coordinate on a shared task list, in [sessions that have the Task tools](</docs/en/tools-reference#task-tool-availability>). See [Task list](</docs/en/interactive-mode#task-list>) `CLAUDE_CODE_TEAM_TEARDOWN_PARK_TIMEOUT_MS`| Override, in milliseconds, how long a non-interactive session waits at exit for its [agent team](</docs/en/agent-teams>) to finish tearing down. Accepts 1000 to 60000; an out-of-range value is ignored and the default of 10000 applies. Requires Claude Code v2.1.206 or later -`CLAUDE_CODE_TMPDIR`| Override the temp directory used for internal temp files. Claude Code appends `/claude-{uid}/` on Unix or `/claude/` on Windows to this path. Default: `/tmp` on macOS, `os.tmpdir()` on Linux and Windows. As of v2.1.161, on macOS and Linux, [sandboxed](</docs/en/sandboxing>) Bash subprocesses receive a short fallback `$TMPDIR` under the system default when your override is a long path, since some tools fail when temp paths get too long. Unsandboxed Bash commands inherit your shell’s `$TMPDIR` unchanged. Claude Code’s own temp files always use your override. Set it in your shell, user settings, or managed settings. Ignored in [project and local settings](</docs/en/settings-reference#variables-claude-code-ignores-in-env>) +`CLAUDE_CODE_TMPDIR`| Override the temp directory used for internal temp files. Claude Code appends `/claude-{uid}/` on Unix or `/claude/` on Windows to this path. Default: `/tmp` on macOS, `os.tmpdir()` on Linux and Windows. On macOS and Linux, [sandboxed](</docs/en/sandboxing>) Bash subprocesses receive a short fallback `$TMPDIR` under the system default when your override is a long path, since some tools fail when temp paths get too long. Unsandboxed Bash commands inherit your shell’s `$TMPDIR` unchanged. Claude Code’s own temp files always use your override. Set it in your shell, user settings, or managed settings. Ignored in [project and local settings](</docs/en/settings-reference#variables-claude-code-ignores-in-env>) `CLAUDE_CODE_TMUX_TRUECOLOR`| Set to any non-empty value, such as `1`, to allow 24-bit truecolor output inside tmux. **Setting it to`0` or `false` still allows truecolor**, unlike most on/off variables; unset the variable to restore the 256-color clamp. By default, Claude Code clamps to 256 colors when `$TMUX` is set because tmux does not pass through truecolor escape sequences unless configured to. Set this after adding `set -ga terminal-overrides ',*:Tc'` to your `~/.tmux.conf`. See [Terminal configuration](</docs/en/terminal-config>) for other tmux settings `CLAUDE_CODE_TOOL_MEMORY_CGROUP_EXCLUDE`| On Linux and WSL, set to a comma-separated list of the kinds of processes Claude Code [excludes from the tool memory cap](</docs/en/tools-reference#memory-limit-on-linux-and-wsl>), such as `mcp` or `lsp`. Set `none` to cap every kind, or `all-new` to cap only Bash, PowerShell, and Monitor tool commands. Claude Code keeps Bash, PowerShell, and Monitor tool commands under the cap whatever you list. Requires Claude Code v2.1.246 or later `CLAUDE_CODE_TOOL_MEMORY_LIMIT`| On Linux and WSL, set to a size such as `4G` to [cap the memory that Bash and PowerShell tool commands can use](</docs/en/tools-reference#memory-limit-on-linux-and-wsl>), and Monitor tool commands on v2.1.246 or later. Write the size in plain digits, alone for a number of bytes or with a `K`, `M`, `G`, or `T` suffix. Set `0` or `off` to turn the cap off. Once the first process Claude Code starts has turned the cap on or off, a changed value takes effect the next time you launch `claude`. Requires Claude Code v2.1.233 or later @@ -459,7 +459,7 @@ `VERTEX_REGION_CLAUDE_4_6_OPUS`| Override region for Claude Opus 4.6 when using Google Cloud’s Agent Platform `VERTEX_REGION_CLAUDE_4_6_SONNET`| Override region for Claude Sonnet 4.6 when using Google Cloud’s Agent Platform `VERTEX_REGION_CLAUDE_4_7_OPUS`| Override region for Claude Opus 4.7 when using Google Cloud’s Agent Platform -`VERTEX_REGION_CLAUDE_4_8_OPUS`| Override region for Claude Opus 4.8 when using Google Cloud’s Agent Platform. Added in v2.1.154 +`VERTEX_REGION_CLAUDE_4_8_OPUS`| Override region for Claude Opus 4.8 when using Google Cloud’s Agent Platform `VERTEX_REGION_CLAUDE_5_OPUS`| Override region for Claude Opus 5 when using Google Cloud’s Agent Platform. Added in v2.1.219 `VERTEX_REGION_CLAUDE_5_SONNET`| Override region for Claude Sonnet 5 when using Google Cloud’s Agent Platform. Added in v2.1.197 `VERTEX_REGION_CLAUDE_FABLE_5`| Override region for Claude Fable 5 when using Google Cloud’s Agent Platform. Added in v2.1.170
modified Extend Claude Code View current →
--- a/features-overview.md +++ b/features-overview.md @@ -160,7 +160,7 @@ Features can be defined at multiple levels: user-wide, per-project, via plugins, or through managed policies. You can also nest CLAUDE.md files in subdirectories or place skills in specific packages of a monorepo. When the same feature exists at multiple levels, here’s how they layer: * **CLAUDE.md files** are additive: all levels contribute content to Claude’s context simultaneously. Files from your working directory and above load at launch; subdirectories load as you work in them. When instructions conflict, Claude uses judgment to reconcile them, with more specific instructions typically taking precedence. See [how CLAUDE.md files load](</docs/en/memory#how-claude-md-files-load>). - * **Skills and subagents** override by name: when the same name exists at multiple levels, one definition wins based on priority (managed > user > project for skills; managed > CLI flag > project > user > plugin for subagents). Plugin skills are [namespaced](</docs/en/plugins#add-skills-to-your-plugin>) to avoid conflicts. See [skill discovery](</docs/en/skills#where-skills-live>) and [subagent scope](</docs/en/sub-agents#choose-the-subagent-scope>). + * **Skills and subagents** override by name: when the same name exists at multiple levels, one definition wins based on priority (managed > user > project for skills; managed > CLI flag > project > user > plugin for subagents). Plugin skills are [namespaced](</docs/en/plugins#add-skills-to-your-plugin>) to avoid conflicts. See [skill discovery](</docs/en/skills#resolve-skills-that-share-a-name>) and [subagent scope](</docs/en/sub-agents#choose-the-subagent-scope>). * **MCP servers** override by name: local > project > user. See [MCP scope](</docs/en/mcp#scope-hierarchy-and-precedence>). * **Hooks** merge: all registered hooks fire for their matching events regardless of source. See [hooks](</docs/en/hooks>).
modified Use Claude Code GitHub Actions with cloud providers View current →
--- a/github-actions-cloud-providers.md +++ b/github-actions-cloud-providers.md @@ -14,11 +14,7 @@ * **Google Cloud’s Agent Platform** : `use_vertex: "true"` * **Microsoft Foundry** : `use_foundry: "true"` -The following snippet shows the input in place for Amazon Bedrock. You don’t need to edit a workflow yet, because the complete workflow examples later on this page already include the input for each provider. - - - uses: anthropics/claude-code-action@v1 - with: - use_bedrock: "true" +The complete workflow examples under Set up the integration already include the input for each provider. ##
modified Customize keyboard shortcuts View current →
--- a/keybindings.md +++ b/keybindings.md @@ -222,7 +222,7 @@ Action| Default| Description ---|---|--- -`task:background`| Ctrl+B, Ctrl+X Ctrl+B| Background current task. The Ctrl+X Ctrl+B chord requires v2.1.169 or later and avoids the tmux prefix conflict +`task:background`| Ctrl+B, Ctrl+X Ctrl+B| Background current task. The Ctrl+X Ctrl+B chord avoids the tmux prefix conflict ###
modified Claude Code gateway compatibility guide View current →
--- a/llm-gateway-protocol.md +++ b/llm-gateway-protocol.md @@ -212,7 +212,7 @@ Picker entries and caching -The picker is the interactive model list that opens when a developer runs `/model` in Claude Code. Each discovered entry uses `display_name` as its name when the gateway sends one, and the model’s `id` otherwise. Discovery adds only models that the [`availableModels` managed setting](</docs/en/settings-reference#availablemodels>) allows. Each entry also shows the model’s `description`, collapsed to one line. An entry without a `description` reads “From gateway” instead. Before v2.1.257, every discovered entry read “From gateway”. A discovered ID doesn’t get its own row when it matches a row already in the picker: +The picker is the interactive model list that opens when a developer runs `/model` in Claude Code. Each discovered entry uses `display_name` as its name when the gateway sends one that differs from the `id`. Otherwise the entry shows the model’s name when Claude Code [recognizes the `id`](</docs/en/model-config#customize-pinned-model-display-and-capabilities>), and the `id` when it doesn’t. For example, an entry with the `id` `my-gateway-claude-sonnet-4-6` and no `display_name` appears as `Sonnet 4.6`. Discovery adds only models that the [`availableModels` managed setting](</docs/en/settings-reference#availablemodels>) allows. Each entry also shows the model’s `description`, collapsed to one line. An entry without a `description` reads “From gateway” instead. Before v2.1.257, every discovered entry read “From gateway”. A discovered ID doesn’t get its own row when it matches a row already in the picker: * Same ID: the discovered ID exactly matches an existing row’s ID, or the two IDs are spellings of the same [Fable](</docs/en/model-config#work-with-fable>) version. * Same model as a built-in alias: when a discovered explicit ID names the model that a built-in alias currently resolves to, the picker shows only the alias row. For example, while `sonnet` resolves to `claude-sonnet-5`, a discovered `claude-sonnet-5` collapses into the `sonnet` row, and a discovered `claude-sonnet-4-6` still gets its own row. Before v2.1.197, Claude Code didn’t fold these IDs into built-in rows, so `claude-sonnet-5` also got its own “From gateway” row.
modified Deploy managed settings View current →
--- a/managed-settings.md +++ b/managed-settings.md @@ -370,5 +370,5 @@ * [Set up Claude Code for your organization](</docs/en/admin-setup>): decide what to enforce and how * [Server-managed settings](</docs/en/server-managed-settings>): deliver policy from the claude.ai console or a gateway * [Managed MCP configuration](</docs/en/managed-mcp>): control which MCP servers developers can use - * [Settings reference](</docs/en/settings-reference>): every key, with whether a managed source can set it + * [All settings](</docs/en/settings-reference>): every key, with whether a managed source can set it * [Example settings files](</docs/en/settings-example#an-organizations-managed-settings>): a complete `managed-settings.json` showing the shape of the managed keys
modified Model configuration View current →
--- a/model-config.md +++ b/model-config.md @@ -669,7 +669,12 @@ export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="Opus via Gateway" export ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION="Custom deployment routed through the internal LLM gateway" -`ANTHROPIC_CUSTOM_MODEL_OPTION_NAME` and `ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION` are optional. If you omit the name, Claude Code uses the model ID; if you omit the description, Claude Code uses `Custom model (<model-id>)`. Claude Code lists the custom entry after the built-in entries, and any [`modelPicker`](</docs/en/settings-reference#modelpicker>) rows you append come after it. Claude Code skips validation for the model ID set in `ANTHROPIC_CUSTOM_MODEL_OPTION`, so you can use any string your API endpoint accepts. When `availableModels` is set, include the custom model ID in the allowlist as well. Otherwise Claude Code filters the custom entry from the picker and rejects a `--model` selection of it like any other excluded model. A custom ID that embeds a family name, such as `my-gateway/claude-opus-5`, counts as a specific entry for that family and disables its wildcard, so also list the versions you intend to keep selectable. See Merge behavior. +`ANTHROPIC_CUSTOM_MODEL_OPTION_NAME` and `ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION` are optional: + + * If you omit the name, the entry shows the model’s name when Claude Code recognizes the ID, and the model ID otherwise. + * If you omit the description, Claude Code uses `Custom model (<model-id>)`. + +Claude Code lists the custom entry after the built-in entries, and any [`modelPicker`](</docs/en/settings-reference#modelpicker>) rows you append come after it. Claude Code skips validation for the model ID set in `ANTHROPIC_CUSTOM_MODEL_OPTION`, so you can use any string your API endpoint accepts. When `availableModels` is set, include the custom model ID in the allowlist as well. Otherwise Claude Code filters the custom entry from the picker and rejects a `--model` selection of it like any other excluded model. A custom ID that embeds a family name, such as `my-gateway/claude-opus-5`, counts as a specific entry for that family and disables its wildcard, so also list the versions you intend to keep selectable. See Merge behavior. ## @@ -717,7 +722,7 @@ * Only append `[1m]` when the underlying model [supports 1M context](<https://platform.claude.com/docs/en/build-with-claude/context-windows#context-window-sizes-by-model>). * The suffix is read per variable, not per model. On Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry, a model ID without `[1m]` in one variable uses 200K context even if another variable sets the same model with the suffix. Sonnet 5 always runs with the 1M window on these providers and never needs the suffix. -An `availableModels` allowlist delivered through [MDM or a managed settings file](</docs/en/managed-settings#delivery-mechanisms>) still applies when using third-party providers; [server-managed settings are not delivered there](</docs/en/server-managed-settings#platform-availability>). Filtering matches on a model alias such as `opus`, a version prefix such as `claude-opus-4-8`, or the full provider-form model ID. Provider-specific prefixes such as `us.anthropic.` are not stripped, so to allow a specific model, list the same provider-form ID the picker shows, or map it through `modelOverrides`. Any `[1m]` suffix is stripped from both the allowlist entry and the requested model before matching. +An `availableModels` allowlist delivered through [MDM or a managed settings file](</docs/en/managed-settings#delivery-mechanisms>) still applies when using third-party providers; [server-managed settings are not delivered there](</docs/en/server-managed-settings#platform-availability>).Filtering matches on a model alias such as `opus`, a version prefix such as `claude-opus-4-8`, or the full provider-form model ID. Provider-specific prefixes such as `us.anthropic.` are not stripped, so to allow a specific model, list its full provider-form ID, or map it through `modelOverrides`. Any `[1m]` suffix is stripped from both the allowlist entry and the requested model before matching. ### @@ -725,12 +730,17 @@ Customize pinned model display and capabilities -When you pin a model on a third-party provider, the provider-specific ID appears as-is in the `/model` picker and Claude Code may not recognize which features the model supports. You can override the display name and declare capabilities with companion environment variables for each pinned model. These variables take effect on third-party providers such as Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry. The `_NAME` and `_DESCRIPTION` variables also take effect when `ANTHROPIC_BASE_URL` points to an [LLM gateway](</docs/en/llm-gateway>). They have no effect when connecting directly to `api.anthropic.com`. +When you pin a model on a third-party provider, its row in the `/model` picker shows the model’s name by default if Claude Code recognizes the pinned ID, and the raw ID otherwise: + + * **Recognized** : the exact ID of a model Claude Code knows, such as its Anthropic API ID or your provider’s or gateway’s form of it, with or without the `[1m]` suffix. Pin `us.anthropic.claude-sonnet-4-5-20250929-v1:0` and the row reads `Sonnet 4.5`. + * **Not recognized** : any other ID, such as an application inference profile ARN or a model version Claude Code doesn’t know, unless a `modelOverrides` entry maps a model to that exact string. On Microsoft Foundry, deployment names are user-defined, so Claude Code never recognizes a pinned ID there, mapped or not, and the row shows the deployment name by default. + +When a row shows the model’s name, its default description includes the pinned ID so you can still see which ID is pinned. Claude Code may also not recognize which features a pinned model supports. You can set the display name and description yourself and declare capabilities with companion environment variables for each pinned model. These variables take effect on third-party providers such as Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry. The `_NAME` and `_DESCRIPTION` variables also take effect when `ANTHROPIC_BASE_URL` points to an [LLM gateway](</docs/en/llm-gateway>). They have no effect when connecting directly to `api.anthropic.com`. Environment variable| Description ---|--- -`ANTHROPIC_DEFAULT_OPUS_MODEL_NAME`| Display name for the pinned Opus model in the `/model` picker. Defaults to the model ID when not set -`ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION`| Display description for the pinned Opus model in the `/model` picker. When not set, defaults to `Custom Opus model`, or `Custom Opus model (1M context)` if the pinned model ID has the `[1m]` suffix and `CLAUDE_CODE_DISABLE_1M_CONTEXT` isn’t turned on +`ANTHROPIC_DEFAULT_OPUS_MODEL_NAME`| Display name for the pinned Opus model in the `/model` picker. When not set, the row shows the model’s name if Claude Code recognizes the pinned ID, and the pinned ID otherwise +`ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION`| Display description for the pinned Opus model in the `/model` picker. When not set, the row shows a default description that begins `Custom Opus model` `ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES`| Comma-separated list of capabilities the pinned Opus model supports The same `_NAME`, `_DESCRIPTION`, and `_SUPPORTED_CAPABILITIES` suffixes are available for `ANTHROPIC_DEFAULT_SONNET_MODEL`, `ANTHROPIC_DEFAULT_HAIKU_MODEL`, `ANTHROPIC_DEFAULT_FABLE_MODEL`, and `ANTHROPIC_CUSTOM_MODEL_OPTION`. Claude Code enables features like effort levels and extended thinking by matching the model ID against known patterns. Provider-specific IDs such as Amazon Bedrock ARNs or custom deployment names often don’t match these patterns, leaving supported features disabled. Set `_SUPPORTED_CAPABILITIES` to tell Claude Code which features the model actually supports:
modified Enterprise network configuration View current →
--- a/network-config.md +++ b/network-config.md @@ -241,6 +241,6 @@ Additional resources - * [Claude Code settings](</docs/en/settings>) + * [Settings files and precedence](</docs/en/settings>) * [Environment variables reference](</docs/en/env-vars>) * [Troubleshooting guide](</docs/en/troubleshooting>)
modified Output styles View current →
--- a/output-styles.md +++ b/output-styles.md @@ -33,7 +33,7 @@ "outputStyle": "Explanatory" } -Output style is part of the system prompt, which Claude Code reads once at session start. Changes take effect after `/clear` or a new session. See [How Claude Code uses prompt caching](</docs/en/prompt-caching#changing-output-style>) for what an output style change does to the cache. +When you switch styles mid-session, Claude uses the new style starting with your next message. The style is part of the system prompt, so that first message rebuilds the [prompt cache](</docs/en/prompt-caching#changing-output-style>) once. Before v2.1.251, the new style applied only after you ran `/clear` or started a new session. ## @@ -77,7 +77,7 @@ Switch to your style -Run `/config` in the terminal and select your style under **Output style** , or set `outputStyle` in a settings file to the style’s name. It takes effect after `/clear` or the next time you start a session. +Run `/config` in the terminal and select your style under **Output style**. Claude uses the new style starting with your next message. In the terminal, Claude Code reads style files when it starts, so if you create or edit one during a running session, restart Claude Code to pick up the change. [Plugins](</docs/en/plugins-reference>) can also ship output styles in an `output-styles/` directory.
modified Choose a permission mode View current →
--- a/permission-modes.md +++ b/permission-modes.md @@ -321,7 +321,11 @@ * Reading credentials that belong to the host rather than to your task, such as node certificates or the node’s container-registry auth * Connecting to or scanning sibling containers, pods, or VMs that Claude didn’t start, or the node beneath the container -If Claude Code runs somewhere that is meant to allow one of these, describe that setup in a [Host containment entry](</docs/en/auto-mode-config#define-trusted-infrastructure>) in `autoMode.environment`. **Allowed by default** : +If Claude Code runs somewhere that is meant to allow one of these, describe that setup in a [Host containment entry](</docs/en/auto-mode-config#define-trusted-infrastructure>) in `autoMode.environment`. Claude Code v2.1.261 and later also block these by default: + + * Posting or writing a link to a public paste, diagram, or data-sharing service in a message, PR or issue text, a document, or anywhere else the link will be opened or fetched, when the URL itself carries the content being shared, unless you named that service + +**Allowed by default** : * Local file operations in your working directory * Installing dependencies declared in your lock files or manifests @@ -344,7 +348,7 @@ * A deny that the classifier reached by evaluating the request lasts for the turn in the interactive CLI. In [non-interactive mode](</docs/en/headless>) and Agent SDK sessions, Claude Code reuses that deny for the rest of the run, because those sessions have no turn boundary * Changing your permission mode or rules drops all cached verdicts -Run `claude auto-mode defaults` to print the full rule lists as JSON. If routine actions get blocked, an administrator can add trusted repos, buckets, and services via the `autoMode.environment` setting: see [Configure auto mode](</docs/en/auto-mode-config>). Pushing to any branch of the repository you’re working in and creating a pull request that matches your request run without a prompt, unless the change would send secrets or sensitive data outside the repository or the pull request targets a different repository or organization, the cases the blocked list covers. To require a human checkpoint before these actions while staying in auto mode, add `permissions.ask` rules: see [Common boundaries](</docs/en/auto-mode-config#common-boundaries>). +Run `claude auto-mode defaults` to print the full rule lists as JSON. If routine actions get blocked, an administrator can add trusted repos, buckets, and services via the `autoMode.environment` setting: see [Configure auto mode](</docs/en/auto-mode-config>). Pushing to any branch of the repository you’re working in and creating a pull request that matches your request run without a prompt, unless the push or pull request falls under the blocked list, such as secrets or sensitive data leaving the repository, or a pull request that targets a different repository or organization. To require a human checkpoint before these actions while staying in auto mode, add `permissions.ask` rules: see [Common boundaries](</docs/en/auto-mode-config#common-boundaries>). ###
modified Recommend plugins for your org View current →
--- a/plugin-relevance.md +++ b/plugin-relevance.md @@ -157,4 +157,4 @@ * [Create and distribute a plugin marketplace](</docs/en/plugin-marketplaces>): build the marketplace that hosts your plugins * [Recommend your plugin from your CLI](</docs/en/plugin-hints>): prompt users from your own CLI instead of from Claude Code’s session signals - * [Settings reference](</docs/en/settings-reference#pluginsuggestionmarketplaces>): `pluginSuggestionMarketplaces` and `extraKnownMarketplaces` + * [All settings](</docs/en/settings-reference#pluginsuggestionmarketplaces>): `pluginSuggestionMarketplaces` and `extraKnownMarketplaces`
modified How Claude Code uses prompt caching View current →
--- a/prompt-caching.md +++ b/prompt-caching.md @@ -10,11 +10,11 @@ Layer| Content| Changes when ---|---|--- -System prompt| Core instructions, tool definitions, output style| The set of loaded tool definitions changes, or Claude Code is upgraded +System prompt| Core instructions, tool definitions, output style| The set of loaded tool definitions changes, you switch output style, or Claude Code is upgraded Project context| CLAUDE.md, auto memory, unscoped rules| Session starts, or after `/clear` or `/compact` Conversation| Your messages, Claude’s responses, tool results| Every turn -A change to the conversation layer leaves the system prompt and project context cached. A change to the system prompt invalidates everything, because all later content now sits behind a different prefix. The third column gives common triggers rather than an exhaustive list, and the sections below cover the full set, including content such as output style that is fixed at session start. The prefix-match rule explains most of the behaviors on this page. [Plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>) and [skill loading](</docs/en/skills>), for example, append their instructions as conversation messages, so the cached prefix stays intact. Two settings don’t appear in the layer table but still affect what stays cached: +A change to the conversation layer leaves the system prompt and project context cached. A change to the system prompt invalidates everything, because all later content now sits behind a different prefix. The third column gives common triggers rather than an exhaustive list, and the sections below cover the full set. The prefix-match rule explains most of the behaviors on this page. [Plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>) and [skill loading](</docs/en/skills>), for example, append their instructions as conversation messages, so the cached prefix stays intact. Two settings don’t appear in the layer table but still affect what stays cached: * **Model** : each model has its own cache. Switching models recomputes the entire request even when the content is identical. See Switching models below. * **Effort level** : on most models, each effort level has its own cache, so changing effort mid-session recomputes the entire request. On Fable 5.1 with an API key or a Claude subscription, the cache stays intact by default. See Changing effort level below. @@ -56,6 +56,7 @@ * Connecting or disconnecting an MCP server * Enabling or disabling a plugin * Denying an entire tool + * Changing output style * Compacting the conversation * Accumulating many images * Upgrading Claude Code @@ -166,6 +167,14 @@ ​ +Changing output style + +[Output style](</docs/en/output-styles>) is part of the system prompt. When you switch styles mid-session with `/config` or the `outputStyle` setting, Claude uses the new style starting with your next message, and that request reads the entire conversation history with no cache hits. To keep that cost small, switch styles before your first message in a session or right after `/clear` or `/compact`, when there is little or no conversation history to re-read. Before v2.1.251, a mid-session style switch kept the cache but didn’t apply until you ran `/clear` or started a new session. + +### + +​ + Compacting the conversation [Compaction](</docs/en/context-window#what-survives-compaction>) replaces your message history with a summary. By design, this invalidates the conversation layer, since the next request has a new, shorter history that doesn’t share a prefix with the old one. Claude Code reuses the system prompt layer and reloads project context from disk, which cache-hits only if CLAUDE.md and memory are unchanged since the session started. To produce the summary, Claude Code sends a separate request with the same system prompt, tools, and history as your conversation, plus a summarization instruction appended as a final user message. While the cache is warm, that request reads your prefix from the cache, so a mid-session `/compact` costs a fraction of what the context size suggests and spends most of its time generating the summary. After a break longer than the cache lifetime, there is no cache left to read, so the summarization request reprocesses the full history as uncached input. This is why `/compact` costs the most when you [resume an old session](</docs/en/sessions#resume-from-a-summary>). In both the warm and cold cases, the turn after compaction rebuilds the conversation cache for only the much shorter summary, so that turn is not the slow part. @@ -196,11 +205,10 @@ Actions that keep the cache -These actions either append to the end of the conversation or don’t touch the request at all. Some of them, such as editing CLAUDE.md or changing output style, are also why a setting change waits for a restart to apply. +These actions either append to the end of the conversation or don’t touch the request at all. Some of them, such as editing CLAUDE.md, keep the cache for the same reason the change doesn’t reach the running session until `/clear`, `/compact`, or a restart. * Editing files in your repository * Editing CLAUDE.md mid-session - * Changing output style * Changing permission mode * Invoking skills and commands * Running `/recap` @@ -222,14 +230,6 @@ Editing CLAUDE.md mid-session Your project-root and user-level CLAUDE.md files are read once at session start and held in memory. Editing them mid-session does not invalidate the cache, but the edit also doesn’t apply. Claude keeps working with the version that was loaded at session start. The new content loads on the next `/clear`, `/compact`, or restart. [Nested CLAUDE.md files in subdirectories](</docs/en/memory>) and [rules with `paths:` frontmatter](</docs/en/memory#path-specific-rules>) load later, when Claude first reads a matching file. Editing one before it loads does take effect. After it loads, the content is part of the conversation history, so a mid-session edit doesn’t retroactively change it. - -### - -​ - -Changing output style - -[Output style](</docs/en/output-styles>) is part of the system prompt, which Claude Code reads once at session start. Changing it via `/config` or the `outputStyle` setting mid-session does not invalidate the cache, but the change also doesn’t apply. Claude keeps using the style that was loaded at session start. The new style loads on the next `/clear` or restart. ###
modified Continue local sessions from any device with Remote Control View current →
--- a/remote-control.md +++ b/remote-control.md @@ -327,7 +327,7 @@ * **Some commands are local-only** : commands that only run in the terminal interface, such as `/plugin` or `/resume`, work only from the local CLI, whether or not you pass an argument. The following work from mobile and web: * Text-output commands: `/compact`, `/clear`, `/context`, `/usage`, `/exit`, `/usage-credits` (prints the billing URL instead of opening a browser), `/recap`, `/reload-plugins` * `/model`, `/effort`, `/fast`, `/color`, and `/rename`: pass the value as an argument, for example `/model sonnet` or `/effort high`. From mobile and web, `/model` and `/effort` take the argument in place of the terminal picker or slider. - * `/mcp`, from v2.1.166: from the mobile app, returns a text summary of server status instead of opening the picker. On the web, `/mcp` on its own opens a directory of [claude.ai connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) instead of returning the summary. The `reconnect`, `enable`, and `disable` [subcommands](</docs/en/commands#all-commands>) work from both. Unlike the local CLI, `/mcp reconnect` without a server name reconnects every server that has failed or needs authentication. + * `/mcp`: from the mobile app, returns a text summary of server status instead of opening the picker. On the web, `/mcp` on its own opens a directory of [claude.ai connectors](</docs/en/mcp#use-mcp-servers-from-claude-ai>) instead of returning the summary. The `reconnect`, `enable`, and `disable` [subcommands](</docs/en/commands#all-commands>) work from both. Unlike the local CLI, `/mcp reconnect` without a server name reconnects every server that has failed or needs authentication. * `/config`, from v2.1.181: from the mobile app, pass `key=value` to set a setting, or run it with no argument to list the keys you can set. On the web, `/config` opens the Claude Code section of your settings instead, and ignores text after the command. * On Team and Enterprise, `/usage-credits` from mobile or web doesn’t send a [usage-credits request to your admin](</docs/en/costs#add-usage-credits-to-your-subscription>). Sending requires a confirmation that appears only in the interactive CLI, so the command tells you to run it there instead. Before v2.1.211, the text form sent the request without confirmation. * `/autocompact`, from v2.1.221: pass the window size as an argument, for example `/autocompact 500k`. With no argument, it prints the current window size as text instead of opening the dialog the command shows in a terminal session.
modified Configure the sandboxed Bash tool View current →
--- a/sandboxing.md +++ b/sandboxing.md @@ -684,5 +684,5 @@ * [Sandbox environments](</docs/en/sandbox-environments>): compare the built-in sandbox with dev containers, containers, and VMs * [Security](</docs/en/security>): comprehensive security features and best practices * [Permissions](</docs/en/permissions>): permission configuration and access control - * [Settings reference](</docs/en/settings-reference>): every settings key + * [All settings](</docs/en/settings-reference>): every settings key * [CLI reference](</docs/en/cli-reference>): command-line options
modified Configure server-managed settings View current →
--- a/server-managed-settings.md +++ b/server-managed-settings.md @@ -317,7 +317,7 @@ Related pages for managing Claude Code configuration: - * [Settings reference](</docs/en/settings-reference>): every settings key + * [All settings](</docs/en/settings-reference>): every settings key * [Endpoint-managed settings](</docs/en/managed-settings#delivery-mechanisms>): managed settings deployed to devices by IT * [Authentication](</docs/en/authentication>): set up user access to Claude Code * [Security](</docs/en/security>): security safeguards and best practices
modified Settings files and precedence View current →
--- a/settings.md +++ b/settings.md @@ -1,6 +1,10 @@ +Settings are the JSON keys that change how Claude Code behaves: which model it starts with, what it can run without asking, which files it can’t read, how it looks in your terminal, and what your organization enforces. + +To look up a specific key, go to [All settings](</docs/en/settings-reference>), which lists every key with the file you set it in, its default, and an example. + +Claude Code reads settings from JSON settings files such as `~/.claude/settings.json`. It looks for them in a few locations, and the file it reads a setting from decides who the setting applies to. This page covers those files: which one to put a setting in, how to change a setting and confirm it applied, and which value Claude Code uses when the same key is set in more than one file. [Configure permissions](</docs/en/permissions>) covers what Claude Code can run without asking and how to write `allow`, `ask`, and `deny` rules. + This page covers Claude Code running on your machine: the terminal, the [VS Code](</docs/en/vs-code>) and [JetBrains](</docs/en/jetbrains>) extensions, and the [desktop app](</docs/en/desktop>), which all read the same settings files. A cloud session on [Claude Code on the web](</docs/en/claude-code-on-the-web>) runs on a different machine and reads only some of them; see Settings in cloud sessions. - -Settings are the JSON keys that change how Claude Code behaves: which model it starts with, what it can run without asking, which files it can’t read, how it looks in your terminal, and what your organization enforces. Claude Code reads settings from JSON settings files such as `~/.claude/settings.json`. It looks for them in a few locations, and the file it reads a setting from decides who the setting applies to. Use this page to pick the settings file that reaches the people you want a setting to apply to, change a setting and confirm it applied, and see which value Claude Code uses when the same key is set in more than one file. The [settings reference](</docs/en/settings-reference>) lists every key you can set, with the file you set it in, its type, and its default. [Configure permissions](</docs/en/permissions>) covers what Claude Code can run without asking and how to write `allow`, `ask`, and `deny` rules. ## @@ -171,7 +175,6 @@ * [`model`](</docs/en/settings-reference#model>): use [`/model`](</docs/en/model-config#setting-your-model>) to switch mid-session. Each model has its own prompt cache, so the first request after a switch re-reads the whole conversation uncached; see [Switching models](</docs/en/prompt-caching#switching-models>) * [`effortLevel`](</docs/en/settings-reference#effortlevel>) and [`modelSettings`](</docs/en/settings-reference#modelsettings>): use [`/effort`](</docs/en/model-config#adjust-effort-level>) to change effort mid-session - * [`outputStyle`](</docs/en/settings-reference#outputstyle>): part of the system prompt, so Claude Code applies the edit after `/clear` or a restart ### @@ -310,7 +313,7 @@ Two things keep a key in `.claude/settings.json` from applying for everyone who clones it: - * **Claude Code ignores the key in a repository file.** Look for `User, local, or managed`, `User or managed`, `Managed`, or `Global config` in the Scope column of the [All settings](</docs/en/settings-reference#all-settings>) index; those keys never apply from the shared file, apart from [`autoContinueAtUsageLimit`](</docs/en/settings-reference#autocontinueatusagelimit>), which a repository file can still switch off: while the file sets the key and no user, `--settings`, or managed value does, Claude Code reads the setting as off. `Global config` keys apply only from `~/.claude.json`. + * **Claude Code ignores the key in a repository file.** Look for `User, local, or managed`, `User or managed`, `Managed`, or `Global config` in the Scope column of the [settings index](</docs/en/settings-reference#settings-index>); those keys never apply from the shared file, apart from [`autoContinueAtUsageLimit`](</docs/en/settings-reference#autocontinueatusagelimit>), which a repository file can still switch off: while the file sets the key and no user, `--settings`, or managed value does, Claude Code reads the setting as off. `Global config` keys apply only from `~/.claude.json`. * **The key waits for trust.** `permissions.allow` rules, `permissions.additionalDirectories`, `extraKnownMarketplaces`, and most [`env`](</docs/en/settings-reference#env>) values apply only after each teammate [trusts the folder](</docs/en/permissions#project-allow-rules-and-workspace-trust>). Until then they still see prompts and don’t get plugins from a marketplace the file declares. `deny` and `ask` rules apply right away. #### @@ -363,7 +366,7 @@ What’s next - * [Settings reference](</docs/en/settings-reference>): every key, with where you set it and an example + * [All settings](</docs/en/settings-reference>): every key, with where you set it and an example * [Example settings files](</docs/en/settings-example>): a personal file, a team file, and an organization’s managed file * [Configure permissions](</docs/en/permissions>): allow, ask, and deny rules, and what Claude Code runs without asking * [Environment variables](</docs/en/env-vars>): the variables Claude Code reads and the `env` block
modified All settings View current →
--- a/settings-reference.md +++ b/settings-reference.md @@ -1,10 +1,10 @@ -This reference page lists each key Claude Code reads from a settings file, plus the short group of keys it keeps in `~/.claude.json` instead. To pick a file, or check precedence, start with [Claude Code settings](</docs/en/settings>). +This reference page lists each key Claude Code reads from a settings file, plus the short group of keys it keeps in `~/.claude.json` instead. To pick a file, or check precedence, start with [Settings files and precedence](</docs/en/settings>). ## ​ -All settings +Settings index Every key below links to its entry. Scope lists the [files](</docs/en/settings#settings-files-and-who-they-affect>) it can go in: `User` is `~/.claude/settings.json`, `Project` is `.claude/settings.json`, `Local` is `.claude/settings.local.json`, and `Managed` is [what your organization deploys](</docs/en/managed-settings>). `Any file` means all four, and `Global config` means `~/.claude.json`. @@ -626,7 +626,7 @@ `outputStyle` -Select an [output style](</docs/en/output-styles>) by name. An output style is a saved set of instructions that Claude Code adds to the system prompt to change Claude’s role, tone, and output format, such as the built-in Explanatory and Learning styles or one you wrote yourself. Claude Code builds the style into the system prompt once per conversation. An edit to this key takes effect after you run `/clear` or start a new session. +Select an [output style](</docs/en/output-styles>) by name. An output style is a saved set of instructions that Claude Code adds to the system prompt to change Claude’s role, tone, and output format, such as the built-in Explanatory and Learning styles or one you wrote yourself. If you change this key during a session, Claude uses the new style starting with your next message. That message rebuilds the [prompt cache](</docs/en/prompt-caching#changing-output-style>) once, because the style is part of the system prompt. Before v2.1.251, the edit applied only after you ran `/clear` or started a new session. * **Scope** : `Any file` * **Type** : string, the name of a [built-in](</docs/en/output-styles#built-in-output-styles>) or [custom](</docs/en/output-styles#create-a-custom-output-style>) output style @@ -3854,7 +3854,7 @@ `workflowKeywordTriggerEnabled` -Choose whether typing the keyword `ultracode` in a prompt triggers a [dynamic workflow](</docs/en/workflows#ask-for-a-workflow-in-your-prompt>). Set it to `false` to type the word without triggering one. Requires Claude Code v2.1.157 or later. +Choose whether typing the keyword `ultracode` in a prompt triggers a [dynamic workflow](</docs/en/workflows#ask-for-a-workflow-in-your-prompt>). Set it to `false` to type the word without triggering one. * **Scope** : `Any file`. Appears in `/config` as **Ultracode keyword trigger**. * **Type** : Boolean @@ -3868,7 +3868,7 @@ "workflowKeywordTriggerEnabled": false } -The `ultracode` effort setting, `/workflows`, and saved workflow commands are unaffected. Requires Claude Code v2.1.157 or later. Before v2.1.160, the trigger keyword was `workflow`. +The `ultracode` effort setting, `/workflows`, and saved workflow commands are unaffected. ### @@ -5540,7 +5540,7 @@ "requiredMaximumVersion": "2.1.150" } -Background auto-updates and `claude update` skip versions above the ceiling, so an installation inside the range stays inside it. `claude update`, `claude install`, and `claude doctor` keep working above the ceiling so users can recover. Pair it with `requiredMinimumVersion` to enforce a range. Requires Claude Code v2.1.163 or later. +Background auto-updates and `claude update` skip versions above the ceiling, so an installation inside the range stays inside it. `claude update`, `claude install`, and `claude doctor` keep working above the ceiling so users can recover. Pair it with `requiredMinimumVersion` to enforce a range. ### @@ -5560,7 +5560,7 @@ "requiredMinimumVersion": "2.1.150" } -`claude update`, `claude install`, and `claude doctor` keep working below the floor so users can recover. Unlike `minimumVersion`, which only prevents downgrades, this key blocks startup. Pair it with `requiredMaximumVersion` to enforce a range. Requires Claude Code v2.1.163 or later. +`claude update`, `claude install`, and `claude doctor` keep working below the floor so users can recover. Unlike `minimumVersion`, which only prevents downgrades, this key blocks startup. Pair it with `requiredMaximumVersion` to enforce a range. ##
modified Extend agents with skills View current →
--- a/skills.md +++ b/skills.md @@ -272,7 +272,7 @@ * **Project skills** : `.claude/skills/`, available only in the current project * **Personal skills** : `~/.claude/skills/`, available across all your projects -If you have existing custom command files in `.claude/commands/`, they keep working. A command file at `.claude/commands/deploy.md` creates `/deploy` and works the same way as a skill at `.claude/skills/deploy/SKILL.md` would. If a command file and a skill share a name, see [Where skills live](</docs/en/skills#where-skills-live>) for which one runs. The SDK loads `.claude/commands/` and `~/.claude/commands/` files from the same two scopes as skills. See [Extend Claude with skills](</docs/en/skills>) for the complete guide to both artifact forms. +If you have existing custom command files in `.claude/commands/`, they keep working. A command file at `.claude/commands/deploy.md` creates `/deploy` and works the same way as a skill at `.claude/skills/deploy/SKILL.md` would. If a command file and a skill share a name, see [Resolve skills that share a name](</docs/en/skills#resolve-skills-that-share-a-name>) for which one runs. The SDK loads `.claude/commands/` and `~/.claude/commands/` files from the same two scopes as skills. See [Extend Claude with skills](</docs/en/skills>) for the complete guide to both artifact forms. ### @@ -503,7 +503,7 @@ * [Frontmatter reference](</docs/en/skills#frontmatter-reference>): every supported field * [Pass arguments to skills](</docs/en/skills#pass-arguments-to-skills>): `$ARGUMENTS`, `$0`, `$1`, and skill stacking. The [full substitution table](</docs/en/skills#available-string-substitutions>) adds named arguments and the `${CLAUDE_*}` variables * [Inject dynamic context](</docs/en/skills#inject-dynamic-context>): `!`command`` lines that run before Claude sees the skill content - * [Where skills live](</docs/en/skills#where-skills-live>): all discovery levels, plugin namespacing, and what happens when a skill and a command file share a name + * [Choose where skills load](</docs/en/skills#where-skills-live>): every skill location, plugin namespacing, and which skill runs when two share a name ##
modified Configure your terminal for Claude Code View current →
--- a/terminal-config.md +++ b/terminal-config.md @@ -24,7 +24,7 @@ VS Code, Cursor, Devin Desktop, Alacritty, Zed| Run `/terminal-setup` once gnome-terminal, JetBrains IDEs such as PyCharm and Android Studio| Not available; use Ctrl+J or `\` then Enter -For VS Code, Cursor, Devin Desktop, Alacritty, and Zed, `/terminal-setup` writes a Shift+Enter keybinding into the terminal’s configuration file. On the first run you see a confirmation such as `Installed VSCode terminal Shift+Enter key binding`. Existing bindings are left in place; if you see a message such as `VSCode terminal Shift+Enter key binding already configured`, no change was made. Run `/terminal-setup` directly in the host terminal rather than inside tmux or screen, since it needs to write to the host terminal’s configuration. In VS Code, Cursor, and Devin Desktop, `/terminal-setup` also updates two editor settings: it sets `terminal.integrated.gpuAcceleration` to `"off"` to prevent garbled text in the integrated terminal, and it sets `terminal.integrated.mouseWheelScrollSensitivity` for smoother scrolling in [fullscreen mode](</docs/en/fullscreen>). To undo the GPU acceleration change, set it back to `"auto"` and reload the editor window. Before v2.1.157, `/terminal-setup` left GPU acceleration unchanged. In Zed, `/terminal-setup` updates your `keymap.json` in place: +For VS Code, Cursor, Devin Desktop, Alacritty, and Zed, `/terminal-setup` writes a Shift+Enter keybinding into the terminal’s configuration file. On the first run you see a confirmation such as `Installed VSCode terminal Shift+Enter key binding`. Existing bindings are left in place; if you see a message such as `VSCode terminal Shift+Enter key binding already configured`, no change was made. Run `/terminal-setup` directly in the host terminal rather than inside tmux or screen, since it needs to write to the host terminal’s configuration. In VS Code, Cursor, and Devin Desktop, `/terminal-setup` also updates two editor settings: it sets `terminal.integrated.gpuAcceleration` to `"off"` to prevent garbled text in the integrated terminal, and it sets `terminal.integrated.mouseWheelScrollSensitivity` for smoother scrolling in [fullscreen mode](</docs/en/fullscreen>). To undo the GPU acceleration change, set it back to `"auto"` and reload the editor window. In Zed, `/terminal-setup` updates your `keymap.json` in place: * If the keymap already has bindings and none of them is a Terminal `shift-enter`, Claude Code first backs it up to a copy in the same directory, such as `keymap.json.1a2b3c4d.bak`, then merges the Shift+Enter binding into your keymap, keeping your other keybindings and comments * If Claude Code can’t read or parse the keymap, can’t back it up, or can’t verify the merged result, it [leaves the file unchanged and prints the keybinding block to add yourself](</docs/en/errors#terminal-setup-left-your-zed-keymap-unchanged>)
modified Voice dictation View current →
--- a/voice-dictation.md +++ b/voice-dictation.md @@ -192,6 +192,6 @@ See also * [Customize keyboard shortcuts](</docs/en/keybindings>): rebind `voice:pushToTalk` and other CLI keyboard actions - * [Settings reference](</docs/en/settings-reference#voice>): the `voice`, `language`, and other settings keys + * [All settings](</docs/en/settings-reference#voice>): the `voice`, `language`, and other settings keys * [Interactive mode](</docs/en/interactive-mode>): keyboard shortcuts, input modes, and session controls * [Commands](</docs/en/commands>): reference for `/voice`, `/config`, and all other commands
modified Orchestrate subagents at scale with dynamic workflows View current →
--- a/workflows.md +++ b/workflows.md @@ -114,7 +114,7 @@ Ask for a workflow in your prompt -To run a single task as a workflow without changing the session’s effort level, include the keyword `ultracode` in your prompt. Asking in your own words, for example “use a workflow” or “run a workflow”, also works: Claude treats a direct request as the same opt-in. Before v2.1.160 the literal trigger keyword was `workflow`; natural-language requests work in both versions. +To run a single task as a workflow without changing the session’s effort level, include the keyword `ultracode` in your prompt. Asking in your own words, for example “use a workflow” or “run a workflow”, also works: Claude treats a direct request as the same opt-in. ultracode: audit every API endpoint under src/routes/ for missing auth checks