Leaked Claude Code CLI source reveals hidden features and internal flags

Hidden features and internal flags discovered in leaked source
Someone has leaked the TypeScript source code for Claude Code CLI, revealing approximately 1,884 files containing build-time feature flags and internal functionality not present in public builds.
Key feature flags found in the codebase
- BUDDY — A Tamagotchi-style AI pet that lives beside your prompt. Includes 18 species (duck, axolotl, chonk...), rarity tiers, and stats like CHAOS and SNARK. Teaser drops April 1, 2026 (likely an April Fools' egg in the codebase).
- KAIROS — Persistent assistant mode where Claude remembers across sessions via daily logs, then "dreams" at night. A forked subagent consolidates your memories while you sleep.
- ULTRAPLAN — Sends complex planning to a remote Claude instance for up to 30 minutes. You approve the plan in your browser, then "teleport" it back to your terminal.
- Coordinator Mode — Already accessible via
CLAUDE_CODE_COORDINATOR_MODE=1. Spawns parallel worker agents that report back via XML notifications. - UDS Inbox — Multiple Claude sessions on your machine can talk to each other over Unix domain sockets.
- Bridge —
claude remote-controllets you control your local CLI from claude.ai or your phone. - Daemon Mode —
claude ps,attach,kill— full session supervisor with background tmux sessions.
Additional findings
The analysis also revealed:
- 120+ undocumented environment variables
- 26 internal slash commands including
/teleport,/dream,/good-claude - GrowthBook SDK keys for remote feature toggling
USER_TYPE=antwhich unlocks everything for Anthropic employees
These findings provide insight into internal development and potential future features of Claude Code CLI.
📖 Read the full source: r/ClaudeAI
👀 See Also

AI's Brokenomics: Anthropic's Mythos/Fable Export Ban Chaos
Anthropic's 'too dangerous to release' Mythos model was jailbroken within days, leading to US export controls banning non-US citizen access. Fable's guardrails failed when Amazon researchers broke them, triggering a national security rollback.

Mercury 2: Diffusion-Based Model for Real-Time AI Coding
Mercury 2 uses diffusion-based generation instead of sequential token-by-token decoding, generates tokens in parallel and refines them over steps, and claims 1,009 tokens/sec on NVIDIA Blackwell GPUs with pricing at $0.25/1M input tokens and $0.75/1M output tokens.

Analysis: Comparing the AI Industry to Subprime Mortgage Crisis Patterns
Edward Zitron's analysis draws parallels between the 2008 subprime mortgage crisis and current AI industry trends, citing specific data points about adjustable-rate mortgages and their similarities to AI investment patterns.

Cerebras releases Step-3.5-Flash-REAP models with 40% memory reduction
Cerebras has released Step-3.5-Flash-REAP models that use REAP (Router-weighted Expert Activation Pruning) to compress 196B parameter models to 121B while maintaining near-identical performance. The models work with vanilla vLLM and are optimized for resource-constrained environments.