Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

977 pages for system.

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

Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …your application's working directory. When sessions need separate filesystems, pass a distinct `cwd` in the options of each session's `query()` call: ```typescript TypeScript theme={null} import { qu… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …directly in the `mcpServers` option. This example starts a local filesystem MCP server for `/Users/me/projects`. Replace that path with a directory on your machine: ```typescript TypeScript theme={n… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …ions(model="claude-opus-4-7", permission_mode="acceptEdits") ``` ### System prompt no longer default **What changed:** The SDK no longer uses Claude Code's system prompt by default. **Migration:**… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …ssions), [Memory](https://code.claude.com/docs/en/agent-sdk/modifying-system-prompts.md), [Configuration loading](https://code.claude.com/docs/en/agent-sdk/claude-code-features.md) | | Plugins | Packa… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …lf can still write under `/secrets`. For enforcement by the operating system, see [Configure the sandboxed Bash tool](https://code.claude.com/docs/en/sandboxing.md). * **`/path`**: `Edit(/secrets/**)`… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins ….md). ## 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 l… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …, Ubuntu, and Homebrew Python installs, running `pip install` against system Python fails with `error: externally-managed-environment`. ```bash theme={null} python3 -m venv .venv source .venv/bin/act… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …: "acceptEdits"` to auto-approve file changes. Other options include `systemPrompt`, `mcpServers`, and more. See all options for [Python](https://code.claude.com/docs/en/agent-sdk/python.md#claudeagen… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …s://platform.claude.com/docs/en/about-claude/models/overview) and the system card for the model you deploy for evaluation details. Defense in depth is still good practice though. For example, if an a… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …anscripts to JSONL files under `~/.claude/projects/` on the local filesystem. A `SessionStore` adapter lets you mirror those transcripts to your own backend, such as an object store, a key-value store… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …ch. > [!NOTE] > > Sessions persist the **conversation**, not the filesystem. To snapshot and revert file changes the agent made, use [file checkpointing](https://code.claude.com/docs/en/agent-sdk/fil… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …SDK When using the Claude Agent SDK, skills are: * **Defined as filesystem artifacts**: you create each skill as a `SKILL.md` file in its own directory, such as `.claude/skills/<name>/SKILL.md` * **… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …receive all message types except `StreamEvent`. Common types include `SystemMessage` (session initialization), `AssistantMessage` (complete content blocks), `ResultMessage` (final result), and a compa… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …ool to the session, and the agent calls it to return its answer. The [system init message](https://code.claude.com/docs/en/agent-sdk/typescript.md#sdksystemmessage) lists it in the `tools` array, and… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …e.com/docs/en/agent-sdk/python.md#agentdefinition) references * **Filesystem-based**: define agents as markdown files in `.claude/agents/` directories. See [defining subagents as files](https://code.c… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …d#handle-the-result) for the result subtypes. > [!NOTE] > > The task system messages, [`SDKTaskNotificationMessage`](https://code.claude.com/docs/en/agent-sdk/typescript#sdktasknotificationmessage) (… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …h more queries than generic ones ("Query Slack"). You can also add a system prompt section listing available tool categories. This gives the agent context about what kinds of tools are available to s… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …ugins.md#troubleshooting) | | Claude not delegating to subagents, filesystem-based agents not loading | [Subagents troubleshooting](https://code.claude.com/docs/en/agent-sdk/subagents.md#troubleshooti… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …` does not work inside the compiled executable's `$bunfs` virtual filesystem, so the SDK throws `Native CLI binary for <platform>-<arch> not found`. To work around this, embed the platform binary as… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …serQuestion`'s multiple-choice format * **Integrate external approval systems**: connect to existing ticketing, workflow, or approval platforms * **Implement domain-specific interactions**: create too… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …rm2. > [!NOTE] > > `tmux` has known limitations on certain operating systems and traditionally works best on macOS. Using `tmux -CC` in iTerm2 is the suggested entrypoint into `tmux`. The default is… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …ng ✽ collision detection Adding swept-AABB checks to CollisionSystem 2m ✢ playtest level 3 all checkpoints cleared ×12 in 4m Completed ✻ title screen… Share session output as artifacts Claude Code CLI · in the page artifacts …/tasks` groups the watches Claude Code started on its own under the **System tasks** row. Press `Enter` on that row to list them. A watch you asked Claude to start appears under **Monitors**. You can… Authentication Claude Code CLI · in the page authentication …** Each invited user needs to: * Accept the Console invite * [Check system requirements](https://code.claude.com/docs/en/setup.md#system-requirements) * [Install Claude Code](https://code.claude.com… Auto mode classifier request charges Claude Code CLI · in the page auto-mode-classifier-billing …it prints the text to stderr, and in `stream-json` output it emits a `system` warning message, which Agent SDK applications can read from the message stream. ## Make the session eligible If a gatewa… Configure auto mode Claude Code CLI · in the page auto-mode-config …> > The classifier is a second gate that runs after the [permissions system](https://code.claude.com/docs/en/permissions.md). For actions that must never run regardless of user intent or classifier c… Best practices for Claude Code Claude Code CLI · in the page best-practices …he tools Claude needs Some of what Claude can't see lives in another system entirely, like your issue tracker or your error dashboard. If that system has a CLI, that's usually the easiest way in. Wit… Claude Code changelog Claude Code CLI · in the page changelog …or * Fixed screen reader mode delaying the prompt at startup when the system clock moved back while Claude Code was starting * Fixed a command's panel sometimes not coming back after a dialog closed,… Push events into a running session with channels Claude Code CLI · in the page channels …sn't appear or you clicked Don't Allow, grant access manually under **System Settings > Privacy & Security > Full Disk Access** and add your terminal. Without this, the server exits immediately with `… Channels reference Claude Code CLI · in the page channels-reference …icates over stdio. Your channel server is the bridge between external systems and the Claude Code session: * **Chat platforms** (Telegram, Discord): your plugin runs locally and polls the platform's… Use Claude Code with Chrome Claude Code CLI · in the page chrome …Vivaldi, and Opera. Chrome integration isn't supported in Windows Subsystem for Linux (WSL). ## Capabilities With Chrome connected, you can chain browser actions with coding tasks in a single workf… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …"allowedDomains": ["github.com", "*.npmjs.org"] }, "filesystem": { "allowManagedReadPathsOnly": true, "denyRead": ["~/"], "allowRead": ["~/projects"] } } } ``` A… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …-encoded CA certificate itself, not a path to a file. It replaces the system trust store for IdP requests only. To load a mounted file, write `${file:/etc/gateway/idp-ca.pem}`. Use for Keycloak or Dex… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …048", > "runtimePlatform": { "cpuArchitecture": "X86_64", "operatingSystemFamily": "LINUX" }, > "executionRoleArn": "arn:aws:iam::<account-id>:role/claude-gateway-execution", > "taskRoleArn": "a… Explore the .claude directory Claude Code CLI · in the page claude-directory …description: 'Each markdown file defines a subagent with its own system prompt, tool access, and optionally its own model. Subagents run in a fresh context window, keeping the main conversation c… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …findings into patches; those jobs don't support other version control systems. A full scan works in any directory, with or without version control. ## Models and providers A scan runs inside your Cl… claude-tag Claude Code CLI · in the page claude-tag …'dark';else if(p==='false')p='light';if(p!=='light'&&p!=='dark'&&p!=='system')p="system"}var r=p==='system'?(matchMedia("(prefers-color-scheme: dark)").matches?'dark':'light'):p;d.classList.remove(r==… CLI reference Claude Code CLI · in the page cli-reference …`"Bash(git log *)" "Bash(git diff *)" "Read"` | | `--append-subagent-system-prompt` | Append custom text to the end of every [subagent](https://code.claude.com/docs/en/sub-agents.md)'s system prompt,… Configure cloud environments Claude Code CLI · in the page cloud-environments …VM) running Ubuntu 24.04 on x86\_64, regardless of your own operating system and CPU architecture, with your repository cloned and common toolchains pre-installed. When a dependency provides precompil… Commands Claude Code CLI · in the page commands …| Authorize design-system access for `/design-sync` with your claude.ai account… Common workflows Claude Code CLI · in the page common-workflows …```text wrap theme={null} use a subagent to investigate how our auth system handles token refresh ``` The subagent reads files in its own context window and reports a summary. See [Subagents](https:… Communications kit Claude Code CLI · in the page communications-kit …in @src/components/Button.tsx look off, check against > @docs/design-system.md *Try it now:* type `@` then Tab. Autocomplete shows you every file in reach. 📖 Referencing files → https://code.claude… Let Claude use your computer from the CLI Claude Code CLI · in the page computer-use …what's on your screen The prompt includes links to open the relevant System Settings pane. Grant both, then select **Try again** in the prompt. macOS may require you to restart Claude Code after gran… Explore the context window Claude Code CLI · in the page context-window …TS = useMemo(() => [{}, { t: 0.015, kind: 'auto', label: 'System prompt', tokens: 4200, color: '#6B6964', vis: 'hidden', desc: 'Core instructions for behavior, tool use, an… Manage costs effectively Claude Code CLI · in the page costs …/en/prompt-caching.md), which reduces costs for repeated content like system prompts, and auto-compaction, which summarizes conversation history when approaching context limits. The following strateg… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …n macOS and Linux, Claude Code restricts the socket to your operating-system user. On native Windows, it instead requires each connection to authenticate first with a key that only your operating-syst… Data usage Claude Code CLI · in the page data-usage …Azure; only usage metadata and content flagged by Anthropic's safety systems egress to Anthropic. For Hosted on Anthropic deployments, requests route to Anthropic infrastructure with AES-256 disk enc… Debug your configuration Claude Code CLI · in the page debug-your-config …text window for the current session. It breaks this down by category: system prompt, system tools, MCP tools, custom subagents with the source each loaded from, memory files, skills, and conversation… Launch sessions from links Claude Code CLI · in the page deep-links …is a custom URL scheme that Claude Code registers with your operating system, similar to how `mailto:` links open your email client. When you click a deep link: 1. The browser or app passes the URL t… Desktop application Claude Code CLI · in the page desktop …its** | `acceptEdits` | Claude auto-accepts file edits and common filesystem commands like `mkdir`, `touch`, and `mv`, but still asks before running other terminal commands. Use this when you trust fi…
Feedback