CLAUDE_CODE_TEAM_ONBOARDING
Updated by Alex Sorokoletov
CLAUDE_CODE_TEAM_ONBOARDING is a Claude Code environment variable: Replaced by newer onboarding paths (CLAUDE_CODE_POWERUP_ONBOARDING, /doctor's CLAUDE.md-trimming check). Removed between v2.1.143 and v2.1.212, so current releases ignore it. It is not in the official reference.
| Status | Removed between v2.1.143 and v2.1.212 |
|---|---|
| Added | Added in v2.1.94 |
| Category | Agents and subagents |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_TEAM_ONBOARDING=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_TEAM_ONBOARDING": "<value>"
}
}Release notes that mention it
- Claude Code v2.1.209 — Auto Mode Grows Up
- Claude Code v2.1.94 — 5 New Environment Variables: Mantle Authentication, MCP Sandboxing, and Team Onboarding
- Claude Code Version Tracker: Undocumented Env Vars, Feature Gates & Models
Related variables
CLAUDE_INTERNAL_ASSISTANT_TEAM_NAME: Passes the current Agent Teams team name (prefixed assistant-) to a spawned child process.CLAUDE_AGENT: Short-form identifier for the current agent, used in inter-agent messaging and log attribution.CLAUDE_AGENT_SDK_CLIENT_APP: Client application name.CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS: Disable built-in agent types.CLAUDE_AGENT_SDK_MCP_NO_PREFIX: Don't prefix MCP tool names with server name.CLAUDE_AGENT_SDK_VERSION: Agent SDK version sent in User-Agent header.CLAUDE_AGENTS_AUTO_RELAUNCHED_AT: Timestamp set when the agent fleet was automatically relaunched after a crash.CLAUDE_AGENTS_SELECT: Selects which agents from a fleet configuration are active for this session or job.
Frequently asked questions
What does CLAUDE_CODE_TEAM_ONBOARDING do?
Replaced by newer onboarding paths (CLAUDE_CODE_POWERUP_ONBOARDING, /doctor's CLAUDE.md-trimming check).
Which Claude Code version has CLAUDE_CODE_TEAM_ONBOARDING?
Removed between v2.1.143 and v2.1.212, so current releases ignore it.
How do I set CLAUDE_CODE_TEAM_ONBOARDING?
Export it before starting Claude Code (export CLAUDE_CODE_TEAM_ONBOARDING=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.