Show HN: ClaudeStatsBar: your session is 486k deep and nothing told you

17 points by edf13 14 hours ago on hackernews | 15 comments

[OP] edf13 | 14 hours ago

I kept running into limits on my Claude Code sessions (Especially with leading edge models)... the main cause being session hygiene, not clearing or compacting my sessions often enough.

So I built this simple tool to show my current session status.

jondwillis | 13 hours ago

Could’ve asked Claude to put this in your status line.

https://code.claude.com/docs/en/statusline

[OP] edf13 | 13 hours ago

Yes - we hook into that to add the cost/turn and the burn rate

ftchd | 13 hours ago

My two cents: the README should feel effortless to read and easy to skim. For something this straightforward, I’d ideally want to grasp the key points without having to scroll much. Once it starts feeling longer than it needs to be, I tend to lose interest and I think I'm not the only one.

I built something similar but as a tray/cli and not just for usage. You can switch the login of CLIs like Codex, Claude, Vercel (if you're managing multiple accounts) etc

Here's Switcheroo: https://github.com/FTCHD/switcheroo

ActivePattern | 13 hours ago

Yeah, the README seems like AI slop to me. That always makes me lose interest in a project because it seems so low-effort.

[OP] edf13 | 13 hours ago

It is AI gen - and it's not so much of a project, more of a quick tool/status bar.

bonsai_spool | 13 hours ago

Unaffiliated with this project but I enjoy Claude Code Usage on my Mac https://github.com/richhickson/claudecodeusage

MoreClaudeslop | 13 hours ago

No one cares. Make something people want.
Just use autocompact?

ethanj8011 | 13 hours ago

Insane slop title.

froobius | 13 hours ago

> context a session moves grows with roughly the square of its length

Readme doesn't mention that LLM providers do context caching — your costs aren't quadratic unless you frequently invalidate the cache.

velcrovan | 12 hours ago

What's funny is that, being a claude code user, I don't need to give someone else's python package a 24/7 back door into all my activity, I can just make my own.

ftchd | 7 hours ago

You're the first person I see that only has Claude Code and a Browser installed, grats on the hygiene!

efficax | 12 hours ago

I never have long sessions. I ask claude to do one thing, then I clear the context, validate that change, and iterate it. What are these long sessions?

lowbloodsugar | 12 hours ago

Someone about to learn about caching.