Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

518 pages for cases.

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

Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …ou do work in still load normally. These patterns cover other common cases: * `"**/packages/*/CLAUDE.md"`: excludes every package's CLAUDE.md while keeping the root * `"**/packages/legacy-*/**"`: ex… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …NTHROPIC_BASE_URL` ## Additional configuration These settings cover cases beyond the base URL and credential. Set them only if your administrator's instructions, your network's egress rules, or the… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …teams.md), reuse a stable name-based ID across reconnections. In both cases the ID identifies an agent, not a person or a device, so don't treat the agent ID header as a user identifier. If your deve… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …managed-mcp-json). The following table shows what users see in other cases: | Restriction | What the user sees | | :- | :- | | `managed-mcp.json` is present and the user runs `claude mcp add` | `Can… Deploy managed settings Claude Code CLI · in the page managed-settings …alid values inside `sandbox`](#invalid-values-inside-sandbox). These cases don't fail closed: * A `null` removes the key. * An invalid `disableAllHooks`, even a quoted Boolean, is dropped with a war… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …Code marks the server as failed. Those retries don't apply in these cases: * A stdio server's first connection. To try it again, see [Stdio servers that exit or fail to start](#stdio-servers-that-e… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …scope means removing the entry and re-adding it at the new one. Both cases below start by removing the local entry from the first walkthrough, so the server has only one definition. If you already re… How Claude remembers your project Claude Code CLI · in the page memory …ugin` to disable the built-in plugin that reads `AGENTS.md` * In some cases, it's your [first session after you upgrade](https://code.claude.com/docs/en/env-vars.md#first-session-after-an-install-or-u… Model configuration Claude Code CLI · in the page model-config …--resume` or `--continue` keeps the model it was saved on, except in cases such as these, where it follows the [priority order](#setting-your-model) instead: * You set an alias variable such as [`AN… Monitoring Claude Code CLI · in the page monitoring-usage …yze-before-you-edit-with-plan-mode). The attribute is absent in these cases: * An allow or deny [permission rule](https://code.claude.com/docs/en/permissions.md#manage-permissions) decided the call… Output styles Claude Code CLI · in the page output-styles …as in the Default style. Claude still writes at full length in these cases: * **Anything you ask for**: when you ask for an explanation or more detail, Claude answers in full. * **Anything you need… Choose a permission mode Claude Code CLI · in the page permission-modes …ommand during planning depends on the session, and the first of these cases that matches applies: * **Interactive terminal sessions with bypass permissions available**: planning commands can run with… Configure permissions Claude Code CLI · in the page permissions …he file: as the table shows, it lasts until the session ends. In some cases, such as outside a git repository or on Windows, Claude Code doesn't use the repository root; [Where Claude Code looks for e… Test plugins with evals Claude Code CLI · in the page plugin-evals # Test plugins with evals > Write eval cases for your Claude Code plugin, run them with claude plugin eval, grade the results, compare against a no-plugin baseline, and gate CI on the score. The `cl… Anthropic's marketplaces Claude Code CLI · in the page plugins/anthropic-marketplaces …k whether the official one holds a given plugin. > [!NOTE] > > These cases are covered on other pages: > > * **How to install a plugin**: see [Install plugins](https://code.claude.com/docs/en/plugins… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …nd> --help` for a subcommand's full option list. > [!NOTE] > > These cases are covered on other pages: > > * **Install and manage steps, and where `/plugin` runs**: see [Install and manage plugins](h… Add components to a plugin Claude Code CLI · in the page plugins/components …lidate) in your shell from the plugin directory. > [!NOTE] > > These cases are covered on other pages: > > * **Building your first plugin**: start with [Create a plugin](https://code.claude.com/docs/… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …is page is for people writing their own plugins. > [!NOTE] > > These cases are covered on other pages: > > * **Installing someone else's plugin**: see [Install plugins](https://code.claude.com/docs/e… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …https://code.claude.com/docs/en/plugins/org.md). > [!NOTE] > > These cases are covered on other pages: > > * **Sharing one plugin with a few people**: send them the plugin's directory or a `.zip` of… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …nd for marketplace maintainers who tag releases. > [!NOTE] > > These cases are covered on other pages: > > * **Installing a plugin that has dependencies**: see [Manage installed plugins](https://code… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …ge is for the person who operates a marketplace. > [!NOTE] > > These cases are covered on other pages: > > * **You haven't written the catalog file yet**: start with [Create a marketplace](https://co… Install and manage plugins Claude Code CLI · in the page plugins/install …dding marketplaces, and keeping plugins updated. > [!NOTE] > > These cases are covered on other pages: > > * **You use claude.ai chat or Cowork, not Claude Code**: see [Plugins on claude.ai and in Co… Plugin loading reference Claude Code CLI · in the page plugins/loading …laude to read this page and diagnose your setup. > [!NOTE] > > These cases are covered on other pages: > > * **Install, enable, disable, and update steps**: see [Install and manage plugins](https://c… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …who put component fields in a marketplace entry. > [!NOTE] > > These cases are covered on other pages: > > * **Learning to build a plugin**: start with [Create a plugin](https://code.claude.com/docs/… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …en/plugins/org#restrict-what-users-can-install). > [!NOTE] > > These cases are covered on other pages: > > * **Building or hosting a marketplace**: see [Create a marketplace](https://code.claude.com/… Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …covers the same questions across every machine. > [!NOTE] > > These cases are covered on other pages: > > * **Testing how reliably the plugin changes Claude's behavior**: see [Test plugins with eval… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …se how much to allow](#choose-how-much-to-allow) > [!NOTE] > > These cases are covered on other pages: > > * **You haven't deployed managed settings before**: start with [Deploy managed settings](htt… Create a mod Claude Code CLI · in the page plugins/mods/create …d Claude writes can't load A mod Claude writes doesn't load in these cases, and Claude Code doesn't ask to load it: * **Nobody is there to approve**: the session is in [`dontAsk` mode](https://code.… React to events with a mod Claude Code CLI · in the page plugins/mods/events …as read-only. Bash and MCP tools report a call as read-only in these cases: * **Bash**: the command passes Claude Code's built-in [read-only command check](https://code.claude.com/docs/en/permission… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …ite `alt` text that stands on its own, because it also shows in these cases, among others: * **GNU screen**: a session running inside screen, in any terminal. * **tmux**: a session running inside tmu… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …esn't always show a row, and a row can go away later, so handle these cases in your mod: * **The result**: `{ isPlaced: true, requestId }` when the terminal draws the row. Otherwise `isPlaced` is `fa… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …t starting a session. Claude Code writes one line naming your mod in cases such as a code error that stops it from loading, a skipped hook, or a refusal by another mod. Look for that line in the tran… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …ators, and the settings here govern Claude Code. > [!NOTE] > > These cases are covered on other pages: > > * **Installing plugins for yourself**: start at [Install plugins](https://code.claude.com/do… Plugins overview Claude Code CLI · in the page plugins/overview …ps://code.claude.com/docs/en/plugins/create.md). > [!NOTE] > > These cases are covered on other pages: > > * **You use claude.ai chat or Cowork and not Claude Code**: see [Plugins on claude.ai and in… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …or of a working plugin who is ready to share it. > [!NOTE] > > These cases are covered on other pages: > > * **Your plugin isn't finished yet**: start with [Create a plugin](https://code.claude.com/d… Recommend plugins for your org Claude Code CLI · in the page plugins/relevance …tions from a marketplace until it's allowlisted. > [!NOTE] > > These cases are covered on other pages: > > * **You want to install plugins**: see [Install and manage plugins](https://code.claude.com/… Plugin security and trust Claude Code CLI · in the page plugins/security …you review tools before your team can use them. > [!NOTE] > > These cases are covered on other pages: > > * **Claude Code's own security model**: see [Security](https://code.claude.com/docs/en/secur… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …lace, or administer plugins for an organization. > [!NOTE] > > These cases are covered on other pages: > > * **Why scopes, the cache, and precedence behave the way they do**: read [Plugin loading ref… Work with PR Steward on a pull request Claude Code CLI · in the page pr-steward-pull-requests …on the draft. To keep PR Steward from starting on your drafts in both cases, turn the toggle off. While **Failing CI and merge conflicts** is on, you can also say when PR Steward merges the base bran… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …hange costs depends on which component types the plugin provides. The cases below cover each component type, when Claude Code applies the change, and what happens when you disable a plugin again in th… Prompt library Claude Code CLI · in the page prompt-library …want to build {feature}. interview me about implementation, UX, edge cases, and tradeoffs until we have covered everything, then write the spec to SPEC.md', slots: { feature: 'per-workspace… Quickstart Claude Code CLI · in the page quickstart ….claude.com/docs/en/third-party-integrations.md) > [!NOTE] > > These cases are covered on other pages: > > * **Never used a terminal before**: start with the [terminal guide](https://code.claude.com/… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ects automatically when your machine comes back online, except in the cases under [Limitations](#limitations). Unlike [cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web.md), whic… Automate work with scheduled tasks Claude Code CLI · in the page routines …s > Roles**](https://claude.ai/admin-settings/roles). ## Example use cases Each example pairs a trigger type with the kind of work scheduled tasks are suited to: unattended, repeatable, and tied to… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …removes the placeholder afterward. A placeholder can stay behind in cases such as these: * The session is killed before that cleanup runs, for example by SIGKILL * You [move the session to the back… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …d yourself to do something later in the session. > [!NOTE] > > These cases are covered on other pages: > > * **Reacting to events as they happen instead of polling**: see [Channels](https://code.clau… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …bedrock-or-agent-platform). Session content goes to Anthropic in both cases. On a runner configured this way, [server-managed settings](https://code.claude.com/docs/en/server-managed-settings.md) and… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …cess ends; the `CLAUDE_RUNNER_EXIT_REASON` values below enumerate the cases. It can't fire when the runner terminates abruptly, such as a VM preemption or a power loss. If you need guarantees against… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …t checks the flags and their variables, and refuses to start in three cases: * **Both flags set**: one flag plus the other flag's environment variable counts as setting both. * **No proxy URL**: neit… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …de.com/docs/en/errors.md#couldnt-load-your-organizations-settings) in cases such as these: > > * Their sign-in has expired, until they run `claude auth login` > * Claude Code has neither the settings…
Feedback