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.