"We didn't set out to write a love letter. We set out to analyze source code."
495,000 words. 18 chapters. 7 appendices. Every claim cited from source code.
On March 31, 2026, the full source code of Anthropic's Claude Code CLI was accidentally leaked via a .map file in their npm registry — 510,000 lines of unobfuscated TypeScript, downloadable for 72 hours before Anthropic closed the link.
This book exists because of that accident.
We read every line. We documented what we found. And we wrote the most comprehensive guide to Claude Code ever written — with exact file:line citations for every technical claim.
Non-technical readers (Chapters 1–3) — Teachers, managers, lawyers, doctors, anyone who wants to use Claude Code to build tools without writing code.
Developers (Chapters 4–6) — Rate limit strategies, settings deep dives, multi-agent workflows for shipping real products.
AI builders (Chapters 7–10) — Source code analysis, platform extensibility, what Anthropic is building next (it's in the feature flags).
Total: 495,425 words
$29.99 on Gumroad — Full PDF + ePub, free updates forever.
Pay what you want (minimum $19.99).
Every other Claude Code guide is based on documentation and experimentation.
This one is based on source code.
src/services/compact/autoCompact.ts:33— the exact line where context compaction triggerssrc/buddy/companion.ts—SALT = 'friend-2026-401'— April Fool's Day hidden in a hash functionsrc/services/PromptSuggestion/speculation.ts— the overlay filesystem that previews file edits before you approve themsrc/utils/permissions/permissions.ts:473-1057— the 3-phase, 8-source permission decision tree
When we say "here's how Claude Code works," we mean it literally.
The source code used for research in this book was the leaked claude-code npm package source map from March 31, 2026. It has since been patched by Anthropic. This book is an independent analysis and is not affiliated with Anthropic.
Found a mistake? Open an issue. Want to contribute? PRs welcome for typos and factual corrections.
