Changes on
16 changes detected
--- a/admin-setup.md
+++ b/admin-setup.md
@@ -22,7 +22,7 @@
Choose your API provider
-Claude Code connects to Claude through one of several API providers. Your choice affects billing, authentication, and which compliance posture you inherit.
+Claude Code connects to Claude through one of several API providers. Your choice affects billing, authentication, which compliance posture you inherit, and which Claude Code features your developers can use.
Provider| Choose this when
---|---
@@ -32,7 +32,7 @@
Google Vertex AI| You want to inherit existing GCP compliance controls and billing
Microsoft Foundry| You want to inherit existing Azure compliance controls and billing
-For the full provider comparison covering authentication, regions, and feature parity, see the [enterprise deployment overview](</docs/en/third-party-integrations>). Each provider’s auth setup is in [Authentication](</docs/en/authentication>). Proxy and firewall requirements in [Network configuration](</docs/en/network-config>) apply regardless of provider. If you want a single endpoint in front of multiple providers or centralized request logging, see [LLM gateway](</docs/en/llm-gateway>).
+Some Claude Code features require a Claude.ai account. [Claude Code on the web](</docs/en/claude-code-on-the-web>), [Routines](</docs/en/routines>), [Code Review](</docs/en/code-review>), [Remote Control](</docs/en/remote-control>), and the [Chrome extension](</docs/en/chrome>) are not available through Console API keys or cloud-provider credentials alone. If you deploy through Bedrock, Vertex, or Foundry, plan whether developers also need Claude for Teams or Enterprise seats. Each feature page lists its plan requirements. For the full provider comparison covering authentication, regions, and feature parity, see the [enterprise deployment overview](</docs/en/third-party-integrations>). Each provider’s auth setup is in [Authentication](</docs/en/authentication>). Proxy and firewall requirements in [Network configuration](</docs/en/network-config>) apply regardless of provider. If you want a single endpoint in front of multiple providers or centralized request logging, see [LLM gateway](</docs/en/llm-gateway>).
##
--- a/agent-view.md
+++ b/agent-view.md
@@ -257,7 +257,7 @@
From inside a session
-Run `/background` or its alias `/bg` to move the current conversation into a background session. Pass a prompt such as `/bg run the test suite and fix any failures` to give one more instruction first. Backgrounding from an interactive session starts a fresh process that resumes from the saved conversation, so running subagents and background commands do not transfer to it. Claude asks you to confirm before backgrounding when any are running. Once in the background, the session can start new subagents and background commands, and those keep running across later detach and reattach.
+Run `/background` or its alias `/bg` to move the current conversation into a background session. Pass a prompt such as `/bg run the test suite and fix any failures` to give one more instruction first. Backgrounding from an interactive session starts a fresh process that resumes from the saved conversation, so running subagents, [monitors](</docs/en/tools-reference#monitor-tool>), and background commands do not transfer to it. Claude asks you to confirm before backgrounding when any are running. Once in the background, the session can start new subagents, monitors, and background commands, and those keep running across later detach and reattach.
###
@@ -295,7 +295,7 @@
Set the model
-The model name shown in the agent view header is the dispatch default. New sessions you start from the input use this model, which is the same setting [`/model`](</docs/en/model-config>) controls in any session. Each background session can run on a different model. To override it for one session:
+The model name shown in the agent view header is the dispatch default. New sessions you start from the input use this model, which is the same setting [`/model`](</docs/en/model-config>) controls in any session. To override it for the whole agent view session, pass `--model` when opening agent view. See Permission mode, model, and effort. Each background session can run on a different model. To override it for one session:
* From the shell, pass `--model` with `claude --bg`.
* Attach to a running session and run `/model` there. The change persists if the session is respawned.
@@ -305,9 +305,33 @@
-Permission mode and settings
-
-A dispatched session reads its [settings](</docs/en/settings>) and [permission mode](</docs/en/permissions>) from the directory it runs in, the same as if you had started `claude` there. Dispatching from the agent view input doesn’t pass a permission mode, so the session uses the `defaultMode` from that directory’s settings or the `permissionMode` from the dispatched [subagent’s frontmatter](</docs/en/sub-agents#supported-frontmatter-fields>). To set the mode from the shell, pass `--permission-mode` with `claude --bg`. Using `bypassPermissions` or `auto` this way is refused until you have accepted that mode by running `claude` with it once interactively, since those modes let a session you aren’t watching act without approval.
+Permission mode, model, and effort
+
+A dispatched session reads its [settings](</docs/en/settings>) and [permission mode](</docs/en/permissions>) from the directory it runs in, the same as if you had started `claude` there. To set defaults for every session you dispatch from agent view, pass any of `--permission-mode`, `--model`, or `--effort` when opening it:
+
+ claude agents --permission-mode plan --model opus --effort high
+
+The active defaults appear in the footer below the dispatch input. Without these flags, the session uses the `defaultMode` from that directory’s settings or the `permissionMode` from the dispatched [subagent’s frontmatter](</docs/en/sub-agents#supported-frontmatter-fields>), and the model shown in the agent view header. Using `bypassPermissions` or `auto` is refused until you have accepted that mode by running `claude` with it once interactively, since those modes let a session you aren’t watching act without approval. The same applies whether you pass the mode to `claude agents` or to `claude --bg --permission-mode`.
+
+###
+
+
+
+Settings, plugins, and MCP servers
+
+Agent view accepts the same configuration flags as `claude` for loading settings, plugins, MCP servers, and additional directories. Each flag applies to agent view itself and is passed through to every session you dispatch from it, so a plugin or MCP server you load this way is available in those sessions too.
+
+Flag| Effect
+---|---
+[`--settings <file-or-json>`](</docs/en/settings>)| Override settings for agent view and dispatched sessions
+[`--add-dir <path>`](</docs/en/permissions#additional-directories-grant-file-access-not-configuration>)| Grant file access to an additional directory
+[`--plugin-dir <path>`](</docs/en/plugins>)| Load a plugin from a local directory
+[`--mcp-config <file-or-json>`](</docs/en/mcp>)| Load MCP servers from a config file or JSON string
+`--strict-mcp-config`| Use only the MCP servers from `--mcp-config`, ignoring other MCP configuration
+
+Repeat `--add-dir`, `--plugin-dir`, or `--mcp-config` once per value. The space-separated form, such as `--add-dir a b c`, is not supported with `claude agents`. The following example opens agent view with a settings override and one extra directory:
+
+ claude agents --settings ./ci-settings.json --add-dir ../shared-lib
##
--- a/authentication.md
+++ b/authentication.md
@@ -177,6 +177,8 @@
Generate a long-lived token
+Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
+
For CI pipelines, scripts, or other environments where interactive browser login isn’t available, generate a one-year OAuth token with `claude setup-token`:
claude setup-token
--- a/changelog.md
+++ b/changelog.md
@@ -5,6 +5,74 @@
> Use this file to discover all available pages before exploring further.
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.141
+
+May 13, 2026
+
+ * Added `terminalSequence` field to hook JSON output so hooks can emit desktop notifications, window titles, and bells without a controlling terminal
+ * Added `CLAUDE_CODE_PLUGIN_PREFER_HTTPS` to clone GitHub plugin sources over HTTPS instead of SSH, for environments without a GitHub SSH key
+ * Added `ANTHROPIC_WORKSPACE_ID` environment variable for workload identity federation — scopes the minted token to a specific workspace when the federation rule covers more than one
+ * Added `claude agents --cwd <path>` to scope the session list to a directory
+ * `/feedback` can now include recent sessions (last 24 hours or 7 days) for issues spanning more than the current session
+ * Rewind menu: added “Summarize up to here” to compress earlier context while keeping recent turns intact
+ * Auto mode permission dialog now explains when a `permissions.ask` rule caused the prompt
+ * Restored the “view diff in your IDE” option on file-edit permission prompts when an IDE is connected
+ * Background agents launched via `/bg` or `←←` now preserve the current permission mode instead of reverting to default
+ * `claude agents`: agents that finish work but leave a background shell running now move to Completed instead of staying under Working
+ * Improved spinner feedback during long thinking periods — the spinner now warms to amber after 10 seconds to signal Claude is still working
+ * Improved plugin menu navigation: `→`/Tab switch tabs, `↑` moves to the tab strip, and tab headers and search box are clickable in fullscreen mode
+ * Fixed background side-queries sending an unavailable Haiku model ID on Bedrock/Vertex/Foundry/gateway when no `ANTHROPIC_SMALL_FAST_MODEL` override is set — now falls back to the main-loop model
+ * Fixed `claude daemon status` and `/doctor` on Windows throwing when the daemon pipe key file is locked or unreadable — now shows the underlying error instead of an opaque failure
+ * Fixed `claude agents` showing the agent-type list instead of the dashboard when launched through a wrapper that adds flags
+ * Fixed `claude agents` opening a crashed session firing redundant dispatches when the working directory was deleted
+ * Fixed background jobs on a custom `ANTHROPIC_BASE_URL` gateway not getting auto-named — the namer now uses the main model when no Haiku model is configured
+ * Fixed `/model` in one session silently changing the autocompact threshold in other concurrent sessions
+ * Fixed switching permission mode while a tool-permission prompt is open not auto-dismissing the prompt when the new setting permits the tool
+ * Fixed pressing Enter while a permission/dialog prompt is open also submitting text in the input box
+ * Fixed hooks receiving a non-existent `transcript_path` after `EnterWorktree` switches the working directory
+ * Fixed markdown tables with cell wrapping falling back to the vertical key-value layout instead of rendering as a bordered grid (regression in 2.1.136)
+ * Fixed cancelled prompts being removed from Up-arrow history when auto-restored into the input box, avoiding duplicate entries
+ * Fixed prompts cancelled with Ctrl+C/Esc before any response being dropped from Up-arrow history
+ * Fixed Ctrl+C not interrupting a running turn while in vim INSERT/VISUAL mode
+ * Fixed alternative `chat:submit` keybindings (e.g. `meta+enter`, `ctrl+enter`) not working when `enter` is rebound to `chat:newline`
+ * Fixed prompt suggestions being silently disabled when an output style was configured
+ * Fixed `spinnerVerbs` setting not being honored in turn-completion messages
+ * Fixed AskUserQuestion popup hiding the last line of preceding chat content
+ * Fixed Web Search status showing “Did 0 searches” when searches returned errors
+ * Fixed multi-line statusline output dropping or corrupting rows when any line exceeds terminal width
+ * Fixed light-ansi theme using invisible white for diff context lines on light backgrounds — now uses black
+ * Fixed error overlay dumping minified bundle source that hid the original error message
+ * Fixed pressing Enter after typing a feedback survey rating digit submitting it as a chat message instead of the rating
+ * Fixed pressing `x` on a selected subagent in the agent panel typing into the prompt instead of stopping the agent
+ * Fixed session title being derived from plugin monitor notifications before the user’s first prompt
+ * Fixed “Allowed by PermissionRequest hook” repeating once per tool call under a collapsed read/search group
+ * Fixed `/tui` silently dropping running background shells and subagents — now refuses and asks to wait for them to finish
+ * Fixed welcome banner showing “API Usage Billing” on Bedrock, Vertex, Foundry, and other third-party providers — now shows the provider name
+ * Fixed `/mcp` server list not keeping the focused server visible in short terminals in fullscreen mode
+ * Fixed redaction in `/feedback` bundles producing invalid JSON for quoted values like session IDs
+ * Fixed desktop and third-party provider sessions incorrectly inheriting `apiKeyHelper`/`ANTHROPIC_AUTH_TOKEN` from host managed-settings
+ * Fixed early analytics events being silently dropped when fired before logger initialization
+ * Fixed `claude plugin install` failing for plugins whose marketplace `ref` no longer exists upstream when a `sha` is also pinned
+ * Fixed plugin details pane showing 0 MCP servers for plugins that declare them via `.mcp.json`
+ * Fixed plugin MCP servers with unset config variables showing a generic connection failure instead of a “config issue” message with a fix-it hint; malformed `.mcp.json` entries no longer drop other MCP servers
+ * Fixed MCP server configs using POSIX shell parameter expansions (e.g. `${var%pattern}`) being incorrectly flagged as missing environment variables
+ * Fixed MCP HTTP/SSE servers returning 403 on connect showing as “failed” instead of “needs auth”
+ * Fixed remote MCP servers disconnecting unnecessarily when the optional server-events stream failed to reconnect — tool calls continue over POST
+ * Fixed Remote Control MCP connectors all failing with 401 when the worker session token rotated mid-session
+ * Fixed Remote Control automatically re-enrolling a trusted device when the server rejects a stale token, instead of looping through `/login`
+ * Fixed a race where early OTel spans could be silently dropped in SDK/headless mode with beta tracing enabled
+ * Fixed custom `voice:pushToTalk` keybindings and `"space": null` unbinds being silently ignored
+ * Fixed Windows Alt+V image paste reporting “no image found” when the clipboard contains a screenshot
+ * Fixed SDK “Claude Code native binary not found” on Linux when both glibc and musl platform packages are installed
+ * Bedrock: `awsCredentialExport` now always runs when configured instead of being skipped when ambient AWS credentials resolve, fixing auth for cross-account access
+ * [VSCode] Fixed in-chat mic showing no feedback when the microphone produced only silence — now shows “No audio detected”
+ * [VSCode] Voice mode: the WSL error now suggests installing `sox libsox-fmt-pulse` for WSLg users
+ * `claude agents`: launching a session no longer fails when the pre-warmed background worker is unhealthy — now falls back to a fresh launch
+ * `claude agents` no longer shows empty placeholder sessions left over from backgrounding a fresh REPL, and shows onboarding text when entered via ← with no other agents
+ * Empty idle background sessions left over from `←` are now automatically retired by the daemon after 5 minutes
--- a/commands.md
+++ b/commands.md
@@ -108,7 +108,7 @@
`/theme`| Change the color theme. Includes an `auto` option that matches your terminal’s light or dark background, light and dark variants, colorblind-accessible (daltonized) themes, ANSI themes that use your terminal’s color palette, and any [custom themes](</docs/en/terminal-config#create-a-custom-theme>) from `~/.claude/themes/` or plugins. Select **New custom theme…** to create one
`/tui [default|fullscreen]`| Set the terminal UI renderer and relaunch into it with your conversation intact. `fullscreen` enables the [flicker-free alt-screen renderer](</docs/en/fullscreen>). With no argument, prints the active renderer
`/ultraplan <prompt>`| Draft a plan in an [ultraplan](</docs/en/ultraplan>) session, review it in your browser, then execute remotely or send it back to your terminal
-`/ultrareview [PR]`| Run a deep, multi-agent code review in a cloud sandbox with [ultrareview](</docs/en/ultrareview>). Includes 3 free runs on Pro and Max through May 5, 2026, then requires [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
+`/ultrareview [PR]`| Run a deep, multi-agent code review in a cloud sandbox with [ultrareview](</docs/en/ultrareview>). Includes 3 free runs on Pro and Max, then requires [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
`/upgrade`| Open the upgrade page to switch to a higher plan tier
`/usage`| Show session cost, plan usage limits, and activity stats. See the [cost tracking guide](</docs/en/costs#using-the-%2Fusage-command>) for subscription-specific details. `/cost` and `/stats` are aliases
`/vim`| Removed in v2.1.92. To toggle between Vim and Normal editing modes, use `/config` → Editor mode
--- a/fast-mode.md
+++ b/fast-mode.md
@@ -14,7 +14,7 @@
* Use `/fast` to toggle on fast mode in Claude Code CLI. Also available via `/fast` in Claude Code VS Code Extension.
* By default, `/fast` runs on Opus 4.6. To run fast mode on Opus 4.7 instead, set the `CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE` environment variable.
- * Fast mode pricing is $30/150 MTok on both Opus 4.6 and Opus 4.7.
+ * Fast mode pricing is 30/30/30/150 MTok on both Opus 4.6 and Opus 4.7.
* Available to all Claude Code users on subscription plans (Pro/Max/Team/Enterprise) and Claude Console.
* For Claude Code users on subscription plans (Pro/Max/Team/Enterprise), fast mode is available via extra usage only and not included in the subscription rate limits.
--- a/headless.md
+++ b/headless.md
@@ -4,11 +4,9 @@
>
> Use this file to discover all available pages before exploring further.
-The [Agent SDK](</docs/en/agent-sdk/overview>) gives you the same tools, agent loop, and context management that power Claude Code. It’s available as a CLI for scripts and CI/CD, or as [Python](</docs/en/agent-sdk/python>) and [TypeScript](</docs/en/agent-sdk/typescript>) packages for full programmatic control.
-
-The CLI was previously called “headless mode.” The `-p` flag and all CLI options work the same way.
-
-To run Claude Code programmatically from the CLI, pass `-p` with your prompt and any [CLI options](</docs/en/cli-reference>):
+Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
+
+The [Agent SDK](</docs/en/agent-sdk/overview>) gives you the same tools, agent loop, and context management that power Claude Code. It’s available as a CLI for scripts and CI/CD, or as [Python](</docs/en/agent-sdk/python>) and [TypeScript](</docs/en/agent-sdk/typescript>) packages for full programmatic control. To run Claude Code in non-interactive mode, pass `-p` with your prompt and any [CLI options](</docs/en/cli-reference>):
claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash"
--- a/hooks-guide.md
+++ b/hooks-guide.md
@@ -722,7 +722,7 @@
[Plugin](</docs/en/plugins>) `hooks/hooks.json`| When plugin is enabled| Yes, bundled with the plugin
[Skill](</docs/en/skills>) or [agent](</docs/en/sub-agents>) frontmatter| While the skill or agent is active| Yes, defined in the component file
-Run [`/hooks`](</docs/en/hooks#the-hooks-menu>) in Claude Code to browse all configured hooks grouped by event. To disable all hooks at once, set `"disableAllHooks": true` in your settings file. If you edit settings files directly while Claude Code is running, the file watcher normally picks up hook changes automatically.
+Run [`/hooks`](</docs/en/hooks#the-hooks-menu>) in Claude Code to browse all configured hooks grouped by event. To disable hooks, set `"disableAllHooks": true` in your settings file. Hooks configured in managed settings still run unless `disableAllHooks` is also set there. If you edit settings files directly while Claude Code is running, the file watcher normally picks up hook changes automatically.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -3,6 +3,8 @@
> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
>
> Use this file to discover all available pages before exploring further.
+
+Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
##
--- a/memory.md
+++ b/memory.md
@@ -63,15 +63,15 @@
Choose where to put CLAUDE.md files
-CLAUDE.md files can live in several locations, each with a different scope. More specific locations take precedence over broader ones.
+CLAUDE.md files can live in several locations, each with a different scope. The table below lists them in load order, from broadest scope to most specific, so a project instruction appears in context after a user instruction.
Scope| Location| Purpose| Use case examples| Shared with
---|---|---|---|---
**Managed policy**| • macOS: `/Library/Application Support/ClaudeCode/CLAUDE.md`
• Linux and WSL: `/etc/claude-code/CLAUDE.md`
• Windows: `C:\Program Files\ClaudeCode\CLAUDE.md`| Organization-wide instructions managed by IT/DevOps| Company coding standards, security policies, compliance requirements| All users in organization
+**User instructions**| `~/.claude/CLAUDE.md`| Personal preferences for all projects| Code styling preferences, personal tooling shortcuts| Just you (all projects)
**Project instructions**| `./CLAUDE.md` or `./.claude/CLAUDE.md`| Team-shared instructions for the project| Project architecture, coding standards, common workflows| Team members via source control
-**User instructions**| `~/.claude/CLAUDE.md`| Personal preferences for all projects| Code styling preferences, personal tooling shortcuts| Just you (all projects)
**Local instructions**| `./CLAUDE.local.md`| Personal project-specific preferences; add to `.gitignore`| Your sandbox URLs, preferred test data| Just you (current project)
CLAUDE.md and CLAUDE.local.md files in the directory hierarchy above the working directory are loaded in full at launch. Files in subdirectories load on demand when Claude reads files in those directories. See How CLAUDE.md files load for the full resolution order. For large projects, you can break instructions into topic-specific files using project rules. Rules let you scope instructions to specific file types or subdirectories.
--- a/modifying-system-prompts.md
+++ b/modifying-system-prompts.md
@@ -110,13 +110,14 @@
Create an output style
-An output style is a markdown file with a `name` and `description` in its frontmatter, followed by the prompt content. Save it to `~/.claude/output-styles/` for a user-level style available in every project, or `.claude/output-styles/` in your repository for a project-level style you can commit and share with your team. The example below defines a code-review persona. Save it as `~/.claude/output-styles/code-reviewer.md` to make it available across projects:
+An output style is a markdown file with [frontmatter](</docs/en/output-styles#frontmatter>) for metadata, followed by the prompt content. Save it to `~/.claude/output-styles/` for a user-level style available in every project, or `.claude/output-styles/` in your repository for a project-level style you can commit and share with your team. By default, a custom output style replaces the `claude_code` preset’s software engineering instructions with your own. To keep them and layer your instructions on top, set `keep-coding-instructions: true` in the frontmatter. Keep them when your agent is still doing software engineering work. Leave them out when you’re replacing the role entirely. The example below defines a code-review persona that keeps the coding instructions, since reviewing code still benefits from Claude Code’s security and code-quality guidance. Save it as `~/.claude/output-styles/code-reviewer.md` to make it available across projects:
~/.claude/output-styles/code-reviewer.md
---
name: Code Reviewer
description: Thorough code review assistant
+ keep-coding-instructions: true
---
You are an expert code reviewer.
@@ -259,7 +260,7 @@
**Default tools**| Preserved| Preserved| Preserved| Lost (unless included)
**Built-in safety**| Maintained| Maintained| Maintained| Must be added
**Environment context**| Automatic| Automatic| Automatic| Must be provided
-**Customization level**| Additions only| Replace default| Additions only| Complete control
+**Customization level**| Additions only| Replace or extend default| Additions only| Complete control
**Version control**| With project| Yes| With code| With code
**Scope**| Project-specific| User or project| Code session| Code session
Show diff (164 lines)
--- a/output-styles.md
+++ b/output-styles.md
@@ -4,7 +4,7 @@
>
> Use this file to discover all available pages before exploring further.
-Output styles change how Claude responds, not what Claude knows. They modify the system prompt to set role, tone, and output format while keeping core capabilities like running scripts, reading and writing files, and tracking TODOs. Use one when you keep re-prompting for the same voice or format every turn, or when you want Claude to act as something other than a software engineer. For instructions about your project, conventions, or codebase, use [CLAUDE.md](</docs/en/memory>) instead.
+Output styles change how Claude responds, not what Claude knows. They modify the system prompt to set role, tone, and output format. Use one when you keep re-prompting for the same voice or format every turn, or when you want Claude to act as something other than a software engineer. A custom output style adds your instructions to the system prompt and lets you choose whether to keep Claude Code’s built-in software engineering instructions. Keep them when you’re changing how Claude communicates but still coding, like always answering with a diagram. Leave them out when Claude isn’t doing software engineering at all, like a writing assistant or data analyst. For instructions about your project, conventions, or codebase, use [CLAUDE.md](</docs/en/memory>) instead.
##
@@ -17,20 +17,6 @@
* **Proactive** : Claude executes immediately, makes reasonable assumptions instead of pausing for routine decisions, and prefers action over planning. This applies the same guidance as [auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) without changing your permission mode, so you still see permission prompts before tools run.
* **Explanatory** : Provides educational “Insights” in between helping you complete software engineering tasks. Helps you understand implementation choices and codebase patterns.
* **Learning** : Collaborative, learn-by-doing mode where Claude will not only share “Insights” while coding, but also ask you to contribute small, strategic pieces of code yourself. Claude Code will add `TODO(human)` markers in your code for you to implement.
-
-##
-
-
-
-How output styles work
-
-Output styles directly modify Claude Code’s system prompt.
-
- * Custom output styles exclude instructions for coding (such as verifying code with tests), unless `keep-coding-instructions` is true.
- * All output styles have their own custom instructions added to the end of the system prompt.
- * All output styles trigger reminders for Claude to adhere to the output style instructions during the conversation.
-
-Token usage depends on the style. Adding instructions to the system prompt increases input tokens, though prompt caching reduces this cost after the first request in a session. The built-in Explanatory and Learning styles produce longer responses than Default by design, which increases output tokens. For custom styles, output token usage depends on what your instructions tell Claude to produce.
##
@@ -52,28 +38,41 @@
Create a custom output style
-Custom output styles are Markdown files with frontmatter and the text that will be added to the system prompt:
+A custom output style is a Markdown file: frontmatter for metadata, then the instructions to add to the system prompt.
- ---
- name: My Custom Style
- description:
- A brief description of what this style does, to be displayed to the user
- ---
+1
- # Custom Style Instructions
+Create a Markdown file
- You are an interactive CLI tool that helps users with software engineering
- tasks. [Your custom instructions here...]
-
- ## Specific Behaviors
-
- [Define how the assistant should behave in this style...]
-
-You can save these files at three levels:
+Save it at one of three levels. The file name becomes the style name unless you set `name` in the frontmatter.
* User: `~/.claude/output-styles`
* Project: `.claude/output-styles`
* Managed policy: `.claude/output-styles` inside the [managed settings directory](</docs/en/settings#settings-files>)
+
+2
+
+Add frontmatter and instructions
+
+Decide whether to keep Claude Code’s software engineering instructions. Set `keep-coding-instructions: true` if you’re changing how Claude communicates but still want it coding the same way. Leave it out if Claude won’t be doing software engineering.This example leads every explanation with a diagram while keeping Claude’s coding behavior:
+
+ ---
+ name: Diagrams first
+ description: Lead every explanation with a diagram
+ keep-coding-instructions: true
+ ---
+
+ When explaining code, architecture, or data flow, start with a Mermaid diagram showing the structure, then explain in prose.
+
+ ## Diagram conventions
+
+ Use `flowchart TD` for control flow and `sequenceDiagram` for request paths. Keep diagrams under 15 nodes.
+
+3
+
+Switch to your style
+
+Run `/config` and select your style under **Output style**. It takes effect the next time you start a session.
[Plugins](</docs/en/plugins-reference>) can also ship output styles in an `output-styles/` directory.
@@ -83,14 +82,28 @@
Frontmatter
-Output style files support frontmatter for specifying metadata:
+Output style files support these frontmatter fields:
Frontmatter| Purpose| Default
---|---|---
`name`| Name of the output style, if not the file name| Inherits from file name
`description`| Description of the output style, shown in the `/config` picker| None
-`keep-coding-instructions`| Whether to keep the parts of Claude Code’s system prompt related to coding.| false
-`force-for-plugin`| Plugin output styles only: apply this style automatically whenever the plugin is enabled, without requiring users to select it. Overrides the user’s `outputStyle` setting. If multiple enabled plugins set this, the first one loaded wins.| false
+`keep-coding-instructions`| Keep Claude Code’s built-in software engineering instructions| `false`
+`force-for-plugin`| Plugin output styles only: apply this style automatically whenever the plugin is enabled, without requiring users to select it. Overrides the user’s `outputStyle` setting. If multiple enabled plugins set this, Claude Code uses the first one loaded.| `false`
+
+##
+
+
+
+How output styles work
+
+Output styles directly modify Claude Code’s system prompt.
+
+ * All output styles have their own custom instructions added to the end of the system prompt.
+ * All output styles trigger reminders for Claude to adhere to the output style instructions during the conversation.
+ * Custom output styles leave out Claude Code’s built-in software engineering instructions, such as how to scope changes, write comments, and verify work, unless `keep-coding-instructions` is set to `true`.
+
+Token usage depends on the style. Adding instructions to the system prompt increases input tokens, though prompt caching reduces this cost after the first request in a session. The built-in Explanatory and Learning styles produce longer responses than Default by design, which increases output tokens. For custom styles, output token usage depends on what your instructions tell Claude to produce.
##
@@ -98,26 +111,23 @@
Comparisons to related features
-###
+Several features customize how Claude Code behaves. Output styles modify the system prompt directly and apply to every response. The others add instructions without changing the default system prompt, or scope them to a specific task.
+
+Feature| How it works| Use it when
+---|---|---
+Output styles| Modifies the system prompt| You want a different role, tone, or default response format every turn
+[CLAUDE.md](</docs/en/memory>)| Adds a user message after the system prompt| Claude should always know your project conventions and codebase context
+`--append-system-prompt`| Appends to the system prompt without removing anything| You want a one-off addition for a single invocation
+[Agents](</docs/en/sub-agents>)| Runs a subagent with its own system prompt, model, and tools| You want a separately scoped helper for a focused task
+[Skills](</docs/en/skills>)| Loads task-specific instructions when invoked or relevant| You have a reusable workflow
+
+##
-Output Styles vs. CLAUDE.md vs. —append-system-prompt
+Related resources
-Choose based on whether Claude should stop acting as a coding assistant or keep its default role and learn more. Output styles replace the software-engineering parts of Claude Code’s system prompt with your own role and voice, so use one when Claude should adopt a different identity, like a writing editor or a data-analysis assistant. CLAUDE.md and `--append-system-prompt` both keep Claude Code’s default identity and add to it, so use them when Claude should remain a coding assistant that also follows your project conventions or extra instructions. The mechanisms differ as well. Output styles edit the system prompt directly. CLAUDE.md adds its contents as a user message after the system prompt. `--append-system-prompt` appends content to the end of the system prompt without removing anything.
-
-###
-
-
-
-Output Styles vs. [Agents](</docs/en/sub-agents>)
-
-Use an output style to change how the main conversation responds in every session. Use a [subagent](</docs/en/sub-agents>) when you want a separately scoped helper that the main conversation delegates to. Output styles affect only the system prompt of the main agent loop. Agents handle specific tasks and can carry their own model, tools, and context about when to invoke them.
-
-###
-
-
-
-Output Styles vs. [Skills](</docs/en/skills>)
-
-Output styles modify how Claude responds (formatting, tone, structure) and are always active once selected. Skills are task-specific prompts that you invoke with `/skill-name` or that Claude loads automatically when relevant. Use output styles for consistent formatting preferences; use skills for reusable workflows and tasks.
+ * [Settings](</docs/en/settings>): where the `outputStyle` field lives and how settings precedence works
+ * [Permission modes](</docs/en/permission-modes>): the Proactive style mirrors auto mode without changing your permission mode
+ * [Plugins](</docs/en/plugins>): package and distribute output styles alongside skills, hooks, and agents
+ * [Debug your configuration](</docs/en/debug-your-config>): diagnose why an output style isn’t taking effect
--- a/permissions.md
+++ b/permissions.md
@@ -399,7 +399,7 @@
4. **Shared project settings** (`.claude/settings.json`)
5. **User settings** (`~/.claude/settings.json`)
-If a tool is denied at any level, no other level can allow it. For example, a managed settings deny cannot be overridden by `--allowedTools`, and `--disallowedTools` can add restrictions beyond what managed settings define. Embedding hosts can supply additional managed policy via the SDK `managedSettings` option when [`parentSettingsBehavior`](</docs/en/settings#settings-precedence>) is set to `"merge"`; embedder values can tighten policy but not loosen it. If a permission is allowed in user settings but denied in project settings, the project setting takes precedence and the permission is blocked.
+If a tool is denied at any level, no other level can allow it. For example, a managed settings deny cannot be overridden by `--allowedTools`, and `--disallowedTools` can add restrictions beyond what managed settings define. Embedding hosts can supply additional managed policy via the SDK `managedSettings` option when [`parentSettingsBehavior`](</docs/en/settings#settings-precedence>) is set to `"merge"`; embedder values can tighten policy but not loosen it. For example, if user settings allow a permission and project settings deny it, the deny rule blocks it. The reverse is also true: a user-level deny blocks a project-level allow, because deny rules from any scope are evaluated before allow rules.
##
--- a/plugins.md
+++ b/plugins.md
@@ -307,7 +307,7 @@
claude --plugin-dir ./my-plugin.zip
-When a `--plugin-dir` plugin has the same name as an installed marketplace plugin, the local copy takes precedence for that session. This lets you test changes to a plugin you already have installed without uninstalling it first. Marketplace plugins force-enabled by managed settings are the only exception and cannot be overridden. As you make changes to your plugin, run `/reload-plugins` to pick up the updates without restarting. This reloads plugins, skills, agents, hooks, plugin MCP servers, and plugin LSP servers. Test your plugin components:
+When a `--plugin-dir` plugin has the same name as an installed marketplace plugin, the local copy takes precedence for that session. This lets you test changes to a plugin you already have installed without uninstalling it first. The exception is plugins that managed settings force-enable or force-disable: `--plugin-dir` cannot override those. As you make changes to your plugin, run `/reload-plugins` to pick up the updates without restarting. This reloads plugins, skills, agents, hooks, plugin MCP servers, and plugin LSP servers. Test your plugin components:
* Try your skills with `/plugin-name:skill-name`
* Check that agents appear in `/agents`
--- a/settings.md
+++ b/settings.md
@@ -63,7 +63,7 @@
How scopes interact
-When the same setting is configured in multiple scopes, more specific scopes take precedence:
+When the same setting appears in multiple scopes, Claude Code applies them in priority order:
1. **Managed** (highest) - can’t be overridden by anything
2. **Command line arguments** \- temporary session overrides
@@ -71,7 +71,7 @@
4. **Project** \- overrides user settings
5. **User** (lowest) - applies when nothing else specifies the setting
-For example, if a permission is allowed in user settings but denied in project settings, the project setting takes precedence and the permission is blocked.
+For example, if your user settings set `spinnerTipsEnabled` to `true` and project settings set it to `false`, the project value applies. Permission rules behave differently because they merge across scopes rather than override. See Settings precedence.
###
@@ -536,7 +536,7 @@
5. **User settings** (`~/.claude/settings.json`)
* Personal global settings
-This hierarchy ensures that organizational policies are always enforced while still allowing teams and individuals to customize their experience. The same precedence applies whether you run Claude Code from the CLI, the [VS Code extension](</docs/en/vs-code>), or a [JetBrains IDE](</docs/en/jetbrains>). For example, if your user settings allow `Bash(npm run *)` but a project’s shared settings deny it, the project setting takes precedence and the command is blocked.
+This hierarchy ensures that organizational policies are always enforced while still allowing teams and individuals to customize their experience. The same precedence applies whether you run Claude Code from the CLI, the [VS Code extension](</docs/en/vs-code>), or a [JetBrains IDE](</docs/en/jetbrains>). For example, if your user settings set `permissions.defaultMode` to `acceptEdits` and a project’s shared settings set it to `default`, the project value applies. The example below covers how array-valued settings such as permission rules combine instead.
**Array settings merge across scopes.** When the same array-valued setting (such as `sandbox.filesystem.allowWrite` or `permissions.allow`) appears in multiple scopes, the arrays are **concatenated and deduplicated** , not replaced. This means lower-priority scopes can add entries without overriding those set by higher-priority scopes, and vice versa. For example, if managed settings set `allowWrite` to `["/opt/company-tools"]` and a user adds `["~/.kube"]`, both paths are included in the final configuration.
@@ -559,7 +559,7 @@
* **Skills** : Custom prompts that can be invoked with `/skill-name` or loaded by Claude automatically
* **MCP servers** : Extend Claude Code with additional tools and integrations
* **Precedence** : Higher-level configurations (Managed) override lower-level ones (User/Project)
- * **Inheritance** : Settings are merged, with more specific settings adding to or overriding broader ones
+ * **Inheritance** : Settings merge across scopes; scalar values from higher-priority scopes override, and arrays concatenate
###
--- a/ultrareview.md
+++ b/ultrareview.md
@@ -44,11 +44,11 @@
Plan| Included free runs| After free runs
---|---|---
-Pro| 3 free runs through May 5, 2026| billed as [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
-Max| 3 free runs through May 5, 2026| billed as [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
+Pro| 3 free runs| billed as [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
+Max| 3 free runs| billed as [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
Team and Enterprise| none| billed as [extra usage](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>)
-Pro and Max subscribers receive three free ultrareview runs to try the feature. These three runs are a one-time allotment per account, do not refresh, and expire on May 5, 2026. After you use all three, or after the free run period ends, each review is billed to extra usage and typically costs $5 to $20 depending on the size of the change. A run counts once the remote session starts, so a review that you stop early or that fails to complete still uses a free run. For a paid review, extra usage is billed only for the portion that ran. Because ultrareview always bills as extra usage outside the free runs, your account or organization must have extra usage enabled before you can launch a paid review. If extra usage is not enabled, Claude Code blocks the launch and links you to the billing settings where you can turn it on. You can also run `/extra-usage` to check or change your current setting.
+Pro and Max subscribers receive three free ultrareview runs to try the feature. These three runs are a one-time allotment per account and do not refresh. After you use all three, or after the free run period ends, each review is billed to extra usage and typically costs $5 to $20 depending on the size of the change. A run counts once the remote session starts, so a review that you stop early or that fails to complete still uses a free run. For a paid review, extra usage is billed only for the portion that ran. Because ultrareview always bills as extra usage outside the free runs, your account or organization must have extra usage enabled before you can launch a paid review. If extra usage is not enabled, Claude Code blocks the launch and links you to the billing settings where you can turn it on. You can also run `/extra-usage` to check or change your current setting.
##