172 pages for inherit.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…`dict[str, str]` | `{}` | Environment variables merged on top of the inherited process environment. See [Environment variables](/docs/en/env-vars) for variables the underlying CLI reads, and [Handle…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…oncise summary, not every file the subagent read. See [What subagents inherit](#what-subagents-inherit) for exactly what's in the subagent's context. * **Parallelization**: multiple subagents can run…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…places the subprocess environment, so spread `...process.env` to keep inherited variables. In Python, `env` is merged on top of the inherited environment ## Todo lifecycle Claude moves each todo thr…
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…places the subprocess environment, so spread `...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…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…process.env`, so pass `{ ...process.env, YOUR_VAR: 'value' }` to keep inherited variables like `PATH`. See [Handle slow or stalled API responses](#handle-slow-or-stalled-api-responses) for an example…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…subagent-definitions-for-teammates), the definition's `model`, where `inherit` selects the lead's model. 3. [`CLAUDE_CODE_SUBAGENT_MODEL`](/docs/en/model-config#environment-variables), when it's set t…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…you have open. Sessions started with launch flags the copy wouldn't inherit, such as a replaced system prompt or a `--tools` allowlist, can't be forked; Claude Code says so instead of making a parti…
Run agents in parallel
Claude Code CLI · in the page
agents
…/docs/en/sub-agents#fork-the-current-conversation) is a subagent that inherits your full conversation context instead of starting fresh. It's a way to spawn a subagent, not a separate surface. Start o…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…3d3d3a; --cs-border-default: rgba(31, 30, 29, 0.15); font-family: inherit; } .dark .cc-cs { --cs-slate: #f0eee6; --cs-gray-000: #262624; --cs-gray-700: #bfbdb4; --cs-border-default: rgba(2…
Authentication
Claude Code CLI · in the page
authentication
…edentials are stored in `%USERPROFILE%\.claude\.credentials.json` and inherit the access controls of your user profile directory, which restricts the file to your user account by default. * If you'v…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…so your custom rules can go before or after them, and you continue to inherit updates as the built-in list changes across releases. The following example keeps the defaults in all four lists and adds…
Claude Code changelog
Claude Code CLI · in the page
changelog
…shows a notice * Fixed commands and hooks in background sessions inheriting `FORCE_COLOR=3`, which put color escape codes into the output Claude reads * Fixed `claude agents` starting a new b…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…box. </Note> ### Manage site permissions Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites Claude can browse,…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…solve inside each policy's # list. The eng-contractors policy inherits enforceAvailableModels. enforceAvailableModels: true ``` A `match: {}` catch-all, conventionally listed last, is…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…the Google service account to the Kubernetes service account so pods inherit its credentials: ```bash theme={null} gcloud container clusters update <cluster> --region="$REGION" \…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…| A group or organization cap is a per-seat default that each member inherits, not a shared pool. Per period, a developer's effective cap resolves in this order: a per-user override, then the most re…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…Show the terminal command to verify changes - Prefer composition over inheritance`, docsLink: '/en/memory' }, { id: 'global-settings', label: 'settings.json',…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…3d3d3a; --cs-border-default: rgba(31, 30, 29, 0.15); font-family: inherit; } .dark .cc-cs { --cs-slate: #f0eee6; --cs-gray-000: #262624; --cs-gray-700: #bfbdb4; --cs-border-default: rgba(2…
claude-tag
Claude Code CLI · in the page
claude-tag
…y-start","--scroll-area-overflow-y-end"]; var d={"syntax":"<length>","inherits":false,"initialValue":"0px"}; for(var i=0;i<n.length;i++){try{CSS.registerProperty({name:n[i],syntax:d.syntax,inherits:d.…
CLI reference
Claude Code CLI · in the page
cli-reference
…text-and-communication) for the sessions you start from this one that inherit the list…
Commands
Claude Code CLI · in the page
commands
…sub-agents#fork-the-current-conversation): a background subagent that inherits the full conversation and works on the task while you keep working. Its result returns to this conversation when it finis…
Explore the context window
Claude Code CLI · in the page
context-window
…to fit the context window. As of v2.1.198, the summarization request inherits your session's [extended thinking](/docs/en/model-config#extended-thinking) configuration, so it reasons with thinking en…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…the `env` block of a settings file so the detached background service inherits it. A shell `export` isn't enough: the background service starts on demand, outlives your shell, and never re-reads shell…
Manage costs effectively
Claude Code CLI · in the page
costs
…lt in `/config`. A switch to Opus also applies to the [subagents that inherit your session's model](/docs/en/model-config#setting-your-model). For simple subagent tasks, specify `model: haiku` in your…
Desktop application
Claude Code CLI · in the page
desktop
…and native paths ### Local sessions The desktop app does not always inherit your full shell environment. On macOS, when you launch the app from the Dock or Finder, it reads your shell profile, such…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…s configured per task | [Config files](/docs/en/mcp) and connectors | Inherits from session | | Permission prompts | No (runs autonomously) | Configurable per task | Inherits from session | | Customiz…
Environment variables
Claude Code CLI · in the page
env-vars
…es each `env` entry into the process environment, replacing the value inherited from the shell. The [`env` setting](/docs/en/settings-reference#when-claude-code-applies-env-values) says when it applie…
Error reference
Claude Code CLI · in the page
errors
…pt-saving-is-off-skip-prompt-history) | | `Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker` | [Session saving warnings](#transcript-saving-is-off-child-session-marker) | | `Claud…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…nt of all CLAUDE.md files (managed, user, and project levels). **Inheritance:** Claude reads CLAUDE.md files from your working directory up to the root, and discovers nested ones in subdirectorie…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…3d3d3a; --cs-border-default: rgba(31, 30, 29, 0.15); font-family: inherit; } .dark .cc-cs { --cs-slate: #f0eee6; --cs-gray-000: #262624; --cs-gray-700: #bfbdb4; --cs-border-default: rgba(2…
Hooks reference
Claude Code CLI · in the page
hooks
…hen you switch models with `/model` during a session. A hook process inherits the parent environment, apart from the `OTEL_*` exporter variables that Claude Code [removes from every subprocess it spa…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…ked subagent](/docs/en/sub-agents#fork-the-current-conversation) that inherits the parent conversation plus this question and answer, so it can continue with full tool access. You stay in the current…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…ge or subsystem | Project settings in `.claude/settings.json` aren't inherited from parent directories the way CLAUDE.md files are. For which directory's `.claude/settings.json` a session reads, see…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…#### Confirm in Claude Code Start `claude` from the same shell so it inherits the exports, send a message, and run `/status`. On the **Status** tab, the `Anthropic base URL` line should show your ga…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…ed Windows machines reads the Windows managed settings only when [`wslInheritsWindowsSettings`](/docs/en/settings-reference#wslinheritswindowssettings) is `true` #### The HIPAA configuration behind a…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…s**: [`policyHelper`](/docs/en/settings-reference#policyhelper), [`wslInheritsWindowsSettings`](/docs/en/settings-reference#wslinheritswindowssettings), and [`managedSourcesBehavior`](/docs/en/setting…
How Claude remembers your project
Claude Code CLI · in the page
memory
…is a [fork](/docs/en/sub-agents#fork-the-current-conversation), which inherits the parent conversation and system prompt. A subagent's own auto memory, enabled with the subagent `memory` field, is a s…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…3d3d3a; --cs-border-default: rgba(31, 30, 29, 0.15); font-family: inherit; } .dark .cc-cs { --cs-slate: #f0eee6; --cs-gray-000: #262624; --cs-gray-700: #bfbdb4; --cs-border-default: rgba(2…
Model configuration
Claude Code CLI · in the page
model-config
…switch models with `/model`, the switch also reaches [subagents that inherit the main conversation's model](/docs/en/sub-agents#choose-a-model), because Claude Code resolves their model from the one…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…y-instrumented application that you run through the Bash tool doesn't inherit Claude Code's exporter endpoint or headers, so set those variables directly in the command if that application needs to ex…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…the shell The supervisor is one process shared by every terminal. It inherits the environment of whichever shell starts it first, and an OS-installed supervisor receives no shell environment at all.…
Output styles
Claude Code CLI · in the page
output-styles
…to a [fork](/docs/en/sub-agents#fork-the-current-conversation), which inherits the parent's whole conversation and system prompt. Other [subagents run their own system prompt](/docs/en/sub-agents#what…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…the same provider variables as your normal sessions, because each run inherits them from that shell as the [`env` field](#prompt-md-fields) describes. ## How an eval run works An eval suite lives in…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…xt-2: #3D3D3A; --pe-text-3: #5E5D59; font-family: inherit; background: var(--pe-bg); color: var(--pe-text); border: 1px solid var(--pe-border);…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…ork](/docs/en/sub-agents#fork-the-current-conversation), by contrast, inherits the parent's system prompt, tools, and conversation history exactly, so its first request reads the parent's cache. Othe…
Prompt library
Claude Code CLI · in the page
prompt-library
…e, .pl *::after { box-sizing: border-box; } .pl button { font-family: inherit; cursor: pointer; } .pl a { color: var(--pl-accent); text-decoration: none; } .pl a:hover { text-decoration: underline; }…
Automate work with routines
Claude Code CLI · in the page
routines
…network access, environment variables, and setup scripts. The routine inherits the environment's network policy on every run. The **Default** environment uses **Trusted** network access, which allows…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…-reference#sandbox-network-denieddomains) | | Environment variables | Inherited from Claude Code, including any secrets in its environment | [`credentials`](#protect-credentials), [`CLAUDE_CODE_SUBPRO…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…s configured per task | [Config files](/docs/en/mcp) and connectors | Inherits from session | | Permission prompts | No (runs autonomously) | Configurable per task | Inherits from session | | Customiz…
Security
Claude Code CLI · in the page
security
…y're stored in a file with mode `0600`, and on Windows in a file that inherits the access controls of your user profile directory. See [Credential Management](/docs/en/authentication#credential-manage…