Skip to content

Appendix: Deep Dives ​

These 15 deep-dive topics go beyond the tutorial chapters. Each topic provides foundational knowledge that helps you understand why Claude Code works the way it does — not just how to use it.

How to Use This Appendix ​

  • During the tutorial: chapters link to relevant appendix topics when a concept deserves deeper exploration
  • As reference: each topic is self-contained and can be read independently
  • For research: topics include references to Anthropic's published research and the broader AI/ML literature

Topics by Category ​

Foundations ​

#TopicRelated ChaptersDepth
A01Prompt Engineering for Claude CodeCh1-Ch6How to write effective prompts in a tool-calling context
A02Context EngineeringCh3, Ch15The 2025-2026 paradigm shift from prompt engineering
A03LLM FundamentalsCh1, Ch3Transformer architecture, attention, tokenization

Architecture ​

#TopicRelated ChaptersDepth
A04Agent Architecture PatternsCh8, Ch9, Ch15ReAct, plan-and-execute, multi-agent coordination
A05Tool Calling InternalsCh1, Ch5How Claude selects tools, JSON Schema matching
A06MCP Protocol Deep DiveCh7Transport protocols, capability negotiation, production servers

Economics & Optimization ​

#TopicRelated ChaptersDepth
A07Token EconomicsCh3, Ch15BPE tokenization, cost models, budget optimization
A10Prompt CachingCh3, Ch13Cache mechanics, prefix matching, cost impact
A11Model Selection GuideCh1, Ch15Opus vs Sonnet vs Haiku — when to use each

AI Research ​

#TopicRelated ChaptersDepth
A08Constitutional AI & CLAUDE.mdCh2How CLAUDE.md implements constitutional AI at project level
A09Extended ThinkingCh8, Ch13When thinking helps, budget management, tool interaction
A12Safety & AlignmentCh10Permission system as safety layer, responsible agent design

Advanced Patterns ​

#TopicRelated ChaptersDepth
A13Multi-Agent CoordinationCh9, Ch14Consensus, conflict resolution, scaling patterns
A14RAG vs Long ContextCh7When retrieval beats long context, hybrid strategies
A15Claude Code InternalsCh3, Ch14The harness loop, session management, compaction

Reading Order Suggestions ​

If you're a developer new to AI: A03 (LLM Fundamentals) → A01 (Prompt Engineering) → A05 (Tool Calling) → A07 (Token Economics)

If you're building agent systems: A04 (Agent Architecture) → A13 (Multi-Agent) → A09 (Extended Thinking) → A15 (Claude Code Internals)

If you're optimizing costs: A07 (Token Economics) → A10 (Prompt Caching) → A11 (Model Selection) → A02 (Context Engineering)

If you're a team lead: A08 (Constitutional AI) → A12 (Safety) → A02 (Context Engineering) → A06 (MCP Protocol)

Released under MIT License