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

581 pages for stop.

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

Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …the full evaluation order. ## Handle errors A handler error doesn't stop the agent loop. The SDK's in-process MCP server catches uncaught exceptions and returns them as error results, so how you rep… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …nt events, like a tool being called, a session starting, or execution stopping. With hooks, you can: * **Block dangerous operations** before they execute, like destructive shell commands or unauthori… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …Python to bound how many tool-use round trips the agent takes before stopping. | | Memory growth over long sessions | Cap session length or recycle subprocesses periodically. See [Scaling and concurr… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …vailable subagents and background task notifications still arrive. To stop only `@` file mentions from expanding, set [`CLAUDE_CODE_DISABLE_FILE_MENTIONS=1`](/docs/en/env-vars#variables) instead, on C… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …p_server(self, server_name: str, enabled: bool) -> None async def stop_task(self, task_id: str) -> None async def get_server_info(self) -> dict[str, Any] | None async def disconnect(self)… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …ides a writable temporary directory that's cleared when the container stops | | `--network none` | Removes all network interfaces; the agent communicates through the mounted Unix socket below | | `--m… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …ion and also remove the session's summary entry, so a deleted session stops appearing in `listSessionSummaries`. If undefined, deletion is a no-op, which suits append-only backends. | | `listSubkeys`… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …[security-check skill](#create-and-dispatch-your-first-skill) without stopping for approval: ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAgentOptions opti… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …ntent_block_delta` | Incremental update to content | | `content_block_stop` | End of a content block | | `message_delta` | Message-level updates (stop reason, usage) | | `message_stop` | End of the me… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …s` | `number` | No | Maximum number of agentic turns before the agent stops. When the agent reaches the limit, Claude Code returns its output marked as partial, and you can [resume the agent](#resume-… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …ined**: to detect this case in your code, check the result message's `stop_reason` for `"refusal"`. For what to try next, see [Usage Policy refusal](/docs/en/errors.md#usage-policy-refusal). * **A sch… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …ry on v2.1.247 or later | | `maxBudgetUsd` | `number` | `undefined` | Stop the query when the client-side cost estimate reaches this USD value. The estimate can pass this value, so [leave headroom](/d… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …on and type to send it a message. Press `x` on a selected teammate to stop it. Press Ctrl+T to toggle the task list. * **Split-pane mode**: click into a teammate's pane to interact with their session… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …shed successfully | | Failed | Red | The task ended with an error | | Stopped | Grey | You stopped the session with `Ctrl+X` or `claude stop`, [its process was ended from outside Claude Code](#the-sup… Run agents in parallel Claude Code CLI · in the page agents …ession, `/tasks` lists each item and lets you check on, attach to, or stop it. The list also includes subagents that have finished. * For dynamic workflows, `/workflows` lists running and completed ru… Share session output as artifacts Claude Code CLI · in the page artifacts …, permanently deletes an artifact you own after you confirm. Its link stops working for everyone, including you Claude Code reads the list from your claude.ai account, so `/artifacts` works in a new… Authentication Claude Code CLI · in the page authentication …er. If you set `forceLoginOrgUUID` in any settings file, Claude Code stops offering the [keyless Console sign-in](#sign-in-without-an-api-key) in the sessions that file applies to and creates an API… Auto mode classifier request charges Claude Code CLI · in the page auto-mode-classifier-billing …**Ctrl+C** cancels: the held action doesn't run and the current turn stops, with the session still in auto mode. Nothing is remembered, so the notice appears again before the next checked action. To… Configure auto mode Claude Code CLI · in the page auto-mode-config …ier which repos, buckets, and domains your organization trusts, so it stops blocking routine internal operations. > [!NOTE] > > This page is the configuration reference. Turning auto mode on and off… Best practices for Claude Code Claude Code CLI · in the page best-practices …rence between a session you watch and one you walk away from. Claude stops when the work looks done. Without a check it can run, "looks done" is the only signal available, and you become the verifica… Champion kit Claude Code CLI · in the page champion-kit …h is why I am comfortable using it on shared code." * "I configured a Stop hook so I receive a desktop notification when a long task completes. Configuration is in the thread." * "Running `/init` gene… Claude Code changelog Claude Code CLI · in the page changelog …ommand Line Tools * Self-hosted runner: Fixed `--startup-timeout-min` stopping a session whose first prompt, such as `/code-review`, was still working in a subagent; a frozen process is still stopped… Channels reference Claude Code CLI · in the page channels-reference …session · restart without --dangerously-load-development-channels to stop`. If you see "blocked by org policy," your organization admin needs to [enable channels](/docs/en/channels.md#enterprise-con… Use Claude Code with Chrome Claude Code CLI · in the page chrome …Claude Code can ask again in a later session. * **Don't ask again**: stops the prompt in future sessions. You can still set up the integration anytime with `/chrome`. Two managed MCP policies turn t… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …endpoints it calls, the headers and body fields to forward, and what stops working when they're stripped. A running Claude apps gateway also serves its own protocol reference at `GET /protocol`, whic… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …sn't met, the gateway logs a warning at boot naming the variable that stopped it and keeps the default behavior. Once proxy-only egress is active, allow every destination in the proxy, including an i… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …naged-settings.json` directly. Once you deploy the keys, Claude Code stops using a leftover API key or claude.ai login on the machine, so plan the push together with your sign-in instructions. [Admin… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …rets, so a `GetSecretValue`-only grant mounts on the first deploy but stops picking up rotations. Deploy the gateway as a standard Deployment plus a Service and an Ingress, as described in [Kubernete… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …ssion and tell Claude to auto-fix it Auto-fix is a per-PR toggle. To stop monitoring, open the CI status bar in the session at claude.ai/code and clear the **Auto-fix** toggle, or tell Claude to stop… Explore the .claude directory Claude Code CLI · in the page claude-directory …all 0.1s' }}> {isFolder ? <span onClick={e => { e.stopPropagation(); toggleFolder(node.id); }} style={{ fontSize: '14px', color: 'var(--ce-text-4)', wid… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …session list. If it was in the middle of a turn it keeps running, so stop it yourself if you don't want both working at once. * Choose one of your existing projects to bring the session's work into t… claude-tag Claude Code CLI · in the page claude-tag …cks above. If a platform update renames one, the rule that uses it stops applying and that part looks stock again. Rule 4 names a change that would do worse. */ /* 1. A hairline between a card'… CLI reference Claude Code CLI · in the page cli-reference …aemon status` | | `claude daemon stop --any` | Stop the background-session [supervisor](/docs/en/agent-view#the-supervisor-process) and the sessions it hosts.… Configure cloud environments Claude Code CLI · in the page cloud-environments …ange over time: * 4 vCPUs * 16 GB of RAM * 30 GB of disk The VM may stop tasks that need significantly more memory, such as large build jobs or memory-intensive tests. For workloads beyond these lim… Code Review Claude Code CLI · in the page code-review …the first review, suppress new nits and post Important findings only" stops a one-line fix from reaching round seven on style alone. **Summary shape**: ask for the review body to open with a one-line… Customize Code Review Claude Code CLI · in the page code-review-customize …ory by committing instructions to it. This is how you cut nit volume, stop comments on generated files, or add a rule your team cares about. Put them in one of two files: * **`CLAUDE.md`**: [project… Review locally with /code-review Claude Code CLI · in the page code-review-local …review), so schedule `/code-review` without the `ultra` argument. To stop both Claude and scheduled tasks from starting the review while keeping `/code-review` available for you to type, add a [`skil… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …subscribing | The same cases as `@claude review` | | `@claude review stop` | Ends the PR's subscription to push-triggered reviews, without starting a review or canceling one that's already running. C… Set up Code Review Claude Code CLI · in the page code-review-setup …that reviews are paused, and how to link it Turn the setting off to stop these comments. ### What developers can change Developers come to you to change the review level, the **Review runs** setti… Commands Claude Code CLI · in the page commands …argument, shows the current or most recently achieved goal. `clear`, `stop`, `off`, `reset`, `none`, or `cancel` removes an active goal early… Common workflows Claude Code CLI · in the page common-workflows …iles in a single message (for example, "@file1.js and @file2.js") To stop `@` references from including file contents and directory listings, set [`CLAUDE_CODE_DISABLE_FILE_MENTIONS`](/docs/en/env-va… Communications kit Claude Code CLI · in the page communications-kit …d writes a CLAUDE.md with your build commands and conventions, so you stop re-explaining the basics. Then try one of these on the repo you are already in: - "The test in [file] is flaky. Figure ou… Let Claude use your computer from the CLI Claude Code CLI · in the page computer-use …ir size in the app rather than changing your display resolution. ### Stop at any time The first time Claude uses your computer in each turn, a macOS notification appears: "Claude is using your compu… Explore the context window Claude Code CLI · in the page context-window …); useEffect(() => { if (!playing) return; let raf; let stopped = false; const tick = ts => { if (stopped) return; if (!lastRef.current) lastRef.current = ts; const… Run Claude Code behind a corporate launcher Claude Code CLI · in the page corporate-launcher …eep launching unwrapped processes until restarted. Run `claude daemon stop --any` to stop the on-demand service. The next command that needs it, such as `claude agents`, starts a wrapped one. Then res… Manage costs effectively Claude Code CLI · in the page costs …imes it ran, its total and per-run tokens, and when it last ran * **Stopped and re-created loops**: Claude Code keys a row by the task's prompt, so a loop you stop and re-create stays one row Press… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …ive, and permission rules for what Claude here can send or list: * **Stop receiving**: set `crossSessionInbound` to `refuse`, and Claude Code drops inbound peer messages without delivering them. From… Data usage Claude Code CLI · in the page data-usage …declines without sending anything * **Don't ask again**: declines and stops this follow-up from appearing in future sessions Nothing is uploaded unless you explicitly select **Yes**. Organizations wi… Desktop application Claude Code CLI · in the page desktop …e-a-permission-mode). You can redirect Claude at any point: click the stop button to interrupt immediately, or type a correction and press **Enter** to send it without stopping the running action. Cla… Test iOS apps in the simulator Claude Code CLI · in the page desktop-ios-simulator …pture buttons or the shortcuts; the files are saved to your Desktop * Stop streaming a device without shutting it down by clicking **Detach simulator**, which returns the pane to its **Attach simulato…
Feedback