1,027 pages for path.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…o blocks to disk and Claude receives a text block with the saved file path; in Python, the SDK drops audio blocks from the tool result and logs a warning. Claude receives each resource link block as…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…modified to their content at that point. Claude Code skips a tracked path that is a symlink, hard link, or other non-regular file. It also skips a tracked file whose parent directory no longer resolv…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…and outputs** to sanitize data, inject credentials, or redirect file paths * **Require human approval** for sensitive actions like database writes or API calls * **Track session lifecycle** to manage…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…#name-the-project-directory-yourself) in `env` to keep the transcript paths under it short. Requires TypeScript Agent SDK v0.3.234 or later, or Python Agent SDK v0.2.140 or later. * Use a per-tenant w…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…a local filesystem MCP server for `/Users/me/projects`. Replace that path with a directory on your machine: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sd…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…ude Code gives Claude for every response. CLAUDE.md takes a different path: the SDK reads it and injects its content into the conversation as project context, so it shapes behavior alongside whichever…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…d environment in TypeScript, so spread // process.env first to keep PATH, ANTHROPIC_API_KEY, and other variables. options: { env: { ...process.env, ...otelEnv } }, })) { console.log(message); }…
Agent SDK overview
Claude Code CLI · in the page
agent-sdk/overview
…ackage skills, agents, hooks, and MCP servers, and load them by local path | [Plugins](/docs/en/agent-sdk/plugins.md) | ## Get started Follow the [Quickstart](/docs/en/agent-sdk/quickstart.md) to in…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…or `rmdir` command whose target Claude Code recognizes as a [critical path](/docs/en/permission-modes.md#critical-paths), such as `rm -rf ~`. For what that `allow` does in plan mode, see [Hook approva…
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…## Loading plugins Load plugins by providing their local file system paths in your options configuration. The `type` field must be `"local"`, the only value the SDK accepts. The SDK supports loading…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ctory` is inside a git repository, include sessions from all worktree paths | #### Return type: `SDKSessionInfo` | Property | Type | Description | | :- | :- | :- | | `session_id` | `str` | Unique se…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…cs/en/setup.md#install-claude-code). The Python SDK finds it on your `PATH`. > * The TypeScript SDK installs its binary through npm optional dependencies, so an install that skips them, for example `n…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…behalf. Unlike traditional software that follows predetermined code paths, these tools generate their actions dynamically based on context and goals. This flexibility is what makes them useful, but…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…type SessionKey = { projectKey: string; sessionId: string; subpath?: string; }; type SessionStore = { // Required append(key: SessionKey, entries: SessionStoreEntry[]): Promise<void>; l…
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
…cond block resumes the original `session_id` to continue down the JWT path. You now have two session IDs pointing at two separate histories: ```python Python theme={null} import asyncio from claude_a…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…s` option](/docs/en/agent-sdk/plugins) to load skills from a specific path. ## Use skills with the Agent SDK Set the `skills` option on `query()` to control which skills Claude can invoke in the ses…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…nt to subagent is the Agent tool's prompt string, so include any file paths, error messages, or decisions the subagent needs directly in that prompt. A subagent that has the [`SendMessage`](/docs/en/…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…efaults through the Claude Code binary that it bundles. If you point `pathToClaudeCodeExecutable` (TypeScript) or `cli_path` (Python) at your own Claude Code install, you get whichever tools that inst…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…a `CLINotFoundError`: ``` Claude Code not found at: /your/configured/path ``` The message includes the configured path when you set `ClaudeAgentOptions(cli_path=...)` and it points at a missing file…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…SDK throws `Native CLI binary for <platform>-<arch> not found`; set [`pathToClaudeCodeExecutable`](#options) to a separately installed `claude` binary instead. > > If your package manager doesn't appl…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…| | `Bash` | `command`, `description`, `timeout` | | `Write` | `file_path`, `content` | | `Edit` | `file_path`, `old_string`, `new_string` | | `Read` | `file_path`, `offset`, `limit` | See the SDK r…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…requested split panes, ensure tmux is installed and available in your PATH: ```bash theme={null} which tmux ``` * For iTerm2, verify the `it2` CLI is installed and the Python API is enabled in i…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…, so you can select a group and dispatch into it without retyping the path. ### Send or copy a session to the background Two commands move work from the session you're in to the background: `/backgr…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…D_CREDENTIALS_FILE` or `AWS_CONFIG_FILE` to point at non-default file paths. Run `/status` to see the resolved region. When the region came from your AWS config files or the default fallback, Claud…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…wer-domain): cdnjs, unpkg, the Tailwind and jQuery CDNs, and selected paths on jsDelivr such as `/npm/`. The CSP blocks every external image and all other external scripts, stylesheets, and fonts, and…
Authentication
Claude Code CLI · in the page
authentication
…thod` to `"claudeai"`. On Claude Code v2.1.212 or later, every login path listed here applies `forceLoginMethod`. On the terminal's interactive login screen, reached by `/login` or first-run onboardi…
Auto mode classifier request charges
Claude Code CLI · in the page
auto-mode-classifier-billing
…appears, the usual causes are: * **An LLM gateway or proxy is in the path**: one that strips or rewrites request headers, drops request fields it doesn't recognize, or edits responses. The server the…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…**Sensitive data locations & audiences**: the buckets, databases, or paths that hold personal data, confidential business data, credentials, regulated data, or similarly sensitive material, and the a…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…value over time. CLAUDE.md files can import additional files using `@path/to/import` syntax. For import rules and where CLAUDE.md files can live, see [CLAUDE.md files](/docs/en/memory.md#claude-md-fi…
Champion kit
Claude Code CLI · in the page
champion-kit
…herever your team already reads. The goal is to place examples in the path of normal work rather than to create a destination. | Location | Best suited for | Recommended format | | - | - | - | | A `#…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ings exclude from the sandbox to ask before writing to its write-list paths while the sandbox is enabled but cannot run; the unsandboxed fallback is refused there * Changed worktree creation and reuse…
Channels reference
Claude Code CLI · in the page
channels-reference
…ol) so Claude can send messages back. A channel with a trusted sender path can also opt in to [relay permission prompts](#relay-permission-prompts) so you can approve or deny tool use remotely. This…
Checkpointing
Claude Code CLI · in the page
checkpointing
…it and leaves your files as they are. ### Symlinked and hard-linked paths not restored Checkpointing doesn't rewind symlinked or hard-linked files. When you pick **Restore code** or **Restore code…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…e it to disk ``` Claude saves the image to disk and reports the file path. ## Troubleshooting ### Extension not detected If Claude Code can't detect the Chrome extension: 1. Verify the Chrome ext…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…s from Claude Code. ## Quickstart This quickstart walks the minimal path: register an OAuth client in your IdP, write a `gateway.yaml`, run the gateway alongside Postgres with Docker Compose, and ve…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…teway reads the file once, at startup, with `claude gateway --config /path/to/gateway.yaml`. Every option is validated against a schema at boot, so a malformed config fails at start with a field-level…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…own credential can still call the provider directly, so closing that path is a network policy decision, for example blocking egress to `api.anthropic.com` except from the gateway. Blocking that egres…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…Create the security groups** Three security groups chain the traffic path: your corporate network reaches the load balancer on 443, the load balancer reaches the gateway on 8080, and the gateway reac…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…tainer.googleapis.com ``` The APIs you need depend on the deployment path: * `compute` and `servicenetworking`: needed for the private-IP Cloud SQL path * `run`: Cloud Run only * `container`: GKE on…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…elow are served under `/v1/organizations/spend_limits`. | Method and path | Description | | - | - | | `GET /v1/organizations/spend_limits` | List configured caps, optionally filtered to one `scope_ty…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ploaded, and neither is one Claude Code created with [`worktree.sparsePaths`](/docs/en/settings-reference#worktree-sparsepaths). Start from the repository's main checkout instead. * **Git configuratio…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…specific tasks, move it to a <A href="/docs/en/skills">skill</A> or a path-scoped <A href="/docs/en/memory#organize-rules-with-claude/rules/">rule</A> so it loads only when needed</>, 'List the comman…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…tory when the thread starts. `CLAUDE.md` files in subdirectories and [path-specific rules](/docs/en/memory.md#path-specific-rules) aren't loaded | | Skills under `.claude/skills/` | Not loaded. Enable…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…workflows row in `/config`. * Python 3.9 or later available on your `PATH` as `python3`. Check with `python3 --version`. The plugin's tooling uses only the Python standard library, so nothing is inst…
claude-tag
Claude Code CLI · in the page
claude-tag
…ble" data-assistant-state="closed" data-page-mode="none" data-current-path="/"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><li…
CLI reference
Claude Code CLI · in the page
cli-reference
…ew) to monitor and dispatch parallel background sessions. Use `--cwd <path>` to show only sessions started under that directory, or `--json` to print active sessions as a JSON array for scripting (`--…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…el you pick, sessions can still reach these, because each one takes a path that doesn't go through the session's network allowlist: * GitHub, through its [separate proxy](#github-proxy) * [MCP connec…
Code Review
Claude Code CLI · in the page
code-review
…rules in a subdirectory's `CLAUDE.md` apply only to files under that path. See the [memory documentation](/docs/en/memory) for more on how `CLAUDE.md` works. For review-specific guidance that you do…
Customize Code Review
Claude Code CLI · in the page
code-review-customize
…ull requests with REVIEW.md and CLAUDE.md: recalibrate severity, skip paths, add checks, and see which copy applies. You can change what [Code Review](/docs/en/code-review.md) flags on your repositor…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…bugs in your branch's changes, point the review at a pull request or path, and have Claude apply the fixes. `/code-review` is a command you type at the Claude Code prompt, in the session where you'r…