Skip to main content
ClaudeWave

《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:

Subagents3.6k stars764 forksUpdated 2mo ago
Editor's note

This repository is a freely readable Chinese-language technical book, approximately 420,000 Chinese characters across 15 chapters and four appendices, dedicated to dissecting the internal architecture of Claude Code rather than teaching users how to prompt it. Written in Chinese with an English translation available, it examines how Claude Code functions as an Agent Harness, covering its conversation loop built on an async-generator main loop, a four-stage permission pipeline with speculative classifier racing on a 2-second Promise.race, four-level progressive context compression strategies, a hook system spanning 26 lifecycle events, MCP integration across eight transport protocols, and a Fork mechanism for subagent context inheritance. The book includes 139 Mermaid architecture diagrams, a glossary of 100 bilingual terms, and a catalog of 89 feature flags across 13 categories. A standout concrete detail is the startup optimization analysis showing latency reduction from 160ms to 65ms through lazy loading. Architects, senior engineers building their own agent frameworks with tools like LangChain or AutoGen, and Claude Code power users seeking to understand design intent rather than surface-level usage are the primary intended audience.

ClaudeWave Trust Score
75/100
Trusted
Passed
  • Recently active
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 6/11/2026
Install as a Claude Code subagent
Method: Clone
Terminal
git clone https://github.com/lintsinghua/claude-code-book && cp claude-code-book/*.md ~/.claude/agents/
1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
2. Start a new Claude Code session to load the agents.
3. Delegate work to them with the Task/Agent tool or by name.
Use cases

Subagents overview

README preview not available. Visit the repo on GitHub for full documentation.
agentagent-architectureai-agentanthropicbookchineseclaude-codellmmcp

What people ask about claude-code-book

What is lintsinghua/claude-code-book?

+

lintsinghua/claude-code-book is subagents for the Claude AI ecosystem. 《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站: It has 3.6k GitHub stars and was last updated 2mo ago.

How do I install claude-code-book?

+

You can install claude-code-book by cloning the repository (https://github.com/lintsinghua/claude-code-book) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is lintsinghua/claude-code-book safe to use?

+

Our security agent has analyzed lintsinghua/claude-code-book and assigned a Trust Score of 75/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains lintsinghua/claude-code-book?

+

lintsinghua/claude-code-book is maintained by lintsinghua. The last recorded GitHub activity is from 2mo ago, with 15 open issues.

Are there alternatives to claude-code-book?

+

Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.

Deploy claude-code-book to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: lintsinghua/claude-code-book
[![Featured on ClaudeWave](https://claudewave.com/api/badge/lintsinghua-claude-code-book)](https://claudewave.com/repo/lintsinghua-claude-code-book)
<a href="https://claudewave.com/repo/lintsinghua-claude-code-book"><img src="https://claudewave.com/api/badge/lintsinghua-claude-code-book" alt="Featured on ClaudeWave: lintsinghua/claude-code-book" width="320" height="64" /></a>

More Subagents