398 pages for close.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Interactive mode
Claude Code CLI · in the page
interactive-mode
…focused, opens a comment field on that option, and pressing it again closes the field. See [add a comment when you answer a permission prompt](https://code.claude.com/docs/en/permissions.md#add-a-com…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…alAddress 172.21.0.0/16 ``` **3. Restart your IDE and Claude Code** Close and reopen both so the new rule takes effect. #### Switch WSL2 to mirrored networking Mirrored networking requires Windows…
Customize keyboard shortcuts
Claude Code CLI · in the page
keybindings
…| | `confirm:cycleMode` | Shift+Tab\* | On a file permission prompt, closes an open [comment field](https://code.claude.com/docs/en/permissions.md#add-a-comment-when-you-answer-a-permission-prompt);…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…nStart` hook](https://code.claude.com/docs/en/hooks#sessionstart) can close that gap, since Claude Code adds plain text the hook prints to stdout to Claude's context before the first prompt. For exam…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…yourself](#set-the-credential-variable). **3. Send a test message** Close the `/status` menu and send any prompt in Claude Code. A normal response from Claude, with no error, confirms the gateway co…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…d as open lists Treat the headers and body fields as open lists, not closed ones. Claude Code gains capabilities over releases, and they arrive as new `anthropic-beta` values, new request body fields…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…t still fails, unless the value belongs to one of the keys that [fail closed](#keys-that-fail-closed) instead. Claude Code is stricter with the `managedSettings` a [`policyHelper`](https://code.claud…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…KILL` after a further 400 milliseconds. * **On Windows**: Claude Code closes the server's stdin, then ends the server's process tree if the process is still running 300 milliseconds later. Before v2.…
How Claude remembers your project
Claude Code CLI · in the page
memory
…DE.md` appears in context before `foo/bar/CLAUDE.md`, so instructions closer to where you launched Claude are read last. Within each directory, `CLAUDE.local.md` is appended after `CLAUDE.md`, so your…
Claude Code on mobile
Claude Code CLI · in the page
mobile
…ns or a project, which run in the cloud and continue with your laptop closed. Remote Control and Dispatch drive your own machine, so it needs to stay on with Claude Code or the Desktop app running. If…
Model configuration
Claude Code CLI · in the page
model-config
…odel). On the Anthropic API, you can see a [warning that suggests the closest name](#fix-a-mistyped-model-name) if the value nearly spells a model name or alias and doesn't start with `claude-`. When…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…reject"` * `tool_source`: Always present. The tool's provenance, as a closed set of CLI-authored values: * `"builtin"`: the CLI's own tools * `"mcp"`: MCP servers generally * `"sdk_host_builtin_…
Output styles
Claude Code CLI · in the page
output-styles
…ectories defines a style with the same name, Claude Code uses the one closest to the working directory. **2. Add frontmatter and instructions** Decide whether to keep Claude Code's software engineer…
Configure permissions
Claude Code CLI · in the page
permissions
…eld empty, Claude Code submits the answer without a comment. * `Tab`: closes the field without answering. To send the text you typed, press `Tab` again before you answer. * `Shift+Tab`: on a file prom…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…led, disabled, or edited on disk since the session started. When you close the `/plugin` panel with pending changes you made in it, Claude Code runs `/reload-plugins` for you. Run it yourself after p…
Code intelligence plugins
Claude Code CLI · in the page
plugins/code-intelligence
…y`. Start a new session to load the server. * **Not now**: the dialog closes, and a later session can offer the plugin again. Pressing **Esc** does the same. * **Never for this plugin**: the dialog st…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…e**. > * **Reload needed**: `Run /reload-plugins to apply.` The panel closes and Claude Code runs that reload for you. If the reload would [invalidate the prompt cache](https://code.claude.com/docs/en…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…own` | Claude Code doesn't take the version from a repository that encloses the install path, such as a git-managed `~/.claude`. For a `command` source, Claude Code always derives the version from w…
Manage mods for your organization
Claude Code CLI · in the page
plugins/mods/admin
…Where the guard doesn't load, no option applies. * **The guard fails closed**: if the guard can't read managed settings, it refuses every user's mod at load. If it can't check the deny rules for a ca…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…e.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md), or stdin closed on a run started with [`--input-format stream-json`](https://code.claude.com/docs/en/cli-reference#cli-flags). The run is e…
React to events with a mod
Claude Code CLI · in the page
plugins/mods/events
…that returned the wrong shape. To make a hook that blocks calls fail closed, add a `.catch` error handler that answers in its place. Here, `guard` is your hook function, and the handler tests [`next.…
Interface gallery for mods
Claude Code CLI · in the page
plugins/mods/gallery
…' }, async ($) => { await $.ui.open({ id: 'gallery', focus: true, closeOnEscape: true }) return {} }) on('ui.render', { component: 'Pane' }, async ($, e, next) => { if (e.requestId !=…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…sync ($) => { // Open the pane, give it the keyboard, and let Esc close it await $.ui.open({ id: PANE, title: 'Hello tabs', focus: true, closeOnEscape: true }) // Print nothing in the tran…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…the scroll position of a pane or the band is about to change | | `ui.close` | A pane is about to close. `e.id` is the pane and `e.origin.kind` is `plugin`, `person`, or `unload`. | | [`ui.message`](h…
Test a mod
Claude Code CLI · in the page
plugins/mods/test
…-settings-hook-events). A test can't fire a mods API call such as `ui.close` directly. Trigger it through your mod, for example by pressing the button that closes the pane. * **`on`**: call it to regi…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…#hold-toasts-behind-a-dialog) when it opened the pane that's showing. Close the pane to end the hold. If the pane is yours and is meant to stay open, remove `holdToasts` from its `$.ui.open` call and…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…o install in the `/plugin` menu, none of them installed, and the menu closed with this summary of what failed. Some reasons, such as git's output after a failed clone, show only their first line. Whe…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…li-reference#reload-plugins), which Claude Code runs for you when you close the menu. You pay the cost, whether appended announcements or a full re-read, on the first turn after the change applies. Cl…
Prompt library
Claude Code CLI · in the page
prompt-library
…cs', 'marketing'], prompt: 'find every place we say "{copy}" or a close variant, show me each one in context, then update them all to "{new}". leave tests and the changelog alone', slots: {…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…s must keep running**: Remote Control runs as a local process. If you close the terminal, quit the Desktop app or VS Code that runs the session on your machine, or otherwise stop the `claude` process,…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…ronments) when routed there, so they keep working when your laptop is closed. Each scheduled task can have one or more triggers attached to it: * **Schedule**: run on a recurring cadence like hourly…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…fs). It doesn't matter whether a command, Claude, or you created it. Close the Claude Code sessions running in your working directory, because a running session can rename or delete the folder again.…
Security
Claude Code CLI · in the page
security
…om/docs/en/sandboxing.md#auto-allow-mode) can run without it * **Fail-closed matching**: In Manual mode, unmatched commands require approval by default * **Secure credential storage**: API keys and to…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…t retry, up to 20 seconds, and shortens the gap whenever the lease is close to expiring. ### Runner lifecycle The first session a runner picks up locks the runner to that session's owner, and the ru…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…riptor 3**: carries the child's activity signals to the runner. Don't close it or reuse it in the wrapper. * **File descriptors 4 and 5**: runners on Claude Code v2.1.309 or later reserve them for the…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…that's already open stays usable with the old token until your proxy closes it or the runner exits. * **Session environment**: a session reaches your proxy only through the listener. In each session'…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…sion, so it reliably shows up, but on a one-shot environment it reads closer to "sessions currently running" than a cumulative count. Use the series in this table for the corresponding goal instead o…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…s, so the fetch in the lists below doesn't apply to it. [Enforce fail-closed startup](#enforce-fail-closed-startup) covers what happens when that fetch fails. > [!NOTE] > > On a Team or Enterprise cl…
Claude Code settings
Claude Code CLI · in the page
settings
…organization is accepted without pre-selection. An empty array fails closed and blocks login with a misconfiguration message. See [Restrict login to your organization](/docs/en/authentication#restric…
Example settings files
Claude Code CLI · in the page
settings-example
…/docs/en/permissions#read-and-edit); the `sandbox` block in this file closes that gap, because the sandbox [adds your `Read` deny paths](https://code.claude.com/docs/en/settings-reference#sandbox-file…
All settings
Claude Code CLI · in the page
settings-reference
…o **Default** can still resolve to a model outside the list. This key closes that gap. Requires Claude Code v2.1.175 or later. When your organization deploys any managed settings, Claude Code reads t…
Extend Claude with skills
Claude Code CLI · in the page
skills
…t holds a `HEAD` file directly beside `refs` or `commondir`. When the closest repository at or above the working directory looks bare, Claude Code ignores `allowed-tools` for a Bash command that conta…
Customize your status line
Claude Code CLI · in the page
statusline
…until a pull request or merge request is found, or once it merges or closes | | `pr.review_state` | Review status of the open PR: `approved`, `pending`, `changes_requested`, or `draft`. May be indepe…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…directories defines the same `name`, Claude Code uses the definition closest to the working directory. When you add a directory with `--add-dir` or `/add-dir`, Claude Code also loads its `.claude/ag…
Tools reference
Claude Code CLI · in the page
tools-reference
…nswer them. If you want a question you leave unanswered to eventually close and let Claude continue without you, set the [`askUserQuestionTimeout`](https://code.claude.com/docs/en/settings-reference#a…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…>> ~/.bash_profile > source ~/.bash_profile > ``` > > Alternatively, close and reopen your terminal. > > If the `echo` command prints `permission denied`, see [`permission denied` when adding to your…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…appen even with a full context when a single large paste filled it 2. Close and restart Claude Code between major tasks 3. Consider adding large build directories to your `.gitignore` file 4. Restart…
Find bugs with ultrareview
Claude Code CLI · in the page
ultrareview
…es it from `origin`. If the name has a typo, Claude Code suggests the closest branch name in the error. A commit id or tag also works as the base, and the review then covers the changes on your branc…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…reached the transcription service but no words were recognized. Speak closer to the microphone, reduce background noise, and confirm your [dictation language](#change-the-dictation-language) matches t…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…h` as its language * **Inline math**: `$…$` or `\(…\)` that opens and closes on the same line, such as `$E = mc^2$` or `\(a^2 + b^2 = c^2\)` The panel tries to tell math apart from other uses of the…