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

757 pages for task.

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

Output styles Claude Code CLI · in the page output-styles …style, its standard instructions for completing software engineering tasks. Each of the four other built-in styles keeps those instructions and adds its own. This table shows what each style changes… Overview Claude Code CLI · in the page overview …ant that helps you build features, fix bugs, and automate development tasks. It understands your entire codebase and can work across multiple files and tools to get things done. ## Get started Claud… Choose a permission mode Claude Code CLI · in the page permission-modes …ts-with-auto-mode) | Everything, with background safety checks | Long tasks, reducing prompt fatigue | | [`dontAsk`](#allow-only-pre-approved-tools-with-dontask-mode) | File reads inside your working… Configure permissions Claude Code CLI · in the page permissions …mpts-with-auto-mode) checks that they align with your request | | `dontAsk` | Auto-denies every call that would otherwise prompt, though a [mod](/docs/en/plugins/mods/overview.md) you installed can st… Platforms and integrations Claude Code CLI · in the page platforms …session | | [Web](/docs/en/claude-code-on-the-web.md) | Long-running tasks that don't need much steering, or work that should continue when you're offline | Cloud, Anthropic-managed by default; conti… Test plugins with evals Claude Code CLI · in the page plugin-evals …` Each run starts in an empty working directory, so put whatever the task needs in the prompt itself, or [set up the workspace](#add-setup-or-history-with-case-yaml) first. The [full list of frontma… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …| Model for `llm` and `baseline` graders | The model for [background tasks](/docs/en/plugin-evals.md#grade-the-result) | | `--ablation <mode>` | `none` or `with-without`. See [Score against the no-pl… Add components to a plugin Claude Code CLI · in the page plugins/components …n instructions and its own context window, that Claude can delegate a task to and get a result back from. Each Markdown file under `agents/` defines one: the frontmatter names it and says when to use… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …orking directory | | `description` | Yes | Short summary shown in the task panel and notification summaries | | `when` | No | With `"always"`, the default, the monitor starts at session start and on p… Use the mods API Claude Code CLI · in the page plugins/mods/api …such as `peer` or `peer-send-message` for another session or agent, `task-notification`, or `scheduled-trigger`. Return `{ consumed: reason }` to keep it from Claude. | | `session.send` | A message i… Create a mod Claude Code CLI · in the page plugins/mods/create …the session can't show you a prompt, as in a `claude -p` run or [`dontAsk` mode](/docs/en/permission-modes) * **The workspace isn't trusted**: you haven't accepted the trust prompt for the directory… Mods reference Claude Code CLI · in the page plugins/mods/reference …nal, Desktop | | `UserMessage` | `text`, `origin`, `isExpanded`, and `task` or `from` by origin | The message id | Terminal, Desktop, VS Code | | `AssistantMessage` | The reply's text | The message id… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …the top of a session, then save `/compact` for natural breaks between tasks. The fewer changes you make mid-task, the higher your cache hit rate. ### Where the cache lives Caching happens server-sid… Prompt library Claude Code CLI · in the page prompt-library # Prompt library > Copy-paste prompts for Claude Code, tagged by task and role. export const PromptLibrary = ({text = {}, labels = {}, tagLabels = {}, phaseLabels = {}, sourceLabels = {}, catLabels… Quickstart Claude Code CLI · in the page quickstart …gning in from your first session, and using it for common development tasks in your own project. ## Before you begin Make sure you have: * A terminal or command prompt open * A code project to work… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …pic.claude) to a Claude Code session running on your machine. Start a task at your desk, then pick it up from your phone on the couch or a browser on another computer. When you start a Remote Control… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …hout provisioning infrastructure yourself, or when you are delegating tasks from a device that does not have a local development environment. It requires a Claude subscription. Unless you launch from… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …a separate classifier model evaluates the underlying command * **`dontAsk` mode**: Claude Code denies the retry * **Plan mode**: see [how Claude Code gates commands while you plan](/docs/en/permissio… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …/claude-code-on-the-web#from-terminal-to-cloud), and [cloud scheduled tasks](/docs/en/routines.md). By default, cloud sessions execute on Anthropic's infrastructure. In a self-hosted environment, tho… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …limit. A session whose turn has ended and that holds only background tasks counts as idle here. Before v2.1.236, the runner released the session first and then ran this hook in both cases. During a… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …sessions to [add every repository](/docs/en/web-quickstart.md#start-a-task) a session needs when they create it. Each run of a [cloud scheduled task](/docs/en/routines.md) is a session with the tas… Verify session identity in self-hosted environments Claude Code CLI · in the page self-hosted-environments-identity …t read and write access to the resources the session needs for coding tasks, not administrative capabilities the creator holds elsewhere. * **Limit lifetime**: bound derived credentials to the token's… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …wait up to N seconds for each session's in-flight turn and background tasks to finish before terminating the child. During this wait, the runner counts a background task that has just finished as stil… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …are `--cloud` is treated as absent. From a terminal, you can pass the task as the `--cloud` description instead of a positional prompt. ## Example script The example script runs on the same machine… Manage sessions Claude Code CLI · in the page sessions …e you left off, branch to try a different approach, or switch between tasks. The [desktop app](/docs/en/desktop.md#work-in-parallel-with-sessions), [claude.ai/code](/docs/en/claude-code-on-the-web.md… Claude Code settings Claude Code CLI · in the page settings …d proactive push notifications to your phone, for example when a long task finishes. Appears in `/config` as **Push when Claude decides**. See [Mobile push notifications](/docs/en/remote-control#mobil… Example settings files Claude Code CLI · in the page settings-example …se, // Ring the terminal bell for notifications, such as a finished task or a waiting permission prompt "preferredNotifChannel": "terminal_bell", // Let Claude Code run git diff and read your .z… All settings Claude Code CLI · in the page settings-reference …utocontinueatusagelimit) | Wait in the open session and [continue the task automatically](/docs/en/interactive-mode.md#wait-for-a-usage-limit-to-reset) after a claude.ai usage limit resets | Interface… Extend Claude with skills Claude Code CLI · in the page skills …nts.md#what-carries-over-from-your-setup), including [cloud scheduled tasks](/docs/en/routines.md), don't read `~/.claude/skills/` on your machine. Both interactive and scheduled Cowork sessions load… Claude Code in Slack Claude Code CLI · in the page slack # Claude Code in Slack > Delegate coding tasks from Slack. This earlier version answers channel mentions only from Pro and Max accounts in workspaces not connected to Claude Tag. > [!WARNING] > > Th… Customize your status line Claude Code CLI · in the page statusline …on-input-fields), a `columns` field with the usable row width, and a `tasks` array with one entry per row, described in [Task fields](#task-fields). Write one JSON line to stdout per row you want to… Create custom subagents Claude Code CLI · in the page sub-agents …bagents > Create and use specialized AI subagents in Claude Code for task-specific workflows and improved context management. Subagents are specialized AI assistants that handle specific types of ta… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …file. ## Get a terminal bell or notification When Claude finishes a task or pauses for a permission prompt, and you appear to be away from the terminal, it fires a notification event. See [when each… Tools reference Claude Code CLI · in the page tools-reference …gent](/docs/en/sub-agents.md) with its own context window to handle a task. With [agent teams](/docs/en/agent-teams.md) enabled, a call that carries a `name` can launch a [teammate](/docs/en/agent-tea… Troubleshooting Claude Code CLI · in the page troubleshooting …large paste filled it 2. Close and restart Claude Code between major tasks 3. Consider adding large build directories to your `.gitignore` file 4. Restart with [`claude --safe-mode`](/docs/en/cli-ref… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …iew typically takes 15 to 25 minutes. The review runs as a background task, so you can keep working in your session or start other commands. If you chose to [post the findings to the pull request](#po… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …dy in plan mode, shows the current plan instead. * `/plan` with a task, such as `/plan fix the auth bug`: switches to plan mode and starts planning that task. * `/plan open`: when you're alrea… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …oud from your browser or phone. Connect a GitHub repository, submit a task, and review the PR without local setup. > [!NOTE] > > Cloud sessions are available on Pro, Max, and Team plans, and for Ente… Week 15 · April 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w15 …es: omit the interval and Claude schedules the next tick based on the task, or reaches for the Monitor tool to skip polling altogether. ```text title="Claude Code" wrap theme={null} /loop check CI on… Week 16 · April 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w16 …ts between `high` and `max`: best results for most coding and agentic tasks, applied as the default the first time you switch to 4.7. `/effort` now opens an interactive arrow-key slider when you call… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …ge v2.1.124 Delete all Claude Code state for a project: transcripts, tasks, file history, and the project's config entry. Supports `--dry-run` to preview, `-y`/`--yes` to skip confirmation, `-i`/`--i… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …for repos where worktrees are impracticalMarkdown output renders GFM task list checkboxes, and the `/diff` detail view scrolls with the keyboardStatus line JSON input now includes GitHub repo and PR… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …25–29, 2026 > Run Claude Code on Claude Opus 4.8, orchestrate large tasks with dynamic workflows, catch security issues with the security-guidance plugin, and use fast mode on Opus 4.8 at a lower pr… Week 28 · July 6–10, 2026 Claude Code CLI · in the page whats-new/2026-w28 …, cutting the updater's peak memory usage by roughly 400 MBBackground task notifications now explicitly state that no human input has occurred, preventing fabricated in-transcript approvals from being… Week 29 · July 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w29 …working; the in-session forked subagent it used to launch is now `/subtask`[Auto mode](/docs/en/permission-modes.md#enable-auto-mode-on-bedrock-agent-platform-or-foundry) no longer needs the `CLAUDE_C… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …it and push before finishing, open a draft pull request only when the task calls for one, and follow the git instructions in your `CLAUDE.md`The 200-subagent-per-session cap is removed, so long-runnin… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …tarting fresh, so you don't have to re-explain the context for a side task. Subagents Claude spawns in interactive sessions, apart from the ones an agent-team teammate spawns, also run in the backgrou… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …ion rule changes apply to the rest of the current turnWhen background tasks keep a [`/goal`](/docs/en/goal#background-work-defers-evaluation) waiting, Claude checks in on them after 30 minutes instead… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …al tokens, tokens per run, and last run for the `/loop` and scheduled tasks that used the most tokensOrganizations on contracted rates can set the [`modelPricing`](/docs/en/costs#report-spend-at-your-… Week 36 · August 31 – September 4, 2026 Claude Code CLI · in the page whats-new/2026-w36 …utputMaxChars`](/docs/en/settings-reference#bashoutputmaxchars) and [`taskOutputMaxChars`](/docs/en/settings-reference#taskoutputmaxchars), up to 128,000 characters, so Claude receives more of the out…
Feedback