213 pages for merge.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…r life-preserving information — for example, overdose recognition or emergency response steps — because withholding that information in an acute situation could cost a life. Claude does not write, ex…
reduce-hallucinations
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/reduce-hallucinations
…lly reduce false information. <Accordion title="Example: Analyzing a merger and acquisition report"> ```text User wrap As our M&A advisor, analyze this report on the potential acquisition of Acme…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…e). Array settings such as `permissions.allow` and `permissions.deny` merge entries from all sources, so developers can extend managed lists but not remove from them. For `fallbackModel`, `availableMo…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…our session. Whether your values replace the inherited environment or merge over it differs by language: * **TypeScript**: `env` replaces the subprocess environment * **Python**: the SDK merges your…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…ed variables like `PATH` and `ANTHROPIC_API_KEY`. In Python, `env` is merged on top of the inherited environment. ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-age…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…e same process need different telemetry settings. In Python, `env` is merged on top of the inherited environment. In TypeScript, `env` replaces the inherited environment entirely, so include `...proce…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…guration) | | `env` | `dict[str, str]` | `{}` | Environment variables merged on top of the inherited process environment. See [Environment variables](/docs/en/env-vars.md) for variables the underlying…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…cess.env` into it to keep variables like `PATH`, while the Python SDK merges it into the inherited environment. This example turns nesting off, allows at most five subagents at a time, and stops the q…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…ead `...process.env` to keep inherited variables. In Python, `env` is merged on top of the inherited environment ## Todo lifecycle Claude moves each todo through a predictable lifecycle: 1. **Creat…
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…ead `...process.env` to keep inherited variables. In Python, `env` is merged on top of the inherited environment. This example connects to a remote MCP server that exposes many tools, pre-approves all…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…e effective Claude Code settings for a given directory using the same merge engine as the CLI, without spawning the Claude CLI. Use it to inspect what configuration a `query()` call would see before i…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…a scientific debate. Update the findings doc with whatever consensus emerges. ``` The debate structure is the key mechanism here. Sequential investigation suffers from anchoring: once one theory is e…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…t the right edge of a row is a link to the session's [pull request or merge request](#pull-request-status), not part of the state icon. The terminal tab title shows the awaiting-input count while age…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…tle ID and the `haiku` alias resolve to the same model family, so the merge keeps only the more specific entry. See [Merge behavior](/docs/en/model-config.md#merge-behavior): ```json theme={null} {…
Track team usage with analytics
Claude Code CLI · in the page
analytics
…these summary metrics at the top: * **PRs with CC**: total count of merged pull requests that contain at least one line of code written with Claude Code * **Lines of code with CC**: total lines of c…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…e page, Claude Code refuses a publish built on that copy. Claude then merges its changes onto the newer version and publishes again. ## Read an artifact shared with you When someone shares an artifa…
Authentication
Claude Code CLI · in the page
authentication
…as well, set the keys in both places: managed-settings sources [don't merge](/docs/en/server-managed-settings.md#settings-precedence), and cached server-managed settings replace the device-managed fil…
Claude Code changelog
Claude Code CLI · in the page
changelog
…`settings.read` hooks to receive each settings layer and rewrite the merged settings, so a managed mod can make an organization's setting a ceiling, including the `cleanupPeriodDays` the retention sw…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…rl` to your gateway's `public_url`, and `parentSettingsBehavior` to `"merge"` in that machine's [managed settings file](/docs/en/managed-settings.md#delivery-mechanisms), then run `/login`, press Ente…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…n. Policies are evaluated in order; the first match is selected, then merged onto the `match: {}` catch-all base. They are served per-user at `GET /managed/settings` with ETag/304 caching. ```yaml th…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…ceLoginMethod`, `forceLoginGatewayUrl`, and `parentSettingsBehavior: "merge"` to each developer's machine through managed settings, via MDM or by writing the per-OS `managed-settings.json` directly.…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…ginMethod`, `forceLoginGatewayUrl`, and the `parentSettingsBehavior: "merge"` opt-in, to each device via MDM. There is no gateway option in the login picker for a developer to select manually. ## Ter…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…ginMethod`, `forceLoginGatewayUrl`, and the `parentSettingsBehavior: "merge"` opt-in, to each device via MDM. There is no gateway option in the login picker for a developer to select manually. ## Ter…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…b does not emit a webhook when the base branch advances and creates a merge conflict, so auto-fix can't react to conflicts on its own. To resolve a conflict, open the session and ask Claude to rebase.…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…ere global and project files are both loaded into context rather than merged key by key.</>], example: `{ "permissions": { "allow": [ "Bash(git log *)", "Bash(git diff *)"…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…ep: * **Resolve conflicts**, **Fix CI**, **Address comments**, and **Merge it** send that instruction to the thread as a message from you, so you can prompt the thread yourself instead of waiting for…
CLI reference
Claude Code CLI · in the page
cli-reference
…. Accepts a PR number, a GitHub or GitHub Enterprise PR URL, a GitLab merge request URL, or a Bitbucket pull request URL. Sessions are linked automatically when Claude creates the pull request…
Code Review
Claude Code CLI · in the page
code-review
…t was wrong or noisy. Anthropic collects reaction counts after the PR merges and uses them to tune the reviewer. Reactions do not trigger a re-review or change anything on the PR. Replying to an inli…
Customize Code Review
Claude Code CLI · in the page
code-review-customize
…erity, and what to skip. Add `REVIEW.md` at your repository root and merge it. Then [protect your default branch](#which-branch-review-md-is-read-from). > [!NOTE] > > To change how thorough reviews…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…findings on a GitHub pull request as inline comments, or on a [GitLab merge request](#post-findings-to-a-gitlab-merge-request) as a single note **2. Keep working** The review runs as a background [s…
Read and request reviews on a pull request
Claude Code CLI · in the page
code-review-pull-requests
…(/docs/en/code-review-customize.md). ## Respond to findings You can merge without responding to a finding, unless your repository's own rules require it. If its branch protection [requires conversat…
Commands
Claude Code CLI · in the page
commands
…o apply findings, `--comment` to post them on the GitHub PR or GitLab merge request, or `ultra` to run a deep [cloud review](/docs/en/ultrareview). Posting to a GitLab merge request requires Claude Co…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…guarantee instead of guidance. ## Check resolved settings Settings merge across managed, user, project, and local scopes. Managed settings apply first when present. Among the rest, the closer scope…
Desktop application
Claude Code CLI · in the page
desktop
…request status To have Claude fix failing checks, or to have GitHub merge the pull request, turn on **Auto-fix** or **Merge when ready**. After you open a pull request, it appears in the **Changes**…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…every 30 minutes" or "next Monday at 9am, summarize the pull requests merged since Friday." ## How scheduled tasks run Local scheduled tasks run on your machine. Desktop checks the schedule every mi…
Environment variables
Claude Code CLI · in the page
env-vars
…AUDE_CODE_EXTRA_BODY` | JSON object to merge into the top level of every API request body. Useful for passing provider-specific parameters that Claude Code doesn't expos…
Error reference
Claude Code CLI · in the page
errors
…-line errors](#diff-is-too-large-for-ultrareview) | | `Could not find merge-base with <branch>` | [Command-line errors](#could-not-find-merge-base-with-the-base-branch) | | `Your checkout has no branc…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…P scope](/docs/en/mcp.md#scope-hierarchy-and-precedence). * **Hooks** merge: all registered hooks fire for their matching events regardless of source. See [hooks](/docs/en/hooks.md). ### Combine feat…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…itHub in your browser with a pull request ready to create. Create and merge that pull request, and `@claude` works in the repository. To stop setup partway through, press Esc. A step already in progr…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…rules to fit how you want to trigger the job: # - manual runs # - merge request events # - web/API triggers when a comment contains '@claude' rules: - if: '$CI_PIPELINE_SOURCE == "web"'…
Glossary
Claude Code CLI · in the page
glossary
…ttings.json`, then user settings at `~/.claude/settings.json`. Arrays merge across layers; scalars at a higher layer override lower ones. See [Settings precedence](/docs/en/settings.md#settings-preced…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…theme={null} claude -p "/goal CHANGELOG.md has an entry for every PR merged this week" ``` With the default text output, Claude's final response prints when the loop ends, so a goal that runs many t…
Hooks reference
Claude Code CLI · in the page
hooks
…tings-reference#what-runs-under-allowmanagedhooksonly). Hook entries merge across settings levels rather than replacing each other: user, project, and local settings add their own hooks without remov…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ame event, every hook's command runs to completion before Claude Code merges the results. One hook returning `deny` doesn't stop sibling hooks from executing. Don't rely on one hook's `deny` to suppre…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…s requested * Gray: draft The badge disappears once the pull request merges or closes. `Cmd+click` (macOS) or `Ctrl+click` (Windows/Linux) the link to open the pull request in your browser. The sta…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…aw SQL strings in route handlers. Never edit a migration after it has merged. Add a new migration instead. ``` When you start Claude from `packages/api/`, it loads both `packages/api/CLAUDE.md` and t…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…keep your gateway variables. * Python: `ClaudeAgentOptions(env=...)` merges on top of the inherited environment, so gateway variables set in the parent process carry through without spreading. ```ts…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…e key. * Keep the block in its own array entry: the endpoint treats a merged block that starts with the attribution header as attribution in its entirety and drops everything merged into it, including…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…r that matches an entry won't load. * A user's own `deniedMcpServers` merges in from their settings, so users can block a managed server for themselves. The servers in `managed-mcp.json` need no `all…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…me system directory, instead of editing one shared file. Claude Code merges `managed-settings.json` first, then every `*.json` file in the directory in alphabetical order. Name the files with numeric…