Learn Claude Code — Development skill for Claude Code
This article is a disassembly and research paper on the Agent project based on Claude Code source code.
How to install Learn Claude Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kodytang666/learn-claude-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Learn Claude Code does
This article is a disassembly and research paper on the Agent project based on Claude Code source code. All content comes from direct analysis of the source code.
Alternatives in Development
- Learn Coding Agent — Research on Coding Agents 12.2k ★
- Creator Buddy — Creator Buddy: orchestrated Agent Skills for cross-platform content search, creator analysis, and viral trend 1.4k ★
- Maestro Learn — User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions 530 ★
README
Claude Code Internals: A Source Code Deep Dive
A deep-dive course into Claude Code's internals, built from direct source code analysis.

Languages / 语言
| Language | Directory |
|---|---|
| 中文 | zh-cn/ |
| English | en-us/ |
Social
douyin ID: 286435703
juejin column: https://juejin.cn/column/7629597189515247667
Usage / 使用方法
Clone Claude Code source code, then clone this repo into the project root — so you can jump to source locations while reading the articles.
# 1. Clone Claude Code source code
git clone claude-code codebase
cd claude-code
# 2. Clone this repo into the project root
git clone https://github.com/kodytang666/learn-claude-code.git
After this setup, file references in the articles (e.g. `src/query.ts`) can be opened directly in your IDE.
Course Overview / 文章概览
This course targets two audiences:
- Beginners: New to Agent systems, want to understand how a production-grade Agent works end to end
- Advanced readers: Already building Agents, want to study Claude Code's specific design choices around prompt cache, task isolation, context compaction, and more
All content is derived from reading the actual Claude Code source code — no guesswork.
Table of Contents
| Chapter | File | Topic |
|---|---|---|
| 0 | 00-overview | Course overview & Agent workflow |
| 1 | 01-agent-loop | Agent Loop: the core query engine |
| 2 | 02-system-prompt-construction | System Prompt: construction & priority |
| 3 | 03-tool-system | Tool System: calls, permissions & deferred disclosure |
| 4 | [04-todo-task-system](04-todo-t |
Related Skills
Copy Plan
Populate Plan Mode document with a plan file's verbatim content (no synthesis, no research). Searches ~/.claud
Grounded Research Skill
Anti-hallucination research skill for Claude Code — admits uncertainty, extracts direct quotes before analysis
Sales Super Skill
Comprehensive end-to-end sales skill merging Perplexity Computer's 6 built-in sales skills with Claude Code's
SEO Master Skill
Zero-setup Claude Skills pack for SEO: 11 skills covering page audits, keyword research, content briefs, topic
Fetch Skill
Fetch and extract content from a specific URL. Use when you have a direct link rather than needing to search.
Hydrate
Turn a source (transcript, brain-dump, article, video, screenshots) into structured knowledge in context/ and
Related Agents
Research Paper Reviewer
Use this agent when you need expert-level review and analysis of academic papers, research proposals, or techn
Code Questioner
Answers questions about an analyzed codebase using learn-code output and direct source code inspection. Provid
SEO Aeo Geo
End-to-end SEO/AEO/GEO content agent. Runs the full pipeline — query fan-out, semantic outline, source collect