350 pages for wrap.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…is string replaces the default plan-mode workflow body. The CLI still wraps it with the read-only enforcement preamble and the ExitPlanMode protocol footer | | `plugins` | [`SdkPluginConfig`](#sdkplug…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…t and can explore the problem without waiting on each other: ```text wrap theme={null} I'm designing a CLI tool that helps developers track TODO comments across their codebase. Spawn three teammates…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…gitimately needs longer, such as browser-based SSO with MFA through a wrapper like `aws-vault`, raise the limit in milliseconds with [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.co…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…[What you can build](#what-you-can-build) for more patterns. ```text wrap theme={null} Make an artifact that walks through this PR with the diff annotated inline. ``` ```text wrap theme={null} Build…
Authentication
Claude Code CLI · in the page
authentication
…Y`, and `ANTHROPIC_AUTH_TOKEN` apply to the CLI and the surfaces that wrap it, including the VS Code extension, the Agent SDK, and GitHub Actions. Claude Desktop and cloud sessions do not call `apiKey…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…es everywhere else. The sandbox still confines the [shell commands it wraps](https://code.claude.com/docs/en/sandboxing.md#what-runs-outside-the-sandbox). > [!NOTE] > > You can also say `don't push u…
Claude Code changelog
Claude Code CLI · in the page
changelog
…n examples * Fixed needless permission prompts for read-only commands wrapped in a plain `timeout DURATION`, such as `timeout 30 rg foo` * Fixed WebFetch describing claude.ai shared-chat links as empt…
Channels reference
Claude Code CLI · in the page
channels-reference
…rplugin@yourmarketplace # Testing a bare .mcp.json server (no plugin wrapper yet) claude --dangerously-load-development-channels server:webhook ``` Run the development flag in an interactive session…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…and reports what it finds, all from your terminal or editor: ```text wrap theme={null} Go to code.claude.com/docs, click on the search box, type "hooks", and tell me what results appear ``` If Claud…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…piKeyHelper` and `statusLine` * the sandbox binary settings `sandbox.bwrapPath`, `sandbox.socatPath`, and `sandbox.ripgrep` * Sandbox settings that intercept traffic, inject credentials, or weaken iso…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ut `-p`. The CLI prefixes errors with `Error: `. A failed delivery is wrapped as `failed to send message to cloud session <id>: <reason>`. | Message | What it means | | - | - | | `Cloud sessions aren…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…rflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{node.label}</span> {node.badge && BADGE_STYLES[node.badge] && <span title={BADGE_STYLES[node.badge].label}…
claude-tag
Claude Code CLI · in the page
claude-tag
…vg><span class="text-sm text-gray-500 dark:text-white/50 whitespace-nowrap">Ask Assistant</span><span class="flex-none text-xs font-semibold">⌘<!-- -->I</span></button></div><div class="flex-1 relativ…
Common workflows
Claude Code CLI · in the page
common-workflows
…eme={null} claude ``` **3. Ask for a high-level overview** ```text wrap theme={null} give me an overview of this codebase ``` **4. Dive deeper into specific components** ```text wrap theme={null}…
Explore the context window
Claude Code CLI · in the page
context-window
…style={{ display: 'flex', gap: 12, marginTop: 6, flexWrap: 'wrap', justifyContent: 'space-between' }}> <div style={{ display: 'flex', gap: 12, flexWrap: 'w…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…nt view session, through a required launcher with CLAUDE_CODE_PROCESS_WRAPPER or the processWrapper setting. Some organizations require every process on a workstation to start through a mandatory lau…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…is example is a prompt you type, not a message Claude sends: ```text wrap theme={null} Ask the session running in my other terminal whether the migration finished ``` Claude writes the actual messag…
Desktop application
Claude Code CLI · in the page
desktop
…r tool prints other lines before the host, such as progress messages, wrap it in a script that prints only the host. The following script prints the last line of your tool's output. If your tool fails…
Environment variables
Claude Code CLI · in the page
env-vars
…needs longer, such as a browser-based SSO sign-in with MFA through a wrapper like `aws-vault`. Applies wherever Claude Code signs with the default chain: [Amazon Bedrock](/docs/en/amazon-bedrock#cred…
Error reference
Claude Code CLI · in the page
errors
…ttps://code.claude.com/docs/en/troubleshoot-install.md). Except for [Wrapper and IDE errors](#wrapper-and-ide-errors), which the launching program prints rather than Claude Code itself, these errors…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…oo narrow for the full label, the button shortens the hint instead of wrapping onto the transcript row underneath. To turn auto-follow off entirely so the view stays where you leave it, open `/config…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…mention `@claude` in any issue or PR comment with a request: ```text wrap theme={null} @claude implement this feature based on the issue description @claude how should I implement user authentication…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…le use cases ### Turn issues into MRs In an issue comment: ```text wrap theme={null} @claude implement this feature based on the issue description ``` Claude analyzes the issue and codebase, write…
Glossary
Claude Code CLI · in the page
glossary
…attribution lines In a logged API request, a system reminder appears wrapped in `<system-reminder>` tags inside a user message, or on some models as a separate message with the `system` role. Learn…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…ctive goal before it resolves. ## How evaluation works `/goal` is a wrapper around a session-scoped [prompt-based Stop hook](https://code.claude.com/docs/en/hooks.md#prompt-based-hooks). Each time C…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…mpt from the command line. ### Add Claude to a build script You can wrap a non-interactive call in a script to use Claude as a project-specific linter or reviewer. This `package.json` script pipes…
Hooks reference
Claude Code CLI · in the page
hooks
…ywhere in the value. `Edit.*` matches both `Edit` and `NotebookEdit`; wrap the pattern in `^` and `$`, as in `^Edit$`, when you need a whole-string match. `FileChanged` and `StopFailure` use a narrow…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…urning it ends the turn with the tool call preserved, so an Agent SDK wrapper can collect input and resume. See [Defer a tool call for later](https://code.claude.com/docs/en/hooks.md#defer-a-tool-call…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…mand history | When the input spans more than one visual row, whether wrapped or multiline, first moves the cursor within the prompt. Once the cursor is on the first or last visual row, pressing again…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…tterns - Use `supertest` for HTTP assertions, not raw fetch - Always wrap database tests in a transaction that rolls back - Mock external services in `src/__tests__/mocks/` ``` A different subdirect…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…wording, so forward error response bodies unmodified. A gateway that wraps upstream errors in its own envelope breaks the recovery path, even when it preserves the status code, unless the envelope's…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…fied**: Claude Code's automatic recovery matches on error wording, so wrapping errors in the gateway's own envelope breaks it, unless the envelope's message carries one of the `capability_rejected:` t…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…es Claude Code v2.1.273 or later * The sandbox binary paths `sandbox.bwrapPath` and `sandbox.socatPath` * The sandbox `ripgrep` binary, [`sandbox.ripgrep`](https://code.claude.com/docs/en/settings-ref…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…lock written for another MCP client, such as Claude Desktop, uses the wrapper key and entry shape Claude Code reads. Pass `claude mcp add-json` the object inside `mcpServers`, not the wrapper. Two ent…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…use the new server by name: ```bash theme={null} claude ``` ```text wrap theme={null} Use the claude-code-docs server to look up what MCP_TIMEOUT does ``` > [!NOTE] > > You don't normally need to n…
How Claude remembers your project
Claude Code CLI · in the page
memory
…the first space, even when the import is on a line of its own. A path wrapped in quotes isn't imported at all, with or without the backslashes. This import loads a file from a folder named `Design Doc…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…| | | `gen_ai.response.finish_reasons` | Same value as `stop_reason`, wrapped in a string array. OpenTelemetry GenAI semantic convention | | Each retry attempt is also recorded as a `gen_ai.request.a…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…y looking up `claude` on `PATH`, so every background agent bypasses a wrapper you place earlier on `PATH`. Set the [`processWrapper`](https://code.claude.com/docs/en/settings-reference#processwrapper…
Output styles
Claude Code CLI · in the page
output-styles
…──────────────── - Every route in this repo goes through the withAuth wrapper, so the new endpoint gets session checks without its own middleware. - Rate limits are set per route in limits.ts, which i…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…json` for the starting permission mode. When `claudeCode.claudeProcessWrapper` is set, items 3 and 4 don't apply: those conversations start in Manual unless item 1 or item 2 sets a permission mode. >…
Configure permissions
Claude Code CLI · in the page
permissions
…missions). To stop the prompts for a command that starts with an exec wrapper such as `watch`, or for a `find` command with an action such as `-delete`, see [Exec wrappers and `find` actions](#exec-wr…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…nd, so run shell-granting suites under WSL2; on Linux, install `bubblewrap` and `socat` first. See the [sandboxing prerequisites](https://code.claude.com/docs/en/sandboxing.md). ### Command options…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…*Quoting**: when `command` has no `args`, it runs through a shell, so wrap the `${CLAUDE_PLUGIN_ROOT}` path in double quotes, as the `hooks/hooks.json` example under [Hooks](#hooks) does, to keep the…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…ile | Package manager | | :- | :- | | `bun.lock` | Bun | | `npm-shrinkwrap.json` or `package-lock.json` | npm | If a plugin contains more than one of these lockfiles, Claude Code uses the first match…
Plugin manifest reference
Claude Code CLI · in the page
plugins/manifest-reference
…(https://code.claude.com/docs/en/hooks.md#hook-events). A hooks file wraps the event map in a top-level `"hooks"` key, the shape [`hooks/hooks.json`](https://code.claude.com/docs/en/plugins/component…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…art` hook doesn't run either. Register commands last in that hook, or wrap the call in `try` and `catch`. ### Add a tool A tool is for Claude. Register it with a name, a description Claude reads, an…
Draw in the interface with a mod
Claude Code CLI · in the page
plugins/mods/interface
…| `Text` | Styled text. Takes `color`, `bold`, `dimColor`, `italic`, `wrap`, and others such as [`weight`](https://code.claude.com/docs/en/plugins/mods/reference#text-typography). A `color` is a theme…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…old), `italic`, `underline`, `strikethrough`, `dimColor`, `inverse`, `wrap`, [`size`, `weight`, `mono`, `tabular`](#text-typography), `hover` | ✓ | ✓ | ✓ | | [`Button`](https://code.claude.com/docs/en…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…E_PLUGIN_ROOT}` outside quotes and the install path contains a space. Wrap the variable in double quotes or use [exec form](https://code.claude.com/docs/en/hooks.md#exec-form-and-shell-form). To find…
Prompt library
Claude Code CLI · in the page
prompt-library
…color: var(--pl-text-4); } .pl-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; } .pl-tag { padding: 7px 14px; border: 1px solid var(--pl-border); backgro…