inherit
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Set ANTHROPIC_DEFAULT_MODEL and it becomes your model whenever no flag or ANTHROPIC_MODEL applies.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.236.
In the changelogs
9Releases whose published page names inherit.
-
v2.1.296
New
CLAUDE_CODE_WORKFLOW_SUBAGENT_MODELpicks the model for workflow subagentsSetting
CLAUDE_CODE_WORKFLOW_SUBAGENT_MODELchooses which model subagents use during a workflow run, separately from other subagentsfound in this entry's text
-
v2.1.296
Subagents can be asked for lower or higher effort, off by default
Claude can now ask a subagent for lower or higher effort than its own, but the option is off unless switched on
found in this entry's text
-
v2.1.259
Turn-attribution metadata added to background/notification message sends
Background and notification sends now carry turn attribution so the system knows which turn they belong to.
found in this entry's text
-
v2.1.257
New
CLAUDE_CODE_SUBAGENT_MODEL_FORCEenv varA new env var stops per-call model overrides for subagents and workflow agents, forcing them to inherit.
found in this entry's text
-
v2.1.251
Forked agents are spawned asking to inherit the parent model
Forked agents now ask for the parent's model explicitly instead of leaving it blank.
named in this entry
-
v2.1.251
"Inherit" as a subagent model is matched regardless of case
Writing a subagent's model as "Inherit" in any casing now works.
named in this entry
-
v2.1.251
Subagent
modelfield documents its fallback orderSubagent model field docs now spell out alias, raw id, inherit, and the default fallback.
named in this entry, found in this entry's text
-
v2.1.236
ANTHROPIC_DEFAULT_MODELsets the model when nothing else doesSet ANTHROPIC_DEFAULT_MODEL and it becomes your model whenever no flag or ANTHROPIC_MODEL applies.
found in this entry's text
-
v2.1.30
Enhanced Custom Subagent Schema
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.