@yurukusa/cc-first
v1.0.1
Published
Analyze which tools Claude Code reaches for first — opening patterns across your sessions
Maintainers
Readme
cc-first
Analyze which tools Claude Code reaches for first — and what opening patterns dominate your sessions.
npx cc-firstZero dependencies. Reads ~/.claude/projects/ directly.
Output
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%
...What it tells you
- 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.
Options
npx cc-first --json # Raw JSON outputBrowser version
yurukusa.github.io/cc-first — drag and drop your projects folder.
Part of cc-toolkit — tools for understanding your Claude Code sessions.
Want to optimize how Claude Code uses its tools?
Claude Code Ops Kit ($19) — 10 production hooks + 6 templates + 3 tools. Built from 140+ hours of autonomous operation.
Source: yurukusa/cc-first
