Anthropic accidentally published their entire Claude Code source to npm. 1,900 files, 512K lines of TypeScript, 44 hidden feature flags. I went through all of it and pulled out everything that matters.
What most people think is a terminal chatbot is actually a full orchestration engine: 66 built-in tools, a multi-agent coordination system, a permission engine with ML-based auto-approval, five different memory compaction strategies, and an MCP client/server running simultaneously.
The unreleased features are wild: Chyros โ an autonomous daemon that runs Claude 24/7 in the background, monitors your repos, and pushes notifications to your phone. Coordinator Mode โ manages multiple AI workers in parallel across research, synthesis, implementation, and verification. Ultra Plan โ offloads complex planning to Opus 4.6 with up to 30 minutes of reasoning time. Autodream โ background memory consolidation while you're not using it. Anthropic literally calls it "dreaming" in the code.
Plus: new model references (4.7, 4.8, and two entirely new tiers), a hidden Tamagotchi pet system with 18 species, frustration detection that adjusts tone when you're heated, and an anti-distillation system that injects fake tools to block competitors from copying the behavior.
Which hidden feature surprised you the most? ๐
here's the guide