Claude Code Source Analysis Orange Book — Development skill for Claude Code
Claude Code: Source Code Analysis · Orange Book Series · Deep dive into Claude Code architecture and implementation 橙皮书系列 · 深入解析Claude Code架构与实现.
How to install Claude Code Source Analysis Orange Book
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open alchaincyf/claude-code-source-analysis-orange-book and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Source Analysis Orange Book does
Claude Code: Source Code Analysis · Orange Book Series · Deep dive into Claude Code architecture and implementation 橙皮书系列 · 深入解析Claude Code架构与实现.
Alternatives in Development
- Deep Company Series — 看懂XX公司(深度公司系列):3-8 篇长文拆一家公司 15.9k ★
- How Claude Code Works — Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more 1.9k ★
- Native Feel Skill — An Agent Skill for designing cross-platform desktop apps that feel native — distilled from Raycast's 2.0 deep 1.9k ★
README
Claude Code: Source Code Analysis
**Dissecting Anthropic's AI Engineering Decisions from 510,000 Lines of Leaked Code**
Orange Book Series | April 2026 | By Huashu
About This Book
On March 31, 2026, Anthropic accidentally shipped the complete Claude Code source code inside an npm package. 1,902 TypeScript files, 510,000 lines of code, every design decision laid bare.
This book is not a source code reading journal. It dissects the **design decisions** behind Claude Code -- one of the world's most sophisticated AI coding tools. Why does search use grep instead of a vector database? Why does the memory system only store preferences, not code? Why does Auto mode run a second AI for safety reviews? Why Bun over Node.js?
Every choice has a reason. Those reasons are more valuable than the code itself, because they are transferable.
Downloads
| Version | File | Pages |
|---|---|---|
| English | Claude-Code-Source-Code-Analysis-v260411.pdf | ~80 |
| Chinese | Claude-Code-Source-Analysis-zh-v260411.pdf | ~80 |
💡 Download the PDF for the best reading experience. GitHub's online preview may not render properly.
Table of Contents
Part I -- The Big Picture
- Ch 01 A Billion-Dollar Blueprint
- Ch 02 Architecture Overview: The Skeleton of the Harness
Part II -- Core Systems
- Ch 03 System Prompt Engineering
- Ch 04 The Tool System: 4 Primitives, 59 Tools
- Ch 05 The Permission System: Trust by Design
- Ch 06 The Memory System: Remember Preferences, Forget Code
- Ch 07 Context Management: Surviving Long Conversations
- Ch 08 Search: Why grep Beats RAG
Part III -- Advanced Architecture
- Ch 09 Multi-Agent Architecture: Run Like a Company
- Ch 10 The Future in Feature Fl
Related Skills
Agent Skills Orange Book
Agent Skills · 橙皮书系列 · Claude Code Skills 系统完全指南
Learn Real Claude Code
Deep dive into Claude Code source — 512K lines of industrial-grade TypeScript agent architecture
Deep Analyze
Deep-dive analysis of an initial proposal — research code implementation, produce an actionable roadmap and al
Claude Reviews Claude
Claude reads its own source code — 17-chapter architectural deep-dive into Claude Code v2.1.88. EN/ZH bilingua
Build Code Agent
从零构建 Code Agent:Claude Code 源码深度解析 Build a Code Agent from Scratch: Deep Dive into Claude Code Source
Nay Costs
Use the Nay agent to do a deep-dive cost analysis of my Claude Code spending.
Related Agents
Deep Dive
Use this agent when you need comprehensive analysis, investigation, or exploration of code, architecture, or t
Notebooklm Producer
Use this agent to create audio and video assets using Google NotebookLM. Handles notebook creation, source upl
Katago Researcher
KataGo Analysis Engine deep-dive research specialist