cc-streak

How long can Claude Code go without an error? Measure consecutive successful tool calls between failures.

npx cc-streak
Drop your ~/.claude/projects/ folder here
or click to select
12
median successful tool calls between errors
6,221 streaks across 1,994 sessions · longest: 829
1,994
Sessions
6,221
Streaks
12
Median
22.3
Mean
52
P90
829
Max
Streak length distribution
How long Claude runs before the next error
1-2 calls
16.7%
1,036
3-5
15.3%
954
6-20
36.2%
2,254
21-50
21.3%
1,328
51-100
7.3%
455
101+
3.1%
194
Streak breakers
Which tool ends the error-free run?
Bash
51.5%
3,358
Read
24.0%
1,562
Edit
9.5%
617
WebFetch
5.8%
380
Write
2.8%
180
What this means
  • Median 12 calls between errors — Claude hits roughly 1 error every 12 tool calls
  • 36% of streaks are 6-20 calls — the sweet spot. Long enough to make progress, short enough to be typical
  • Bash breaks 52% of all streaks — shell commands are the #1 source of streak-ending errors
  • 3.1% reach 100+ calls — marathon streaks exist but are rare. The longest: 829 consecutive successes
  • Mean (22) > Median (12) — right-skewed distribution. A few very long streaks pull the average up