01
LAYER 01 / 06

Entry

The entry point handles how you interact with Claude Code — whether through the CLI, the -p flag for scripts, the JSON transport for IDEs, or voice input. It parses your commands and bootstraps the entire system in 10 steps before a single line of code is analyzed.

AT A GLANCE
5
Entry Modes
[ DETAILS ]
46K
QueryEngine Lines
[ DETAILS ]
140+
UI Components
[ DETAILS ]
Bun
Runtime
[ DETAILS ]

4 Entry Points

Bootstrap Sequence

1
Parse arguments~5ms
2
Resolve authentication~50ms
3
Discover CLAUDE.md~10ms
4
Load settings~5ms
5
Load hooks~2ms
6
Start MCP servers~200ms
7
Load skills~15ms
8
Load plugins~30ms
9
Build system prompt~20ms
10
Launch conversation loop~5ms