Live data from Hacker News

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

github.com

131–140 of 143 posts

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

#131

Earlier quoted context omitted.

if you actually look at the code, it's a single 400 line python file that just wraps https://github.com/ryoppippi/ccusage , so it's possible

Yeah I noticed that too, it’s a bit crazy to me that stuff like this is getting upvotes and traction. It feels like it was vibe-coded in one-shot style without perhaps even reading any bit of the code. A bunch of hardcoded values, a `sleep(3)`, bunch of other antipatterns. 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 som…

This code was written in pure vibe-coding style — mostly for fun. I've got about 10 years of experience in IT, and even I fully agree: a 1000-line main file like this one probably deserves to be locked away in a secure facility. But hey — if it's stupid and it works, it ain't stupid.

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

#132

Incredible, thank you for making this! Can this be installed with uv? https://github.com/astral-sh/uv Edit: # Install uv curl -LsSf https://astral.sh/uv/install.sh | sh # Install the required CLI tool (Node.js) npm install -g ccusage # Clone and setup git clone https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor.git cd Claude-Code-Usage-Monitor # Install Python deps with uv uv add pytz chmod +x ccusage_monit…

If the repo was structured as a package e.g. with project.toml and such there would be an even faster one-liner with pipx (https://pipx.pypa.io/latest/):

> 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.

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

#133
post #54

I really like this idea as I find Claude's transparency frustrating. Claude code's killer features revolve around better tools to manage context and limits vs the desktop app (compact and the % remaining until auto compact), but it's not enough. 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…

It strikes me as very much a current aesthetic in younger companies or smaller startups, maybe highly influenced by Notion. No one makes a list or page or calendar invite in my current company without choosing an emoji for it.

It never caught on but I always liked setting the jumbo header images on Notion docs to creepy, unsettling pictures from Unsplash.

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.

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

#134

Anyone else have a bunch of fun with Claude Code's Github integration... until you realized it spends from your API wallet balance? Oops, when I saw the /install-github-app command, I assumed that since I'm on a max plan and Claude Code in my terminal is free, then the Github integration would be free. So I hooked it up to my repo and tagged @claude in everything. It was a lot of fun tagging it in backburner issues a…

Addressing those issues wasn't worth $0.50 apiece? That almost certainly translates into less than a _minute_ of fully loaded engineering cost from a human.

A lot of it was from the default behavior of Claude re-reviewing a PR on every commit.

It also just psychologically just saps the fun out of something when there's a fee attached per invocation. And the UX is that I buy $50 of API credits, time passes, and then it breaks because I have to refill it again.

If it were literally a "fix issue for 50 cents" button that charges you 50 cents and that's that, then it would be different. But instead your API credits drain and you can't evaluate if it was worth it.

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

#135

Earlier quoted context omitted.

I've been wondering this too. They said on a podcast that the average usage is around $6 a day in credits but I really question that. If that's the case though and they do have a lot of Pro and higher tier subscribers that might be making up the difference.

Interesting, do you recall which podcast this was on?

Latent Space.

"Claude Code is also the most direct way to consume Sonnet for coding, rather than going through all the hidden prompting and optimization than the other products do. You will feel that right away, as the average spend per user is $6/day on Claude Code compared to $20/mo for Cursor, for example. Apparently, there are some engineers inside of Anthropic that have spent >$1,000 in one day!"

Link: [https://www.latent.space/p/claude-code](https://www.latent.space/p/claude-code)

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

#136
I can just sense how far it's from reaching my limit, and my sense is quite accurate. I can also sense when a conversation is about to reach its own maximum length, so I use the last resource to generate a summary so that I can start a new conversation and resume progress. Ironically, these AI tools have become part of my biological clock. Besides Claude, every Wednesday is like a new kind of Sunday for me, because my ChatGPT's weekly limit is reset on Wednesdays.

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

#138

Hi! I'm the author of ccusage! I'm happy to see how people use our OSS! Happy vibe coding!

Interestingly, not a single comment on ccusage's Show HN:, but this thread here is getting crazy! https://news.ycombinator.com/item?id=44129432

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

#139
post #28

Earlier quoted context omitted.

You can use your max plan ( https://github.com/grll/claude-code-action ) Currently in gray area but allowed as per anthropic comment on it - https://github.com/anthropics/claude-code-action/issues/4#is...

Oh, thanks! You didn't go digging that up just for me, did you? I'll try it out right now.

I had it in my Karakeep bookmarks of things to try in the coming weeks.

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

#140

Earlier quoted context omitted.

I think it’s because this line of rationality, leads to people to realize how ridiculous some of the conservation efforts are. Plastic bags, paper straws (wrapped in plastic), most realities of recycling, vehicle selections, etc. Leads to a lot of unpopular things.

Plastic bags and papers straws is not about CO2 emissions and I wish people would stop repeating this like it's some "gotcha", it's about landfill and natural area pollution and damage to wildlife and natural areas, and that's how it's always been talked about by policy people who have advocated on this stuff. Have you walked a beach in the last decade?

This makes sense and I'm with you, people that are polluting beaches and natural areas should face harder punishments. That being said I'm missing plastic straws for drinking cold coffee.
Post reply on HN