Claude Code Unpacked

What actually happens when you type a message into Claude Code? The agent loop, 40+ tools, multi-agent orchestration, and unreleased features, mapped straight from the source.

0+
Files
0K+
Lines of Code
0+
Tools
0+
Commands
Start exploring
01

The Agent Loop

From keypress to rendered response, step by step through the source.

Watch what happens when you send a message to Claude Code

User types a message or pipes input through stdin

claude-code
$

Keyboard input comes from Ink's TextInput component. In non-interactive mode, it reads from piped stdin instead.

1/11
02

Architecture Explorer

Click around the source tree to explore what's inside.

Tools & Commands
Core Processing
UI Layer
Infrastructure
Support & Utilities
Personality & UX
utils/564 filescomponents/389 filescommands/207 filestools/184 filesservices/130 fileshooks/104 filesink/96 filesbridge/31 filesconstants/21 filesskills/20 filescli/
03

Tool System

Every built-in tool Claude Code can call, sorted by what it does.

File Operations
6 tools
Execution
3 tools
Search & Fetch
3 tools
Agents & Tasks
10 tools
Planning
4 tools
MCP
4 tools
System
6 tools
Experimental
4 tools

Click a tool to see details and source code

05

Command Explorer

86 slash commands. Grouped by when you'd reach for them.

Setup & Config
Daily Workflow
Code Review & Git
Debugging & Diagnostics
Advanced & Experimental
Daily Workflow22 commandsAdvanced & Experimental22 commandsDebugging & Diagnostics17 commandsCode Review & Git13 commandsSetup & Config12 commands
05

Hidden Features

Stuff that's in the code but not shipped yet. Feature-flagged, env-gated, or just commented out.

Click a feature to explore