{"name":"CLAUDE_CODE_FORK_SUBAGENT_DEFAULT_ON","slug":"claude-code-fork-subagent-default-on","family":"env","title":"Environment variables","noun":"environment variable","description":null,"description_source":"none","described_by":null,"presence":{"first_seen":"2.1.160","removed_in":"2.1.163","in_current_build":false,"newest_mined":"2.1.308","builds":3,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_FORK_SUBAGENT","slug":"claude-code-fork-subagent","description":"Controls [fork mode](\/docs\/en\/sub-agents#turn-fork-mode-on-or-off), which lets Claude spawn [forked subagents](\/docs\/en\/sub-agents#fork-the-current-conversation) itself and is on by default in interactive sessions only. Set to `1` to turn it on in `claude -p` and the Agent SDK as well, or `0` to turn it off in every kind of session. You can run `\/subtask` whether or not fork mode is on. The interactive default requires Claude Code v2.1.232 or later; on earlier versions, set the variable to `1` to turn fork mode on"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-fork-subagent-default-on","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}