165 pages for signal.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
multiagent-orchestration
Claude Developer Platform · in the page
managed-agents/multiagent-orchestration
…dvisor thread's idle and terminated events, so don't treat those as a signal that the advice has already been delivered. Whether your client can read the advice is the advisor model's policy. It mirr…
reference
Claude Developer Platform · in the page
managed-agents/reference
…| | `agent.thinking` | Signals the agent is making forward progress through extended thinking. This is a progress signal only and does not carry the thin…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…ncio import contextlib import os import signal from anthropic import AsyncAnthropic from anthropic.lib.environments import EnvironmentWorker…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…entId, environmentKey, workdir: "/workspace", signal: controller.signal, tools: (ctx) => [...betaAgentToolset20260401(ctx), getOrderStatus] }).run(); ```…
self-hosted-sandboxes-operations
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-operations
…| `ant` CLI | Nothing. The CLI handles both signals itself: it cancels any in-flight tool call, posts its error result, and releases the work item. | | SDK worker that is…
self-hosted-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-reference
…`AutoStop`) | Whether to post a stop signal for each work item once your loop body finishes with it. Set it to `false` (python: `False`; go: `param.NewOpt(false)`) whe…
self-hosted-sandboxes-workers
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-workers
…thon Python import asyncio import contextlib import os import signal from anthropic import AsyncAnthropic from anthropic.lib.environments import EnvironmentWorker async def main() -> N…
tools
Claude Developer Platform · in the page
managed-agents/tools
…as your library grows. * **Design tool responses to return only high-signal information.** Return semantic, stable identifiers (for example, slugs or UUIDs) rather than opaque internal references. In…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…ing per-memory events; the single `memory_store.deleted` event is the signal. There is no object left to fetch, so treat the event itself as final. | Individual [memories](https://platform.claude…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-fable-5-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-1
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-haiku-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-4-5
…aming a request to make it appropriate, the impulse to reframe is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-opus-4-8
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-8
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-opus-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…lly reframing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…aming a request to make it appropriate, the impulse to reframe is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated ass…
develop-tests
Claude Developer Platform · in the page
test-and-evaluate/develop-tests
…*Prioritize volume over quality:** More questions with slightly lower signal automated grading is better than fewer questions with high-quality human hand-graded evals. ### Example evals <AccordionG…
handle-streaming-refusals
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/handle-streaming-refusals
…ilt only on error rates won't surface it. Track refusals as their own signal. * **Refusals include structured detail.** On every model, a refusal also includes a `stop_details` object that identifies…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…being intercepted # context: HookContext, reserved for future abort-signal support async def audit_bash(input_data, tool_use_id, context): command = input_data.get("tool_input", {}).get("command…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…(#return-structured-data). * `isError` (optional): set to `true` to signal a tool failure so Claude can react to it. See [Handle errors](#handle-errors). After defining a tool, wrap it in a server…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…type const protectEnvFiles: HookCallback = async (input, toolUseID, { signal }) => { // Cast input to the specific hook type for type safety const preInput = input as PreToolUseHookInput; // Ca…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…o your collector. The example below enables OTLP export for all three signals. `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA` is required only for traces; omit it if you export metrics and logs alone. ```bash…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…the object you pass. The CLI exports three independent OpenTelemetry signals. Each has its own enable switch and its own exporter, so you can turn on only the ones you need. | Signal | What it conta…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ntil and including a ResultMessage | | `interrupt()` | Send interrupt signal (only works in streaming mode) | | `set_permission_mode(mode)` | Change the permission mode for the current session | | `se…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…pass a `stderr` callback in the query options. A process killed by a signal reports `Claude Code process terminated by signal <name>` in the same form. ### Claude Code returned an error result Both…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…dels) | | `onElicitation` | `(request: ElicitationRequest, options: { signal: AbortSignal }) => Promise<ElicitationResult>` | `undefined` | Callback for handling MCP elicitation requests. Called when…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…eTool = async (toolName, input, options) => { // options includes { signal: AbortSignal, suggestions?: PermissionUpdate[] } // Prompt the user here, then return allow or deny return { behavior:…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ted silently, without writing an error and without being stopped by a signal, and the host reported low memory at that moment. When the process did write an error before exiting, the row shows that er…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…work looks done. Without a check it can run, "looks done" is the only signal available, and you become the verification loop: every mistake waits for you to notice it. Give Claude something that produ…
Champion kit
Claude Code CLI · in the page
champion-kit
…post two or three of your own examples with the prompts included. **Signal that it is working:** a few colleagues react or reply, and at least one question is asked in the channel. **2. Week 2: Sta…
Channels reference
Claude Code CLI · in the page
channels-reference
…g) => ctrl.enqueue(chunk) listeners.add(emit) req.signal.addEventListener('abort', () => listeners.delete(emit)) }, }) return new Response(stream, { hea…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…oints at the gateway itself. * With no destination configured for a signal, the gateway accepts and discards it. * If you already collect Claude Code telemetry directly, add your collector as a `f…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…(#telemetry) and `listen.public_url`. Claude Desktop exports every signal with one encoding: `http/protobuf`, or `http/json` when you set `OTEL_EXPORTER_OTLP_PROTOCOL` or one of its per-signal vari…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…w_cidrs` is empty. The gateway serves the request as usual; the event signals that the gateway may be reachable from the public internet. See the [`access_control` reference](/docs/en/claude-apps-gate…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…reference](/docs/en/claude-apps-gateway-config#telemetry) for the per-signal fields and their sensitivity tradeoffs. The gateway doesn't buffer, aggregate, or store telemetry, so where the data lands…
Code Review
Claude Code CLI · in the page
code-review
…triggers, manual triggers run on draft PRs, since an explicit request signals you want the review now regardless of draft status. If a review is already running on that PR, the request is queued unti…
Communications kit
Claude Code CLI · in the page
communications-kit
…ek activation than the same message from an admin or tooling team. It signals a company priority rather than an optional experiment. This version is deliberately stripped to one ask: install it and r…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…able set runs every process unwrapped and keeps working, and the only signal is a warning in the [debug log](/docs/en/troubleshooting.md). If your launcher policy covers Windows, the variable doesn't…
Environment variables
Claude Code CLI · in the page
env-vars
…utes with no turn or subagent running. Windows has no memory-pressure signal, so this variable has no effect there. Requires Claude Code v2.1.193 or later…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…in the middle of a command or waiting on a permission prompt when the signal arrived, Claude Code handles that step as follows: * **Running a command**: Claude Code records the command as killed in t…
Hooks reference
Claude Code CLI · in the page
hooks
…` #### Exit code 2 behavior per event Exit code 2 is the way a hook signals "stop, don't do this." The effect depends on the event, because some events represent actions that can be blocked (like a…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…, a teammate starting Claude in an unfamiliar part of the tree has no signal about which plugin that area's owners maintain. A [`SessionStart` hook](/docs/en/hooks#sessionstart) can close that gap, si…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…anaged-policy) | When a server silently disappears, the user gets no signal that policy is the reason, so tell affected users which servers are blocked when you roll out a new restriction. ## Monito…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…de disconnects a stdio server, for example when your session ends, it signals the server process and waits briefly for it to exit before forcing it to stop. If your server saves state or removes lock…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…eir shell or `~/.claude/settings.json`. A repository can still turn a signal off by setting its exporter selector, such as `OTEL_LOGS_EXPORTER`, to `none`, unless managed settings, a `--settings` file…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…classifier treats boundaries you state in the conversation as a block signal. If you tell Claude "don't push" or "wait until I review before deploying", the classifier blocks matching actions even whe…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…to choose the judge yourself. #### Choose graders that give a stable signal An `llm` grader asks a model for a verdict, so its answer can differ between runs, and it differs more the longer the text…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…n a project matches it, add a `relevance` block to the entry with the signals that identify the project. Users see suggestions from your marketplace only when an admin lists it in `pluginSuggestionMar…