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

claude-code-source-analysis (xiaonancs)

A systems-engineering reconstruction of the complete Claude Code agent harness from a reverse-engineered v2.1.88 snapshot (includes the extracted source zip plus appendix analyses). Part of a series that also covers OpenAI Codex CLI internals, giving a comparative harness view.

View source on GitHub

Key takeaways

  • 01

    Reconstructs the full harness from an actual extracted v2.1.88 snapshot

  • 02

    Sister studies (Codex CLI) enable cross-harness comparison

  • 03

    Strong on context management and compaction mechanics

Flows built on this research