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,246 pages for model.

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

Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …ents (1) style-reviewer Hooks (1) PostToolUse (harness-only — no model context cost) MCP servers (1) formatter-tools (tool schemas resolved at runtime; not counted) LSP servers (0) Project… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …n a connected MCP server, under the session's permission rules | | `$.model.complete` | Uses the user's plan or API key for model calls | | `$.prompt.submit` | Submits a prompt, and can send it as the… Use the mods API Claude Code CLI · in the page plugins/mods/api …the mods API from a Claude Code mod to add commands and tools, call a model, run work on a timer, message other sessions, and reach files and the network. The mods API is the set of methods a mod cal… Create a mod Claude Code CLI · in the page plugins/mods/create …s] ``` [Test a mod](/docs/en/plugins/mods/test.md) covers stubbing a model call or the store, and testing timers and drawings. ## Share your mod A mod is a plugin, so you version it in the manifest… 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 …API](/docs/en/plugins/mods/api.md): feed your drawing from timers and model calls * [Test a drawing](/docs/en/plugins/mods/test.md#test-a-drawing): press your buttons from a test, on more than one sur… 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 …follow one answer from start to finish, including each request to the model within it: | Event | Fires when | A hook can return | | :- | :- | :- | | [`turn.start`](/docs/en/plugins/mods/events#follow… 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 …touched is refused. ### `a hook changed this call's input after the model wrote it` In auto mode, a denied tool call gives this reason. A hook changed the tool call's input after the [server-side c… 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 …n request. Check these causes in order: * **The skill sets `disable-model-invocation: true`**: the template skill in [Create your first plugin](/docs/en/plugins/create.md#create-your-first-plugin) s… 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… 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 …n not to change what those sessions can do, such as `--verbose` or `--model`. For any other flag, such as `--settings`, Claude Code [refuses to start](/docs/en/errors.md#not-carried-over-to-the-sessio… Automate work with scheduled tasks Claude Code CLI · in the page routines …d and explicit about what to do and what success looks like. Select a model in the prompt input's model selector. Claude uses it on every run. When a trigger fires, the session receives the saved pro… 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 …n-modes.md#eliminate-prompts-with-auto-mode)**: a separate classifier model evaluates the underlying command * **`dontAsk` mode**: Claude Code denies the retry * **Plan mode**: see [how Claude Code ga… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …instead of executing: * Built-in commands such as `/permissions`, `/model`, or `/clear` * Skills marked [`disable-model-invocation: true`](/docs/en/skills#frontmatter-reference), including the bundl… Security Claude Code CLI · in the page security …the starting permission mode. * **Auto mode**: A separate classifier model reviews actions instead of you and blocks the ones it judges unsafe. [How the classifier evaluates actions](/docs/en/permiss… 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 …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… 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 …* 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 limit or… 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 …invoking it](#control-who-invokes-a-skill), for example with `disable-model-invocation: true`, Claude doesn't get the instruction. * **Git instructions**: you haven't turned off [`includeGitInstructio… Customize your status line Claude Code CLI · in the page statusline …-coded context bar on the second. ![A multi-line status line showing model name, directory, git branch on the first line, and a context usage progress bar with cost and duration on the second line](h… Create custom subagents Claude Code CLI · in the page sub-agents …ic domains * **Control costs** by routing tasks to faster, lower-cost models like Haiku Claude uses each subagent's description to decide when to delegate tasks. When you create a subagent, write a c… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …Option key, such as Option+Enter for a newline or Option+P to switch models. On macOS, most terminals do not send Option as a modifier by default, so these shortcuts do nothing until you enable it. T… Enterprise deployment overview Claude Code CLI · in the page third-party-integrations …-enterprise-plan). 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 …Creates a new task in the task list. Provided by default only on the models listed under [Task tool availability](#task-tool-availability), and on other models when you opt in | No | | `TaskGet` | Re… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …anthropics/claude-code/issues/50384) for status, and include your CPU model from `grep -m1 "model name" /proc/cpuinfo` on Linux or `sysctl -n machdep.cpu.brand_string` on macOS when reporting. Altern… Troubleshooting Claude Code CLI · in the page troubleshooting …equest validation errors | [Error reference](/docs/en/errors.md) | | `model not found` or `you may not have access to it` | [Error reference](/docs/en/errors.md#theres-an-issue-with-the-selected-model… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …r. * **Edit automatically**: Claude makes edits without asking. * **Model**: select **Switch model…** from the command menu to change the model mid-session. You can also click the model name at the… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …you. Appears when your organization allows auto mode and the selected model supports it * **Accept edits**: Claude makes changes and pushes a branch without stopping for approval * **Plan**: Claude pr… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …-party platform" for step-by-step auth, region, credential check, and model pinning`/agents` gets a tabbed layout: a Running tab shows live subagents with a `● N running` count, plus Run agent and Vie… 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 …tion context instead of starting freshDefault [effort level](/docs/en/model-config.md#adjust-effort-level) for Pro and Max subscribers on Opus 4.6 and Sonnet 4.6 is now `high` (was `medium`)Native mac… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …while catastrophic removal commands still prompt as a safety netThe `/model` picker can list models from your gateway's `/v1/models` endpoint when `ANTHROPIC_BASE_URL` points at an Anthropic-compatibl… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …cross turns without you prompting each step. After every turn, a fast model checks whether the condition holds; if not, Claude starts another turn instead of handing control back. Useful for substanti… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …/en/changelog.md#2-1-150) 4 features · May 25–29 Claude Opus 4.8 new model Opus 4.8 is now the default on Max, Team Premium, Enterprise pay-as-you-go, and the Anthropic API. It defaults to high effo…
Feedback