Skip to content

yurukusa/cc-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cc-tasks

How does Claude Code manage agent tasks? 1,042 TaskCreate calls. 97.2% completion rate. Agent task lists complete 38pp more often than TodoWrite.

TaskCreate/Update/List/Get analysis across all your sessions.

npx cc-tasks

No install. No dependencies.


What it shows

  • Tasks created — total TaskCreate calls across all sessions
  • Completion rate — % of tasks marked completed vs created
  • Update breakdown — completed / in-progress / deleted
  • Sessions with tasks — how many sessions used the task system
  • Avg tasks/session — typical task list size
  • vs TodoWrite — direct comparison with the older TodoWrite pattern

Output

  cc-tasks — Agent Task Analysis
  ════════════════════════════════════════

  ▸ Overview
    Tasks created:      1,042
    Task updates:       2,111
    TaskList calls:     226
    Sessions with tasks:156
    Avg tasks/session:  6.7
    Max tasks/session:  34

  ▸ Task update breakdown
    Completed    ✓  ████████████████  46.5%  (1,042)
    In progress  ◎  ████████░░░░░░░░  21.0%  (469)
    Deleted      ✗  ░░░░░░░░░░░░░░░░   2.3%  (51)

  ▸ Agent Tasks vs TodoWrite
    Agent Tasks (TaskCreate):  97.2% completion rate
    TodoWrite tasks:           59.2% completion rate (from cc-todo)
    Difference: +38.0pp — agent tasks complete 38.0pp more often

Options

npx cc-tasks          # terminal output
npx cc-tasks --json   # JSON output for scripting

JSON output

{
  "version": "1.0.0",
  "totalTasksCreated": 1042,
  "totalTaskUpdates": 2111,
  "totalTaskLists": 226,
  "totalTaskGets": 108,
  "completionRate": 97.2,
  "completedCount": 1042,
  "inProgressCount": 469,
  "deletedCount": 51,
  "sessionsWithTasks": 156,
  "avgTasksPerSession": 6.7,
  "maxTasksInSession": 34
}

Browser version

Try it without installing: yurukusa.github.io/cc-tasks

Drag-drop your ~/.claude/projects/ folder (or any subfolder) to analyze.

How it works

Reads ~/.claude/projects/**/*.jsonl session transcripts and extracts every TaskCreate, TaskUpdate, TaskList, and TaskGet tool call. Tracks status transitions (completed / in_progress / deleted) and compares against the TodoWrite completion rate from cc-todo. Zero external dependencies.


Part of cc-toolkit — 73 tools for understanding your Claude Code sessions.

About

How does Claude Code manage agent tasks? TaskCreate/Update/List analysis — 1,042 tasks, 97.2% completion rate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors