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

740 pages for term.

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

Run Claude Code programmatically Claude Code CLI · in the page headless …tasks.md#stop-a-loop), even past the 10-minute cap. When stderr is a terminal and the run has waited five seconds, Claude Code prints a line to stderr that starts with `Waiting for background work to… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …. Local sessions run in one of these places: > > * Claude Code in the terminal > * Claude Code in the Code tab of Claude Desktop > * Cowork in Claude Desktop > > The Claude Code extensions for VS Code… Hooks reference Claude Code CLI · in the page hooks …ude Code fires the same hook events wherever it runs: sessions in the terminal, IDE extensions, the [Desktop app](/docs/en/desktop-quickstart.md), and [cloud sessions](/docs/en/claude-code-on-the-web.… Automate actions with hooks Claude Code CLI · in the page hooks-guide …Code runs them at specific points in its lifecycle, which gives you deterministic control: certain actions always happen rather than relying on the LLM to choose to run them. Use hooks to enforce proj… How Claude Code works Claude Code CLI · in the page how-claude-code-works …your project. Claude Code is an agentic assistant that runs in your terminal. While it excels at coding, it can help with anything you can do from the command line: writing docs, running builds, sea… Interactive mode Claude Code CLI · in the page interactive-mode …shortcuts > [!NOTE] > > Keyboard shortcuts may vary by platform and terminal. In [fullscreen rendering](/docs/en/fullscreen.md), press `?` in the transcript viewer to see available shortcuts there.… JetBrains IDEs Claude Code CLI · in the page jetbrains …Claude Code opens code changes in the IDE diff viewer instead of the terminal; change this with the **Diff tool** setting in `/config` * **Selection context**: the current selection or tab in the IDE… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …ss twice within 800ms to confirm | | `app:redraw` | (unbound) | Force terminal redraw | | `app:toggleTodos` | Ctrl+T | Toggle visibility of Claude's to-do checklist. This is not the [`/tasks`](/docs/e… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …tory. [Choose where to start Claude](#choose-where-to-start-claude) determines where your settings files live, so read it first. [Put it together](#put-it-together) shows all of them combined. | I wa… Legal and compliance Claude Code CLI · in the page legal-and-compliance …s ### License Your use of Claude Code is subject to: * [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) - for Team, Enterprise, and Claude API users * [Consumer Terms… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …your shell](#set-as-shell-environment-variables), which lasts for one terminal session, or [in a Claude Code settings file](#set-in-a-settings-file), which persists everywhere Claude Code runs. For y… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …re stripped * [Model discovery](#model-discovery) This page uses two terms for what your gateway does with each header and body field: * **Forward unchanged**: pass it to the upstream byte-for-byte… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …uration the rollout will deliver fleet-wide. Type these directly in a terminal, not in a `.env` or settings file; they last only for this terminal session, so closing it returns your machine to its no… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …blocks the built-in [Claude in Chrome](/docs/en/chrome.md) server in terminal sessions. Users don't get the [extension install prompt](/docs/en/chrome.md#install-the-extension-when-claude-asks), and… Deploy managed settings Claude Code CLI · in the page managed-settings …sessions as follows: * **Surfaces**: on the developer's machine, the terminal, the VS Code and JetBrains extensions, the desktop app's Code tab, and [Agent SDK](/docs/en/agent-sdk/typescript.md) sess… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …cs/en/plugins/install.md#install-a-plugin) instead of this step. In a terminal, start Claude Code by running `claude`, then enter this at its prompt: ``` /plugin install mcp-server-dev@claude-plugins… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …[Claude Code installed](/docs/en/quickstart.md) and authenticated * A terminal open in a project directory. Any directory works, including an empty one. ## Add and verify a server The example below… How Claude remembers your project Claude Code CLI · in the page memory …ls.md) instead, which only load when you invoke them or when Claude determines they're relevant to your prompt. #### Set up rules Place markdown files in your project's `.claude/rules/` directory. E… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …ild-with-claude/claude-in-microsoft-foundry#hosting-options), which determines whether inference runs on Azure or on Anthropic infrastructure. ### 2. Configure Azure credentials Claude Code supports… Claude Code on mobile Claude Code CLI · in the page mobile …line. For a fuller comparison, see [work when you are away from your terminal](/docs/en/platforms.md#work-when-you-are-away-from-your-terminal). Cloud sessions and Remote Control run from the **Code… Model configuration Claude Code CLI · in the page model-config …am](/docs/en/agent-teams.md) teammate's session, nobody may be at the terminal, so Claude Code holds the mid-session consent prompt for the [`dialogExpiry`](/docs/en/settings-reference#dialogexpiry) d… Monitoring Claude Code CLI · in the page monitoring-usage …ata-privacy-controls) applies to Cowork sessions only, so neither the terminal CLI nor the Code tab exports to a collector you set there. Claude Code ignores the [OpenTelemetry exporter variables](/d… Enterprise network configuration Claude Code CLI · in the page network-config …Claude Code reads these variables from every settings scope, like any terminal session; [cloud sessions](/docs/en/claude-code-on-the-web.md) follow the cloud-session rules above wherever you start the… Output styles Claude Code CLI · in the page output-styles …#built-in-output-styles). Requires Claude Code v2.1.269 or later. * **Terminal menu**: run `/config` and select **Output style** to pick a style from a menu. * **VS Code extension**: open the [command… Overview Claude Code CLI · in the page overview …mmands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser. Claude Code is an AI-powered coding assistant that helps you build features, fix bugs, a… Choose a permission mode Claude Code CLI · in the page permission-modes …r, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions. On earlier versions, it's the built-in starting permission mode only on Pro, Max, and Team plans. [… Configure permissions Claude Code CLI · in the page permissions …in order: deny, then ask, then allow. The first match in that order determines the outcome, and rule specificity doesn't change the order. A broad deny rule like `Bash(aws *)` blocks every matching c… Platforms and integrations Claude Code CLI · in the page platforms …r | What you get | | :- | :- | :- | | [CLI](/docs/en/quickstart.md) | Terminal workflows, scripting, remote servers | Full feature set, [Agent SDK](/docs/en/headless.md), [computer use](/docs/en/compu… Test plugins with evals Claude Code CLI · in the page plugin-evals …d, and passes or fails. ### How a case is scored One run of a non-deterministic agent tells you little, so each case runs three times by default. A run's score is the fraction of its graders that pa… Anthropic's marketplaces Claude Code CLI · in the page plugins/anthropic-marketplaces …get it | Claude Code adds it the first time you start an interactive terminal session, unless a [managed policy](/docs/en/plugins/org.md#allow-the-official-marketplace-and-your-own) or `CLAUDE_CODE_D… Recommend your plugin from your CLI Claude Code CLI · in the page plugins/cli-hints …y Claude Code version. IDE extensions also set it in their integrated terminals, so a gate on `CLAUDECODE` alone also emits the tag when a person runs your CLI themselves in one of those terminals * *… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …l to see every option your version supports. Pass `-y` from your own terminal to accept the displayed command without the prompt. Here's what happens without a TTY and when Claude runs the command:… Code intelligence plugins Claude Code CLI · in the page plugins/code-intelligence …ary on your machine. > [!NOTE] > > Code intelligence plugins work in terminal sessions. In [cloud sessions](/docs/en/claude-code-on-the-web.md), Claude Code doesn't start plugin language servers, so… Add components to a plugin Claude Code CLI · in the page plugins/components …bles and summaries. ``` A plugin can include [color themes](/docs/en/terminal-config.md#create-a-custom-theme) for the Claude Code interface. Save each theme as `themes/<slug>.json`. This one appears… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …igned in](/docs/en/quickstart.md#step-1-install-claude-code). Open a terminal in the directory where you want to keep the plugin, such as `~/projects`, and run the commands in these steps from it. Yo… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …sers to run the `claude plugin update` command that entry shows, in a terminal. Claude Code shows them the new command and asks them to accept it. ## Run release channels To offer stable and early-a… Install and manage plugins Claude Code CLI · in the page plugins/install …anyone using plugins on their own machine or account, whether in the terminal, the desktop app, an IDE, or a cloud session: it covers installing, choosing a scope, adding marketplaces, and keeping pl… Plugin loading reference Claude Code CLI · in the page plugins/loading …ace and no [install record](#check-which-stage-a-plugin-reached). In terminal sessions, a synced plugin's skills, agents, hooks, MCP servers, and LSP servers all load, with the same trust as a market… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …s listing in Anthropic's directory. Claude Code doesn't read it | | [`termsOfServiceUrl`](#directory-listing-fields) | String | Terms of service link for the plugin's listing in Anthropic's directory.… Use the mods API Claude Code CLI · in the page plugins/mods/api …build finished`. | | `$.ui.notify(text)` | A notification from their terminal, outside Claude Code, sent the way their [`preferredNotifChannel`](/docs/en/settings-reference#preferrednotifchannel) set… React to events with a mod Claude Code CLI · in the page plugins/mods/events …he last `next` reaches Claude Code's own behavior. The first mod is outermost: it sees the event before the others and the result after them, and it decides whether the others run at all. A later mod… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …ext, buttons, fields, Markdown, code, and diffs, with sample code and terminal screenshots. A mod draws its interface from elements: text, boxes, buttons, fields, and a few that format content for yo… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …returns what to draw there. This map shows where a mod can draw in a terminal session: ![Map of a Claude Code terminal session in fullscreen rendering. A mod can add a pane as a sidebar on the right… Mods overview Claude Code CLI · in the page plugins/mods/overview …to look for. ## Turn mods on or off Mods are on by default. In the terminal, use Claude Code v2.1.287 or later. The Desktop app includes its own copy of Claude Code, and mods work there from v2.1.2… Mods reference Claude Code CLI · in the page plugins/mods/reference …ps that render it. `e.surface` names the app that's drawing, such as `terminal`, `desktop`, or `vscode`. [Change what Claude Code already draws](/docs/en/plugins/mods/interface.md#change-what-claude-c… Test a mod Claude Code CLI · in the page plugins/mods/test …hich runs your session.start hook await $.session.start({ surface: 'terminal', isInteractive: true, cwd: '/work' }) ``` The second stub answers the `$.command.register` call that a `session.sta… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …ne appears The call didn't come from something the user did, and the terminal is narrower than [the width that pane needs](/docs/en/plugins/mods/interface.md#when-a-pane-waits-for-a-wider-terminal).… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …ledPlugins` | Repository `.claude/settings.json` | | :- | :- | :- | | Terminal, interactive | Applied at session start on every machine that receives the settings | `extraKnownMarketplaces` applied af… Plugins overview Claude Code CLI · in the page plugins/overview …en/jetbrains.md) To try a plugin now, run `/plugin` in a Claude Code terminal session and install one from the **Discover** tab, which lists the plugins from your marketplaces. From there: * [Instal… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …ized. Maximum 64 characters. | | `signals` | object | Matchers that determine when the plugin is relevant. Claude Code suggests the plugin only if at least one signal is set. See [`relevance.signals`]…
Feedback