Type English. Ship code. Track the ratio.
You tell Claude what to build. Claude writes the code. But nobody's measuring the ratio. How many words did you type to ship 2,847 lines? What's your personal multiplier? Is it going up?
Stop counting lines of code written. Start counting lines of English typed. That's the real metric now.
# Start a tracked vibe coding session
npx vibe-coding start
# Check your stats
npx vibe-coding stats
# Generate a badge for your README
npx vibe-coding badgeNo API key needed โ wraps Claude Code and reads git diffs locally.
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ VIBE CODING STATS โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Latest Session 2026-02-27 โ
โ Words typed: 43 โ
โ Lines generated: 2,847 โ
โ Ratio: 66:1 ๐ฅ โ
โ Duration: 47m โ
โ Files changed: 12 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ All Time โ
โ Total sessions: 23 โ
โ Total words: 891 โ
โ Total lines: 47,293 โ
โ Lifetime ratio: 53:1 โ
โ Time saved: ~1,182 hours โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
$ npx vibe-coding badge
Badge written to vibe-badge.svg
Add to your README:
- Wraps Claude Code and tracks every English instruction you type
- Counts lines generated via
git diff --statafter each change - Calculates your personal typing-to-code multiplier
- Session history saved to
~/.vibe-coding/sessions.json - Generates a shareable SVG badge for your README
- Estimates time saved vs manual coding (baseline: 40 lines/hour)
- All Time stats across every session
npx vibe-coding startlaunches Claude Code inside a tracked wrapper- Every line you type is counted as "words typed"
- After each Claude Code change,
git diff --statis read for lines generated - At session end, ratio is calculated and saved to local history
statsandbadgecommands pull from that history
- Words typed: Your English instructions to Claude (not code you type manually)
- Lines generated: Actual code changes tracked via git diff
- Time saved: Estimated vs manual coding at ~40 lines/hour baseline
| Ratio | Rating |
|---|---|
| 50:1+ | Green โ peak vibe |
| 20:1โ49:1 | Yellow โ solid session |
| <20:1 | White โ keep vibing |
- Claude Code installed (
claudein PATH) - Git repo in your project directory (for diff tracking)
- Node.js 18+
- 100x-dev โ Full velocity dashboard for AI-assisted development
- dev-journal โ Auto daily dev journal from your git history
- pr-poet โ PR descriptions that are actually good. Also: haikus.
MIT โ NickCirv