Claude Harness banner
luzhenqian luzhenqian

Claude Harness

AI community

Description

Deconstructing Claude Code — interactive source code analysis, guided wc/helpe walkthroughs, and deep architectural exploration of Anthropic's AI coding agent.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

[English](./README.md) | [中文](./README-zh.md) | [日本語](./README-ja.md)

Claude Harness

Deconstructing Claude Code — interactive source code analysis, guided walkthroughs, and deep architectural exploration.

**Claude Harness** is an open-source platform for exploring and understanding the internals of [Claude Code](https://docs.anthropic.com/en/docs/claude-code), Anthropic's official AI coding agent. Through interactive code browsing, in-depth technical articles, and module-level analysis, it transforms 500K+ lines of TypeScript into an accessible learning experience.

Why This Project Exists

Claude Code is one of the most sophisticated AI agent harnesses ever built — a masterclass in tool design, context management, permission governance, and multi-agent coordination. But understanding its architecture from raw source alone is daunting.

Claude Harness makes that architecture legible. It provides:

  • Guided articles that walk through each subsystem with real code references
  • Interactive code browser with syntax highlighting and full-text search
  • Module visualizations that reveal the structural relationships in the codebase

Whether you're building your own AI agent, studying harness engineering patterns, or simply curious about how Claude Code works under the hood — this project is for you.

At a Glance

Metric Value
Source Files Analyzed 1,902
Lines of Code 514,587
Modules Mapped 35
Technical Articles 31+
Languages English, 中文, 日本語

Key Features

Interactive Code Browser

Browse the full Claude Code source tree with a file explorer, syntax highlighting powered by [Shiki](https://shiki.matsu.io/), and instant client-side search via [FlexSearch](https://github.com/nextapps-de/flexsearch).

In-Depth Technical Articles

31 guided walkthroughs covering every major subsystem:

# Article
01 [The Big Picture: How a 512,000-Line AI CLI Is Bui