chaizijun1/claude-code-internals
Claude Code v2.1.88 source code deep dive: architecture internals + power user guide. 15 prompt patterns, 10 workflow recipes, 6 hook automations, 3 custom agent templates, cost optimization formulas. 22 chapters / 3500+ lines. EN/CN bilingual.
Platform-specific configuration:
{
"mcpServers": {
"claude-code-internals": {
"command": "npx",
"args": [
"-y",
"claude-code-internals"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](LICENSE) [](docs/en/Claude_Code_Whitepaper_EN.md) [](Claude_Code_Whitepaper.md) [](Claude_Code_Whitepaper_EN.pdf) [](Claude_Code_Whitepaper.pdf)
---
Claude Code is far more powerful than most users realize. This whitepaper reveals exactly how it works internally and — more importantly — how to use that knowledge to 10x your productivity.
Based on a deep analysis of 513,000 lines of TypeScript source code (v2.1.88), this is both:
---
| Chapter | What You'll Learn | Audience | |---------|-------------------|----------| | Ch.14 — Beginner Tips | First setup, CLAUDE.md, permission rules, 6 usage patterns, slash commands | New users | | Ch.15 — Intermediate Tips | 15 prompt patterns, CLAUDE.md masterclass, 6 hook recipes, MCP servers, agent parallel work, git workflows | Regular users | | Ch.16 — Expert Tips | Token budget mastery, cost optimization, CI/CD integration, custom agents, SDK mode, multi-project management | Power users | | [Ch.21 — Workflow Recipes](docs/en/Claude_Code_Whitepa
Loading reviews...