I kept slamming into Claude Code limits mid-session and couldn’t find a quick way to see how close I was getting, so I hacked together a tiny local tracker.
Streams your prompt + completion usage in real time
Predicts whether you’ll hit the cap before the session ends
Runs 100 % locally (no auth, no server)
Presets for Pro, Max × 5, Max × 20 — tweak a JSON if your plan’s different
GitHub: https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor
It’s already spared me a few “why did my run just stop?” moments, but it’s still rough around the edges. Feedback, bug reports, and PRs welcome!
If I can offer any advice, it's that the high use of emojis in a project readme (at least for me) looks so unprofessional and makes me worry that a project was vibe -coded in the sense that the AI was possibly not babysat to the extent I think they should. That's just me, though
But hey — if it's stupid and it works, it ain't stupid.
Need to write a document about converting a Rust project to Typescript? A picture of an abandoned warehouse full of expressionless baby doll heads fits perfectly.
The irony of comments like this on software designed entirely for ai coding...
Up until recently I tended to “trust” github repos a bit more, now I feel like I need to have my guard up so I don’t fall into a trap of using something like this. Funnily enough a good first metric for me now is # of emojis in the readme - the more emojis the more likely you should stay away from it
That turns thrse meandering emoji fests into suitable documentation. YMMV
My total tokens used since I started using Claude Code on May 27th was 1,374,439,311 worth around $3397.34.
Do they have huge margins on API or are they just losing money? I use it everyday but I don't feel like I'm abusing it or anything
To be honest, I'm a little scared to use this also. I feel like ideally each worktree would also run in a container, but that seems quite a bit harder to make work as smoothly as this does.
Or is this a Claude Code specific limit? I haven't used Claude Code extensively yet.
While my plan didn't pan out, cuz it was way too effective, I can confidently say that I'm going through 3-6k tokens per prompt on average, and usually get around 3 hours of usage before I'm hitting the rate limit.
The limit is probably closer to 300k then <10k
Also the chat interface doesn't have a separate limit, once you hit it via Claude code, you cannot use the website either anymore.
Maybe it's a 7k limit per prompt? Dunno if I exceeded that before
This seems like a problem if for example, you hit 90% usage, pass the window, then burn through the remaining 10% quickly and have to wait a long time.
Can this be installed with uv? https://github.com/astral-sh/uv
Edit:
> pipx install git+https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor
> ccusage_monitor
I think there is a similar command for uv; uvx? Although, I am not sure if uvx has the same functionality / purpose as pipx.