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

370 pages for prefix.

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

Error reference Claude Code CLI · in the page errors …mode](/docs/en/headless.md), stderr also carries the specific reason, prefixed with `apiKeyHelper failed:`. Claude Code re-runs the script and retries the request up to two more times before showing… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …[!TIP] > > Bedrock model IDs include a cross-region inference profile prefix such as `us.`. Use the prefix for the region group where you granted model access. **Google Cloud's Agent Platform** Repl… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …PROVIDER` (provider resource name without the `//iam.googleapis.com/` prefix, such as `projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider`) * `GCP_SERVICE_ACCOU… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …50929"], "enforceAvailableModels": true } ``` For aliases, version prefixes, and `modelOverrides` entries, see [Pin models for third-party deployments](/docs/en/model-config.md#pin-models-for-third… Run Claude Code programmatically Claude Code CLI · in the page headless …from the prompt, match `parent_tool_use_id` on the `forked-command-` prefix, because the name after it can differ from the one you typed. If some of these messages are missing from your stream, chec… Hooks reference Claude Code CLI · in the page hooks …ch tool To match every tool from a server, append `.*` to the server prefix. The `.*` is required: a matcher like `mcp__memory` or `mcp__brave-search` contains only exact-match characters, so it is c… Automate actions with hooks Claude Code CLI · in the page hooks-guide …hows a `<hook name> hook error` notice, then the first line of stderr prefixed with `Failed with non-blocking status code:`. To capture the full stderr, enable [debug logging](/docs/en/hooks.md#debug-… Interactive mode Claude Code CLI · in the page interactive-mode …nt, and input mode, so a stashed `!` [shell command](#shell-mode-with-prefix) comes back in shell mode | | `Ctrl+Z` | Suspend Claude Code | Unix only. Suspends the process to your shell; run `fg` to r… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …aft, and in [shell mode](/docs/en/interactive-mode.md#shell-mode-with-prefix) it only queues the command. Terminals that don't report extended keys deliver `Ctrl+Enter` as plain `Enter`, so `Ctrl+X Ct… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …un package scripts from the package directory, not the monorepo root. Prefix commit subjects with the package name, for example `api: add rate limiting`. Never edit files under packages/*/generated/.… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …with the same values as `x-claude-code-compaction`. The conversation prefix before this request is no longer used, so a cache keyed on it can be dropped | | `x-claude-code-prev-tool-durations` | Meas… Deploy managed settings Claude Code CLI · in the page managed-settings …e in the directory in alphabetical order. Name the files with numeric prefixes to control the order, such as `10-telemetry.json` and `20-security.json`. Claude Code ignores hidden files and files that… Model configuration Claude Code CLI · in the page model-config …can select. Entries match a model family such as `sonnet`, a version prefix such as `claude-sonnet-4-5`, or a full model ID such as `claude-sonnet-4-5-20250929`. A version prefix also matches later m… Monitoring Claude Code CLI · in the page monitoring-usage …nfigure as `[3P telemetry]` errors, where 3P means third-party. Lines prefixed `[Anthropic telemetry]` describe [Anthropic's separate operational telemetry](/docs/en/data-usage.md#telemetry-services)… Enterprise network configuration Claude Code CLI · in the page network-config …ocessWrapper`](/docs/en/settings-reference#processwrapper) setting to prefix the supervisor, its workers, and the other background processes listed under [What the launcher covers](/docs/en/corporate-… Choose a permission mode Claude Code CLI · in the page permission-modes …r`, `mv`, `cp`, and `sed`. These commands are also auto-approved when prefixed with safe environment variables such as `LANG=C` or `NO_COLOR=1`, or process wrappers such as `timeout`, `nice`, or `nohu… Configure permissions Claude Code CLI · in the page permissions …parated form when you select "Yes, and don't ask again" for a command prefix. The `:*` form is only recognized at the end of a pattern. In a pattern like `Bash(git:* push)`, the colon is treated as a… Add components to a plugin Claude Code CLI · in the page plugins/components …name` in the frontmatter, it replaces the last segment and the plugin prefix stays. See [how a skill gets its command name](/docs/en/skills.md#how-a-skill-gets-its-command-name) * **Who invokes it**:… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …ow they're named**: plugin skills and agents get the plugin name as a prefix, such as `/my-plugin:hello`, so two plugins can each provide a `hello` skill without colliding. To move an existing setup… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …gin:hello`. Claude greets you. The command has the plugin's name as a prefix, as every plugin skill's name does. ## Add plugin entries Every plugin you distribute is one object in the `plugins` arra… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …s the `version` field in that commit's `plugin.json`. The plugin-name prefix lets one marketplace repository host several plugins with independent version histories. Create the tag from the plugin di… Install and manage plugins Claude Code CLI · in the page plugins/install …s as a shorter form of `/plugin marketplace`. Include the `https://` prefix on every URL, or use the `git@host:path` form for SSH. If you type a bare `gitlab.example.com/your-group/your-marketplace.g… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …fault, and what it accepts. [Path rules](#path-rules) covers the `./` prefix and containment for every component path * A `userConfig` option or a `channels` entry: the [User configuration](#user-conf… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …uch as `team-a/formatter`, isn't a bare name and still needs the `./` prefix, even when `metadata.pluginRoot` is set. ### github plugin source `repo` takes `owner/repo`. `ref` and `sha` are optional… Use the mods API Claude Code CLI · in the page plugins/mods/api …de/prompt-caching). The API caches the start of a request, called the prefix, up to a [cache breakpoint](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#explicit-cache-breakpoints… Mods reference Claude Code CLI · in the page plugins/mods/reference …e plugin validate` prints them. Each call is written without the `$.` prefix, such as `fs.read`. | `{ refuse: reason }` | | `engine.create` | The mods API is being built for this mod | A changed mods… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …matches anywhere in the path, so start it with `^` to pin a directory prefix. `".*"` allows every local path. * **`skills-dir`**: `{ "source": "skills-dir" }` matches no marketplace. For what it does,… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …directory name; the `Failed to install plugin "<name>@<marketplace>"` prefix carries the plugin's real name. The wording says which check failed: * **`corrupt manifest file`, followed by `JSON parse… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …ge. The API caches by matching the start of each request, called the prefix, against content it recently processed. On a normal turn, the prefix is the entire previous request and only the latest exc… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …he session list at claude.ai/code. | | `--remote-control-session-name-prefix <prefix>` | Prefix for auto-generated session names when no explicit name is set. Defaults to your machine's hostname, prod… Automate work with scheduled tasks Claude Code CLI · in the page routines …repository is cloned at the start of a run. Claude creates `claude/`-prefixed branches for its changes. **5. Select an environment** After you select a repository, **Cloud environment** appears bel… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …o '{}' > ~/.claude.json; } ``` Install the runtime globally, under a prefix outside every path you allow writes to: ```bash theme={null} npm install -g @anthropic-ai/sandbox-runtime ``` Once the se… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …the [`!` shell-mode prompt](/docs/en/interactive-mode#shell-mode-with-prefix) runs unsandboxed in most sessions. [Strict sandbox mode](#turn-off-the-retry-with-strict-sandbox-mode) lists the sessions… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …substrings: ["sk_live_", "AKIA"] reminder: "Hardcoded API key prefix. Load credentials from the secret manager." - rule_name: tenant_unfiltered_query regex: "\\.objects\\.all\\(\\)"… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …| | :- | :- | | `CLAUDE_CODE_SESSION_ACCESS_TOKEN` | The session JWT, prefixed `sk-ant-cc-`. Its `act` claim identifies the session creator, with the creator's email when the creating surface recorded… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …The value of `CLAUDE_CODE_SESSION_ACCESS_TOKEN` has an `sk-ant-cc-` prefix followed by a standard three-part JWT: ```text theme={null} sk-ant-cc-<base64url header>.<base64url payload>.<base64url si… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …gh, and a child metric whose name would collide with the runner's own prefix is dropped. At the default `--capacity 1`, the rewrite doesn't apply: the session's child binds its own Prometheus endpoin… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …the dispatch CLI prints is in session_... form. Same id, different # prefix. sid=$(printf '%s' "${CLAUDE_CODE_REMOTE_SESSION_ID:-}" | sed 's/^cse_/session_/') [ -n "$sid" ] || exit 0 # last_assistan… Claude Code settings Claude Code CLI · in the page settings …File` from your global git config when it's set to an absolute or `~`-prefixed path, otherwise `$XDG_CONFIG_HOME/git/ignore`, or `~/.config/git/ignore`. If you create the file by hand or have Claude w… All settings Claude Code CLI · in the page settings-reference …her Bash or PowerShell runs the shell commands you type with the [`!` prefix](/docs/en/interactive-mode#shell-mode-with-prefix) | Interface and terminal | Any file | | [`defaultToAgentsView`](#default… Advanced setup Claude Code CLI · in the page setup …inux-package-managers) or your own deployment tooling. A per-user npm prefix and the native installer's default `~/.local/share/claude/versions/` directory both sit in the home directory. * **Keep eac… Extend Claude with skills Claude Code CLI · in the page skills …amed skill from an added directory An added directory's skill gets a prefix when its folder name clashes with an enterprise, personal, or project skill, or one in a directory added earlier. To run it… Customize your status line Claude Code CLI · in the page statusline …tly. | Field | Description | | - | - | | `warm` | Whether the cached prefix is still within its TTL. `false` when the last response reported no cache tokens, even while `caching_observed` is `true` |… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …ext. * In a [shell mode](/docs/en/interactive-mode.md#shell-mode-with-prefix) command or a `/` command, where the removal would change what runs, and in any prompt the removal leaves empty, Claude Cod… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …led to fetch organization UUID:`, then read the error text after that prefix on the newest matching line. This fix requires extension version 2.1.307 or later, so update the extension first. Then set… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …LE=1`Hardened Bash tool permissions: backslash-escaped flags, env-var prefixes, `/dev/tcp` redirects, and compound commands now prompt correctly`UserPromptSubmit` hooks can set the session title via `… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …ode.md#understand-the-cost-tradeoff) Other wins In `claude agents`, prefix a shell command with `!` to run it as a background job you can attach to and detach from; also available as `claude --bg --… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …ude mcp login, get a response to shell mode command output with the ! prefix, and resume a conversation from before /clear with /rewind. Releases [v2.1.185 → v2.1.193](/docs/en/changelog.md#2-1-185)… Week 37 · September 7–11, 2026 Claude Code CLI · in the page whats-new/2026-w37 …rendering. A plugin skill also matches on its name without the plugin prefixIn the VS Code extension, click the agent count at the bottom of the prompt box to open the [agent map](/docs/en/vs-code.md#… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …schema, and working directory build the same tools-and-system-prompt prefix, so an agent that starts after a matching sibling's response has begun reads that sibling's cache on its first request. A…
Feedback