1,005 pages for path.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…on users and be honest, but does so constructively - with kindness, empathy, and the user's best interests in mind. </tone_and_formatting> <anthropic_reminders> Anthropic has a specific set of reminde…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…push back and be honest, but does so constructively, with kindness, empathy, and the person's best interests in mind. Claude can illustrate explanations with examples, thought experiments, or metapho…
claude-sonnet-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5-5
…push back and be honest, but does so constructively, with kindness, empathy, and the person's best interests in mind. Claude can illustrate explanations with examples, thought experiments, or metapho…
develop-tests
Claude Developer Platform · in the page
test-and-evaluate/develop-tests
…a scale from 1 to 5. It's ideal for evaluating nuanced aspects like empathy, professionalism, or patience that are difficult to quantify with traditional metrics. **Example eval test cases:** 100…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…an an enforcement channel. By default, WSL reads only the Linux file path at `/etc/claude-code`. To extend your Windows registry and `C:\Program Files\ClaudeCode` policy to WSL on the same machine, s…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…valuation, or returns the final answer" width="720" height="212" data-path="images/agent-loop-diagram.svg" /> <img src="https://mintcdn.com/claude-code/_xqph1dUOslCOwsj/images/agent-loop-diagram-dark…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…lowedTools: ["Read", "Glob", "Grep"], maxTurns: 8, cwd: "/path/to/repo", }, })) { if (message.type === "result" && message.subtype === "success" && !message.is_error) { con…
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…ge shows the estimated total_cost_usd." width="760" height="520" data-path="images/agent-sdk/message-usage-flow.svg" /> <img src="https://mintcdn.com/claude-code/_xqph1dUOslCOwsj/images/agent-sdk/mes…
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
…and calls api.anthropic.com over HTTPS" width="920" height="220" data-path="images/agent-sdk/hosting-subprocess.svg" /> <img src="https://mintcdn.com/claude-code/_xqph1dUOslCOwsj/images/agent-sdk/hos…
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: <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai…
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
…environment in TypeScript, so spread // process.env first to keep PATH, ANTHROPIC_API_KEY, and other variables. options: { env: { ...process.env, ...otelEnv } }, })) { console.log(messag…
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) | ## Get started Follow the [Quickstart](/docs/en/agent-sdk/quickstart) to install…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…w also can't approve an `rm` or `rmdir` removal targeting a [critical path](/docs/en/permission-modes#critical-paths). </Step> <Step title="Deny rules"> Check `deny` rules (from `disallowed_t…
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
…/docs/en/setup#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 exampl…
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
…SessionKey = { projectKey: string; sessionId: string; subpath?: string; }; type SessionStore = { // Required append(key: SessionKey, entries: SessionStoreEntry[]): Promise<vo…
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: <CodeGroup> ```python Python theme={null} import async…
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. </Note> ## Use skills with the Agent SDK Set the `skills` option on `query()` to control which skills Claude can invoke in…
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 apply…
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
…municating directly with each other." width="4245" height="1615" data-path="images/subagents-vs-agent-teams-light.png" /> <img src="https://mintcdn.com/claude-code/nsvRFSDNfpSU5nT7/images/subagents…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…new task and a row of keyboard hints." width="1872" height="680" data-path="images/agent-view-light.png" /> <img src="https://mintcdn.com/claude-code/HDAmBwgbrZVk0pOt/images/agent-view-dark.png?fit=m…
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
…el chart, and a row of metric cards." width="2511" height="1890" data-path="images/artifacts-viewer.png" /> </Frame> ## When to use an artifact Use an artifact when terminal text is the wrong medium…
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…
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#claude-md-files…
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
…s drawing nothing when a link used a localhost address, an `@` in its path, an uppercase host or a `file:` path * Fixed a user-installed plugin being able to rewrite the descriptions of an organizat…
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
…laude did before your message arrived. ### 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. Before v2.1.211, the screenshot tool's `save_to_disk` option didn't write a file. ## Troubleshooting ### Extension not det…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…icrosoft Foundry, or the Anthropic API" width="760" height="320" data-path="images/claude-gateway-architecture.svg" /> </Frame> <Note> The gateway's own data plane sends nothing to Anthropic infras…
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
…s its image from Amazon ECR at deploy." width="820" height="430" data-path="images/claude-gateway-aws-architecture.svg" /> </Frame> The gateway runs as a private HTTPS endpoint on your network that d…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…mage from Artifact Registry at deploy." width="760" height="400" data-path="images/claude-gateway-gcp-architecture.svg" /> </Frame> The deployment consists of: * **Cloud Run** service or **GKE** Dep…
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…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…document.cookie = `ajs_anonymous_id=${vid}; domain=.claude.com; path=/; Secure; SameSite=Lax; max-age=31536000`; } try { localStorage.setItem(VID_KEY, vid); } catch {}…