Changes on
24 changes detected
Show diff (119 lines)
--- a/2026-w13.md
+++ b/2026-w13.md
@@ -0,0 +1,116 @@
+Releases [v2.1.83 → v2.1.85](</en/changelog#2-1-83>)6 features · March 23–27
+
+Auto moderesearch preview
+
+Auto mode hands your permission prompts to a classifier. Safe edits and commands run without interrupting you; anything destructive or suspicious gets blocked and surfaced. It’s the middle ground between approving every file write and running with `—dangerously-skip-permissions`.
+
+Cycle to auto with Shift+Tab, or set it as your default:
+
+.claude/settings.json
+
+ {
+ "permissions": {
+ "defaultMode": "auto"
+ }
+ }
+
+[Permission modes guide](</en/permission-modes>)
+
+Computer useDesktop
+
+Claude can now control your actual desktop from the Claude Code Desktop app: open native apps, click through the iOS simulator, drive hardware control panels, and verify changes on screen. It’s off by default and asks before each action. Best for the things nothing else can reach: apps without an API, proprietary tools, anything that only exists as a GUI.
+
+Enable it in Settings, grant the OS permissions, then ask Claude to verify a change end to end:
+
+Claude Code
+
+ > Open the iOS simulator, tap through the onboarding flow, and screenshot each step
+
+[Computer use guide](</en/desktop#let-claude-use-your-computer>)
+
+PR auto-fixWeb
+
+Flip a switch when you open a PR and walk away. Claude watches CI, fixes the failures, handles the nits, and pushes until it’s green. No more babysitting a PR through six rounds of lint errors.
+
+After creating a PR on Claude Code web, toggle Auto fix in the CI panel.
+
+[Auto-fix pull requests](</en/claude-code-on-the-web#auto-fix-pull-requests>)
+
+Transcript searchv2.1.83
+
+Press `/` in transcript mode to search your conversation. `n` and `N` step through matches. Finally a way to find that one Bash command Claude ran 400 messages ago.
+
+Open transcript mode and search:
+
+Claude Code
+
+ Ctrl+O # open transcript
+ /migrate # search for "migrate"
+ n # next match
+ N # previous match
+
+[Fullscreen guide](</en/fullscreen#search-and-review-the-conversation>)
+
+PowerShell toolpreviewv2.1.84
+
+Windows gets a native PowerShell tool alongside Bash. Claude can run cmdlets, pipe objects, and work with Windows-native paths without translating everything through Git Bash.
+
+Opt in from settings:
+
+.claude/settings.json
+
+ {
+ "env": {
+ "CLAUDE_CODE_USE_POWERSHELL_TOOL": "1"
+ }
+ }
+
+[PowerShell tool docs](</en/tools-reference#powershell-tool>)
+
+Conditional hooksv2.1.85
+
+Hooks can now declare an `if` field using permission rule syntax. Your pre-commit check only spawns for `Bash(git commit *)` instead of every bash call, cutting the process overhead on busy sessions.
+
+Scope a hook to git commits only:
+
+.claude/settings.json
+
+ {
+ "hooks": {
+ "PreToolUse": [{
+ "hooks": [{
+ "if": "Bash(git commit *)",
+ "type": "command",
+ "command": ".claude/hooks/lint-staged.sh"
+ }]
+ }]
+ }
+ }
+
+[Hooks reference](</en/hooks>)
+
+Other wins
+
+Plugin `userConfig` now public: prompt for settings at enable time, keychain-backed secrets
+
+Pasted images insert `[Image #N]` chips you can reference positionally
+
+`managed-settings.d/` drop-in directory for layered policy fragments
+
+`CwdChanged` and `FileChanged` hook events for direnv-style setups
+
+Agents can declare `initialPrompt` in frontmatter to auto-submit a first turn
+
+`Ctrl+X Ctrl+E` opens your external editor, matching readline
+
+Interrupting before any response restores your input automatically
+
+`/status` now works while Claude is responding
+
+Deep links open in your preferred terminal, not first-detected
+
+Idle-return nudge to `/clear` after 75+ minutes away
+
+VS Code: rate limit banner, Esc-twice rewind picker
+
+[Full changelog for v2.1.83–v2.1.85 →](</docs/en/changelog#2-1-83>)
--- a/2026-w14.md
+++ b/2026-w14.md
@@ -0,0 +1,88 @@
+Releases [v2.1.86 → v2.1.91](</en/changelog#2-1-86>)5 features · March 30 – April 3
+
+Computer use in the CLIresearch preview
+
+Last week computer use landed in the Desktop app. This week it’s in the CLI: Claude can open native apps, click through UI, test its own changes, and fix what breaks, all from your terminal. Web apps already had verification loops; native iOS, macOS, and other GUI-only apps didn’t. Now they do. Best for closing the loop on apps and tools where there’s no API to call. Still early; expect rough edges.
+
+Run `/mcp`, find `computer-use`, and toggle it on. Then ask Claude to verify a change end to end:
+
+Claude Code
+
+ > Open the iOS simulator, tap through onboarding, and screenshot each step
+
+[Computer use guide](</en/computer-use>)
+
+/powerupv2.1.90
+
+Interactive lessons that teach Claude Code features through animated demos, right inside your terminal. Claude Code releases frequently, and features that would have changed how you work last month can slip by. Run `/powerup` once and you’ll know what’s there.
+
+Run it:
+
+Claude Code
+
+ > /powerup
+
+[Commands reference](</en/commands>)
+
+Flicker-free renderingv2.1.89
+
+Opt into a new alt-screen renderer with virtualized scrollback. The prompt input stays pinned to the bottom, mouse selection works across long conversations, and the flicker on redraw is gone. Unset `CLAUDE_CODE_NO_FLICKER` to roll back.
+
+Set the env var and restart Claude Code:
+
+ export CLAUDE_CODE_NO_FLICKER=1
+ claude
+
+[Fullscreen rendering](</en/fullscreen>)
+
+MCP result-size overridev2.1.91
+
+MCP server authors can now raise the truncation cap on a specific tool by setting `anthropic/maxResultSizeChars` in the tool’s `tools/list` entry, up to a hard ceiling of 500K characters. The cap used to be global, so tools that occasionally returned inherently large payloads like database schemas or full file trees hit the default limit and got persisted to disk with a file reference. Per-tool overrides keep those results inline when the tool really needs them.
+
+Annotate the tool in your server’s `tools/list` response:
+
+ {
+ "name": "get_schema",
+ "description": "Returns the full database schema",
+ "_meta": {
+ "anthropic/maxResultSizeChars": 500000
+ }
+ }
+
+[MCP reference](</en/mcp#override-result-size-per-tool>)
+
+Plugin executables on PATHv2.1.91
+
+Place an executable in a `bin/` directory at your plugin root and Claude Code adds that directory to the Bash tool’s `PATH` while the plugin is enabled. Claude can then invoke the binary as a bare command from any Bash tool call, with no absolute path or wrapper script needed. Handy for packaging CLI helpers next to the commands, agents, and hooks that call them.
+
+Add a `bin/` directory at the plugin root:
+
+ my-plugin/
+ ├── .claude-plugin/
+ │ └── plugin.json
+ └── bin/
+ └── my-tool
+
+[Plugins reference](</en/plugins-reference#file-locations-reference>)
+
+Other wins
+
+Auto mode follow-ups: new `PermissionDenied` hook fires on classifier denials (return `retry: true` to let Claude try a different approach), and `/permissions` → Recent lets you retry manually with `r`
+
+New `defer` value for `permissionDecision` in `PreToolUse` hooks: `-p` sessions pause at a tool call and exit with a `deferred_tool_use` payload so an SDK app or custom UI can surface it, then resume with `—resume`
+
+`/buddy`: hatch a small creature that watches you code (April 1st)
+
+`disableSkillShellExecution` setting blocks inline shell from skills, slash commands, and plugin commands
+
+Edit tool now works on files viewed via `cat` or `sed -n` without a separate Read
+
+Hook output over 50K saved to disk with a path + preview instead of injected into context
+
+Thinking summaries off by default in interactive sessions (`showThinkingSummaries: true` to restore)
+
+Voice mode: push-to-talk modifier combos, Windows WebSocket, macOS Apple Silicon mic permission
+
+`claude-cli://` deep links accept multi-line prompts (encoded `%0A`)
+
+[Full changelog for v2.1.86–v2.1.91 →](</docs/en/changelog#2-1-86>)
--- a/agent-teams.md
+++ b/agent-teams.md
@@ -245,9 +245,13 @@
Use subagent definitions for teammates
-When spawning a teammate, you can reference a [subagent](</docs/en/sub-agents>) type from any [subagent scope](</docs/en/sub-agents#choose-the-subagent-scope>): project, user, plugin, or CLI-defined. The teammate inherits that subagent’s system prompt, tools, and model. This lets you define a role once, such as a security-reviewer or test-runner, and reuse it both as a delegated subagent and as an agent team teammate. To use a subagent definition, mention it by name when asking Claude to spawn the teammate:
+When spawning a teammate, you can reference a [subagent](</docs/en/sub-agents>) type from any [subagent scope](</docs/en/sub-agents#choose-the-subagent-scope>): project, user, plugin, or CLI-defined. This lets you define a role once, such as a security-reviewer or test-runner, and reuse it both as a delegated subagent and as an agent team teammate. To use a subagent definition, mention it by name when asking Claude to spawn the teammate:
Spawn a teammate using the security-reviewer agent type to audit the auth module.
+
+The teammate honors that definition’s `tools` allowlist and `model`, and the definition’s body is appended to the teammate’s system prompt as additional instructions rather than replacing it. Team coordination tools such as `SendMessage` and the task management tools are always available to a teammate even when `tools` restricts other tools.
+
+The `skills` and `mcpServers` frontmatter fields in a subagent definition are not applied when that definition runs as a teammate. Teammates load skills and MCP servers from your project and user settings, the same as a regular session.
###
@@ -273,6 +277,8 @@
* **message** : send a message to one specific teammate
* **broadcast** : send to all teammates simultaneously. Use sparingly, as costs scale with team size.
+
+The lead assigns every teammate a name when it spawns them, and any teammate can message any other by that name. To get predictable names you can reference in later prompts, tell the lead what to call each teammate in your spawn instruction.
###
--- a/amazon-bedrock.md
+++ b/amazon-bedrock.md
@@ -25,12 +25,14 @@
1\. Submit use case details
-First-time users of Anthropic models are required to submit use case details before invoking a model. This is done once per account.
-
- 1. Ensure you have the right IAM permissions (see more on that below)
+First-time users of Anthropic models are required to submit use case details before invoking a model. This is done once per AWS account.
+
+ 1. Ensure you have the right IAM permissions described below
2. Navigate to the [Amazon Bedrock console](<https://console.aws.amazon.com/bedrock/>)
- 3. Select **Chat/Text playground**
- 4. Choose any Anthropic model and you will be prompted to fill out the use case form
+ 3. Select an Anthropic model from the **Model catalog**
+ 4. Complete the use case form. Access is granted immediately after submission.
+
+If you use AWS Organizations, you can submit the form once from the management account using the [`PutUseCaseForModelAccess` API](<https://docs.aws.amazon.com/bedrock/latest/APIReference/API_PutUseCaseForModelAccess.html>). This call requires the `bedrock:PutUseCaseForModelAccess` IAM permission. Approval extends to child accounts automatically.
###
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,32 @@
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.92
+
+April 4, 2026
+
+ * Added `forceRemoteSettingsRefresh` policy setting: when set, the CLI blocks startup until remote managed settings are freshly fetched, and exits if the fetch fails (fail-closed)
+ * Added interactive Bedrock setup wizard accessible from the login screen when selecting “3rd-party platform” — guides you through AWS authentication, region configuration, credential verification, and model pinning
+ * Added per-model and cache-hit breakdown to `/cost` for subscription users
+ * `/release-notes` is now an interactive version picker
+ * Remote Control session names now use your hostname as the default prefix (e.g. `myhost-graceful-unicorn`), overridable with `--remote-control-session-name-prefix`
+ * Pro users now see a footer hint when returning to a session after the prompt cache has expired, showing roughly how many tokens the next turn will send uncached
+ * Fixed subagent spawning permanently failing with “Could not determine pane count” after tmux windows are killed or renumbered during a long-running session
+ * Fixed prompt-type Stop hooks incorrectly failing when the small fast model returns `ok:false`, and restored `preventContinuation:true` semantics for non-Stop prompt-type hooks
+ * Fixed tool input validation failures when streaming emits array/object fields as JSON-encoded strings
+ * Fixed an API 400 error that could occur when extended thinking produced a whitespace-only text block alongside real content
+ * Fixed accidental feedback survey submissions from auto-pilot keypresses and consecutive-prompt digit collisions
+ * Fixed misleading “esc to interrupt” hint appearing alongside “esc to clear” when a text selection exists in fullscreen mode during processing
+ * Fixed Homebrew install update prompts to use the cask’s release channel (`claude-code` → stable, `claude-code@latest` → latest)
+ * Fixed `ctrl+e` jumping to the end of the next line when already at end of line in multiline prompts
+ * Fixed an issue where the same message could appear at two positions when scrolling up in fullscreen mode (iTerm2, Ghostty, and other terminals with DEC 2026 support)
+ * Fixed idle-return “/clear to save X tokens” hint showing cumulative session tokens instead of current context size
+ * Fixed plugin MCP servers stuck “connecting” on session start when they duplicate a claude.ai connector that is unauthenticated
+ * Improved Write tool diff computation speed for large files (60% faster on files with tabs/`&`/`$`)
+ * Removed `/tag` command
+ * Removed `/vim` command (toggle vim mode via `/config` → Editor mode)
+ * Linux sandbox now ships the `apply-seccomp` helper in both npm and native builds, restoring unix-socket blocking for sandboxed commands
--- a/claude-code-on-the-web.md
+++ b/claude-code-on-the-web.md
@@ -157,7 +157,7 @@
claude --remote "Execute the migration plan in docs/migration-plan.md"
-This pattern gives you control over the strategy while letting Claude execute autonomously in the cloud. **Run tasks in parallel** : Each `--remote` command creates its own web session that runs independently. You can kick off multiple tasks and they’ll all run simultaneously in separate sessions:
+This pattern gives you control over the strategy while letting Claude execute autonomously in the cloud. **Plan in the cloud with ultraplan** : To draft and review the plan itself in a web session, use [ultraplan](</docs/en/ultraplan>). Claude generates the plan on Claude Code on the web while you keep working, then you comment on sections in your browser and choose to execute remotely or send the plan back to your terminal. **Run tasks in parallel** : Each `--remote` command creates its own web session that runs independently. You can kick off multiple tasks and they’ll all run simultaneously in separate sessions:
claude --remote "Fix the flaky test in auth.spec.ts"
claude --remote "Update the API documentation"
--- a/commands.md
+++ b/commands.md
@@ -63,6 +63,7 @@
`/tasks`| List and manage background tasks. Also available as `/bashes`
`/terminal-setup`| Configure terminal keybindings for Shift+Enter and other shortcuts. Only visible in terminals that need it, like VS Code, Alacritty, or Warp
`/theme`| Change the color theme. Includes light and dark variants, colorblind-accessible (daltonized) themes, and ANSI themes that use your terminal’s color palette
+`/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
`/upgrade`| Open the upgrade page to switch to a higher plan tier
`/usage`| Show plan usage limits and rate limit status
`/vim`| Toggle between Vim and Normal editing modes
--- a/common-workflows.md
+++ b/common-workflows.md
@@ -908,7 +908,7 @@
Option| Where it runs| Best for
---|---|---
[Cloud scheduled tasks](</docs/en/web-scheduled-tasks>)| Anthropic-managed infrastructure| Tasks that should run even when your computer is off. Configure at [claude.ai/code](<https://claude.ai/code>).
-[Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>)| Your machine, via the desktop app| Tasks that need direct access to local files, tools, or uncommitted changes.
+[Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>)| Your machine, via the desktop app| Tasks that need direct access to local files, tools, or uncommitted changes.
[GitHub Actions](</docs/en/github-actions>)| Your CI pipeline| Tasks tied to repo events like opened PRs, or cron schedules that should live alongside your workflow config.
[`/loop`](</docs/en/scheduled-tasks>)| The current CLI session| Quick polling while a session is open. Tasks are cancelled when you exit.
Show diff (139 lines)
--- a/desktop.md
+++ b/desktop.md
@@ -6,13 +6,13 @@
* GitHub PR monitoring with auto-fix and auto-merge
* Parallel sessions with automatic Git worktree isolation
* Dispatch integration: send a task from your phone, get a session here
- * Scheduled tasks that run Claude on a recurring schedule
+ * [Scheduled tasks](</docs/en/desktop-scheduled-tasks>) that run Claude on a recurring schedule
* Connectors for GitHub, Slack, Linear, and more
* Local, SSH, and cloud environments
New to Desktop? Start with [Get started](</docs/en/desktop-quickstart>) to install the app and make your first edit.
-This page covers working with code, computer use, managing sessions, extending Claude Code, scheduled tasks, and configuration. It also includes a CLI comparison and troubleshooting.
+This page covers working with code, computer use, managing sessions, extending Claude Code, and configuration. It also includes a CLI comparison and troubleshooting.
##
@@ -435,111 +435,6 @@
-Schedule recurring tasks
-
-By default, scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox.
-
-###
-
-
-
-Compare scheduling options
-
-Claude Code offers three ways to schedule recurring work:
-
-| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop#schedule-recurring-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
----|---|---|---
-Runs on| Anthropic cloud| Your machine| Your machine
-Requires machine on| No| Yes| Yes
-Requires open session| No| No| Yes
-Persistent across restarts| Yes| Yes| No (session-scoped)
-Access to local files| No (fresh clone)| Yes| Yes
-MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
-Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
-Customizable schedule| Via `/schedule` in the CLI| Yes| Yes
-Minimum interval| 1 hour| 1 minute| 1 minute
-
-Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
-
-The Schedule page supports two kinds of tasks:
-
- * **Local tasks** : run on your machine. They have direct access to your local files and tools, but the desktop app must be open and your computer awake for them to run.
- * **Remote tasks** : run on Anthropic-managed cloud infrastructure. They keep running even when your computer is off, but work against a fresh clone of your repository rather than your local checkout.
-
-Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this section covers local tasks; for remote tasks, see [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
-
-By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle in the prompt input to give each run its own isolated Git worktree, the same way parallel sessions work.
-
-To create a local scheduled task, click **Schedule** in the sidebar, click **New task** , and choose **New local task**. Configure these fields:
-
-Field| Description
----|---
-Name| Identifier for the task. Converted to lowercase kebab-case and used as the folder name on disk. Must be unique across your tasks.
-Description| Short summary shown in the task list.
-Prompt| The instructions sent to Claude when the task runs. Write this the same way you’d write any message in the prompt box. The prompt input also includes controls for model, permission mode, working folder, and worktree.
-Frequency| How often the task runs. See frequency options below.
-
-You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am.”
-
-###
-
-
-
-Frequency options
-
- * **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
- * **Hourly** : runs every hour. Each task gets a fixed offset of up to 10 minutes from the top of the hour to stagger API traffic
- * **Daily** : shows a time picker, defaults to 9:00 AM local time
- * **Weekdays** : same as Daily but skips Saturday and Sunday
- * **Weekly** : shows a time picker and a day picker
-
-For intervals the picker doesn’t offer (every 15 minutes, first of each month, etc.), ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
-
-###
-
-
-
-How scheduled tasks run
-
-Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, use a [remote task](</docs/en/web-scheduled-tasks>) instead.
-
-###
-
-
-
-Missed runs
-
-When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and just post a summary of what was missed.”
-
-###
-
-
-
-Permissions for scheduled tasks
-
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page.
-
-###
-
-
-
-Manage scheduled tasks
-
-Click a task in the **Schedule** list to open its detail page. From here you can:
-
- * **Run now** : start the task immediately without waiting for the next scheduled time
- * **Toggle repeats** : pause or resume scheduled runs without deleting the task
- * **Edit** : change the prompt, frequency, folder, or other settings
- * **Review history** : see every past run, including ones that were skipped because your computer was asleep
- * **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
- * **Delete** : remove the task and archive all sessions it created
-
-You can also manage tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task”, “delete the standup-prep task”, or “show me my scheduled tasks.” To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
-
-##
-
-
-
Environment configuration
The environment you pick when starting a session determines where Claude executes and how you connect:
@@ -722,7 +617,7 @@
File attachments| Not available| Images, PDFs
Session isolation| [`--worktree`](</docs/en/cli-reference>) flag| Automatic worktrees
Multiple sessions| Separate terminals| Sidebar tabs
-Recurring tasks| Cron jobs, CI pipelines| Scheduled tasks
+Recurring tasks| Cron jobs, CI pipelines| [Scheduled tasks](</docs/en/desktop-scheduled-tasks>)
Computer use| [Enable via `/mcp`](</docs/en/computer-use>) on macOS| App and screen control on macOS and Windows
Dispatch integration| Not available| Dispatch sessions in the sidebar
Scripting and automation| [`--print`](</docs/en/cli-reference>), [Agent SDK](</docs/en/headless>)| Not available
--- a/desktop-quickstart.md
+++ b/desktop-quickstart.md
@@ -1,14 +1,24 @@
-The desktop app gives you Claude Code with a graphical interface: visual diff review, live app preview, GitHub PR monitoring with auto-merge, parallel sessions with Git worktree isolation, scheduled tasks, and the ability to run tasks remotely. No terminal required. This page walks through installing the app and starting your first session. If you’re already set up, see [Use Claude Code Desktop](</docs/en/desktop>) for the full reference.
+The desktop app gives you Claude Code with a graphical interface: visual diff review, live app preview, GitHub PR monitoring with auto-merge, parallel sessions with Git worktree isolation, scheduled tasks, and the ability to run tasks remotely. No terminal required. Download Claude for your platform:
-The desktop app has three tabs:
+## macOS
+
+Universal build for Intel and Apple Silicon
+
+## Windows
+
+For x64 processors
+
+For Windows ARM64, download the [ARM64 installer](<https://claude.ai/api/desktop/win32/arm64/setup/latest/redirect?utm_source=claude_code&utm_medium=docs>). Linux is not currently supported.
+
+Claude Code requires a [Pro, Max, Team, or Enterprise subscription](<https://claude.com/pricing?utm_source=claude_code&utm_medium=docs&utm_content=desktop_quickstart_pricing>).
+
+This page walks through installing the app and starting your first session. If you’re already set up, see [Use Claude Code Desktop](</docs/en/desktop>) for the full reference. The desktop app has three tabs:
* **Chat** : General conversation with no file access, similar to claude.ai.
* **Cowork** : An autonomous background agent that works on tasks in a cloud VM with its own environment. It can run independently while you do other work.
* **Code** : An interactive coding assistant with direct access to your local files. You review and approve each change in real time.
Chat and Cowork are covered in the [Claude Desktop support articles](<https://support.claude.com/en/collections/16163169-claude-desktop>). This page focuses on the **Code** tab.
-
-Claude Code requires a [Pro, Max, Team, or Enterprise subscription](<https://claude.com/pricing?utm_source=claude_code&utm_medium=docs&utm_content=desktop_quickstart_pricing>).
##
@@ -18,27 +28,17 @@
1
-Download the app
+Install and sign in
-Download Claude for your platform.
+Download Claude for your platform and run the installer:
-## macOS
-
-Universal build for Intel and Apple Silicon
-
-## Windows
-
-For x64 processors
-
-For Windows ARM64, [download here](<https://claude.ai/api/desktop/win32/arm64/setup/latest/redirect?utm_source=claude_code&utm_medium=docs>).Linux is not currently supported.
-
-2
-
-Sign in
+ * [macOS](<https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect?utm_source=claude_code&utm_medium=docs>): universal build for Intel and Apple Silicon
+ * [Windows x64](<https://claude.ai/api/desktop/win32/x64/setup/latest/redirect?utm_source=claude_code&utm_medium=docs>): for x64 processors
+ * [Windows ARM64](<https://claude.ai/api/desktop/win32/arm64/setup/latest/redirect?utm_source=claude_code&utm_medium=docs>): for ARM processors
Launch Claude from your Applications folder (macOS) or Start menu (Windows). Sign in with your Anthropic account.
-3
+2
Open the Code tab
@@ -103,7 +103,7 @@
Now what?
-You’ve made your first edit. For the full reference on everything Desktop can do, see [Use Claude Code Desktop](</docs/en/desktop>). Here are some things to try next. **Interrupt and steer.** You can interrupt Claude at any point. If it’s going down the wrong path, click the stop button or type your correction and press **Enter**. Claude stops what it’s doing and adjusts based on your input. You don’t have to wait for it to finish or start over. **Give Claude more context.** Type `@filename` in the prompt box to pull a specific file into the conversation, attach images and PDFs using the attachment button, or drag and drop files directly into the prompt. The more context Claude has, the better the results. See [Add files and context](</docs/en/desktop#add-files-and-context-to-prompts>). **Use skills for repeatable tasks.** Type `/` or click **+** → **Slash commands** to browse [built-in commands](</docs/en/commands>), [custom skills](</docs/en/skills>), and plugin skills. Skills are reusable prompts you can invoke whenever you need them, like code review checklists or deployment steps. **Review changes before committing.** After Claude edits files, a `+12 -1` indicator appears. Click it to open the [diff view](</docs/en/desktop#review-changes-with-diff-view>), review modifications file by file, and comment on specific lines. Claude reads your comments and revises. Click **Review code** to have Claude evaluate the diffs itself and leave inline suggestions. **Adjust how much control you have.** Your [permission mode](</docs/en/desktop#choose-a-permission-mode>) controls the balance. Ask permissions (default) requires approval before every edit. Auto accept edits auto-accepts file edits for faster iteration. Plan mode lets Claude map out an approach without touching any files, which is useful before a large refactor. **Add plugins for more capabilities.** Click the **+** button next to the prompt box and select **Plugins** to browse and install [plugins](</docs/en/desktop#install-plugins>) that add skills, agents, MCP servers, and more. **Preview your app.** Click the **Preview** dropdown to run your dev server directly in the desktop. Claude can view the running app, test endpoints, inspect logs, and iterate on what it sees. See [Preview your app](</docs/en/desktop#preview-your-app>). **Track your pull request.** After opening a PR, Claude Code monitors CI check results and can automatically fix failures or merge the PR once all checks pass. See [Monitor pull request status](</docs/en/desktop#monitor-pull-request-status>). **Put Claude on a schedule.** Set up [scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>) to run Claude automatically on a recurring basis: a daily code review every morning, a weekly dependency audit, or a briefing that pulls from your connected tools. **Scale up when you’re ready.** Open [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) from the sidebar to work on multiple tasks at once, each in its own Git worktree. Send [long-running work to the cloud](</docs/en/desktop#run-long-running-tasks-remotely>) so it continues even if you close the app, or [continue a session on the web or in your IDE](</docs/en/desktop#continue-in-another-surface>) if a task takes longer than expected. [Connect external tools](</docs/en/desktop#extend-claude-code>) like GitHub, Slack, and Linear to bring your workflow together.
+You’ve made your first edit. For the full reference on everything Desktop can do, see [Use Claude Code Desktop](</docs/en/desktop>). Here are some things to try next. **Interrupt and steer.** You can interrupt Claude at any point. If it’s going down the wrong path, click the stop button or type your correction and press **Enter**. Claude stops what it’s doing and adjusts based on your input. You don’t have to wait for it to finish or start over. **Give Claude more context.** Type `@filename` in the prompt box to pull a specific file into the conversation, attach images and PDFs using the attachment button, or drag and drop files directly into the prompt. The more context Claude has, the better the results. See [Add files and context](</docs/en/desktop#add-files-and-context-to-prompts>). **Use skills for repeatable tasks.** Type `/` or click **+** → **Slash commands** to browse [built-in commands](</docs/en/commands>), [custom skills](</docs/en/skills>), and plugin skills. Skills are reusable prompts you can invoke whenever you need them, like code review checklists or deployment steps. **Review changes before committing.** After Claude edits files, a `+12 -1` indicator appears. Click it to open the [diff view](</docs/en/desktop#review-changes-with-diff-view>), review modifications file by file, and comment on specific lines. Claude reads your comments and revises. Click **Review code** to have Claude evaluate the diffs itself and leave inline suggestions. **Adjust how much control you have.** Your [permission mode](</docs/en/desktop#choose-a-permission-mode>) controls the balance. Ask permissions (default) requires approval before every edit. Auto accept edits auto-accepts file edits for faster iteration. Plan mode lets Claude map out an approach without touching any files, which is useful before a large refactor. **Add plugins for more capabilities.** Click the **+** button next to the prompt box and select **Plugins** to browse and install [plugins](</docs/en/desktop#install-plugins>) that add skills, agents, MCP servers, and more. **Preview your app.** Click the **Preview** dropdown to run your dev server directly in the desktop. Claude can view the running app, test endpoints, inspect logs, and iterate on what it sees. See [Preview your app](</docs/en/desktop#preview-your-app>). **Track your pull request.** After opening a PR, Claude Code monitors CI check results and can automatically fix failures or merge the PR once all checks pass. See [Monitor pull request status](</docs/en/desktop#monitor-pull-request-status>). **Put Claude on a schedule.** Set up [scheduled tasks](</docs/en/desktop-scheduled-tasks>) to run Claude automatically on a recurring basis: a daily code review every morning, a weekly dependency audit, or a briefing that pulls from your connected tools. **Scale up when you’re ready.** Open [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) from the sidebar to work on multiple tasks at once, each in its own Git worktree. Send [long-running work to the cloud](</docs/en/desktop#run-long-running-tasks-remotely>) so it continues even if you close the app, or [continue a session on the web or in your IDE](</docs/en/desktop#continue-in-another-surface>) if a task takes longer than expected. [Connect external tools](</docs/en/desktop#extend-claude-code>) like GitHub, Slack, and Linear to bring your workflow together.
##
Show diff (120 lines)
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -0,0 +1,117 @@
+By default, scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox.
+
+##
+
+
+
+Compare scheduling options
+
+Claude Code offers three ways to schedule recurring work:
+
+| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
+---|---|---|---
+Runs on| Anthropic cloud| Your machine| Your machine
+Requires machine on| No| Yes| Yes
+Requires open session| No| No| Yes
+Persistent across restarts| Yes| Yes| No (session-scoped)
+Access to local files| No (fresh clone)| Yes| Yes
+MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
+Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
+Customizable schedule| Via `/schedule` in the CLI| Yes| Yes
+Minimum interval| 1 hour| 1 minute| 1 minute
+
+Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
+
+The Schedule page supports two kinds of tasks:
+
+ * **Local tasks** : run on your machine. They have direct access to your local files and tools, but the desktop app must be open and your computer awake for them to run.
+ * **Remote tasks** : run on Anthropic-managed cloud infrastructure. They keep running even when your computer is off, but work against a fresh clone of your repository rather than your local checkout.
+
+Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this page covers local tasks; for remote tasks, see [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
+
+By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle in the prompt input to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
+
+##
+
+
+
+Create a scheduled task
+
+To create a local scheduled task, click **Schedule** in the sidebar, click **New task** , and choose **New local task**. Configure these fields:
+
+Field| Description
+---|---
+Name| Identifier for the task. Converted to lowercase kebab-case and used as the folder name on disk. Must be unique across your tasks.
+Description| Short summary shown in the task list.
+Prompt| The instructions sent to Claude when the task runs. Write this the same way you’d write any message in the prompt box. The prompt input also includes controls for model, permission mode, working folder, and worktree.
+Frequency| How often the task runs. See frequency options below.
+
+You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am.”
+
+##
+
+
+
+Frequency options
+
+Pick a preset from the frequency dropdown, or ask Claude for anything the picker doesn’t cover:
+
+ * **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
+ * **Hourly** : runs every hour. Each task gets a fixed offset of up to 10 minutes from the top of the hour to stagger API traffic
+ * **Daily** : shows a time picker, defaults to 9:00 AM local time
+ * **Weekdays** : same as Daily but skips Saturday and Sunday
+ * **Weekly** : shows a time picker and a day picker
+
+For intervals the picker doesn’t offer (every 15 minutes, first of each month, etc.), ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
+
+##
+
+
+
+How scheduled tasks run
+
+Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, use a [remote task](</docs/en/web-scheduled-tasks>) instead.
+
+##
+
+
+
+Missed runs
+
+When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and just post a summary of what was missed.”
+
+##
+
+
+
+Permissions for scheduled tasks
+
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page.
+
+##
+
+
+
+Manage scheduled tasks
+
+Click a task in the **Schedule** list to open its detail page. From here you can:
+
+ * **Run now** : start the task immediately without waiting for the next scheduled time
+ * **Toggle repeats** : pause or resume scheduled runs without deleting the task
+ * **Edit** : change the prompt, frequency, folder, or other settings
+ * **Review history** : see every past run, including ones that were skipped because your computer was asleep
+ * **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
+ * **Delete** : remove the task and archive all sessions it created
+
+You can also manage tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task”, “delete the standup-prep task”, or “show me my scheduled tasks.” To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+
+##
+
+
+
+Related resources
+
+ * [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>): schedule tasks that run on Anthropic-managed infrastructure even when your computer is off
+ * [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
+ * [Claude Code GitHub Actions](</docs/en/github-actions>): run Claude on a schedule in CI instead of on your machine
+ * [Use Claude Code Desktop](</docs/en/desktop>): the full Desktop app guide
--- a/env-vars.md
+++ b/env-vars.md
@@ -109,7 +109,6 @@
`CLAUDE_CODE_SHELL_PREFIX`| Command prefix to wrap all bash commands (for example, for logging or auditing). Example: `/path/to/logger.sh` will execute `/path/to/logger.sh <command>`
`CLAUDE_CODE_SIMPLE`| Set to `1` to run with a minimal system prompt and only the Bash, file read, and file edit tools. MCP tools from `--mcp-config` are still available. Disables auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md. The [`--bare`](</docs/en/headless#start-faster-with-bare-mode>) CLI flag sets this
`CLAUDE_CODE_SKIP_BEDROCK_AUTH`| Skip AWS authentication for Bedrock (for example, when using an LLM gateway)
-`CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS`| Set to `1` to allow [fast mode](</docs/en/fast-mode>) when the organization status check fails due to a network error. Useful when a corporate proxy blocks the status endpoint. The API still enforces organization-level disable separately
`CLAUDE_CODE_SKIP_FOUNDRY_AUTH`| Skip Azure authentication for Microsoft Foundry (for example, when using an LLM gateway)
`CLAUDE_CODE_SKIP_VERTEX_AUTH`| Skip Google authentication for Vertex (for example, when using an LLM gateway)
`CLAUDE_CODE_SUBAGENT_MODEL`| See [Model configuration](</docs/en/model-config>)
@@ -119,7 +118,7 @@
`CLAUDE_CODE_SYNTAX_HIGHLIGHT`| Set to `false` to disable syntax highlighting in diff output. Useful when colors interfere with your terminal setup
`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. See [Task list](</docs/en/interactive-mode#task-list>)
`CLAUDE_CODE_TEAM_NAME`| Name of the agent team this teammate belongs to. Set automatically on [agent team](</docs/en/agent-teams>) members
-`CLAUDE_CODE_TMPDIR`| Override the temp directory used for internal temp files. Claude Code appends `/claude/` to this path. Default: `/tmp` on Unix/macOS, `os.tmpdir()` on Windows
+`CLAUDE_CODE_TMPDIR`| Override the temp directory used for internal temp files. Claude Code appends `/claude-{uid}/` (Unix) or `/claude/` (Windows) to this path. Default: `/tmp` on macOS, `os.tmpdir()` on Linux/Windows
`CLAUDE_CODE_USE_BEDROCK`| Use [Bedrock](</docs/en/amazon-bedrock>)
`CLAUDE_CODE_USE_FOUNDRY`| Use [Microsoft Foundry](</docs/en/microsoft-foundry>)
`CLAUDE_CODE_USE_POWERSHELL_TOOL`| Set to `1` to enable the PowerShell tool on Windows (opt-in preview). When enabled, Claude can run PowerShell commands natively instead of routing through Git Bash. Only supported on native Windows, not WSL. See [PowerShell tool](</docs/en/tools-reference#powershell-tool>)
--- a/headless.md
+++ b/headless.md
@@ -131,6 +131,10 @@
claude -p "Run the test suite and fix any failures" \
--allowedTools "Bash,Read,Edit"
+To set a baseline for the whole session instead of listing individual tools, pass a [permission mode](</docs/en/permission-modes>). `dontAsk` denies anything not in your `permissions.allow` rules, which is useful for locked-down CI runs. `acceptEdits` lets Claude write files without prompting, but shell commands and network requests still need an `--allowedTools` entry or a `permissions.allow` rule, otherwise the run aborts when one is attempted:
+
+ claude -p "Apply the lint fixes" --permission-mode acceptEdits
+
###
--- a/index.md
+++ b/index.md
@@ -0,0 +1,21 @@
+The weekly dev digest highlights the features most likely to change how you work. Each entry includes runnable code, a short demo, and a link to the full docs. For every bug fix and minor improvement, see the [changelog](</docs/en/changelog>).
+
+
+
+Week 14
+
+v2.1.86–v2.1.91
+
+March 30 – April 3, 2026
+
+**Computer use** comes to the CLI in research preview: Claude can open native apps, click through UI, and verify changes from your terminal. Best for closing the loop on things only a GUI can verify.Also this week: `/powerup` interactive lessons, flicker-free alt-screen rendering, a per-tool MCP result-size override up to 500K, and plugin executables on the Bash tool’s `PATH`.[Read the Week 14 digest →](</docs/en/whats-new/2026-w14>)
+
+
+
+Week 13
+
+v2.1.83–v2.1.85
+
+March 23–27, 2026
+
+**Auto mode** lands in research preview: a classifier handles your permission prompts so safe actions run without interruption and risky ones get blocked. The middle ground between approving everything and `--dangerously-skip-permissions`.Also this week: computer use in the Desktop app, PR auto-fix on Web, transcript search with `/`, a native PowerShell tool for Windows, and conditional `if` hooks.[Read the Week 13 digest →](</docs/en/whats-new/2026-w13>)
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -59,7 +59,7 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
- * **OAuth authentication** (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service — including the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>) — is not permitted and constitutes a violation of the [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>).
+ * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. More information about how users can authenticate with OAuth tokens can be found in [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>).
* **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
--- a/overview.md
+++ b/overview.md
@@ -136,7 +136,7 @@
Run Claude on a schedule to automate work that repeats: morning PR reviews, overnight CI failure analysis, weekly dependency audits, or syncing docs after PRs merge.
* [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>) run on Anthropic-managed infrastructure, so they keep running even when your computer is off. Create them from the web, the Desktop app, or by running `/schedule` in the CLI.
- * [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>) run on your machine, with direct access to your local files and tools
+ * [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>) run on your machine, with direct access to your local files and tools
* [`/loop`](</docs/en/scheduled-tasks>) repeats a prompt within a CLI session for quick polling
Work from anywhere
@@ -162,7 +162,7 @@
Continue a local session from my phone or another device| [Remote Control](</docs/en/remote-control>)
Push events from Telegram, Discord, iMessage, or my own webhooks into a session| [Channels](</docs/en/channels>)
Start a task locally, continue on mobile| [Web](</docs/en/claude-code-on-the-web>) or [Claude iOS app](<https://apps.apple.com/app/claude-by-anthropic/id6473753684>)
-Run Claude on a recurring schedule| [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>) or [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>)
+Run Claude on a recurring schedule| [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>) or [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>)
Automate PR reviews and issue triage| [GitHub Actions](</docs/en/github-actions>) or [GitLab CI/CD](</docs/en/gitlab-ci-cd>)
Get automatic code review on every PR| [GitHub Code Review](</docs/en/code-review>)
Route bug reports from Slack to pull requests| [Slack](</docs/en/slack>)
Show diff (429 lines)
--- a/permission-modes.md
+++ b/permission-modes.md
@@ -1,11 +1,23 @@
-Permission modes control whether Claude asks before acting. Different tasks call for different levels of autonomy: you might want full oversight for sensitive work, minimal interruptions for a long refactor, or read-only access while exploring a codebase. This page covers how to:
-
- * Switch modes during a session, at startup, or as a default
- * Choose a mode based on what Claude should be able to do without asking
- * Run auto mode with background safety checks, and see what it blocks by default
- * Plan changes read-only before approving edits
- * Restrict Claude to pre-approved tools for locked-down environments
- * Skip checks entirely in isolated environments
+When Claude wants to edit a file, run a shell command, or make a network request, it pauses and asks you to approve the action. Permission modes control how often that pause happens. The mode you pick shapes the flow of a session: default mode has you review each action as it comes, while looser modes let Claude work in longer uninterrupted stretches and report back when done. Pick more oversight for sensitive work, or fewer interruptions when you trust the direction.
+
+##
+
+
+
+Available modes
+
+Each mode makes a different tradeoff between convenience and oversight. The table below shows what Claude can do without a permission prompt in each mode.
+
+Mode| What runs without asking| Best for
+---|---|---
+`default`| Reads only| Getting started, sensitive work
+`acceptEdits`| Reads and file edits| Iterating on code you’re reviewing
+`plan`| Reads only| Exploring a codebase before changing it
+`auto`| Everything, with background safety checks| Long tasks, reducing prompt fatigue
+`dontAsk`| Only pre-approved tools| Locked-down CI and scripts
+`bypassPermissions`| Everything except protected paths| Isolated containers and VMs only
+
+Regardless of mode, writes to protected paths are never auto-approved, guarding repository state and Claude’s own configuration against accidental corruption. Modes set the baseline. Layer [permission rules](</docs/en/permissions#manage-permissions>) on top to pre-approve or block specific tools in any mode except `bypassPermissions`, which skips the permission layer entirely.
##
@@ -13,23 +25,29 @@
Switch permission modes
-You can switch modes at any time during a session, at startup, or as a persistent default. The mechanism depends on where you’re running Claude Code.
+You can switch modes mid-session, at startup, or as a persistent default. The mode is set through these controls, not by asking Claude in chat. Select your interface below to see how to change it.
* CLI
+ * VS Code
+
* JetBrains
- * VS Code
-
* Desktop
* Web and mobile
-**During a session** : press `Shift+Tab` to cycle through `default` → `acceptEdits` → `plan` → `auto`. The current mode appears in the status bar. `auto` does not appear in the cycle until you pass `--enable-auto-mode` at startup. Auto also requires a Team, Enterprise, or API plan and Claude Sonnet 4.6 or Opus 4.6, so the option may remain unavailable even with the flag. If `bypassPermissions` is also enabled, it appears in the cycle between `plan` and `auto`.**At startup** : pass the mode as a CLI flag:
+**During a session** : press `Shift+Tab` to cycle `default` → `acceptEdits` → `plan`. The current mode appears in the status bar. Not every mode is in the default cycle:
+
+ * `auto`: appears after you opt in with `--enable-auto-mode` or the persisted equivalent in settings
+ * `bypassPermissions`: appears after you start with `--permission-mode bypassPermissions`, `--dangerously-skip-permissions`, or `--allow-dangerously-skip-permissions`; the `--allow-` variant adds the mode to the cycle without activating it
+ * `dontAsk`: never appears in the cycle; set it with `--permission-mode dontAsk`
+
+Enabled optional modes slot in after `plan`, with `bypassPermissions` first and `auto` last. If you have both enabled, you will cycle through `bypassPermissions` on the way to `auto`.**At startup** : pass the mode as a flag.
claude --permission-mode plan
-**As a default** : set `defaultMode` in your [settings file](</docs/en/settings#settings-files>):
+**As a default** : set `defaultMode` in [settings](</docs/en/settings#settings-files>).
{
"permissions": {
@@ -37,64 +55,42 @@
}
}
-**Non-interactively** : the same flag works with `-p` for scripted runs:
-
- claude -p "refactor auth" --permission-mode acceptEdits
-
-`dontAsk` is never in the `Shift+Tab` cycle. `bypassPermissions` appears in the cycle only if you started the session with `--permission-mode bypassPermissions`, `--dangerously-skip-permissions`, or `--allow-dangerously-skip-permissions`. The third flag adds the mode to the cycle without activating it, so you can compose it with a different starting mode like `--permission-mode plan`. Set any of these at startup or in your settings file.
-
-The JetBrains plugin launches Claude Code in the IDE terminal, so switching modes works the same as in the CLI: press `Shift+Tab` to cycle, or pass `--permission-mode` when launching.
-
-**During a session** : click the mode indicator at the bottom of the prompt box to switch modes.**As a default** : set `claudeCode.initialPermissionMode` in VS Code settings, or use the Claude Code extension settings panel.The VS Code UI uses friendly labels that map to the settings keys below:
-
-UI label| Settings key
+The same `--permission-mode` flag works with `-p` for [non-interactive runs](</docs/en/headless>).
+
+**During a session** : click the mode indicator at the bottom of the prompt box.**As a default** : set `claudeCode.initialPermissionMode` in VS Code settings, or use the Claude Code extension settings panel.The mode indicator shows these labels, mapped to the mode each one applies:
+
+UI label| Mode
---|---
-Ask permissions| `default`
-Auto accept edits| `acceptEdits`
+Ask before edits| `default`
+Edit automatically| `acceptEdits`
Plan mode| `plan`
-Auto| `auto`
+Auto mode| `auto`
Bypass permissions| `bypassPermissions`
-Auto and Bypass permissions appear only after you enable **Allow dangerously skip permissions** in the extension settings. Auto also requires a Team, Enterprise, or API plan and Claude Sonnet 4.6 or Opus 4.6, so the option may remain unavailable even with the toggle on.See the [VS Code guide](</docs/en/vs-code>) for extension-specific details.
-
-**During a session** : use the mode selector next to the send button. You can change it before or during a session.The Desktop UI uses friendly labels that map to the settings keys below:
-
-UI label| Settings key
----|---
-Ask permissions| `default`
-Auto accept edits| `acceptEdits`
-Plan mode| `plan`
-Auto| `auto`
-Bypass permissions| `bypassPermissions`
-
-Auto and Bypass permissions appear in the selector only after you enable them in Desktop settings. See the [Desktop guide](</docs/en/desktop#choose-a-permission-mode>) for details.
-
-**During a session** : use the mode dropdown next to the prompt box on [claude.ai/code](<https://claude.ai/code>) or in the Claude mobile app.For [Claude Code on the web](</docs/en/claude-code-on-the-web>) sessions running on Anthropic’s cloud VMs, the dropdown offers Auto accept edits and Plan mode. Ask permissions and Auto are not available for cloud sessions.For [Remote Control](</docs/en/remote-control>) sessions running on your local machine, the dropdown offers Ask permissions, Auto accept edits, and Plan mode. You can also set the starting mode when you launch the local host:
+Auto mode appears in the mode indicator after you enable **Allow dangerously skip permissions** in the extension settings, but it stays unavailable until your account meets every requirement listed in the auto mode section. The `claudeCode.initialPermissionMode` setting does not accept `auto`; to start in auto mode by default, set `defaultMode` in your Claude Code [`settings.json`](</docs/en/settings#settings-files>) instead.Bypass permissions also requires the **Allow dangerously skip permissions** toggle before it appears in the mode indicator.See the [VS Code guide](</docs/en/vs-code>) for extension-specific details.
+
+The JetBrains plugin runs Claude Code in the IDE terminal, so switching modes works the same as in the CLI: press `Shift+Tab` to cycle, or pass `--permission-mode` when launching.
+
+Use the mode selector next to the send button. Auto and Bypass permissions appear only after you enable them in Desktop settings. See the [Desktop guide](</docs/en/desktop#choose-a-permission-mode>).
+
+Use the mode dropdown next to the prompt box on [claude.ai/code](<https://claude.ai/code>) or in the mobile app. Permission prompts appear in claude.ai for approval. Which modes appear depends on where the session runs:
+
+ * **Cloud sessions** on [Claude Code on the web](</docs/en/claude-code-on-the-web>): Auto accept edits and Plan mode. Ask permissions, Auto, and Bypass permissions are not available.
+ * **[Remote Control](</docs/en/remote-control>) sessions** on your local machine: Ask permissions, Auto accept edits, and Plan mode. Auto and Bypass permissions are not available.
+
+For Remote Control, you can also set the starting mode when launching the host:
claude remote-control --permission-mode acceptEdits
-Permission prompts appear in claude.ai for approval.
-
-Permission modes are set through the UI, CLI flags, or settings files. Telling Claude “stop asking for permission” in the chat does not change the mode. See [Permissions](</docs/en/permissions>) for how modes interact with allow, ask, and deny rules.
-
-##
-
-
-
-Available modes
-
-Each mode makes a different tradeoff between convenience and oversight. Pick the one that matches your task.
-
-Mode| What Claude can do without asking| Best for
----|---|---
-`default`| Read files| Getting started, sensitive work
-`acceptEdits`| Read and edit files except in protected directories| Iterating on code you’re reviewing
-`plan`| Read files| Exploring a codebase, planning a refactor
-`auto`| All actions, with background safety checks| Long-running tasks, reducing prompt fatigue
-`bypassPermissions`| All actions except writes to protected directories| Isolated containers and VMs only
-`dontAsk`| Only pre-approved tools| Locked-down environments
-
-Regardless of mode, writes to `.git`, `.vscode`, `.idea`, `.husky`, and `.claude` are never auto-approved, except for `.claude/commands`, `.claude/agents`, and `.claude/skills` where Claude routinely creates skills, subagents, and commands. This protects repository state, editor configuration, git hooks, and Claude’s own settings from accidental corruption.
+##
+
+
+
+Auto-approve file edits with acceptEdits mode
+
+`acceptEdits` mode lets Claude create and edit files in your working directory without prompting. Writes to protected paths and all non-edit actions still prompt the same as default mode. The status bar shows `⏵⏵ accept edits on` while this mode is active. Use `acceptEdits` when you want to review changes in your editor or via `git diff` after the fact rather than approving each edit inline. Press `Shift+Tab` once from default mode to enter it, or start with it directly:
+
+ claude --permission-mode acceptEdits
##
@@ -102,45 +98,17 @@
Analyze before you edit with plan mode
-Plan mode tells Claude to research and propose changes without making them. Claude reads files, runs shell commands to explore, asks clarifying questions, and writes a plan file, but does not edit your source code. Permission prompts work the same as default mode: you still approve Bash commands, network requests, and other actions that would normally prompt.
-
-###
-
-
-
-When to use plan mode
-
-Plan mode is useful when you want Claude to research and propose an approach before making changes:
-
- * **Multi-step implementation** : when a feature requires edits across many files
- * **Code exploration** : when you want to research the codebase before changing anything
- * **Interactive development** : when you want to iterate on the direction with Claude
-
-###
-
-
-
-Start and use plan mode
-
-Enter plan mode for a single request by prefixing your prompt with `/plan`, or switch the whole session into plan mode by pressing `Shift+Tab` to cycle through permission modes. You can also start in plan mode from the CLI:
+Plan mode tells Claude to research and propose changes without making them. Claude reads files, runs shell commands to explore, and writes a plan, but does not edit your source. Permission prompts still apply the same as default mode. Enter plan mode by pressing `Shift+Tab` or prefixing a single prompt with `/plan`. You can also start in plan mode from the CLI:
claude --permission-mode plan
-This example starts a planning session for a complex refactor:
-
- I need to refactor our authentication system to use OAuth2. Create a detailed migration plan.
-
-Claude analyzes the current implementation and creates a plan. Refine with follow-ups:
-
- What about backward compatibility?
- How should we handle database migration?
-
-When the plan is ready, Claude presents it and asks how to proceed. From that prompt you can:
+Press `Shift+Tab` again to leave plan mode without approving a plan. When the plan is ready, Claude presents it and asks how to proceed. From that prompt you can:
* Approve and start in auto mode
* Approve and accept edits
- * Approve and manually review each edit
- * Keep planning, which sends your feedback back to Claude for another round
+ * Approve and review each edit manually
+ * Keep planning with feedback
+ * Refine with [Ultraplan](</docs/en/ultraplan>) for browser-based review
Each approve option also offers to clear the planning context first.
@@ -150,61 +118,49 @@
Eliminate prompts with auto mode
-Auto mode is available on Team, Enterprise, and API plans. On Team and Enterprise, an admin must enable it in [Claude Code admin settings](<https://claude.ai/admin-settings/claude-code>) before users can turn it on. It requires Claude Sonnet 4.6 or Claude Opus 4.6, and is not available on Haiku, claude-3 models, or third-party providers (Bedrock, Vertex, Foundry). Auto mode lets Claude execute actions without showing permission prompts. Before each action runs, a separate classifier model reviews the conversation and decides whether the action matches what you asked for. It blocks actions that escalate beyond the task scope, target infrastructure the classifier doesn’t recognize as trusted, or appear to be driven by prompt injection: hostile instructions embedded in a file, web page, or tool result that attempt to redirect Claude toward actions you never asked for. The defense is layered: a server-side probe scans incoming tool results and flags suspicious content before Claude reads it, while the classifier itself is never shown tool results, so injected instructions cannot influence its approval decisions. For a deeper look at how these layers work together, see the [auto mode announcement](<https://claude.com/blog/auto-mode>) and the [engineering deep dive](<https://www.anthropic.com/engineering/claude-code-auto-mode>).
-
-Auto mode is a research preview. It reduces prompts but does not guarantee safety. It provides more protection than `bypassPermissions` but is not as thorough as manually reviewing each action. Use it for tasks where you trust the general direction, not as a replacement for review on sensitive operations.
-
-**Model** : the classifier runs on Claude Sonnet 4.6, even if your main session uses a different model. **Cost** : classifier calls count toward your token usage the same as main-session calls. Each checked action sends a portion of the conversation transcript plus the pending action to the classifier. The extra cost comes mainly from shell commands and network operations, since read-only actions and file edits in your working directory outside protected directories don’t trigger a classifier call. **Latency** : each classifier check adds a round-trip before the action executes.
+Auto mode requires Claude Code v2.1.83 or later.
+
+Auto mode lets Claude execute without permission prompts. A separate classifier model reviews actions before they run, blocking anything that escalates beyond your request, targets unrecognized infrastructure, or appears driven by hostile content Claude read.
+
+Auto mode is a research preview. It reduces prompts but does not guarantee safety. Use it for tasks where you trust the general direction, not as a replacement for review on sensitive operations.
+
+Auto mode is available only when your account meets all of these requirements:
+
+ * **Plan** : Team, Enterprise, or API. Not available on Pro or Max.
+ * **Admin** : on Team and Enterprise, an admin must enable it in [Claude Code admin settings](<https://claude.ai/admin-settings/claude-code>) before users can turn it on. Admins can also lock it off by setting `permissions.disableAutoMode` to `"disable"` in [managed settings](</docs/en/permissions#managed-settings>).
+ * **Model** : Claude Sonnet 4.6 or Opus 4.6. Not available on Haiku or claude-3 models.
+ * **Provider** : Anthropic API only. Not available on Bedrock, Vertex, or Foundry.
+
+If Claude Code reports auto mode as unavailable, one of these requirements is unmet; this is not a transient outage. Once enabled, start with the flag and `auto` joins the `Shift+Tab` cycle:
+
+ claude --enable-auto-mode
###
-How actions are evaluated
-
-Each action goes through a fixed decision order. The first matching step wins:
-
- 1. Actions matching your [allow or deny rules](</docs/en/permissions#manage-permissions>) resolve immediately
- 2. Read-only actions and file edits in your working directory are auto-approved, except writes to protected directories
- 3. Everything else goes to the classifier
- 4. If the classifier blocks, Claude receives the reason and attempts an alternative approach
-
-On entering auto mode, Claude Code drops any allow rule that is known to grant arbitrary code execution: blanket shell access like `Bash(*)`, wildcarded script interpreters like `Bash(python*)` or `Bash(node*)`, package-manager run commands, and any `Agent` allow rule. These rules would auto-approve the commands and subagent delegations most capable of causing damage before the classifier ever sees them. Narrow rules like `Bash(npm test)` carry over. The dropped rules are restored when you leave auto mode. The classifier receives user messages and tool calls as input, with Claude’s own text and tool results stripped out. It also receives your CLAUDE.md content, so actions described in your project instructions are factored into allow and block decisions. Because tool results never reach the classifier, hostile content in a file or web page cannot manipulate it directly. The classifier evaluates the pending action against a customizable set of block and allow rules, checking whether the action is an overeager escalation beyond what you asked for, a mistake about what’s safe to touch, or a sudden departure from your stated intent that suggests Claude may have been steered by something it read. Unlike your permission rules, which match tool names and argument patterns, the classifier reads prose descriptions of what to block and allow: it reasons about the action in context rather than matching syntax.
-
-###
-
-
-
-How auto mode handles subagents
-
-When Claude spawns a [subagent](</docs/en/sub-agents>), the classifier evaluates the delegated task before the subagent starts. A task description that looks dangerous on its own, like “delete all remote branches matching this pattern”, is blocked at spawn time. Inside the subagent, auto mode runs with the same block and allow rules as the parent session. Any `permissionMode` the subagent defines in its own frontmatter is ignored. The subagent’s own tool calls go through the classifier independently. When the subagent finishes, the classifier reviews its full action history. A subagent that was benign at spawn could have been compromised mid-run by content it read. If the return check flags a concern, a security warning is prepended to the subagent’s results so the main agent can decide how to proceed.
-
-###
-
-
-
What the classifier blocks by default
-Out of the box, the classifier trusts your working directory and, if you’re in a git repo, that repo’s configured remotes. Everything else is treated as external: your company’s source control orgs, cloud buckets, and internal services are unknown until you tell the classifier about them. **Blocked by default** :
-
- * Downloading and executing code, like `curl | bash` or scripts from cloned repos
+The classifier trusts your working directory and your repo’s configured remotes. Everything else is treated as external until you [configure trusted infrastructure](</docs/en/permissions#configure-the-auto-mode-classifier>). **Blocked by default** :
+
+ * Downloading and executing code, like `curl | bash`
* Sending sensitive data to external endpoints
* Production deploys and migrations
* Mass deletion on cloud storage
* Granting IAM or repo permissions
* Modifying shared infrastructure
- * Irreversibly destroying files that existed before the session started
- * Destructive source control operations like force push or pushing directly to `main`
+ * Irreversibly destroying files that existed before the session
+ * Force push, or pushing directly to `main`
**Allowed by default** :
* Local file operations in your working directory
- * Installing dependencies already declared in your lock files or manifests
+ * Installing dependencies declared in your lock files or manifests
* Reading `.env` and sending credentials to their matching API
* Read-only HTTP requests
* Pushing to the branch you started on or one Claude created
-To see the full default rule lists as the classifier receives them, run `claude auto-mode defaults`. If auto mode blocks something routine for your team, like pushing to your own org’s repo or writing to a company bucket, it’s because the classifier doesn’t know those are trusted. Administrators can add trusted repos, buckets, and internal services via the `autoMode.environment` setting: see [Configure the auto mode classifier](</docs/en/permissions#configure-the-auto-mode-classifier>) for the full configuration guide.
+Run `claude auto-mode defaults` to see the full rule lists. If routine actions get blocked, an administrator can add trusted repos, buckets, and services via the `autoMode.environment` setting: see [Configure the auto mode classifier](</docs/en/permissions#configure-the-auto-mode-classifier>).
###
@@ -212,12 +168,37 @@
When auto mode falls back
-The fallback design keeps false positives from derailing a session: a mistaken block costs Claude a retry, not your progress. If the classifier blocks an action 3 times in a row or 20 times total in one session, auto mode pauses and Claude Code resumes prompting for each action. These thresholds are not configurable.
-
- * **CLI** : you see a notification in the status area, and the denied action appears in `/permissions` under the Recently denied tab. Approving the prompted action resets the denial counters, so you can continue in auto mode
- * **Non-interactive mode** with the `-p` flag: aborts the session, since there is no user to prompt
-
-Repeated blocks usually mean one of two things: the task genuinely requires actions the classifier is built to stop, or the classifier is missing context about your trusted infrastructure and treating safe actions as risky. If the blocks look like false positives, or if the classifier misses something it should have caught, use `/feedback` to report it. If blocks are happening because the classifier doesn’t recognize your repos or services as trusted, have an administrator [configure trusted infrastructure](</docs/en/permissions#configure-the-auto-mode-classifier>) in managed settings.
+Each denied action shows a notification and appears in `/permissions` under the Recently denied tab, where you can press `r` to retry it with a manual approval. If the classifier blocks an action 3 times in a row or 20 times total, auto mode pauses and Claude Code resumes prompting. Approving the prompted action resumes auto mode. These thresholds are not configurable. Any allowed action resets the consecutive counter, while the total counter persists for the session and resets only when its own limit triggers a fallback. In [non-interactive mode](</docs/en/headless>) with the `-p` flag, repeated blocks abort the session since there is no user to prompt. Repeated blocks usually mean the classifier is missing context about your infrastructure. Use `/feedback` to report false positives, or have an administrator [configure trusted infrastructure](</docs/en/permissions#configure-the-auto-mode-classifier>).
+
+How the classifier evaluates actions
+
+Each action goes through a fixed decision order. The first matching step wins:
+
+ 1. Actions matching your [allow or deny rules](</docs/en/permissions#manage-permissions>) resolve immediately
+ 2. Read-only actions and file edits in your working directory are auto-approved, except writes to protected paths
+ 3. Everything else goes to the classifier
+ 4. If the classifier blocks, Claude receives the reason and tries an alternative
+
+On entering auto mode, broad allow rules that grant arbitrary code execution are dropped:
+
+ * Blanket `Bash(*)`
+ * Wildcarded interpreters like `Bash(python*)`
+ * Package-manager run commands
+ * `Agent` allow rules
+
+Narrow rules like `Bash(npm test)` carry over. Dropped rules are restored when you leave auto mode.The classifier sees user messages, tool calls, and your CLAUDE.md content. Tool results are stripped, so hostile content in a file or web page cannot manipulate it directly. A separate server-side probe scans incoming tool results and flags suspicious content before Claude reads it. For more on how these layers work together, see the [auto mode announcement](<https://claude.com/blog/auto-mode>) and the [engineering deep dive](<https://www.anthropic.com/engineering/claude-code-auto-mode>).
+
+How auto mode handles subagents
+
+The classifier checks [subagent](</docs/en/sub-agents>) work at three points:
+
+ 1. Before a subagent starts, the delegated task description is evaluated, so a dangerous-looking task is blocked at spawn time.
+ 2. While the subagent runs, each of its actions goes through the classifier with the same rules as the parent session, and any `permissionMode` in the subagent’s frontmatter is ignored.
+ 3. When the subagent finishes, the classifier reviews its full action history; if that return check flags a concern, a security warning is prepended to the subagent’s results.
+
+Cost and latency
+
+The classifier currently runs on Claude Sonnet 4.6 regardless of your main session model. Classifier calls count toward your token usage. Each check sends a portion of the transcript plus the pending action, adding a round-trip before execution. Reads and working-directory edits outside protected paths skip the classifier, so the overhead comes mainly from shell commands and network operations.
##
@@ -225,7 +206,7 @@
Allow only pre-approved tools with dontAsk mode
-`dontAsk` mode auto-denies every tool that is not explicitly allowed. Only actions matching your `/permissions` allow rules or `permissions.allow` settings can execute. If a tool has an explicit `ask` rule, the action is also denied rather than prompting. This makes the mode fully non-interactive, suitable for CI pipelines or restricted environments where you pre-define exactly what Claude is permitted to do.
+`dontAsk` mode auto-denies every tool that is not explicitly allowed. Only actions matching your `permissions.allow` rules can execute; explicit `ask` rules are also denied rather than prompting. This makes the mode fully non-interactive for CI pipelines or restricted environments where you pre-define exactly what Claude may do. Set it at startup with the flag:
claude --permission-mode dontAsk
@@ -235,37 +216,34 @@
Skip all checks with bypassPermissions mode
-`bypassPermissions` mode disables permission prompts and safety checks. Tool calls execute immediately, except for writes to `.git`, `.vscode`, `.idea`, and `.husky`, which still prompt to prevent accidental corruption of repository state, editor configuration, and git hooks. Writes to `.claude` also prompt, except for `.claude/commands`, `.claude/agents`, and `.claude/skills` where Claude routinely creates skills, subagents, and commands. Only use this mode in isolated environments like containers, VMs, or devcontainers without internet access, where Claude Code cannot cause damage to your host system.
+`bypassPermissions` mode disables permission prompts and safety checks so tool calls execute immediately. Writes to protected paths are the only actions that still prompt. Only use this mode in isolated environments like containers, VMs, or devcontainers without internet access, where Claude Code cannot damage your host system. You cannot enter `bypassPermissions` from a session that was started without one of the enabling flags; restart with one to enable it:
claude --permission-mode bypassPermissions
-The `--dangerously-skip-permissions` flag is equivalent to `--permission-mode bypassPermissions`:
-
- claude -p "refactor the auth module" --dangerously-skip-permissions
-
-`bypassPermissions` mode offers no protection against prompt injection or unintended actions. For a safer alternative that still maintains background safety checks, use auto mode. Administrators can block this mode by setting `permissions.disableBypassPermissionsMode` to `"disable"` in [managed settings](</docs/en/permissions#managed-settings>).
-
-##
-
-
-
-Compare permission approaches
-
-The table below summarizes the key differences in how each mode handles approvals. `plan` is omitted since it restricts what Claude can do rather than how approvals work.
-
-| `default`| `acceptEdits`| `auto`| `dontAsk`| `bypassPermissions`
----|---|---|---|---|---
-Permission prompts| File edits and commands| Commands and protected directories| None unless fallback triggers| None, blocked unless pre-allowed| Protected directories only
-Safety checks| You review each action| You review commands and protected-directory writes| Classifier reviews commands and protected-directory writes| Your pre-approved rules only| You review protected-directory writes
-Token usage| Standard| Standard| Higher, from classifier calls| Standard| Standard
-
-##
-
-
-
-Customize permissions further
-
-Permission modes set the baseline approval behavior. For control over individual tools or commands, layer additional configuration on top of the active mode. **Permission rules** are the first stop. Add `allow`, `ask`, or `deny` entries to your settings file to pre-approve safe commands, force a prompt for risky ones, or block specific tools entirely. Rules apply in every mode except `bypassPermissions`, and are matched by tool name and argument pattern. See [Manage permissions](</docs/en/permissions#manage-permissions>) for syntax and examples. **Hooks** cover logic that pattern-matching rules can’t express. A [`PreToolUse` hook](</docs/en/hooks#pretooluse-decision-control>) runs before every tool call and can allow, deny, or escalate based on command content, file paths, time of day, or a response from an external policy service. A [`PermissionRequest` hook](</docs/en/hooks#permissionrequest>) intercepts the permission dialog itself and answers on your behalf. See [Hooks](</docs/en/hooks>) for configuration.
+The `--dangerously-skip-permissions` flag is equivalent.
+
+`bypassPermissions` offers no protection against prompt injection or unintended actions. For background safety checks without prompts, use auto mode instead. Administrators can block this mode by setting `permissions.disableBypassPermissionsMode` to `"disable"` in [managed settings](</docs/en/permissions#managed-settings>).
+
+##
+
+
+
+Protected paths
+
+Writes to a small set of paths are never auto-approved, in every mode. This prevents accidental corruption of repository state and Claude’s own configuration. In `default`, `acceptEdits`, `plan`, and `bypassPermissions` these writes prompt; in `auto` they route to the classifier; in `dontAsk` they are denied. Protected directories:
+
+ * `.git`
+ * `.vscode`
+ * `.idea`
+ * `.husky`
+ * `.claude`, except for `.claude/commands`, `.claude/agents`, `.claude/skills`, and `.claude/worktrees` where Claude routinely creates content
+
+Protected files:
+
+ * `.gitconfig`, `.gitmodules`
+ * `.bashrc`, `.bash_profile`, `.zshrc`, `.zprofile`, `.profile`
+ * `.ripgreprc`
+ * `.mcp.json`, `.claude.json`
##
@@ -273,8 +251,9 @@
See also
- * [Permissions](</docs/en/permissions>): permission rules, syntax, managed policies
- * [Hooks](</docs/en/hooks>): custom permission logic, lifecycle scripting
- * [Security](</docs/en/security>): security safeguards and best practices
+ * [Permissions](</docs/en/permissions>): allow, ask, and deny rules; auto mode classifier configuration; managed policies
+ * [Hooks](</docs/en/hooks>): custom permission logic via `PreToolUse` and `PermissionRequest` hooks
+ * [Ultraplan](</docs/en/ultraplan>): run plan mode in a Claude Code on the web session with browser-based review
+ * [Security](</docs/en/security>): safeguards and best practices
* [Sandboxing](</docs/en/sandboxing>): filesystem and network isolation for Bash commands
- * [Non-interactive mode](</docs/en/headless>): run Claude Code programmatically with the `-p` flag
+ * [Non-interactive mode](</docs/en/headless>): run Claude Code with the `-p` flag
--- a/platforms.md
+++ b/platforms.md
@@ -50,7 +50,7 @@
[Remote Control](</docs/en/remote-control>)| Drive a running session from [claude.ai/code](<https://claude.ai/code>) or the Claude mobile app| Your machine (CLI or VS Code)| Run `claude remote-control`| Steering in-progress work from another device
[Channels](</docs/en/channels>)| Push events from a chat app like Telegram or Discord, or your own server| Your machine (CLI)| [Install a channel plugin](</docs/en/channels#quickstart>) or [build your own](</docs/en/channels-reference>)| Reacting to external events like CI failures or chat messages
[Slack](</docs/en/slack>)| Mention `@Claude` in a team channel| Anthropic cloud| [Install the Slack app](</docs/en/slack#setting-up-claude-code-in-slack>) with [Claude Code on the web](</docs/en/claude-code-on-the-web>) enabled| PRs and reviews from team chat
-[Scheduled tasks](</docs/en/scheduled-tasks>)| Set a schedule| [CLI](</docs/en/scheduled-tasks>), [Desktop](</docs/en/desktop#schedule-recurring-tasks>), or [cloud](</docs/en/web-scheduled-tasks>)| Pick a frequency| Recurring automation like daily reviews
+[Scheduled tasks](</docs/en/scheduled-tasks>)| Set a schedule| [CLI](</docs/en/scheduled-tasks>), [Desktop](</docs/en/desktop-scheduled-tasks>), or [cloud](</docs/en/web-scheduled-tasks>)| Pick a frequency| Recurring automation like daily reviews
If you’re not sure where to start, [install the CLI](</docs/en/quickstart>) and run it in a project directory. If you’d rather not use a terminal, [Desktop](</docs/en/desktop-quickstart>) gives you the same engine with a graphical interface.
--- a/remote-control.md
+++ b/remote-control.md
@@ -128,6 +128,7 @@
* **One remote session per interactive process** : outside of server mode, each Claude Code instance supports one remote session at a time. Use server mode with `--spawn` to run multiple concurrent sessions from a single process.
* **Terminal must stay open** : Remote Control runs as a local process. If you close the terminal or stop the `claude` process, the session ends. Run `claude remote-control` again to start a new one.
* **Extended network outage** : if your machine is awake but unable to reach the network for more than roughly 10 minutes, the session times out and the process exits. Run `claude remote-control` again to start a new session.
+ * **Ultraplan disconnects Remote Control** : starting an [ultraplan](</docs/en/ultraplan>) session disconnects any active Remote Control session because both features occupy the claude.ai/code interface and only one can be connected at a time.
##
@@ -214,7 +215,7 @@
[Remote Control](</docs/en/remote-control>)| Drive a running session from [claude.ai/code](<https://claude.ai/code>) or the Claude mobile app| Your machine (CLI or VS Code)| Run `claude remote-control`| Steering in-progress work from another device
[Channels](</docs/en/channels>)| Push events from a chat app like Telegram or Discord, or your own server| Your machine (CLI)| [Install a channel plugin](</docs/en/channels#quickstart>) or [build your own](</docs/en/channels-reference>)| Reacting to external events like CI failures or chat messages
[Slack](</docs/en/slack>)| Mention `@Claude` in a team channel| Anthropic cloud| [Install the Slack app](</docs/en/slack#setting-up-claude-code-in-slack>) with [Claude Code on the web](</docs/en/claude-code-on-the-web>) enabled| PRs and reviews from team chat
-[Scheduled tasks](</docs/en/scheduled-tasks>)| Set a schedule| [CLI](</docs/en/scheduled-tasks>), [Desktop](</docs/en/desktop#schedule-recurring-tasks>), or [cloud](</docs/en/web-scheduled-tasks>)| Pick a frequency| Recurring automation like daily reviews
+[Scheduled tasks](</docs/en/scheduled-tasks>)| Set a schedule| [CLI](</docs/en/scheduled-tasks>), [Desktop](</docs/en/desktop-scheduled-tasks>), or [cloud](</docs/en/web-scheduled-tasks>)| Pick a frequency| Recurring automation like daily reviews
##
@@ -223,6 +224,7 @@
Related resources
* [Claude Code on the web](</docs/en/claude-code-on-the-web>): run sessions in Anthropic-managed cloud environments instead of on your machine
+ * [Ultraplan](</docs/en/ultraplan>): launch a cloud planning session from your terminal and review the plan in your browser
* [Channels](</docs/en/channels>): forward Telegram, Discord, or iMessage into a session so Claude reacts to messages while you’re away
* [Dispatch](</docs/en/desktop#sessions-from-dispatch>): message a task from your phone and it can spawn a Desktop session to handle it
* [Authentication](</docs/en/authentication>): set up `/login` and manage credentials for claude.ai
--- a/scheduled-tasks.md
+++ b/scheduled-tasks.md
@@ -1,6 +1,6 @@
Scheduled tasks require Claude Code v2.1.72 or later. Check your version with `claude --version`.
-Scheduled tasks let Claude re-run a prompt automatically on an interval. Use them to poll a deployment, babysit a PR, check back on a long-running build, or remind yourself to do something later in the session. To react to events as they happen instead of polling, see [Channels](</docs/en/channels>): your CI can push the failure into the session directly. Tasks are session-scoped: they live in the current Claude Code process and are gone when you exit. For durable scheduling that survives restarts, use [Cloud](</docs/en/web-scheduled-tasks>) or [Desktop](</docs/en/desktop#schedule-recurring-tasks>) scheduled tasks, or [GitHub Actions](</docs/en/github-actions>).
+Scheduled tasks let Claude re-run a prompt automatically on an interval. Use them to poll a deployment, babysit a PR, check back on a long-running build, or remind yourself to do something later in the session. To react to events as they happen instead of polling, see [Channels](</docs/en/channels>): your CI can push the failure into the session directly. Tasks are session-scoped: they live in the current Claude Code process and are gone when you exit. For durable scheduling that survives restarts, use [Cloud](</docs/en/web-scheduled-tasks>) or [Desktop](</docs/en/desktop-scheduled-tasks>) scheduled tasks, or [GitHub Actions](</docs/en/github-actions>).
##
@@ -10,7 +10,7 @@
Claude Code offers three ways to schedule recurring work:
-| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop#schedule-recurring-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
+| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
---|---|---|---
Runs on| Anthropic cloud| Your machine| Your machine
Requires machine on| No| Yes| Yes
@@ -127,7 +127,7 @@
Seven-day expiry
-Recurring tasks automatically expire 7 days after creation. The task fires one final time, then deletes itself. This bounds how long a forgotten loop can run. If you need a recurring task to last longer, cancel and recreate it before it expires, or use [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>) or [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>) for durable scheduling.
+Recurring tasks automatically expire 7 days after creation. The task fires one final time, then deletes itself. This bounds how long a forgotten loop can run. If you need a recurring task to last longer, cancel and recreate it before it expires, or use [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>) or [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>) for durable scheduling.
##
@@ -172,4 +172,4 @@
* [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>): run on Anthropic-managed infrastructure
* [GitHub Actions](</docs/en/github-actions>): use a `schedule` trigger in CI
- * [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>): run locally on your machine
+ * [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>): run locally on your machine
--- a/sub-agents.md
+++ b/sub-agents.md
@@ -188,7 +188,7 @@
For security reasons, plugin subagents do not support the `hooks`, `mcpServers`, or `permissionMode` frontmatter fields. These fields are ignored when loading agents from a plugin. If you need them, copy the agent file into `.claude/agents/` or `~/.claude/agents/`. You can also add rules to [`permissions.allow`](</docs/en/settings#permission-settings>) in `settings.json` or `settings.local.json`, but these rules apply to the entire session, not just the plugin subagent.
-Subagent definitions from any of these scopes are also available to [agent teams](</docs/en/agent-teams#use-subagent-definitions-for-teammates>): when spawning a teammate, you can reference a subagent type and the teammate inherits its system prompt, tools, and model.
+Subagent definitions from any of these scopes are also available to [agent teams](</docs/en/agent-teams#use-subagent-definitions-for-teammates>): when spawning a teammate, you can reference a subagent type and the teammate uses its `tools` and `model`, with the definition’s body appended to the teammate’s system prompt as additional instructions. See [agent teams](</docs/en/agent-teams#use-subagent-definitions-for-teammates>) for which frontmatter fields apply on that path.
###
--- a/ultraplan.md
+++ b/ultraplan.md
@@ -0,0 +1,89 @@
+Ultraplan is in research preview. Behavior and capabilities may change based on feedback.
+
+Ultraplan hands a planning task from your local CLI to a [Claude Code on the web](</docs/en/claude-code-on-the-web>) session running in [plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>). Claude drafts the plan in the cloud while you keep working in your terminal. When the plan is ready, you open it in your browser to comment on specific sections, ask for revisions, and choose where to execute it. This is useful when you want a richer review surface than the terminal offers:
+
+ * **Targeted feedback** : comment on individual sections of the plan instead of replying to the whole thing
+ * **Hands-off drafting** : the plan is generated remotely, so your terminal stays free for other work
+ * **Flexible execution** : approve the plan to run on the web and open a pull request, or send it back to your terminal
+
+Ultraplan requires a [Claude Code on the web](</docs/en/claude-code-on-the-web#who-can-use-claude-code-on-the-web>) account and a GitHub repository. The cloud session runs in your account’s default [cloud environment](</docs/en/claude-code-on-the-web#cloud-environment>).
+
+##
+
+
+
+Launch ultraplan from the CLI
+
+From your local CLI session, you can launch ultraplan in three ways:
+
+ * **Command** : run `/ultraplan` followed by your prompt
+ * **Keyword** : include the word `ultraplan` anywhere in a normal prompt
+ * **From a local plan** : when Claude finishes a local plan and shows the approval dialog, choose **No, refine with Ultraplan on Claude Code on the web** to send the draft to the cloud for further iteration
+
+For example, to plan a service migration with the command:
+
+ /ultraplan migrate the auth service from sessions to JWTs
+
+The command and keyword paths open a confirmation dialog before launching. The local plan path skips this dialog because that selection already serves as confirmation. If [Remote Control](</docs/en/remote-control>) is active, it disconnects when ultraplan starts because both features occupy the claude.ai/code interface and only one can be connected at a time. After the cloud session launches, your CLI’s prompt input shows a status indicator while the remote session works:
+
+Status| Meaning
+---|---
+`◇ ultraplan`| Claude is researching your codebase and drafting the plan
+`◇ ultraplan needs your input`| Claude has a clarifying question; open the session link to respond
+`◆ ultraplan ready`| The plan is ready to review in your browser
+
+Run `/tasks` and select the ultraplan entry to open a detail view with the session link, agent activity, and a **Stop ultraplan** action. Stopping archives the cloud session and clears the indicator; nothing is saved to your terminal.
+
+##
+
+
+
+Review and revise the plan in your browser
+
+When the status changes to `◆ ultraplan ready`, open the session link to view the plan on claude.ai. The plan appears in a dedicated review view:
+
+ * **Inline comments** : highlight any passage and leave a comment for Claude to address
+ * **Emoji reactions** : react to a section to signal approval or concern without writing a full comment
+ * **Outline sidebar** : jump between sections of the plan
+
+When you ask Claude to address your comments, it revises the plan and presents an updated draft. You can iterate as many times as needed before choosing where to execute.
+
+##
+
+
+
+Choose where to execute
+
+When the plan looks right, you choose from the browser whether Claude implements it in the same cloud session or sends it back to your waiting terminal.
+
+###
+
+
+
+Execute on the web
+
+Select **Approve Claude’s plan and start coding** in your browser to have Claude implement it in the same Claude Code on the web session. Your terminal shows a confirmation, the status indicator clears, and the work continues in the cloud. When the implementation finishes, [review the diff](</docs/en/claude-code-on-the-web#review-changes-with-diff-view>) and create a pull request from the web interface.
+
+###
+
+
+
+Send the plan back to your terminal
+
+Select **Approve plan and teleport back to terminal** in your browser to implement the plan locally with full access to your environment. This option appears when the session was launched from your CLI and the terminal is still polling. The web session is archived so it doesn’t continue working in parallel. Your terminal shows the plan in a dialog titled **Ultraplan approved** with three options:
+
+ * **Implement here** : inject the plan into your current conversation and continue from where you left off
+ * **Start new session** : clear the current conversation and begin fresh with only the plan as context
+ * **Cancel** : save the plan to a file without executing it; Claude prints the file path so you can return to it later
+
+If you start a new session, Claude prints a `claude --resume` command at the top so you can return to your previous conversation later.
+
+##
+
+
+
+Related resources
+
+ * [Claude Code on the web](</docs/en/claude-code-on-the-web>): the cloud infrastructure ultraplan runs on
+ * [Plan mode](</docs/en/permission-modes#analyze-before-you-edit-with-plan-mode>): how planning works in a local session
+ * [Remote Control](</docs/en/remote-control>): use the claude.ai/code interface with a session running on your own machine
--- a/vs-code.md
+++ b/vs-code.md
@@ -292,7 +292,7 @@
---|---|---
`selectedModel`| `default`| Model for new conversations. Change per-session with `/model`.
`useTerminal`| `false`| Launch Claude in terminal mode instead of graphical panel
-`initialPermissionMode`| `default`| Controls approval prompts for new conversations: `default`, `plan`, `acceptEdits`, `auto`, or `bypassPermissions`. See [permission modes](</docs/en/permission-modes>).
+`initialPermissionMode`| `default`| Controls approval prompts for new conversations: `default`, `plan`, `acceptEdits`, or `bypassPermissions`. See [permission modes](</docs/en/permission-modes>).
`preferredLocation`| `panel`| Where Claude opens: `sidebar` (right) or `panel` (new tab)
`autosave`| `true`| Auto-save files before Claude reads or writes them
`useCtrlEnterToSend`| `false`| Use Ctrl/Cmd+Enter instead of Enter to send prompts
@@ -301,7 +301,7 @@
`respectGitIgnore`| `true`| Exclude .gitignore patterns from file searches
`environmentVariables`| `[]`| Set environment variables for the Claude process. Use Claude Code settings instead for shared config.
`disableLoginPrompt`| `false`| Skip authentication prompts (for third-party provider setups)
-`allowDangerouslySkipPermissions`| `false`| Adds [Auto](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) and Bypass permissions to the mode selector. Auto requires a Team, Enterprise, or API plan and Claude Sonnet 4.6 or Opus 4.6, so the option may remain unavailable even with this toggle on. Use Bypass permissions only in sandboxes with no internet access.
+`allowDangerouslySkipPermissions`| `false`| Adds [Auto mode](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>) and Bypass permissions to the mode selector. Auto mode has [plan, admin, model, and provider requirements](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>), so it may remain unavailable even with this toggle on. Use Bypass permissions only in sandboxes with no internet access.
`claudeProcessWrapper`| -| Executable path used to launch the Claude process
##
--- a/web-scheduled-tasks.md
+++ b/web-scheduled-tasks.md
@@ -15,7 +15,7 @@
Claude Code offers three ways to schedule recurring work:
-| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop#schedule-recurring-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
+| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
---|---|---|---
Runs on| Anthropic cloud| Your machine| Your machine
Requires machine on| No| Yes| Yes
@@ -38,7 +38,7 @@
You can create a scheduled task from three places:
* **Web** : visit [claude.ai/code/scheduled](<https://claude.ai/code/scheduled>) and click **New scheduled task**
- * **Desktop app** : open the **Schedule** page, click **New task** , and choose **New remote task**. See [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>) for details.
+ * **Desktop app** : open the **Schedule** page, click **New task** , and choose **New remote task**. See [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>) for details.
* **CLI** : run `/schedule` in any session. Claude walks you through the setup conversationally. You can also pass a description directly, like `/schedule daily PR review at 9am`.
The web and Desktop entry points open a form. The CLI collects the same information through a guided conversation. The steps below walk through the web interface.
@@ -171,7 +171,7 @@
Related resources
- * [Desktop scheduled tasks](</docs/en/desktop#schedule-recurring-tasks>): schedule tasks that run on your machine with access to local files. The Desktop app’s **Schedule** page shows both local and remote tasks in the same grid.
+ * [Desktop scheduled tasks](</docs/en/desktop-scheduled-tasks>): schedule tasks that run on your machine with access to local files. The Desktop app’s **Schedule** page shows both local and remote tasks in the same grid.
* [`/loop` and CLI scheduled tasks](</docs/en/scheduled-tasks>): lightweight scheduling within a CLI session
* [Cloud environment](</docs/en/claude-code-on-the-web#cloud-environment>): configure the runtime environment for cloud tasks
* [MCP connectors](</docs/en/mcp>): connect external services like Slack, Linear, and Google Drive