1,316 pages for mode.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…such as when it runs a tool, submits a prompt, sends a request to the model, or starts or ends a session. Your hook runs before Claude Code acts, so it can observe the event, rewrite it, or answer it…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…gress line, and the line that closes a turn | | `InfoNotice`, `SessionMode`, `PromptHint` | Status lines under the logo, the mode labels in the footer, and the hint line under the prompt | `Pane`, `A…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…nswer it without running the tool, or send one request to a different model. See [Guard or change a tool call](/docs/en/plugins/mods/events.md#guard-or-change-a-tool-call) and [Follow a turn](/docs/en…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…` hooks. `next(e)` resolves to the decision the rules, the permission mode, and those hooks reached. | `next(e)` or `{ decision }`, with `decision` set to `allow`, `ask`, or `deny` and an optional `re…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…and exits with status 1. ### Stub what Claude Code would answer No model, store, or tool runs in a test, so wherever your mod expects Claude Code to answer, the test supplies the answer with a stub…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…`installed plugins that are not managed load no hooks module in this mode (--bare)` | You started Claude Code with `--bare` | | `another plugin of that name loads first` | Another enabled plugin has…
Manage Claude Code plugins for your organization
Claude Code CLI · in the page
plugins/org
…rces) also lists the keys Claude Code reads from every source in both modes. ### Require a marketplace and its plugins Add the marketplace under `extraKnownMarketplaces`, keyed by the marketplace's…
Plugins overview
Claude Code CLI · in the page
plugins/overview
…nts.](https://mintcdn.com/claude-code/2Q_GtOEovg5qaBem/images/plugins-model.svg?fit=max\&auto=format\&n=2Q_GtOEovg5qaBem\&q=85\&s=4196344954b7c2e27fc0bd6a9a1113a1) [Install and manage plugins](/docs/…
Plugin security and trust
Claude Code CLI · in the page
plugins/security
…cases are covered on other pages: > > * **Claude Code's own security model**: see [Security](/docs/en/security.md) > * **Restricting or requiring plugins for an organization**: see [Manage plugins fo…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…that has no terminal to draw the `/plugin` panel in: [non-interactive mode](/docs/en/headless.md) with `claude -p`, the Agent SDK, the Claude desktop app's Code tab, the VS Code extension panel, and t…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…aching > Claude Code manages prompt caching automatically. See why a model switch triggers a slow uncached turn, what `/compact` costs, why CLAUDE.md edits don't apply mid-session, and how to check y…
Prompt library
Claude Code CLI · in the page
prompt-library
…I need to touch to {change}?', slots: { change: 'add a dark mode toggle to settings' }, src: 'teams' }, { id: 'ask-the-codebase-a', sdlc: 'discover', cat: 'Understand',…
Quickstart
Claude Code CLI · in the page
quickstart
…anagement). The Claude Code prompt appears with the version, current model, and working directory shown above it. Type `/help` for available commands or `/resume` to continue a previous conversation.…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…esktop.md), or the VS Code extension. The CLI offers three invocation modes; the Desktop app and VS Code use the `/remote-control` command. **Server mode** In your project directory, run: ```bash t…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…nes committed to the cloned repository. You don't choose a permission mode when you create the task: see [Permission prompts during a run](#permission-prompts-during-a-run) for when a run stops to wai…
Choose a sandbox environment
Claude Code CLI · in the page
sandbox-environments
…ntainers, Docker, and VMs. Choose the right isolation for your threat model. Isolating Claude Code limits what a session can read, write, and reach on the network. This matters most when you let Clau…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…Claude Code can [run sandboxed commands without asking you](#sandbox-modes) to approve each one. The sandbox covers shell commands only. Claude's file tools, MCP servers, and hooks [run outside it](…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…and connectors | Inherits from session | | Permission prompts | [Auto mode](/docs/en/routines.md#permission-prompts-during-a-run) by default | Configurable per task | Inherits from session | | Customi…
Security
Claude Code CLI · in the page
security
…opic.com). ### Permission-based architecture A session's permission mode sets which actions Claude can take without asking you first. Auto mode is the built-in starting permission mode for interacti…
Catch security issues as Claude writes code
Claude Code CLI · in the page
security-guidance
…ATH`. The agentic commit review needs Python 3.10 or later, as do all model-backed reviews when Claude Code uses a third-party provider such as Amazon Bedrock or Google Cloud's Agent Platform. The plu…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…Anthropic, queue polling, the session's event stream, and by default model inference, is outbound HTTPS to `api.anthropic.com`, with the short list of further hosts sessions can reach in [Network req…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…_OAUTH_TOKEN` | The short-lived OAuth access token the child uses for model inference, with a lifetime of about 30 minutes. The runner re-mints it before expiry and delivers the rotation over the chil…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…deploy inside your network, and in production those sessions execute model-directed code on behalf of everyone who can dispatch a session to the environment. This page is for the operator taking a wo…
Verify session identity in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-identity
…cs/en/self-hosted-environments): the environment, runner, and session model; the [quickstart](/docs/en/self-hosted-environments-quickstart.md) and [Deploy to production](/docs/en/self-hosted-environme…
Self-hosted environments quickstart
Claude Code CLI · in the page
self-hosted-environments-quickstart
…count that holds an Owner role. With only an API key or a third-party model provider, the session starts but its organization checks fail. * **Version**: confirm the [version check](#software-on-the-r…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…-environments-deploy.md#configure-git). | | `--confine-repo-settings <mode>` | `SELF_HOSTED_RUNNER_CONFINE_REPO_SETTINGS` | `warn` | Sets the mode of the guard that flags a session when a repository's…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…egistry) or managed settings files. | Approach | Best for | Security model | | :- | :- | :- | | **Server-managed settings** | Organizations without MDM, or users on unmanaged devices | Settings that…
Manage sessions
Claude Code CLI · in the page
sessions
…or output * Flags that configure the session, such as `--permission-mode`, `--model`, or `--settings` * Flags that read the output, such as `--output-format json` or `--json-schema` * Flags that…
Claude Code settings
Claude Code CLI · in the page
settings
…de-duplicates arrays and deep-merges objects. A later file's `fallbackModel` chain replaces an earlier one instead of merging with it, and a later file's [`extraKnownMarketplaces`](#extraknownmarketpl…
Example settings files
Claude Code CLI · in the page
settings-example
…## Your own settings One developer's personal settings. It picks a model and effort, adjusts the terminal, and pre-approves a read-only command and one file read. Everything not listed keeps its de…
All settings
Claude Code CLI · in the page
settings-reference
…Key | Description | Topic | Scope | | :- | :- | :- | :- | | [`advisorModel`](#advisormodel) | Pick which model answers when Claude asks the [advisor tool](/docs/en/advisor.md) | Model and responses |…
Advanced setup
Claude Code CLI · in the page
setup
…eme={null} { "autoUpdatesChannel": "stable" } ``` A newly launched model can require a Claude Code version newer than the stable channel serves. To run the model now, move to the latest channel. F…
Extend Claude with skills
Claude Code CLI · in the page
skills
…` files that load on demand * **Permissions**: an offer to make [auto mode](/docs/en/permissions.md#permission-modes) your default permission mode and to [pre-approve](/docs/en/permissions.md) read-on…
Claude Code in Slack
Claude Code CLI · in the page
slack
…epository that you want Claude to work with **4. Choose your routing mode** After connecting your accounts, configure how Claude handles your messages in Slack. Open the Claude App Home in Slack to…
Customize your status line
Claude Code CLI · in the page
statusline
…-coded context bar on the second. . The deployment options compared below cover where model inference runs. To run Claude Code [cloud sessions](/docs/en/claude-code-on-the-web.md) on compute your organization operate…
Tools reference
Claude Code CLI · in the page
tools-reference
…ll` tool rather than adding a new tool entry. > [!NOTE] > > In [auto mode](/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode), a classifier decides most permission prompts instead of you.…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…installer](#installation-was-killed-before-it-could-finish) | | `Raw mode is not supported` during install | [Rerun the installer](#raw-mode-is-not-supported-during-install) | | `EACCES: permission d…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…iguration](/docs/en/debug-your-config.md) | | Session started in auto mode, or Claude edits files and runs commands without asking | [Which mode a session starts in](/docs/en/permission-modes.md#which…
Find bugs with ultrareview
Claude Code CLI · in the page
ultrareview
…asted URL must point to the repository in your current directory. PR mode needs a repository on `github.com`. For a repository on a [GitHub Enterprise Server](/docs/en/github-enterprise-server.md) in…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…key while you speak or tap once to start and again to send. In [hold mode](#hold-to-record), dictation also works in [agent view](/docs/en/agent-view.md#peek-and-reply). Hold your push-to-talk key wh…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…5f940e01c5de636d009cfd) **4. Review changes** Check the [permission mode](/docs/en/permission-modes.md#which-mode-a-session-starts-in) shown at the bottom of the prompt box: * In Auto or Edit autom…
Get started with Claude Code in the cloud
Claude Code CLI · in the page
web-quickstart
…| No | While the session stays open on your machine | | **[Permission modes](/docs/en/permission-modes.md)** | Accept edits, Plan, Auto | All modes in the terminal; see [Switch permission modes](/docs…
Week 13 · March 23–27, 2026
Claude Code CLI · in the page
whats-new/2026-w13
# Week 13 · March 23–27, 2026 > Auto mode for hands-off permissions, computer use built in, PR auto-fix in the cloud, transcript search, and a PowerShell tool for Windows. Releases [v2.1.83 → v2.1.8…
Week 14 · March 30 – April 3, 2026
Claude Code CLI · in the page
whats-new/2026-w14
…s/en/plugins/manifest-reference.md#standard-layout) Other wins Auto mode follow-ups: new `PermissionDenied` hook fires on classifier denials (return `retry: true` to let Claude try a different appro…
Week 15 · April 6–10, 2026
Claude Code CLI · in the page
whats-new/2026-w15
…2) 4 features · April 6–10 Ultraplan research preview Kick off plan mode in the cloud from your terminal, then review the result in your browser. Claude drafts the plan in a Claude Code on the web s…
Week 16 · April 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w16
…n/changelog.md#2-1-105) 5 features · April 13–17 Claude Opus 4.7 new model Anthropic's strongest coding model yet is now the default on Max and Team Premium, and available everywhere else from `/mod…
Week 17 · April 20–24, 2026
Claude Code CLI · in the page
whats-new/2026-w17
…config`: ```text Claude Code theme={null} > /recap ``` [Interactive mode: session recap](/docs/en/interactive-mode.md#session-recap) Custom themes v2.1.118 Build and switch between named color the…