411 pages for tasks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
reduce-hallucinations
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/reduce-hallucinations
…``` </Accordion> * **Use direct quotes for factual grounding:** For tasks involving long documents (>20k tokens), ask Claude to extract word-for-word quotes first before performing its task. This gr…
reduce-latency
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/reduce-latency
…utput as it arrives, updating your user interface or performing other tasks in parallel. Visit [Streaming messages](https://platform.claude.com/docs/en/build-with-claude/streaming) to learn about how…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…/code.claude.com/docs/en/claude-code-on-the-web.md), [cloud scheduled tasks](https://code.claude.com/docs/en/routines.md), [Code Review](https://code.claude.com/docs/en/code-review.md), [Remote Contro…
Escalate hard decisions with the advisor tool
Claude Code CLI · in the page
advisor
…illed. ## When to use the advisor The advisor fits long, multi-step tasks where most turns are routine but plan quality determines the outcome. Examples include large refactors, debugging sessions w…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…runs until Claude finishes on its own, which is fine for well-scoped tasks but can run long on open-ended prompts ("improve this codebase"). Setting a budget is a good default for production agents.…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…/agent-sdk/subagents.md): Define and invoke subagents for isolated subtasks * [Hooks](https://code.claude.com/docs/en/agent-sdk/hooks.md): Intercept and control agent behavior at key execution points…
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…n, Claude Code waits for them, up to the cap described in [background tasks at exit](https://code.claude.com/docs/en/headless.md#background-tasks-at-exit), before emitting the result. The result's `to…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…` | Yes | Yes | Subagent completion | Aggregate results from parallel tasks | | `PreCompact` | Yes | Yes | Conversation compaction request | Archive full transcript before summarizing | | `PostCompact…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…ch user task and destroy it when the task completes. Best for one-off tasks. The user may still interact with the AI while the task is completing, but once completed the container is destroyed. Examp…
Migrate to Claude Agent SDK
Claude Code CLI · in the page
agent-sdk/migration-guide
…s the SDK's broader capabilities for building AI agents beyond coding tasks. Migrating from the OpenAI Agents SDK instead? The [OpenAI Agents SDK migration recipe](https://platform.claude.com/cookboo…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…a human is in the loop with access to a full toolset. * **Non-coding tasks**: most of Claude Code's prompt is coding guidance. For research, content, or operations agents, that guidance competes with…
Agent SDK overview
Claude Code CLI · in the page
agent-sdk/overview
…s, sessions, and hooks. | | Do interactive development or run one-off tasks from a terminal | [**Claude Code CLI**](https://code.claude.com/docs/en/overview.md) | The terminal interface, built for dai…
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…in-name:skill-name`. * **Agents**: specialized subagents for specific tasks * **Hooks**: event handlers that respond to tool use and other events * **MCP servers**: external tool integrations via Mode…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ue_conversation` or `resume` | ✅ Automatic | | **Use Case** | One-off tasks | Continuous conversations | Use `ClaudeSDKClient` for interactive applications such as chat interfaces, or when the next a…
Stream responses in real-time
Claude Code CLI · in the page
agent-sdk/streaming-output
…or chat interfaces that need to show progress during multi-step agent tasks. ```python Python theme={null} from claude_agent_sdk import query, ClaudeAgentOptions, ResultMessage from claude_agent_sdk.…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…nts in the SDK > Define and invoke subagents to isolate context, run tasks in parallel, and apply specialized instructions in your Claude Agent SDK applications. Subagents are separate agent instanc…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…on't need anything on this page for Claude to work through multi-step tasks. In a session that has the task-tracking tools, Claude keeps a written todo list, updating each item's status as it works.…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…Promise<void>; stopTask(taskId: string): Promise<void>; backgroundTasks(toolUseId?: string): Promise<boolean>; close(): void; } ``` #### Methods | Method | Description | | :- | :- | | `interru…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…ultiple Claude Code instances working together as a team, with shared tasks, inter-agent messaging, and centralized management. > [!WARNING] > > Agent teams are experimental and disabled by default.…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…3e6b3920b09c05dd02) Use agent view when you have several independent tasks Claude can work on without you watching every step. Dispatch a bug fix, a pull request review, and a flaky-test investigatio…
Run agents in parallel
Claude Code CLI · in the page
agents
…ents in parallel > Compare the ways Claude Code can take on multiple tasks at once: subagents, agent view, agent teams, dynamic workflows, and projects. Claude Code has five ways to work on several…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…5 and the `opus` alias resolved to Opus 5 from v2.1.219. Background tasks such as session title generation use the small/fast model, normally a Haiku-class model. On Amazon Bedrock, Claude Code uses…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…sion-scoped scheduled task](https://code.claude.com/docs/en/scheduled-tasks.md) firing in your session started, rather than a prompt you typed | Asks before the first publish of each artifact | | Clau…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…h without you, like hunting for a security vulnerability. On ordinary tasks it tends to overthink, so you pay more for an answer that may be no better than `high` would have given you. * When only the…
Champion kit
Claude Code CLI · in the page
champion-kit
…file, traces a bug across services, or drafts a migration plan. These tasks require reasoning across the repository rather than completing a single line. | A two-minute live demonstration | | "What ab…
Claude Code changelog
Claude Code CLI · in the page
changelog
…rom its team by an earlier shutdown approval * Fixed stored scheduled tasks being impossible to list or delete after scheduled tasks were turned off * Fixed Claude deleting your most recently updated…
Push events into a running session with channels
Claude Code CLI · in the page
channels
…ons](https://code.claude.com/docs/en/claude-code-on-the-web.md) | Run tasks in a fresh cloud sandbox, cloned from GitHub | Delegating self-contained async work you check on later | | [Claude in Slack]…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…xtension](https://code.claude.com/docs/en/vs-code.md#automate-browser-tasks-with-chrome). Build your code, then test and debug in the browser without switching contexts. Claude opens new tabs for bro…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…tement": [{ "Effect": "Allow", "Principal": { "Service": "ecs-tasks.amazonaws.com" }, "Action": "sts:AssumeRole" }] } EOF aws iam create-role --role-name claude-gateway-task \ --assum…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…session](https://code.claude.com/docs/en/desktop.md#run-long-running-tasks-in-the-cloud) * **Terminal**: [`claude --cloud`](#from-terminal-to-cloud) * **Cloud scheduled tasks**: [scheduled and trigge…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…E.md loads into every session. If something only matters for 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…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…rdinate ongoing work with Projects > Hand Claude a stream of related tasks in one conversation and let it run them as parallel cloud sessions that share repositories, instructions, and memory. > [!N…
claude-tag
Claude Code CLI · in the page
claude-tag
…<span class="tm-qrow-text"><span class="tm-qrow-q">Can Claude Tag run tasks on a schedule?</span><span class="tm-qrow-sub">Scheduled jobs, channel watching, and triggers</span></span></a></div></div><…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…/en/claude-code-on-the-web#from-terminal-to-cloud) * [Cloud scheduled tasks](https://code.claude.com/docs/en/routines.md) * [Claude Tag](https://claude.com/docs/claude-tag/overview) Each of these sur…
Code Review
Claude Code CLI · in the page
code-review
…AUDE.md`**: shared project instructions that Claude Code uses for all tasks, not just reviews. Code Review reads it as project context and flags newly introduced violations as nits. * **`REVIEW.md`**:…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…ltrareview-non-interactively). * Set [`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`](https://code.claude.com/docs/en/env-vars) to `1`, which also turns off other background task features * Run `/code-review`…
Commands
Claude Code CLI · in the page
commands
…s immediately without interrupting the response, such as `/status`, `/tasks`, and `/usage`. In [fullscreen rendering](/docs/en/fullscreen), Claude Code also opens dialog commands such as `/theme` and…
Common workflows
Claude Code CLI · in the page
common-workflows
…ring codebases, fixing bugs, refactoring, testing, and other everyday tasks with Claude Code. This page collects short recipes for everyday development. For higher-level guidance on prompting and con…
Communications kit
Claude Code CLI · in the page
communications-kit
…. Rewrite each message in your organization's voice, swap the example tasks for real bugs and modules from your own codebase, and replace the `[bracketed placeholders]` before sending. The announcemen…
Let Claude use your computer from the CLI
Claude Code CLI · in the page
computer-use
…omputer). ## What you can do with computer use Computer use handles tasks that require a GUI: anything you'd normally have to leave the terminal and do by hand. * **Build and validate native apps**…
Explore the context window
Claude Code CLI · in the page
context-window
…the bug in auth.ts") so Claude reads fewer files. For research-heavy tasks, use a subagent.', link: null }, { t: 0.32, kind: 'claude', label: 'Read src/lib/tokens.ts', tokens: 1…
Manage costs effectively
Claude Code CLI · in the page
costs
…w for each of the heaviest [`/loop` or other session-scoped scheduled tasks](https://code.claude.com/docs/en/scheduled-tasks) that ran recently, ordered by total tokens, with a count of the rest. Requ…
Desktop application
Claude Code CLI · in the page
desktop
…our-computer) * Run on your machine, in the [cloud](#run-long-running-tasks-in-the-cloud), or over [SSH](#ssh-sessions) For [scheduled recurring work](https://code.claude.com/docs/en/desktop-schedule…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…n [cloud](https://code.claude.com/docs/en/desktop.md#run-long-running-tasks-in-the-cloud) and [SSH](https://code.claude.com/docs/en/desktop.md#ssh-sessions) sessions, Claude runs on a machine that can…
Claude Desktop on Linux (beta)
Claude Code CLI · in the page
desktop-linux
…https://claude.com/docs/cowork/overview). On Linux, Cowork runs those tasks in a virtual machine that the desktop app hosts with QEMU and KVM. To use Cowork, your machine needs: * **Hardware virtuali…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…op.md#add-files-and-context-to-prompts). **Use skills for repeatable tasks.** Type `/` or click **+** → **Slash commands** to browse [built-in commands](https://code.claude.com/docs/en/commands.md),…
Environment variables
Claude Code CLI · in the page
env-vars
…| \[DEPRECATED] Name of [Haiku-class model for background tasks](/docs/en/costs)…
Error reference
Claude Code CLI · in the page
errors
…-organization-has-disabled-claude-subscription-access) | | `Scheduled tasks are off for your organization` | [Authentication](#routines-are-disabled-by-your-organizations-policy) | | `Routines are off…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…with tight deadlines Standard mode is better for: * Long autonomous tasks where speed matters less * Batch processing or CI/CD pipelines * Cost-sensitive workloads ### Fast mode vs effort level Fa…
Feature availability
Claude Code CLI · in the page
feature-availability
…sktop](https://code.claude.com/docs/en/desktop.md) * [Cloud scheduled tasks](https://code.claude.com/docs/en/routines.md) (`/schedule`) * [Ultrareview](https://code.claude.com/docs/en/ultrareview.md)…