Live data from Hacker News

Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

github.com

1–10 of 143 posts

Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#1
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!

Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs
github.com

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#2
With uv, is there a way to install Python and Node tools like this in a self-contained way so they appear to the system as a single executable?

I guess I don't want to duplicate Python/Node for every tool, but I also don't want it to be fragile. And this wants a Node CLI tool installed globally, which I've found breaks easily with changing versions.

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#4
post #2

With uv, is there a way to install Python and Node tools like this in a self-contained way so they appear to the system as a single executable? I guess I don't want to duplicate Python/Node for every tool, but I also don't want it to be fragile. And this wants a Node CLI tool installed globally, which I've found breaks easily with changing versions.

Good point, yes i can do it. If you can please add issue in github and i will implement it :D

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#6

How it does it monitor usage?

Check directory ~/.claude/projects/*/*.jsonl ;) hah very interesting topic. I have a plan to write blog post about it (all conversations history with metadata inside json lines files) What do you think about this idea? Interesting?

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#7
post #2

With uv, is there a way to install Python and Node tools like this in a self-contained way so they appear to the system as a single executable? I guess I don't want to duplicate Python/Node for every tool, but I also don't want it to be fragile. And this wants a Node CLI tool installed globally, which I've found breaks easily with changing versions.

> I don't want to duplicate Python/Node for every tool

`uv tool install` doesn’t duplicate Python for every tool.

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#8

How it does it monitor usage?

Check directory ~/.claude/projects/*/*.jsonl ;) hah very interesting topic. I have a plan to write blog post about it (all conversations history with metadata inside json lines files) What do you think about this idea? Interesting?

Wow, I had no idea Claude Code had this kind of verbose logging turned on by default. Looking around I also found a cool tool for converting these logs to HTML format for easy viewing: https://github.com/daaain/claude-code-log

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#9
post #8

Earlier quoted context omitted.

Check directory ~/.claude/projects/*/*.jsonl ;) hah very interesting topic. I have a plan to write blog post about it (all conversations history with metadata inside json lines files) What do you think about this idea? Interesting?

Wow, I had no idea Claude Code had this kind of verbose logging turned on by default. Looking around I also found a cool tool for converting these logs to HTML format for easy viewing: https://github.com/daaain/claude-code-log

Haha, in that case it sounds like an article I could actually handle. By the way, is it better to go with an article or short-form video?

Re: Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs

#10
post #8

Earlier quoted context omitted.

Wow, I had no idea Claude Code had this kind of verbose logging turned on by default. Looking around I also found a cool tool for converting these logs to HTML format for easy viewing: https://github.com/daaain/claude-code-log

Haha, in that case it sounds like an article I could actually handle. By the way, is it better to go with an article or short-form video?

Film video, transcribe, edit to become article?

I'm of an age where I rarely watch short-form videos so would read the article but you'll miss an audience if that's all you produce.

Post reply on HN