Inside Claude Code

Anthropic's AI coding agent accidentally leaked its source via NPM source maps — including a hidden gacha game. HN noticed — this goes deeper. Pick a tour.

512K+
Lines of Source
0
Tools
0
Feature Flags
0
Buddy Species

Currently Clauding...

🏗
The Architecture
How it works. The loop, tools, skills, agents, system prompt, context, cache, memory, and models.
12 stops · ~10 min
🔍
The Secrets
What's hidden. Anti-distillation, undercover mode, internal prompts, codenames, a gacha game, and dreams.
8 stops · ~6 min
🔧
The Playbook
What to do with this. 10 principles for agent builders, power user tricks, and what HN missed.
7 stops · ~5 min
Analysis by @piyushmakhija_ Source: @Fried_rice leak · HN