Skip to content

yurukusa/cc-write

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cc-write

What does Claude Code create? .md leads at 34.6%. .ps1 at 11.6% — that's all the PowerShell scripts for WSL2 CDP automation. 5,803 files. 24.4 MB written.

Extension breakdown, size distribution, top filenames, and project ranking from your Write tool calls.

npx cc-write

No install. No dependencies.


What it shows

  • By extension.md, .js, .ps1, .gd, .py and more
  • File size distribution — Tiny / Small / Medium / Large
  • Most-created files — top filenames across all sessions
  • By project — which projects generated the most writes
  • Overview — total writes, total bytes, largest file ever

Output

  cc-write — Files Created
  ════════════════════════════════════════

  ▸ Overview
    Total Write calls:   5,803
    Total bytes written: 24.4 MB
    Most-created file:   staged-hatching-backus.md (192×)
    Top extension:       .md (34.6%)
    Largest file ever:   index.html (88.1 KB)

  ▸ By extension
    .md         ████████████████  34.6%
    .js         █████████░░░░░░░  19.2%
    .ps1        █████░░░░░░░░░░░  11.6%
    .gd         ████░░░░░░░░░░░░   7.6%
    .py         ██░░░░░░░░░░░░░░   5.1%
    ...

  ▸ File size distribution
    Tiny    (<100 B)    ░░░░░░░░░░░░░░   1.8%
    Small  (100B–1K)   █████░░░░░░░░░  22.2%
    Medium   (1K–10K)  ██████████████  65.8%
    Large   (10K+)     ██░░░░░░░░░░░░  10.2%

Options

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

JSON output

{
  "version": "1.0.0",
  "totalWrites": 5803,
  "totalBytes": 25601234,
  "topFile": { "name": "staged-hatching-backus.md", "count": 192 },
  "topExtension": { "ext": ".md", "count": 2009 },
  "largestFile": { "name": "index.html", "bytes": 90204 },
  "byExtension": [...],
  "byProject": [...],
  "bySizeBucket": [...]
}

Browser version

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

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

How it works

Reads ~/.claude/projects/**/*.jsonl session transcripts and extracts every Write tool call. Aggregates by file extension, filename, project, and content size. Zero external dependencies.


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

About

What does Claude Code create? File types, sizes, and projects from Write tool calls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors