398 pages for close.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…ibed as original. Claude does not point out what would make a drawing closer to the real thing, and declines requests to close that gap, including when asked to critique its own work. When Claude decl…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…lth condition. Claude does not name a diagnosis the person has not disclosed — including framing their experience as "depression" or another mental-health diagnosis to explain what they are feeling —…
develop-tests
Claude Developer Platform · in the page
test-and-evaluate/develop-tests
…bert.net/)) by computing the cosine of the angle between them. Values closer to 1 indicate higher similarity. It’s ideal for evaluating consistency because similar questions should yield semantically…
increase-consistency
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/increase-consistency
…- If unsure, ask for clarification before proceeding - Never disclose confidential AcmeTechCo information. As AcmeBot, you should handle situations along these guidelines: - If asked ab…
mitigate-jailbreaks
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks
…ntrusted payload and the surrounding structure, so an attacker cannot close a quote or tag to “break out” into an instruction context. <Accordion title="Example: JSON-encoded tool result for an inb…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…ash is allowed, `curl` and `wget` can still reach any URL. Sandboxing closes that gap with a network domain allowlist enforced at the OS level. For the threat model these controls defend against, see…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…Rewind to remove the doc comments? (y/n): ", resolve); }); rl.close(); if (answer.toLowerCase() === "y") { // Resume the session with an empty prompt, then rewind const rewind…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…es | A task is marked completed | Require passing tests before a task closes | | `Elicitation` | No | Yes | An MCP server requests user input mid-task | Respond to MCP input requests programmatically…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…processes inside one container. Best for agents that must collaborate closely, for example multi-agent simulations where the agents interact with each other in a shared environment. Give each agent i…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…provide. ### Decide on a starting point The deciding factor is how closely your agent resembles Claude Code: a coding agent operating in a repository, with a human watching streaming output and ste…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…entities (for example, web search). If `False`, the tool's domain is closed (for example, a memory tool) | | `maxResultSizeChars` | `int \| None` | `None` | Number of characters up to which Claude Co…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…× slower | | File I/O intensive | Up to 10-200× slower for heavy open/close patterns | For multi-tenant environments or when processing untrusted content, the additional isolation is often worth the…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…nd. They are not published as packages; copy the adapter for the type closest to your backend into your project, install your backend's client, and adapt it. | Storage type | Storage model | Example…
Send messages to a running agent
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…face's input handler calls this for each message the user sends. * **`closeInput()`**: the handler calls this when the user closes the chat. * **`userMessages()`**: the generator you pass as the `prom…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…e` input is the raw shape the model emitted. Claude Code repairs some close-but-incorrect key names before execution, mapping `id` or `task_id` to `taskId` and `active_form` to `activeForm`, but that…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…entities (for example, web search). If `false`, the tool's domain is closed (for example, a memory tool) | ```typescript theme={null} import { tool } from "@anthropic-ai/claude-agent-sdk"; import {…
TypeScript SDK V2 session API (removed)
Claude Code CLI · in the page
agent-sdk/typescript-v2-preview
…-and-explicit-resource-management) (TypeScript 5.2+) to automatically close the session when the block exits. You can also call `session.close()` manually. ```typescript theme={null} import { unstabl…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…Promise((resolve) => rl.question(question, (answer) => { rl.close(); resolve(answer); }) ); } for await (const message of query({ prompt: "Create a test file in /tmp and then…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…e full conversation. The session you dispatch keeps running after you close agent view, so you can leave and come back to it. **1. Open agent view** From your shell, run: ```bash theme={null} claud…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…ion** Press `r` to approve the action and let Claude retry it. **4. Close the dialog** Press `Esc` to close the dialog and apply your approval. If Claude was working when you opened `/permissions`,…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…t. If you give it something that comes back pass or fail, Claude can close that loop itself. It makes the change, runs the check, and if something broke it reads the output and fixes it before runnin…
Claude Code changelog
Claude Code CLI · in the page
changelog
…while losing the Shift+Enter binding where keybindings.json has an unclosed string * Fixed files accepted through the IDE diff being saved without their last newline, and losing their byte order mark…
Channels reference
Claude Code CLI · in the page
channels-reference
…({ port: 8788, hostname: '127.0.0.1', idleTimeout: 0, // don't close idle SSE streams async fetch(req) { const url = new URL(req.url) // GET /events: SSE stream so curl -N can watch…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…ab group tied to your session. In local sessions, whether Claude Code closes that group when the session ends depends on how it ends: * When you type `/clear`, Claude Code closes the group, open page…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…hropic. For the remaining traffic the CLI process can send and how to close it, see [Compliance posture](https://code.claude.com/docs/en/claude-apps-gateway-deploy.md#compliance-posture). For which C…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…limits * [`enforcement`](#enforcement): spend-limit fail-open or fail-closed behavior * [`pricing`](#pricing): contracted rates and a multiplier for the spend meter and for the cost figures developers…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…default during the outage, so inference still flows; flip it to fail closed if you'd rather block than run unmetered * **Readiness**: by default `/readyz` reports not-ready as soon as Postgres is unr…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…Policy-2016-08` default, which still accepts TLS 1.0/1.1. > > The ALB closes a connection after 60 seconds with no data by default. The gateway's keepalive pings keep streams inside that default, so r…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…es no `anthropic-ratelimit-unified-*` headers. Set [`enforcement.fail_closed_on_error: true`](https://code.claude.com/docs/en/claude-apps-gateway-config#enforcement) to fail closed instead, which retu…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…environments) when routed there. The session keeps running after you close your laptop, and you can check on it or steer it from any device. It counts toward your plan's usage limits alongside the re…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…em and steer them from your phone. Cloud threads keep going after you close your laptop, while a thread on your computer runs only while that computer is awake. Without a project, running several ses…
claude-tag
Claude Code CLI · in the page
claude-tag
…class="dark" data-banner-state="visible" data-assistant-state="closed" data-page-mode="none" data-current-path="/" > <head> <!-- AI agents: this page is available as Markdown at /docs…
CLI reference
Claude Code CLI · in the page
cli-reference
…1234 --json` | If you mistype a subcommand, Claude Code suggests the closest match and exits without starting a session. For example, `claude udpate` prints `Did you mean claude update?`. `claude --…
Customize Code Review
Claude Code CLI · in the page
code-review-customize
…t. * **Blocks in `REVIEW.md`**: keep the `@` line out of code fences. Close every HTML comment and every `<pre>`, `<script>`, `<style>`, or `<textarea>` block above it. When Code Review skips a skill…
Set up Code Review
Claude Code CLI · in the page
code-review-setup
…up** dialog follows. Click **Finish** to turn Code Review on. If you close the dialog any other way, your repositories stay added but **Allow code review** stays off, and you turn it on from the swit…
Commands
Claude Code CLI · in the page
commands
…kills#override-skill-visibility-from-settings), and `Esc` to save and close. You can't cycle plugin skills, skills whose frontmatter sets `disable-model-invocation: true`, or skills with a `skillOverr…
Communications kit
Claude Code CLI · in the page
communications-kit
…rk through this checklist before the announcement goes out. Each item closes a gap that otherwise turns into a launch-day support thread. | Item | Why it matters | | - | - | | `#claude-code` channel…
Manage costs effectively
Claude Code CLI · in the page
costs
…ntrol.md) is connected, the footer shows no `f` hint. If pressing `f` closes `/usage` with `Nothing was sent. Turn off Remote Control to use fixes.`, Remote Control connected while `/usage` was open.…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…de.com/docs/en/settings-reference#dialogexpiry) deadline, Claude Code closes it and drops the message. The deadline defaults to five minutes. * While no terminal is attached to a [background session](…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…copes. Managed settings apply first when present. Among the rest, the closer scope overrides the broader one in the order local, then project, then user. Some settings can also be set by command-line…
Desktop application
Claude Code CLI · in the page
desktop
…l-previews-for-your-organization), so ask your administrator. If you closed the notice, open the file again to bring it back. #### Turn off scripts in SSH and WSL previews for your organization To…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…the result reflects the app rather than your input. ### Minimize or close the simulator pane You can minimize or close the simulator pane, and Claude can still use the device either way. * If you…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…ct: * **Cloud**: Run sessions in the cloud that continue even if you close the app. See [Use Claude Code in the cloud](https://code.claude.com/docs/en/claude-code-on-the-web.md) for how cloud session…
Environment variables
Claude Code CLI · in the page
env-vars
…ing is unset or `never`. Setting `0` doesn't turn the timeout off; it closes the dialog immediately. In v2.1.198 and v2.1.199, auto-continue was on by default with a `60000` (60 seconds) timeout. Requ…
Error reference
Claude Code CLI · in the page
errors
…Server errors](#the-response-above-may-be-incomplete) | | `Connection closed mid-response` / `Response stalled mid-stream` | [Server errors](#the-response-above-may-be-incomplete) | | `Part of the res…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…auto-follow | | Mouse wheel | Scroll a few lines at a time | If you close a [compacted](https://code.claude.com/docs/en/context-window.md#what-survives-compaction) session and [resume](https://code.…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…n `--allowedTools` in `claude_args` names it. Claude skips draft and closed pull requests, pull requests it judges not to need a review, such as automated or trivial ones, and pull requests that alre…
Glossary
Claude Code CLI · in the page
glossary
…### Cloud session A Claude Code session that keeps running after you close your laptop, because it runs on cloud infrastructure instead of your machine. That infrastructure is Anthropic-managed by de…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ackground tasks at exit After Claude finishes its turn and stdin has closed, a `claude -p` run can stay open to wait for background work that Claude started. Unless a background command that the mai…
Hooks reference
Claude Code CLI · in the page
hooks
…mpletion criteria like passing tests or lint checks before a task can close. TaskCompleted hooks don't support matchers and fire on every occurrence. #### TaskCompleted input In addition to the [co…