Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

282 pages for trigger.

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

claude-haiku-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-4-5 …tial dangers of disordered eating, responses with these details could trigger or encourage disordered tendencies. Claude does not supply psychological narratives for why the person restricts, binges,… claude-opus-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-5 …s that may be sent to Claude, either because the person's message has triggered a classifier or because some other condition has been met. The current reminders Anthropic might send to Claude are: ima… claude-opus-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-6 …s that may be sent to Claude, either because the person's message has triggered a classifier or because some other condition has been met. The current reminders Anthropic might send to Claude are: ima… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …hat to remove access to, as mentioning these things may inadvertently trigger the user. In ambiguous cases, Claude tries to ensure the person is happy and is approaching things in a healthy way. If… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …conservatively—they'll sometimes catch harmless requests, though they trigger, on average, in less than 5% of sessions. With more capable models arriving in the coming months, we're working to improve… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …conservatively—they'll sometimes catch harmless requests, though they trigger, on average, in less than 5% of sessions. With more capable models arriving in the coming months, we're working to improve… claude-opus-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5-5 …tial dangers of disordered eating, responses with these details could trigger or encourage disordered tendencies. Claude does not supply psychological narratives for why someone restricts, binges, or… claude-sonnet-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-5 …s that may be sent to Claude, either because the person's message has triggered a classifier or because some other condition has been met. The current reminders Anthropic might send to Claude are: ima… claude-sonnet-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-6 …s that may be sent to Claude, either because the person's message has triggered a classifier or because some other condition has been met. The current reminders Anthropic might send to Claude are: ima… claude-sonnet-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5 …tial dangers of disordered eating, responses with these details could trigger or encourage disordered tendencies. Claude does not supply psychological narratives for why the person restricts, binges,… claude-sonnet-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5-5 …tial dangers of disordered eating, responses with these details could trigger or encourage disordered tendencies. Claude does not supply psychological narratives for why the person restricts, binges,… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …n context before continuing. You can remove or rephrase the turn that triggered the refusal, or clear the conversation history entirely. Attempting to continue without resetting will result in continu… mitigate-jailbreaks Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks …vent your application’s guardrails. For example, if a particular user triggers the same kind of refusal multiple times (such as “output blocked by content filtering policy”), tell the user that their… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …t"` | Tool calls that need approval and aren't covered by allow rules trigger your `canUseTool` callback; no callback means deny | Interactive applications with a custom approval callback | | `"accept… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …costs.md#manage-costs-for-your-organization). Don't bill end users or trigger financial decisions from these fields. ## Understand token usage The TypeScript and Python SDKs expose the same usage da… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …her (step 3) so the callback fires for the Write and Edit tools. When triggered, the callback receives the tool's input (step 4), checks if the file path targets a `.env` file, and returns `permission… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …rent surface**: the output isn't read in a terminal by the person who triggered it. Chat UIs, structured-output consumers, and non-coding automation each need a prompt that matches how their output is… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …ning's code is `CLAUDE_SDK_CAN_USE_TOOL_SHADOWED`. Two configurations trigger it: * `permissionMode: 'bypassPermissions'`: the warning text starts with `canUseTool will not be invoked: permissionMode… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …`"batched"` flushes once per turn or when the buffer fills; `"eager"` triggers a background flush after every frame. Ignored when `session_store` is `None` | | `load_timeout_ms` | `int` | `60000` | Pe… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …redentials for an allowed domain, ensure it cannot use that domain to trigger other network requests or to exfiltrate data. For many single-developer and CI/CD use cases, sandbox-runtime raises the b… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …tion tokens:", message.compact_metadata.pre_tokens); console.log("Trigger:", message.compact_metadata.trigger); // Example output: // Compaction completed // Pre-compaction tokens: 184… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …ls run. Text streams normally when not in a tool, and tool completion triggers a "done" message. This pattern is useful for chat interfaces that need to show progress during multi-step agent tasks. `… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …callback, the same redelivery that [`reinitialize()`](#query-object) triggers after a transport gap. Handle repeated request IDs idempotently, because an entry can repeat a request the callback alrea… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …t has **clarifying questions** (via the `AskUserQuestion` tool). Both trigger your `canUseTool` callback, which pauses execution until you return a response. This is different from normal conversation… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …mand in a background session that connects to a local-network address triggers the macOS Local Network permission prompt for Claude Code. Grant it once and those commands reach LAN hosts the same way… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …/settings.md) for file locations). These two settings have different trigger conditions: * **`awsAuthRefresh`**: runs only when Claude Code detects that your AWS credentials are expired, either loca… Best practices for Claude Code Claude Code CLI · in the page best-practices …a claude.ai login rather than an API key. You can add a GitHub-event trigger by asking Claude, or an API trigger at [claude.ai/code/routines](https://claude.ai/code/routines). > [!WARNING] > > Befor… Claude Code changelog Claude Code CLI · in the page changelog …aits for your next message; a change made while Claude is working can trigger it sooner * Fixed some sessions showing as waiting on you when the last message only mentioned items waiting on you mid-se… Push events into a running session with channels Claude Code CLI · in the page channels …rol with no setup. > > > [!NOTE] > > > > The first reply Claude sends triggers a macOS Automation prompt asking if your terminal can control Messages. Click **OK**. > > **5. Allow other senders** > >… Channels reference Claude Code CLI · in the page channels-reference …og opens. Both call `send()` to broadcast over `/events`, but they're triggered by different parts of the system. * **HTTP handler**: `GET /events` holds an SSE stream open so curl can watch outbound… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …shes `OTEL_EXPORTER_OTLP_ENDPOINT`, so setting `telemetry.forward_to` triggers the dialog on each interactive client. The dialog protects the developer's machine from a compromised or hostile gateway,… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …you autoscale on CPU, a replica at the limit queues requests without triggering a scale-out, so set the target below the CPU level your replicas show when they log the `client requests are open` warn… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …(#from-terminal-to-cloud) * **Cloud scheduled tasks**: [scheduled and triggered runs](https://code.claude.com/docs/en/routines.md) each run as a cloud session Once you're set up, use this page to mov… Explore the .claude directory Claude Code CLI · in the page claude-directory …files. The <C>paths:</C> globs in the frontmatter define which files trigger it; here, anything ending in .test.ts or .test.tsx. For other files, this rule is not loaded into context.</>,… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …duled tasks](https://code.claude.com/docs/en/routines.md): schedules, triggers, and management for scheduled tasks, including the ones Claude creates from a project * [Manage multiple agents with agen… claude-tag Claude Code CLI · in the page claude-tag …utton type="button" data-layout-item="search-entry" data-search-item="trigger" class="group/search flex pointer-events-auto rounded-xl w-full items-center text-sm leading-6 h-9 pl-3.5 pr-3 text-gray-5… CLI reference Claude Code CLI · in the page cli-reference …P servers do not. Useful for checking whether a customization is what triggers [automatic model fallback](https://code.claude.com/docs/en/model-config.md#automatic-model-fallback). Sets [`CLAUDE_CODE_… Code Review Claude Code CLI · in the page code-review …ow reviews work](#how-reviews-work) * [Setup](#set-up-code-review) * [Triggering reviews manually](#manually-trigger-reviews) with `@claude review` and `@claude review always` * [Customizing reviews](… Code Review costs and usage Claude Code CLI · in the page code-review-costs …s` in Once after PR creation or Manual mode**: [opts the PR into push-triggered reviews](https://code.claude.com/docs/en/code-review-pull-requests.md#comment-commands), so additional cost accrues per… Read and request reviews on a pull request Claude Code CLI · in the page code-review-pull-requests …ain](https://code.claude.com/docs/en/code-review-troubleshooting.md#retrigger-a-failed-or-timed-out-review) from the check run. On a pull request that isn't from a fork, you can also click **Re-run**… Troubleshoot Code Review Claude Code CLI · in the page code-review-troubleshooting …view timed out** | The review didn't finish | To run it again, see [Retrigger a failed or timed-out review](#retrigger-a-failed-or-timed-out-review) | | **Code review declined** | The review didn't ru… Common workflows Claude Code CLI · in the page common-workflows …ault | Tasks that should run even when your computer is off. Can also trigger on API calls or GitHub events in addition to a schedule. Configure at [claude.ai/code/routines](https://claude.ai/code/rou… Communications kit Claude Code CLI · in the page communications-kit …only: select it with `/model fable`. Cybersecurity or biology content triggers [automatic model fallback to Opus](https://code.claude.com/docs/en/model-config.md#automatic-model-fallback) | | Opus | L… Explore the context window Claude Code CLI · in the page context-window …desc: 'Another path-scoped rule, this one matching `*.test.ts` files. Triggered when Claude read auth.test.ts. Shown as a one-line "Loaded" notice.', link: '/en/memory#path-specific-rules' }, {… Manage costs effectively Claude Code CLI · in the page costs …# Write specific prompts Vague requests like "improve this codebase" trigger broad scanning. Specific requests like "add input validation to the login function in auth.ts" let Claude work efficiently… Debug your configuration Claude Code CLI · in the page debug-your-config …hat didn't parse](https://code.claude.com/docs/en/skills.md#skill-not-triggering) or one of the [limits on skill hooks](https://code.claude.com/docs/en/hooks.md#limits-on-skill-hooks). If the hook ap… Launch sessions from links Claude Code CLI · in the page deep-links …vers how to [build a link](#build-a-link), [embed one in a runbook or trigger it from the shell](#examples), and [manage or disable handler registration](#registration-and-supported-platforms) on each… Desktop application Claude Code CLI · in the page desktop …e conversation and continues working. You can also type `/compact` to trigger summarization earlier and free up context space. See [the context window](https://code.claude.com/docs/en/how-claude-code-… Schedule recurring tasks in Claude Code Desktop Claude Code CLI · in the page desktop-scheduled-tasks …age covers local scheduled tasks; for cloud scheduled tasks and their trigger options, see [Automate work with scheduled tasks](https://code.claude.com/docs/en/routines.md). > [!NOTE] > > If your app… Environment variables Claude Code CLI · in the page env-vars …ercentage (1-100) of the auto-compact window at which auto-compaction triggers. Use lower values like `50` to compact earlier; the variable can't raise the threshold, so values above the default perce…
Feedback