Skip to content

Feature Gates Guide

Some Claude Code features exist in the software but are turned off by default. They require an environment variable, a Statsig flag (enabled by Anthropic on your account), or a specific plan tier to activate. These are called feature gates.

This guide covers the gates most likely to affect you as you explore Claude Code. You don’t need to understand all of them — most are for enterprise deployments or experimental research features.


Gate typeExampleHow it’s activatedCan you set it?
Environment variableCLAUDE_CODE_ENABLE_TASKS=1Set it in your shellYes
Statsig flagtengu_session_memoryEnabled by Anthropic on your accountNo
Plan tierMax plan requiredUpgrade your subscriptionYes, via your account
Dual-gate/team-onboardingRequires both an env var AND a Statsig flagPartially — you set the env var, Anthropic sets the flag

Feature gates relevant to junior developers

Section titled “Feature gates relevant to junior developers”
Terminal window
CLAUDE_CODE_ENABLE_TASKS=1

Enables a task coordination system that persists across sessions.

Terminal window
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1

Enables TeamCreate/TeamDelete tools for coordinating groups of agents.

Terminal window
CLAUDE_CODE_COORDINATOR_MODE=1

Enables full multi-agent orchestration mode.

tengu_session_memory (Statsig — Anthropic enables this, not you)

A background subagent extracts key notes from your session into ~/.claude/sessionMemory.md.

tengu_scratch (Statsig — Anthropic enables this, not you)

Enables a .claude/scratchpad/ shared directory between agents.

Terminal window
CLAUDE_CODE_TEAM_ONBOARDING=1
# AND tengu_flint_harbor Statsig flag (Anthropic enables)

Enables the /team-onboarding command.

Terminal window
CLAUDE_CODE_ENABLE_LOOP=1

Enables the /loop command for recurring scheduled prompts.

Terminal window
CLAUDE_CODE_ENABLE_CFC=1

Purpose unknown — this env var exists in the source but its command surface is undocumented.


You can set these in your shell session, or add them to a .env file if your setup supports it:

Terminal window
# In your shell (lasts for this terminal session)
export CLAUDE_CODE_ENABLE_TASKS=1
claude
# Or when starting Claude directly
CLAUDE_CODE_ENABLE_TASKS=1 claude

For persistent configuration, add to your shell profile (~/.bashrc, ~/.zshrc):

Terminal window
export CLAUDE_CODE_ENABLE_TASKS=1

Some features are on by default and can be turned off:

FlagWhat it disables
CLAUDE_CODE_DISABLE_AUTO_MEMORY=1Turns off automatic memory extraction (privacy)
CLAUDE_CODE_DISABLE_TELEMETRY=1Disables usage telemetry
DISABLE_<COMMAND>_COMMAND=1Disables a specific slash command (e.g., DISABLE_FEEDBACK_COMMAND=1)



← Back to GettingStarted/README.md