Understand the Claude Code loop by reading 200 lines of bash
When to use: You want to know what really happens between user prompts and tool calls.
Flow
-
InstallClone the repo.✓ Copied→ Files local
-
ReadFollow main.sh.✓ Copied→ Mental model
-
RunRun the harness; trace executions.✓ Copied→ Aha moments
Outcome: Real understanding of agent loops.