cc-edit
v1.0.0
Published
Which files does Claude Code edit most? Edit tool analysis — top files, extensions, growth ratio.
Downloads
88
Maintainers
Readme
cc-edit
Which files does Claude Code edit most? 17,995 edits across 905 files. dungeon_game.py: 1,957 edits. 2.00x growth ratio — new code is twice as long as what it replaces.
Edit tool analysis — Hall of Fame files, extension breakdown, growth ratio.
npx cc-editNo install. No dependencies.
What it shows
- Total Edit calls — across all sessions
- Hall of Fame — files with 500+ edits (the heart of your project)
- Most edited files — top 10 with bar chart
- By file type — extension breakdown
- By project — which projects get the most attention
- Growth ratio — avg new_string / avg old_string (>1 = code grows)
Output
cc-edit — Edit Tool Analysis
════════════════════════════════════════
▸ Overview
Total Edit calls: 17,995
Unique files: 905
replace_all used: 302 (1.7%)
Avg old_string: 357 chars
Avg new_string: 715 chars
Growth ratio: 2.00x (expansions > deletions)
▸ Hall of Fame (500+ edits)
dungeon_game.py 1,957 edits
dungeon.gd 1,666 edits
index.html 1,441 edits
staged-hatching-backus.md 870 edits
game.gd 525 edits
▸ By file type
.gd ████████████████ 34.0% (6,110)
.py ██████████░░░░░░ 21.0% (3,778)
.md ██████████░░░░░░ 20.4% (3,672)
.html ████░░░░░░░░░░░░ 9.0% (1,615)Options
npx cc-edit # terminal output
npx cc-edit --json # JSON output for scriptingJSON output
{
"version": "1.0.0",
"totalEdits": 17995,
"uniqueFiles": 905,
"replaceAllCount": 302,
"replaceAllRate": 1.7,
"avgOldStringLen": 357,
"avgNewStringLen": 715,
"growthRatio": 2.00,
"hallOfFame": [
{ "file": "dungeon_game.py", "edits": 1957 },
{ "file": "dungeon.gd", "edits": 1666 }
]
}Browser version
Try it without installing: yurukusa.github.io/cc-edit
Drag-drop your ~/.claude/projects/ folder (or any subfolder) to analyze.
How it works
Reads ~/.claude/projects/**/*.jsonl session transcripts and extracts every Edit tool call. Tracks file_path, old_string length, new_string length, and replace_all flag. Aggregates by file, extension, and project. Zero external dependencies.
Part of cc-toolkit — 70 tools for understanding your Claude Code sessions.
