Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

50 pages for theme.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

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 (August 2 to 3, 2026), scored on tasks no configuration refused. Claude Opus 4.6 judges under… 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… 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 …message types and handle results"> <CodeGroup> ```python Python theme={null} import asyncio from claude_agent_sdk import query, AssistantMessage, ResultMessage async def main():… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …ingSources` to `["user", "project"]`: <CodeGroup> ```python Python theme={null} from claude_agent_sdk import query, ClaudeAgentOptions, AssistantMessage, ResultMessage import asyncio async… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …the `result` message arrives: <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prompt: "S… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …tom tool](#call-a-custom-tool) below. <CodeGroup> ```python Python theme={null} from typing import Any import httpx from claude_agent_sdk import tool, create_sdk_mcp_server # Define a too… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …ange and see the rewind restore them. <CodeGroup> ```python Python theme={null} import asyncio from claude_agent_sdk import ( ClaudeSDKClient, ClaudeAgentOptions, UserMessage,… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …ny"` to block the operation (step 5): <CodeGroup> ```python Python theme={null} import asyncio from claude_agent_sdk import ( AssistantMessage, ClaudeSDKClient, ClaudeAgentOpt… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …ns need separate filesystems: <CodeGroup> ```typescript TypeScript theme={null} query({ prompt, options: { cwd: "/work/session-a" } }) ``` ```python Python theme={null} query(prompt=prompt… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …it all tools from the server. <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Use the… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …cript/JavaScript Projects **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 …d your project's conventions: <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; const messages = []; for await (const message of quer… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …he loop consumes the response stream: <CodeGroup> ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAgentOptions OTEL_ENV = { "CLAUDE_CODE_ENABLE_T… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …anything else is denied outright instead of prompting: ```typescript theme={null} const options = { allowedTools: ["Read", "Glob", "Grep"], permissionMode: "dontAsk" }; ``` <Warning> **`allowe… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …n-structure-reference) below. <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; for await (const message of query({ prompt: "Hello",… 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 …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 h… 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 …to read them back for resume. <CodeGroup> ```typescript TypeScript theme={null} // Exported from @anthropic-ai/claude-agent-sdk as // SessionStore, SessionKey, SessionStoreEntry, SessionSummary… 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 …Claude invoke only two named skills: <CodeGroup> ```python Python theme={null} options = ClaudeAgentOptions(skills=["pdf", "docx"]) ``` ```typescript TypeScript theme={null} const options… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …_block_delta`, then for `text_delta`: <CodeGroup> ```python Python theme={null} from claude_agent_sdk import query, ClaudeAgentOptions from claude_agent_sdk.types import StreamEvent import as… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …quests, and handles session management. ### How It Works ```mermaid theme={null} sequenceDiagram participant App as Your Application participant Agent as Claude Agent participant Tools a… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …onGroup> <Accordion title="Without structured outputs"> ```text theme={null} Here's a classic chocolate chip cookie recipe! **Chocolate Chip Cookies** Prep time: 15 minutes | Cook t… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …est runner that can execute commands. <CodeGroup> ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAgentOptions, AgentDefinition async def main():… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …nical name is always present. <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prom… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …ach 5% of the context window: <CodeGroup> ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent-sdk"; try { for await (const message of query({ prom… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …ents/typescript-sdk-type-links.js" defer /> ## Installation ```bash theme={null} npm install @anthropic-ai/claude-agent-sdk ``` <Note> The SDK bundles a native Claude Code binary for your platfor… 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 your pla… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …the tool name and input as arguments: <CodeGroup> ```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 …or through [settings.json](/docs/en/settings): ```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 …<Step title="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#project-… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …g one of these methods: **Option A: AWS CLI configuration** ```bash theme={null} aws configure ``` **Option B: Environment variables (access key)** ```bash theme={null} export AWS_ACCESS_KEY_ID=yo… 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 …, generate a one-year OAuth token with `claude setup-token`: ```bash theme={null} claude setup-token ``` The command opens the same browser authorization flow as `/login`, and the token prints to th… Configure auto mode Claude Code CLI · in the page auto-mode-config …s in your [settings](/docs/en/settings#where-settings-live): ```json theme={null} { "permissions": { "ask": [ "Bash(git push *)", "Bash(gh pr create *)" ] } } ``` Pick the me… Best practices for Claude Code Claude Code CLI · in the page best-practices …s 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 variab… Champion kit Claude Code CLI · in the page champion-kit …te tone and length; adapt them rather than copying verbatim. ```text theme={null} Learned today that @-mentioning a directory works. I pointed it at @src/components/ and asked which components were m… Claude Code changelog Claude Code CLI · in the page changelog …instead of the resolved plugin path * Fixed `/rename` replacing the theme's prompt border color (including a custom theme's `promptBorder`) with the default cyan; the border now keeps your theme's c…