npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cc-file-churn

v1.0.1

Published

Which files does Claude Code touch the most? Ranks files by Edit/Write/Read frequency across all sessions.

Readme

cc-file-churn

Which files does Claude Code touch the most? Find the hotspots.

npx cc-file-churn

What it does

Scans all your ~/.claude/projects/ session transcripts and counts every Edit, Write, Read, Grep, and Glob tool call per file. Shows a ranked list with color-coded progress bars.

Example output

cc-file-churn — Most-touched files in your Claude Code sessions

Scanned 755 session files · 2,219 unique files · 12,476 tool calls

① ████████████████████ 933 total
   ~/.claude/plans/staged-hatching-backus.md
   669 writes  239 reads  25 searches

② ██████████████░░░░░░ 671 total
   ~/projects/dungeon-diablo/dungeon_game.py
   70 writes  313 reads  288 searches

③ ███████████░░░░░░░░░ 493 total
   ~/schedule-app/index.html
   215 writes  218 reads  60 searches

Why this is interesting

The #1 most-touched file in my 60 days: a planning file with 669 writes. #2: the game I spent 3 months building. #3: a schedule app I built in one session.

Your highest-churn files reveal:

  • Where the AI spends most effort (vs where you think it does)
  • Which files are becoming complexity magnets
  • Which projects actually got attention (vs the ones that felt important)

Options

npx cc-file-churn              # Top 20 files by total activity
npx cc-file-churn 10           # Top 10
npx cc-file-churn --writes     # Rank by write frequency (most-modified)
npx cc-file-churn --reads      # Rank by read frequency (most-referenced)
npx cc-file-churn --days=7     # Only last 7 days
npx cc-file-churn --project=my-app  # Filter to a specific project
npx cc-file-churn --json       # JSON output for scripting

Part of cc-toolkit

One of 50 free tools for Claude Code users → cc-toolkit

License

MIT

Want to optimize how Claude Code uses its tools?

Claude Code Ops Kit ($19) — 10 production hooks + 6 templates + 3 tools. Built from 140+ hours of autonomous operation.