claude-code-book

作者 huifer已验证

Open-source repo transforming Claude Code into structured books and AI-ready context for developers.

234
Stars
80
Forks
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/huifer/claude-code-book

快速入门

使用 claude-code-book 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Claude Code CLI 技术文档

全面深入的技术分析文档,从架构到实现细节

Claude Code Documentation License

简介

本文档系列是对 Claude Code CLI 的全面技术分析,涵盖从基础架构到高级特性的所有技术细节。无论你是想了解 CLI 工具的设计理念,还是深入研究 LLM 驱动的开发工具实现,这里都能找到你需要的答案。

讨论交流

扫描下方二维码加入讨论群:

讨论群二维码

文档目录

基础与架构

章节文件标题
前言00-preface.md前言:本书的由来
第 1 章01-overview.md项目总览与入门
第 2 章02-tech-stack.md技术栈与构建系统
第 3 章03-architecture.md架构设计总览
第 4 章04-startup-flow.mdCLI 入口与启动流程

查询引擎

章节文件标题
第 5 章05-queryengine-init.mdQueryEngine 初始化
第 6 章06-queryengine-api.mdQueryEngine API 设计
第 7 章07-queryengine-streaming.md流式响应处理
第 8 章08-queryengine-advanced.mdQueryEngine 高级特性

工具系统

章节文件标题
第 9 章09-tool-architecture.md工具系统总论
第 10 章10-file-tools-deep.md文件工具深度分析
第 11 章11-search-tools-deep.md搜索工具深度分析
第 12 章12-execution-tools-deep.md执行工具深度分析
第 13 章13-bash-security.mdBash 安全模型
第 14 章14-agent-tools-deep.mdAgent 工具深度分析
第 15 章15-tool-catalog-a.md工具大全 A-M
第 16 章16-tool-catalog-nz.md工具大全 N-Z

命令与界面

章节文件标题
第 17 章17-command-system.md命令系统架构
第 18 章18-permission-system.md权限系统设计
第 19 章19-ink-ui-deep.mdInk UI 深度解析
第 20 章20-component-system.md组件系统设计
第 21 章21-state-management.md状态管理机制

高级特性

章节文件标题
第 22 章22-bridge-system.mdBridge 桥接系统
第 23 章23-mcp-integration.mdMCP 协议集成
第 24 章24-multi-agent-ecosystem.md多 Agent 生态系统
第 25 章25-task-management.md任务管理系统
第 26 章26-plugin-skill-system.md插件与技能系统
第 27 章27-config-migration.md配置与迁移
第 28 章28-service-layer.md服务层架构

记忆与智能

章节文件标题
第 29 章29-memory-architecture.md四层记忆架构
第 30 章30-memdir-system.mdMemdir 系统详解
第 31 章31-magic-docs.mdMagic Docs 详解
第 32 章32-team-memory-sync.md团队记忆同步
第 33 章33-dream-autodream.mdDreamTask 与 AutoDream

安全模型

章节文件标题
第 34 章34-security-model.md安全模型总论

KAIROS 专题系列

章节文件标题
KAIROS-01kairos/kairos-01-introduction.mdKAIROS 系统介绍
KAIROS-02kairos/kairos-02-scheduled-tasks.md定时任务系统
KAIROS-03kairos/kairos-03-cron-jobs.mdCron 任务实现
KAIROS-04kairos/kairos-04-remote-triggers.md远程触发器
KAIROS-05kairos/kairos-05-best-practices.md最佳实践

附录

章节文件标题
第 35 章35-hidden-commands.md隐藏命令完整清单
第 36 章36-build-your-own.md构建你的 CLI
第 37 章37-future-outlook.md未来展望

快速开始

初学者路线

  1. 项目总览 — 了解 Claude Code 是什么
  2. 技术栈 — 熟悉技术选型
  3. 构建你的 CLI — 动手实践

架构师路线

  1. 架构设计 — 整体架构视角
  2. 工具系统 — 工具扩展机制
  3. 记忆架构 — 记忆系统设计
  4. 安全模型 — 安全防护机制

开发者路线

  1. 启动流程 — 程序如何启动
  2. QueryEngine — 核心 LLM 引擎
  3. 工具系统 — 工具实现细节
  4. 命令系统 — 命令处理机制

技术亮点

  • 源码级解读 — 深入核心模块的实现细节
  • 架构图表 — 丰富的 Mermaid 图表辅助理解
  • 设计分析 - 设计决策与权衡讨论
  • 实战导向 — 可直接应用于自己的项目

核心文件索引

文件描述
src/QueryEngine.ts核心 LLM 引擎 (~46,000 行)
src/Tool.ts工具类型系统 (~29,000 行)
src/commands.ts命令注册表 (~25,000 行)

常见问题

What is claude-code-book?

claude-code-book is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by huifer. Open-source repo transforming Claude Code into structured books and AI-ready context for developers. It has 234 GitHub stars.

Is claude-code-book safe to use?

Yes. claude-code-book passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-code-book?

Clone the repository with "git clone https://github.com/huifer/claude-code-book" and add it to your Claude Code skills directory (see the Installation section above).

Are there alternatives to claude-code-book?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-code-book against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情