codestrain / codestrain-cli
PublicYour AI coding recovery score, from the terminal. Parses Claude Code JSONL sessions β cost, tokens, DRS estimate, per-project breakdown. Zero deps, Python 3.9+.
CodeStrain is a privacy-focused tool that reads your Claude Code session logs stored on your computer and transforms them into meaningful insights about your AI-assisted coding habits. It calculates a 'Developer Recovery Score' that estimates how well you're recovering from coding strain based on factors like hours coded, error patterns, time of day, and time since your last session. The tool shows you statistics like total sessions, duration, tokens used, and cost, broken down by project. Everything happens locally on your machineβyour data never leaves your computer. It's designed for developers who want to understand their AI coding patterns and make healthier decisions about their work habits.
How It Works
Someone tells you about a tool that shows your AI coding habits and tells you if you're burning out.
You run a simple install command and it appears on your computer, ready to use.
You type a simple command and it instantly reads your coding sessions, showing you how much you've used AI assistance.
A colorful display shows your strain level, recovery percentage, and whether you're ready for more work or need a break.
See everything you've ever done with AI coding, including total cost and time spent.
Focus on just one project to see how much work went into it.
Hide real project names so you can safely share or screenshot your stats.
With one click, you can create a shareable link that shows your anonymized report to anyone.
You now know your AI coding habits, how much you're straining yourself, and whether you need to take it easy.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.