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

593 pages for theme.

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

Blend your MCP App with Claude's theme Claude Documentation · title connectors/building/mcp-apps/transparent-theming optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …ed binary rubrics. Measured on a 50-task subset stratified across all themes, one attempt per task, 3 runs per setting, on [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/ov… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …s: - [ ] Step 1: Read all source documents - [ ] Step 2: Identify key themes - [ ] Step 3: Cross-reference claims - [ ] Step 4: Create structured summary - [ ] Step 5: Verify citations ``` **Step 1:… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …zing literary works. Your goal is to provide insightful commentary on themes, characters, and writing style.\n" }, { "type": "text", "text":… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …zing literary works. Your goal is to provide insightful commentary on themes, characters, and writing style.", "messages": [ { "role": "user", "content": "Analyze the… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …distinctive choices that elevate the frontend's aesthetics. - Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, eve… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …previous sessions we've had together. Use subagents to identify core themes and lessons, and store them in [X]. Make sure you know to reference [X] for future use. ``` ## Rare cases of early stoppin… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …cks context-specific character. Use unique fonts, cohesive colors and themes, and animations for effects and micro-interactions. </frontend_aesthetics> ``` ## Interactive coding products Claude Opus… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …cks context-specific character. Use unique fonts, cohesive colors and themes, and animations for effects and micro-interactions. </frontend_aesthetics> ``` ## Interactive coding products Token usage… claude-sonnet-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-5 …ucational purposes, engaging in creative writing that involves mature themes like mild violence or tasteful romance, providing general information about topics like weapons, drugs, sex, terrorism, abu… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …ice! 'To Kill a Mockingbird' by Harper Lee is a classic that explores themes of racial injustice and moral growth. How are you finding it so far?", }, { "… Use Claude Code with a screen reader Claude Code CLI · in the page accessibility …ttings for screen magnifiers, reduced motion, and colorblind-friendly themes. Claude Code has a screen reader mode that replaces its visual terminal interface with plain, linear text. Instead of boxe… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …ult without opening a session, set it in your settings file: ```json theme={null} { "advisorModel": "opus" } ``` ### Use the `--advisor` flag To set the advisor for a single session without chang… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …xample: Check message types and handle results** > > ```python Python theme={null} > import asyncio > from claude_agent_sdk import query, AssistantMessage, ResultMessage, TextBlock, ToolUseBlock > > >… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …setting `settingSources` to `["user", "project"]`: ```python Python theme={null} from claude_agent_sdk import query, ClaudeAgentOptions, AssistantMessage, ResultMessage import asyncio async def ma… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …unt * **`cwd`**: sets the working directory ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Summarize the… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …tal cost when the `result` message arrives: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prompt: "Summari… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …with the package manager your project uses: **Python (uv)** ```bash theme={null} uv add httpx ``` **Python (pip)** ```bash theme={null} pip install httpx ``` ### Weather tool example This exampl… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …le's numbered comments match the steps that follow. ```python Python theme={null} import asyncio from claude_agent_sdk import ( ClaudeSDKClient, ClaudeAgentOptions, UserMessage, Resul… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …nDecision: "deny"` to block the operation (step 5): ```python Python theme={null} import asyncio from claude_agent_sdk import ( AssistantMessage, ClaudeSDKClient, ClaudeAgentOptions,… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …e options of each session's `query()` call: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Summarize the… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …ldcard to permit all tools from the server. ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Use the docs… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …ipt or JavaScript project **1. Uninstall the old package:** ```bash theme={null} npm uninstall @anthropic-ai/claude-code ``` **2. Install the new package:** ```bash theme={null} npm install @anthr… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …gent prompt and your project's conventions: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; const messages = []; for await (const message of query({… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …e.com` while the loop consumes the response stream: ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAgentOptions OTEL_ENV = { "CLAUDE_CODE_ENABLE_TELEMETRY… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …pair `allowedTools` with `permissionMode: "dontAsk"`: ```typescript theme={null} const options = { allowedTools: ["Read", "Glob", "Grep"], permissionMode: "dontAsk" }; ``` Listed tools are appr… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …erence](#plugin-structure-reference) below. ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Hello", opt… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …m Python fails with `error: externally-managed-environment`. ```bash theme={null} python3 -m venv .venv source .venv/bin/activate pip install claude-agent-sdk ``` For uv, Windows PowerShell, and API… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …roject folder** Create a new directory for this quickstart: ```bash theme={null} mkdir my-agent cd my-agent ``` For your own projects, you can run the SDK from any folder; it will have access to fi… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …ased allowlists for domains and filesystem paths **Setup:** ```bash theme={null} npm install @anthropic-ai/sandbox-runtime ``` Then create a configuration file specifying allowed paths and domains.… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …ry and `load` to read them back for resume. ```typescript TypeScript theme={null} // Exported from @anthropic-ai/claude-agent-sdk as // SessionStore, SessionKey, SessionStoreEntry, SessionSummaryEntr… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …first without any explicit `resume` or session ID: ```python Python theme={null} import asyncio from claude_agent_sdk import ( ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage,… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …xample, to let Claude invoke only two named skills: ```python Python theme={null} options = ClaudeAgentOptions(skills=["pdf", "docx"]) ``` ```typescript TypeScript theme={null} const options = { ski… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …n for `content_block_delta`, then for `text_delta`: ```python Python theme={null} from claude_agent_sdk import query, ClaudeAgentOptions from claude_agent_sdk.types import StreamEvent import asyncio… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …ge the filename to point at your own image. ```typescript TypeScript theme={null} import { query, type SDKUserMessage } from "@anthropic-ai/claude-agent-sdk"; import { readFile } from "fs/promises";… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …e directly in your app. > **Without structured outputs** > > ```text theme={null} > Here's a classic chocolate chip cookie recipe! > > **Chocolate Chip Cookies** > Prep time: 15 minutes | Cook time:… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …access and a test runner that can execute commands. ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAgentOptions, AgentDefinition async def main(): async… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …uming the canonical name is always present. ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prompt: "Cre… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …t can defer reach 5% of the context window: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prompt: "Fin… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …uding all functions, types, and interfaces. ## Installation ```bash theme={null} npm install @anthropic-ai/claude-agent-sdk ``` > [!NOTE] > > The SDK bundles a native Claude Code binary for your pl… TypeScript SDK V2 session API (removed) Claude Code CLI · in the page agent-sdk/typescript-v2-preview …last V2-compatible release, pin the major and minor version: ```bash theme={null} npm install @anthropic-ai/[email protected] ``` > [!NOTE] > > The SDK bundles a native Claude Code binary for you… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …ut, receiving the tool name and input as arguments: ```python Python theme={null} from claude_agent_sdk import ClaudeAgentOptions async def handle_tool_request(tool_name, input_data, context):… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …through [settings.json](/docs/en/settings.md): ```json settings.json theme={null} { "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } } ``` Enabling agent teams also changes ordinary de… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …e back to it. **1. Open agent view** From your shell, run: ```bash theme={null} claude agents ``` If you haven't yet accepted the [workspace trust dialog](/docs/en/permissions.md#project-allow-rul… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …key ID, secret access key, and default region when prompted: ```bash theme={null} aws configure ``` The AWS CLI saves the key to the `default` profile in `~/.aws/credentials`, where the credential c… Share session output as artifacts Claude Code CLI · in the page artifacts …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 a da… Authentication Claude Code CLI · in the page authentication …es your work account while `claude` keeps your personal one: ```bash theme={null} alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude' ``` After you open a new terminal and run `claude-work`… Auto mode classifier request charges Claude Code CLI · in the page auto-mode-classifier-billing …n your account those requests count toward your token usage: ```text theme={null} We're changing auto mode to no longer charge for classifier requests in Claude Code. However, this session isn't elig… Configure auto mode Claude Code CLI · in the page auto-mode-config …n your [settings](/docs/en/settings.md#where-settings-live): ```json theme={null} { "permissions": { "ask": [ "Bash(git push *)", "Bash(gh pr create *)" ] } } ``` These rules… Best practices for Claude Code Claude Code CLI · in the page best-practices …tions without making changes. ```txt title="claude (plan mode)" wrap theme={null} read /src/auth and understand how we handle sessions and login. also look at how we manage environment variables for…
Feedback