Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

509 pages for limits.

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 …flag. Don't use bare mode for a run that needs them. Bare mode also limits what happens while the session runs: * **MCP servers**: only servers supplied on the command line connect, for example wit… Hooks reference Claude Code CLI · in the page hooks …laude.com/docs/en/sub-agents.md#hooks-in-subagent-frontmatter). #### Limits on skill hooks When a skill's frontmatter hooks don't fire after you or Claude invoke the skill, run [`/hooks`](#the-%2Fho… Automate actions with hooks Claude Code CLI · in the page hooks-guide …ode.claude.com/docs/en/skills.md#skill-not-triggering) or one of the [limits on skill hooks](https://code.claude.com/docs/en/hooks.md#limits-on-skill-hooks) * Check that the matcher pattern matches th… Interactive mode Claude Code CLI · in the page interactive-mode …https://code.claude.com/docs/en/tools-reference.md#timeout-and-output-limits). **Key features:** * Output is written to a file and Claude can retrieve it using the Read tool * Background tasks have… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …understand how codebase size affects token usage and how to set spend limits before a wider rollout * Read [How Claude Code works in large codebases](https://claude.com/blog/how-claude-code-works-in-l… Legal and compliance Claude Code CLI · in the page legal-and-compliance …Usage Policy](https://www.anthropic.com/legal/aup). Advertised usage limits for Pro, Max, and Ultra plans assume ordinary, individual usage of Claude Code and the Agent SDK. ### Authentication and c… Other LLM gateways Claude Code CLI · in the page llm-gateway …ider serves the request * **Cost controls**: enforce budgets and rate limits in one place * **Audit logging**: log every model request for compliance * **Provider switching**: change the provider in g… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …NTIAL_TRAFFIC = "1" > ``` Setting the variable has these effects and limits: * It disables auto-updates, so plan for another update path, such as your package manager or managed distribution. * It s… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …alled streams, to decide whether and when to retry, and to show usage limits. The table lists what to return for each. Also forward error response bodies unmodified, so Claude Code's [capability-rejec… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …rotation without redistributing settings | When sizing per-key rate limits, account for the client [retrying transient failures](https://code.claude.com/docs/en/errors.md#automatic-retries), includi… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …), other than in-process `type: "sdk"` entries; `--strict-mcp-config` limits which configuration files load and doesn't bypass either list. To make the allowlist authoritative, set `allowedMcpServers… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …when you add or remove working directories mid-session. A server that limits its own filesystem access to a set of allowed directories should implement the MCP `roots/list` request instead. Claude Cod… How Claude remembers your project Claude Code CLI · in the page memory …md`, Claude Code measures the file against the 200-line and 25KB read limits. If the file is near a limit, Claude Code reminds Claude to shorten it: keep one line per entry, move detail into topic fil… Model configuration Claude Code CLI · in the page model-config …age-for-paid-claude-plans) instead of drawing on your plan's included limits. When it does, the `/model` picker shows "Requires usage credits" on the Fable row. To manage usage credits, see [Add usage… Enterprise network configuration Claude Code CLI · in the page network-config …y silent before Claude Code treats the connection as dead, within the limits listed below. Arriving bytes still don't reset the event-level watchdog on Bedrock. With debug logging on, each Bedrock str… Output styles Claude Code CLI · in the page output-styles …e new endpoint gets session checks without its own middleware. - Rate limits are set per route in limits.ts, which is why this change adds an entry there rather than a global default. ────────────────… Choose a permission mode Claude Code CLI · in the page permission-modes …[as written](https://code.claude.com/docs/en/permissions.md#bash-rule-limits) in every mode. The remote's own branch protection still applies. * Deleting the exact jobs Claude created earlier in the s… Configure permissions Claude Code CLI · in the page permissions …push`, isn't matched; see [what a Bash rule doesn't match](#bash-rule-limits). ```json theme={null} { "permissions": { "allow": [ "Bash(npm run *)", "Bash(git commit *)" ],… Test plugins with evals Claude Code CLI · in the page plugin-evals …model with your credentials, so they count against your plan's usage limits or your API bill. When the command reports a cost, the figure is a [list-price estimate](https://code.claude.com/docs/en/co… Recommend your plugin from your CLI Claude Code CLI · in the page plugins/cli-hints …ata-usage.md#default-behaviors-by-api-provider) applies * **Frequency limits**: one prompt per session, one prompt ever per plugin regardless of the user's answer, and none once 100 plugins have been… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …a missing declared dependency, and the [`command` and `headersHelper` limits](#constrain-a-dependency-that-has-a-non-git-source) apply to them too: * `/reload-plugins` * Auto-update of the dependent… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …y so Claude Code clones the whole tree. ### Stay within the download limits for hosted files When users add your marketplace as a `marketplace.json` URL, or install an entry with an [`archive`](http… Plugin loading reference Claude Code CLI · in the page plugins/loading …alog, which the session doesn't show. #### Trust check and component limits for repository plugins A project-scope plugin is checked into the repository and reaches every collaborator who clones it.… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …uires Claude Code v2.1.239 or later. `metadata.pluginRoot` has these limits: * It must itself be a relative path inside the marketplace. * It has no effect on a source that already starts with `./`.… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …default](#know-what-happens-by-default) * **Leave mods on with other limits**: [Choose how much to allow](#choose-how-much-to-allow) > [!NOTE] > > These cases are covered on other pages: > > * **You… Use the mods API Claude Code CLI · in the page plugins/mods/api …today', argumentHint: '[days]' }) return next(e) }) // The matcher limits the hook to /standup, so other commands don't reach it on('command.run', { command: 'standup' }, async ($, e) => { // e.a… React to events with a mod Claude Code CLI · in the page plugins/mods/events …hes, and tells Claude why: ```javascript theme={null} // The matcher limits the hook to Bash calls, so e.command is the shell command on('tool.call', { tool: 'Bash' }, async ($, e, next) => { if (/… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …ompt box's dim suggestion text for Claude's own suggestions. * **Text limits**: the panel cuts a status line at 200 characters or two rows, and a toast at 500 characters. ### Place a row in the trans… Mods overview Claude Code CLI · in the page plugins/mods/overview …om/docs/en/plugins/mods/reference.md): events, methods, elements, and limits Mods reference Claude Code CLI · in the page plugins/mods/reference …layout, events, mods API methods, render sites, elements by surface, limits, and settings. Look up any event a [mod](https://code.claude.com/docs/en/plugins/mods/overview.md) can handle, mods API me… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …2,000 deep](https://code.claude.com/docs/en/plugins/mods/reference.md#limits). [`claude plugin validate`](https://code.claude.com/docs/en/plugins/mods/create#check-what-claude-code-reads-from-your-mod… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …rketplace until you fix it; `claude plugin validate` reports the same limits. ### `relevance` | Field | Type | Description | | :- | :- | :- | | `topic` | string | Optional. The phrase that fills "Wo… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …ndard speed](https://code.claude.com/docs/en/fast-mode.md#handle-rate-limits) after a rate limit and the return to fast mode later, count as toggles too. ### Connecting or removing an MCP server Too… Prompt library Claude Code CLI · in the page prompt-library …the spec to SPEC.md', slots: { feature: 'per-workspace rate limits' }, nextHref: '/en/skills', src: 'best-practices' }, { id: 'turn-a-meeting-into', sdlc: 'design',… Automate work with scheduled tasks Claude Code CLI · in the page routines …ts. > [!NOTE] > > Scheduled tasks are in research preview. Behavior, limits, and the API surface may change. A cloud scheduled task, formerly a routine, is a saved Claude Code configuration: a promp… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …ose 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 Claude work with fewer permission… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …set which files and network domains those commands can reach, and the limits apply to Bash, PowerShell, and Monitor commands and the processes they start. Sandboxed commands still go through the regul… Security Claude Code CLI · in the page security …[as written](https://code.claude.com/docs/en/permissions.md#bash-rule-limits); for network enforcement that doesn't depend on the command text, see [sandbox network isolation](https://code.claude.com/… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …duces no visible output from this layer. ### Review independence and limits The plugin does not ask the same Claude instance that wrote the code to grade itself. The per-edit check is a deterministi… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …-specific secrets * Preparing language toolchains * Applying resource limits around the child process The runner starts your wrapper in place of the Claude Code binary each time it starts a session,… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …it, and its git works with any git host. In exchange, the git proxy limits what the runner supports and changes what it needs: * **github.com only**: Anthropic serves a session only when all of its… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …e writes it](https://code.claude.com/docs/en/permissions.md#bash-rule-limits), not `/usr/bin/curl` or `sh -c 'curl …'`; for network enforcement that doesn't depend on the command text, add a [`sandbox… Manage sessions Claude Code CLI · in the page sessions …hash of the full path, so the directory name stays within filesystem limits. Each line is a JSON object: a message, a tool use or result, a record of a request Claude Code sent the model, or a metad… Claude Code settings Claude Code CLI · in the page settings …dges](#footer-link-badges) for URL constraints, scheme allowlist, and limits. Requires Claude Code v2.1.176 or later… Example settings files Claude Code CLI · in the page settings-example …git -C . push`](https://code.claude.com/docs/en/permissions#bash-rule-limits). `Read(./.env)` on its own stops the file tools and commands that name the file, such as `cat .env`, but not [`grep -r` ru… All settings Claude Code CLI · in the page settings-reference …'s [output](https://code.claude.com/docs/en/tools-reference.md#output-limits) Claude receives inline | Memory and context | Any file | | [`blockedMarketplaces`](#blockedmarketplaces) | Block [plugin m… Advanced setup Claude Code CLI · in the page setup …23 until the stable channel serves a newer version. #### Set version limits for your organization In [managed settings](https://code.claude.com/docs/en/managed-settings.md), `minimumVersion` enforce… Extend Claude with skills Claude Code CLI · in the page skills …and-agents) for the configuration format, the `once` option, and the [limits on skill hooks](https://code.claude.com/docs/en/hooks.md#limits-on-skill-hooks). | | `paths` | No | Glob patterns for the f… Claude Code in Slack Claude Code CLI · in the page slack …r own Claude account, using your connected repositories and your plan limits. ## Use cases * **Bug investigation and fixes**: Describe a bug and ask Claude to investigate and fix it. * **Quick code… Customize your status line Claude Code CLI · in the page statusline …led` | Whether extended thinking is enabled for the session | | `rate_limits.five_hour.used_percentage`, `rate_limits.seven_day.used_percentage` | Percentage of the 5-hour or 7-day rate limit consumed…
Feedback