Spawned teammates have these environment variables: CLAUDE_CODE_AGENT_ID: Unique identifier for the agentCLAUDE_CODE_AGENT_TYPE: Role/type of the agentCLAUDE_CODE_TEAM_NAME: Name of the teamCLAUDE_CODE_PLAN_MODE_REQUIRED: Whether plan approval is required See this entry in the whole of v2.1.16 →