Skip to content

yurukusa/cc-ask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cc-ask

How often does Claude Code ask for help vs just doing things?

Zero dependencies. Reads ~/.claude/projects/ session transcripts and measures your autonomy rate — the percentage of sessions where Claude asked zero questions.

npx cc-ask

Sample Output

  cc-ask — Autonomy Rate
  ══════════════════════════════════════

  ▸ Overview
    Total sessions:    4,442
    Questions asked:   218
    Sessions w/ Qs:    55  (1.2%)
    Autonomous:        4,387 sessions
    Autonomy rate:     98.8%  (sessions with zero questions)

  ▸ Questions per session
    0 (autonomous)    ████████████████   4,387  98.8%
    1 question        ░░░░░░░░░░░░░░░░      25   0.6%
    2 questions       ░░░░░░░░░░░░░░░░       9   0.2%
    5+ questions      ░░░░░░░░░░░░░░░░      15   0.3%

  ▸ Most questions in a single session
    ~/ (home)                ██████████  31 questions
    ~/ (home)                ██████░░░░  20 questions
    ~/ (home)                █████░░░░░  14 questions

What "autonomy rate" means

When Claude Code uses AskUserQuestion, it's explicitly pausing to ask you to make a decision. Most sessions — especially in autonomous/loop mode — should have zero questions. This tool measures how self-sufficient Claude actually is across your sessions.

  • 98%+: Claude almost never asks — highly autonomous
  • 80-98%: Mostly autonomous with occasional check-ins
  • <80%: Claude frequently asks for guidance

Usage

npx cc-ask          # terminal output
npx cc-ask --json   # JSON output for piping

Or open the browser version — drag-drop your ~/.claude/projects/ folder.

How it works

Scans every .jsonl session transcript (including subagent logs). For each AskUserQuestion tool call, counts the number of questions asked. Sessions with zero AskUserQuestion calls are considered autonomous.

Part of cc-toolkit

One of 63 Claude Code analytics tools. See the full collection at yurukusa.github.io/cc-toolkit.

About

How often does Claude Code ask for help vs just doing things? Measure your autonomy rate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors