Analyze which tools Claude Code reaches for first — and what opening patterns dominate your sessions.
npx cc-first
Zero dependencies. Reads ~/.claude/projects/ directly.
cc-first — Session Opening Pattern
===================================
Sessions analyzed: 2,119
First Tool Called
-----------------
Read ████████████████████ 810 38.2%
Bash █████████████░░░░░░░ 595 28.1%
Glob ███████░░░░░░░░░░░░░ 366 17.3%
WebSearch ██░░░░░░░░░░░░░░░░░░ 137 6.5%
WebFetch █░░░░░░░░░░░░░░░░░░░ 43 2.0%
...
Top Opening Triples (first 3 tools)
------------------------------------
Read→Read→Read ████████████████ 278 13.1%
Bash→Bash→Bash █████████████░░░ 257 12.1%
WebSearch→WebSearch→WebSearch ████░░░░░░░░░░░░ 130 6.1%
Glob→Glob→Glob ███░░░░░░░░░░░░░ 93 4.4%
...
- Read (38%) — Most sessions start by reading existing code or files
- Bash (28%) — A quarter of sessions open directly with shell commands
- Glob (17%) — File discovery is the third most common opener
- "Read→Read→Read" (13%) — The #1 opening pattern: understand before acting
The data reveals a clear preference for context-gathering before action — Claude Code reads first, then acts.
npx cc-first --json # Raw JSON output
yurukusa.github.io/cc-first — drag and drop your projects folder.
Part of cc-toolkit — tools for understanding your Claude Code sessions.
Claude Code Ops Kit ($19) — 16 production hooks + 5 templates + 3 tools. Built from 160+ hours of autonomous operation.
Source: yurukusa/cc-first