Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,171 pages for default.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …ile, through MDM, or from the claude.ai admin console. Mods are on by default in Claude Code v2.1.286 and later. Start with the section that matches what you came to do: * **Keep users' own mods out,… Use the mods API Claude Code CLI · in the page plugins/mods/api …mits](/docs/en/plugins/mods/reference.md#limits) give the `maxTokens` default. ### Use prompt caching `$.model.complete` supports the Claude API's [prompt caching](https://platform.claude.com/docs/e… Create a mod Claude Code CLI · in the page plugins/mods/create …9c1e-5b7d-4e8a-9c21-6d0f4b8a7e13/git-branch/`. > [!NOTE] > > In the `default` and `acceptEdits` [permission modes](/docs/en/permission-modes.md), Claude Code asks you to approve each of the mod's fil… React to events with a mod Claude Code CLI · in the page plugins/mods/events …s the chain by where each mod comes from: 1. The built-in guard `sec-default@builtin`, a mod built into Claude Code that `/plugin` lists as `cc-plugin-sec-default`, where [it loads](/docs/en/plugins/… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …= 'md' // The Raster sample packs its cells with this function const DEFAULT_COLOR = 0x01000000 function cellsOf(rows) { const numbers = rows.flat().flatMap(([char, color]) => [char.codePointAt(0),… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …ows` | The height to ask for when the pane sits above the prompt. The default is a third of the space. | | `columns` | The width to ask for when the pane sits beside the transcript, at most 45% of the… Mods overview Claude Code CLI · in the page plugins/mods/overview …entication#authentication-precedence) as the session's credential, by default a mod's approval doesn't get a call past your `ask` rules or `PreToolUse` hooks. Without either, a mod can approve a call… Mods reference Claude Code CLI · in the page plugins/mods/reference …ins/components#user-configuration) fields the manifest declares, with defaults filled in. ## The hook function A mod registers each of its hooks, which are event handlers, by calling `on` inside `re… Test a mod Claude Code CLI · in the page plugins/mods/test …ng after `/clear` Each test starts with every `$.state` value at its default, which is how `/clear` leaves them. To test what your mod does next, skip `session.start`, fire `classic.SessionStart` wit… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …--debug`. * **A `claude -p` run with `--plugin-dir`**: stderr, in the default text output format. A refusal by another mod goes to the debug log only. ## Check whether mods can load To check whether… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …anaged-settings). #### Which managed source applies on a machine By default, only one of these three sources applies on a machine. Claude Code uses the first that delivers a policy key, checking ser… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …copy when your plugin's version has changed * **Auto-update**: off by default for your marketplace. See [Turn on auto-update](/docs/en/plugins/host-marketplace.md#turn-on-auto-update). Once on, it doe… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …rride`](/docs/en/settings-reference#spinnertipsoverride) with `excludeDefault` replaces the built-in tips. The Discover-tab pin isn't affected by either setting. ## Add relevance to a plugin entry A… Plugin security and trust Claude Code CLI · in the page plugins/security …ugin also enables it, unless its manifest or marketplace entry sets [`defaultEnabled: false`](/docs/en/plugins/install#choose-an-install-scope) and you haven't enabled it yourself. To remove a plugin… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …`Failed to add marketplace: Marketplace file not found at ...`. The default location is `.claude-plugin/marketplace.json` at the repository root, and the [marketplace reference](/docs/en/plugins/mar… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …1 with an API key or a Claude subscription, the cache stays intact by default. See [Changing effort level](#changing-effort-level) below. > [!TIP] > > Pick your model and effort level at the top of a… Prompt library Claude Code CLI · in the page prompt-library …LAUDE.md so this stops happening', slots: { mistake: 'using default exports when this project uses named exports' }, nextHref: '/en/memory', src: 'best-practices' }, { id:… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …Prefix for auto-generated session names when no explicit name is set. Defaults to your machine's hostname, producing names like `myhost-graceful-unicorn`. Set `CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFI… Automate work with scheduled tasks Claude Code CLI · in the page routines …ironment-caching), so the script doesn't re-run on every session A **Default** environment is provided with **Trusted** network access, which allows only the [default allowlist](/docs/en/cloud-enviro… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …dboxing](/docs/en/sandboxing.md) guide covers the approval modes, the default boundary, and how to widen or narrow it. The per-command sandbox does not cover everything that runs in a session: * Oth… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …s boundary, and so do the processes they start. The sandbox is off by default. To turn it on, run `/sandbox` in a session, as [Get started](#get-started) shows, or set [`sandbox.enabled`](/docs/en/set… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …asks) | | :- | :- | :- | :- | | Runs on | Cloud, Anthropic-managed by default | Your machine | Your machine | | Requires machine on | No | Yes | Yes | | Requires open session | No | No | Yes | | Persi… Security Claude Code CLI · in the page security …ntent from the web such as `curl` and `wget` are not auto-approved by default. In Manual mode they prompt like any other non-read-only Bash command, so you can still approve once or add an explicit al… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …and one deeper review per commit, both subject to the caps above. By default, both reviews run on a Claude Opus model. Set `SECURITY_REVIEW_MODEL` to choose a different model for the end-of-turn revi… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …nments are in public beta on Team and Enterprise plans and are off by default. See [Availability and limitations](#availability-and-limitations) for the enablement path and what's excluded. A self-ho… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …operating the runners: it covers the extension points for when those defaults don't fit, from per-session credential provisioning to replacing checkout entirely. Wrappers and hooks run as executable… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …that's destroyed when the process exits, with `--capacity 1` and the default `--drain-grace-sec 0` so each container serves exactly one session. At a higher capacity, or with a positive drain grace,… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …he past. Anthropic issues session tokens with a four-hour lifetime by default and a maximum of eight hours. The runner refreshes the token before expiry and pushes the new value to the session, so sub… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …h has its own flag table. Both run on Linux or macOS hosts, which the defaults such as `/workspace` and `~/.claude` assume. Run `claude self-hosted-runner --help` for the authoritative list on your in… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …a link to it, and exits. The flag takes precedence over the [`remote.defaultEnvironmentId`](/docs/en/settings-reference#remote-defaultenvironmentid) setting. It doesn't support `--output-format strea… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …anaged-settings-precedence). Within the managed tier, Claude Code by default uses the first source that delivers at least one policy key, checking server-managed settings first and then endpoint-mana… Manage sessions Claude Code CLI · in the page sessions …doesn't find the agent in either place, the session resumes with the default tools and shows a [warning naming the agent](/docs/en/errors.md#session-agent-no-longer-available). * Permission mode: if… Claude Code settings Claude Code CLI · in the page settings …ableModels` | Enforced as an empty allowlist, so only the Default model is available until the value is fixed. An individual non-string entry is stripped and the valid subset is enforced.… Example settings files Claude Code CLI · in the page settings-example …tings reference](/docs/en/settings-reference.md), which has its type, default, and where it can be set. Each example has two tabs. **Copyable settings file** is the file as you'd save it. **What each… All settings Claude Code CLI · in the page settings-reference …very Claude Code settings.json key: where each one goes, its type and default, and a paste-ready example, with an index of every key. [Back to index](#all-settings) This reference page lists each ke… Advanced setup Claude Code CLI · in the page setup …is installed, the PowerShell tool is available alongside Bash: on by default for claude.ai and Console accounts, and enabled with `CLAUDE_CODE_USE_POWERSHELL_TOOL=1` in Amazon Bedrock, Google Cloud's… Extend Claude with skills Claude Code CLI · in the page skills …er to make [auto mode](/docs/en/permissions.md#permission-modes) your default permission mode and to [pre-approve](/docs/en/permissions.md) read-only commands that you frequently deny * **Usage**: on… Claude Code in Slack Claude Code CLI · in the page slack …is still selected for the channel, the workspace, or the organization default in that organization's Claude Tag settings. The notice doesn't depend on your own plan, so Pro and Max accounts get it too… Customize your status line Claude Code CLI · in the page statusline …extra horizontal spacing (in characters) to the status line content. Defaults to `0`. This padding is in addition to the interface's built-in spacing, so it controls relative indentation rather than… Create custom subagents Claude Code CLI · in the page sub-agents …with every tool [available to subagents](#available-tools). Also the default agent for a dispatched [background session](/docs/en/agent-view.md); [which permission mode it starts in](/docs/en/agent-v… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …models. On macOS, most terminals do not send Option as a modifier by default, so these shortcuts do nothing until you enable it. The terminal setting for this is usually labeled "Use Option as Meta K… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …</tr> <tr> <td>Prompt caching</td> <td>Enabled by default</td> <td>Enabled by default</td> <td>Enabled by default</td> <td>Enabled by default</td> <td>Enabl… Tools reference Claude Code CLI · in the page tools-reference …ts or clarify ambiguity. Questions stay open until you answer them by default. See [AskUserQuestion tool behavior](#askuserquestion-tool-behavior) | No | | `Bash` | Executes shell commands in your env… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …to-anthropic-services) in the Error reference | | `Could not load the default credentials` or `Could not load credentials from any providers` | [Amazon Bedrock, Google Cloud's Agent Platform, or Micro… Troubleshooting Claude Code CLI · in the page troubleshooting …t a time. To use your terminal's native scrollback instead, run `/tui default` to switch to the classic renderer. ### Clipboard commands such as `pbcopy` fail inside the sandbox When [sandboxing](/d… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …nts, ultrareview reviews the diff between your current branch and the default branch, including uncommitted and staged changes. For a branch review, Claude Code bundles the repository state and uploa… Voice dictation Claude Code CLI · in the page voice-dictation …uns while you hold the key and stops when you release it. This is the default mode. Hold `Space` to start recording. Claude Code detects a held key by watching for rapid key-repeat events from your t… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …other than `max`, Claude Code saves it for the current model as your default, under [`modelSettings`](/docs/en/settings-reference#modelsettings) in your user settings; `max` applies to the current se… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …on cloud infrastructure instead of your machine, Anthropic-managed by default. This quickstart starts one from [claude.ai/code](https://claude.ai/code) in your browser. You can also start one from the… Week 13 · March 23–27, 2026 Claude Code CLI · in the page whats-new/2026-w13 …c57ec4b935154bf1fbb) Cycle to auto with Shift+Tab, or set it as your default: ```json ~/.claude/settings.json {3} theme={null} { "permissions": { "defaultMode": "auto" } } ``` [Permission m…
Feedback