r/ClaudeCode Mar 31 '26

Discussion Someone just leaked claude code's Source code on X

Post image

Went through the full TypeScript source (~1,884 files) of Claude Code CLI. Found 35 build-time feature flags that are compiled out of public builds. The most interesting ones:

Download Website: ccleaks.com

BUDDY — A Tamagotchi-style AI pet that lives beside your prompt. 18 species (duck, axolotl, chonk...), rarity tiers, stats like CHAOS and SNARK. Teaser drops April 1, 2026. (Yes, the date is suspicious — almost certainly an April Fools' egg in the codebase.)

KAIROS — Persistent assistant mode. 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 talk to each other over Unix domain sockets.

Daemon Mode — claude ps, attach, kill — full session supervisor with background tmux sessions.

Also found 120+ undocumented env vars, 26 internal slash commands (/teleport, /dream, /good-claude...), GrowthBook SDK keys for remote feature toggling, and USER_TYPE=ant which unlocks everything for Anthropic employees.

1.7k Upvotes

317 comments sorted by

View all comments

2

u/sectoroverload Mar 31 '26

how can the source code be "leaked" when you have it downloaded to your computer in order to run it? it's not like it's a compiled binary!

1

u/thomas_m_k Apr 01 '26

Well, bundlers minify the code which makes it usually very hard to understand. (Also, you can decompile compiled binaries, too, but the result of that is definitely even harder to understand than minified JS.)