{"name":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE","slug":"claude-code-subagent-model-force","family":"env","title":"Environment variables","noun":"environment variable","description":"With the forced subagent model set, the workflow authoring reference drops its model-override guidance.","description_source":"entry","described_by":{"version":"2.1.257","anchor":"workflow-docs-model-override-guidance-suppressed-when-claud"},"presence":{"first_seen":"2.1.257","removed_in":null,"in_current_build":true,"newest_mined":"2.1.322","builds":59,"mined_builds":161,"first_cited":{"version":"2.1.257","released_at":"2026-09-01 17:15:33","spans":5}},"aliases":[],"entries":[{"version":"2.1.319","anchor":"model-picker-can-show-a-server-defined-mix-row","heading":"The model picker can show a mix row defined by Anthropic's server","line":"A server-sent recipe can add a model picker row that sets which model subagents use, unless you already set that yourself","released_at":"2026-11-06 00:58:56","reason":"found in this entry's text, named in this entry"},{"version":"2.1.315","anchor":"claude-code-subagent-effort-sets-a-default-effort-for-subage","heading":"New CLAUDE_CODE_SUBAGENT_EFFORT sets a default effort for subagents","line":"Set `CLAUDE_CODE_SUBAGENT_EFFORT` to give subagents and workflow agents an effort level when their own definition does not set one","released_at":"2026-10-30 21:05:24","reason":"found in this entry's text"},{"version":"2.1.315","anchor":"snappy-pelican-fast-subagent-gate-now-also-bails-on-a-second","heading":"Another model override now turns off relative subagent effort","line":"Asking a subagent for lower or higher effort is now also turned off when a second kind of model override is set","released_at":"2026-10-30 21:05:24","reason":"found in this entry's text, named in this entry"},{"version":"2.1.296","anchor":"new-env-var-claude-code-workflow-subagent-model-overrides-th","heading":"New CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL picks the model for workflow subagents","line":"Setting `CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL` chooses which model subagents use during a workflow run, separately from other subagents","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.296","anchor":"relative-subagent-effort-lowerhigher-built-but-gated","heading":"Subagents can be asked for lower or higher effort, off by default","line":"Claude can now ask a subagent for lower or higher effort than its own, but the option is off unless switched on","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"claude-code-subagent-model-force-added-to-a-propagated-env-l","heading":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE added to a propagated env list","line":"CLAUDE_CODE_SUBAGENT_MODEL_FORCE joins a list of passed-on env vars, and RUNNER_ENVIRONMENT is added next to GITHUB_ACTIONS","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.257","anchor":"workflow-docs-model-override-guidance-suppressed-when-claud","heading":"Workflow docs: model-override guidance suppressed when CLAUDE_CODE_SUBAGENT_MODEL_FORCE is set","line":"With the forced subagent model set, the workflow authoring reference drops its model-override guidance.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text, named in this entry"},{"version":"2.1.257","anchor":"new-claude-code-subagent-model-force-env-var","heading":"New CLAUDE_CODE_SUBAGENT_MODEL_FORCE env var","line":"A new env var stops per-call model overrides for subagents and workflow agents, forcing them to inherit.","released_at":"2026-09-01 17:15:33","reason":"found in this entry's text, named in this entry"}],"entries_total":8,"docs":[{"source":"claude-code","path":"agent-teams","title":"Orchestrate teams of Claude Code sessions","documented":false},{"source":"claude-code","path":"model-config","title":"Model configuration","documented":false},{"source":"claude-code","path":"sub-agents","title":"Create custom subagents","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"CLAUDE_CODE_SUBAGENT_MODEL","slug":"claude-code-subagent-model","description":"Subagent model choice now records where the model came from, not just its name."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-subagent-model-force","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}