Skip to content
Flows
Tier 1 · Claude Code internals Claude Code internals · fetched 2026-07-02

claude-code-architecture-analysis-ppt

A React/TypeScript/Vite slide-deck application presenting the Claude Code architecture analysis: the leak event timeline, architecture design, and safety mechanisms. The presentation format makes it ideal for quick summary-level orientation before diving into the deeper analyses.

View source on GitHub

Key takeaways

  • 01

    Fast orientation layer over the deeper source analyses

  • 02

    Covers event history, architecture, and safety mechanisms in slide form

  • 03

    Good template for communicating harness architecture to a team

From the archive

Verbatim excerpts mined from our local archive of this repository — the prompts, schemas, and patterns worth stealing.

Insight

Static/dynamic prompt boundary for cache efficiency

Multi-layer prompt system:
- Static prompts: rules and constraints shared by all users
- Dynamic prompts: generated per-user for personalization
- SYSTEM_PROMPT_DYNAMIC_BOUNDARY design: marks the split between the static part and the dynamic part, improving cache hit rates while supporting personalization

Permission modes: Ask Mode, Auto Mode, Bypass Mode; trust model built from user allowlists, domain allowlists, and behavior analysis.

Skill system: a lightweight skill-loading alternative to MCP that reduces context consumption.

[translated] The single most reusable idea: draw an explicit boundary in your system prompt so the static prefix stays byte-identical and prompt caching keeps hitting.

README.md