Understand the Claude Code loop by reading 200 lines of bash
何时使用: You want to know what really happens between user prompts and tool calls.
步骤
-
InstallClone the repo.✓ 已复制→ Files local
-
ReadFollow main.sh.✓ 已复制→ Mental model
-
RunRun the harness; trace executions.✓ 已复制→ Aha moments
结果: Real understanding of agent loops.