19 comments

  • tyleo6 days ago
    I recommend people just update their Claude Code status line so that changes like this are in Claude Code itself.<p><a href="https:&#x2F;&#x2F;www.tyleo.com&#x2F;blog&#x2F;love-letter-to-the-claude-code-docs#customize-your-status-line" rel="nofollow">https:&#x2F;&#x2F;www.tyleo.com&#x2F;blog&#x2F;love-letter-to-the-claude-code-do...</a>
    • oefrha6 days ago
      My status line shows 5h and 7d quota usage among other things like model, context usage, git branch, etc. Unfortunately the whole status line disappears half of the time from CC’s broken ass UI.
    • grzracz6 days ago
      Personally I have multiple instances of Claude on my PC dedicated to different areas (split between my private subscription and my work one) and it is useful to see both at a glance. And I don&#x27;t have to keep the terminal open to see how much time is left for quota to be reset. But for single-Claude users this is indeed a valid solution!
      • tyleo6 days ago
        I also use multiple. Your statusline is per Claude session so it can show separate quotas&#x2F;file info&#x2F;context use&#x2F;etc.<p>It’s just a script you write to modify the last line of the Claude Code program.
  • BowBun6 days ago
    I use codeburn, has both terminal and menu bar versions. Works quite well - <a href="https:&#x2F;&#x2F;github.com&#x2F;getagentseal&#x2F;codeburn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;getagentseal&#x2F;codeburn</a>
    • adithyaharish5 days ago
      Looks good, I would also recommened Ruflo, it does the same but also does agent orchestration and reduce spend in claude code, I have used for more than3 months, works quite well for me
  • artdigital6 days ago
    &gt; curl -fsSL <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;grzegorz-raczek-unit8&#x2F;claude-quota&#x2F;main&#x2F;install.sh" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;grzegorz-raczek-unit8&#x2F;clau...</a> | bash<p>Can we stop with this way of installing things? This is already on brew and it’s a menu bar app. Just let me download it instead of executing some arbitrary bash script<p>When did this trend start?
    • bityard6 days ago
      I need to turn this into a blog post at some point:<p>Some of my early bad experiences with Linux arose because I installed software in ways that broke the system quite impressively. This taught me that with most Linux systems, you are not really supposed to just download random packages and shoe-horn them into your system. Or blindly compile and sudo make install things that could conflict with already-installed software.<p>The curlpipe pattern feels like a return to YOLO&#x27;ing your software installations, like the bad old Windows days where any INSTALL.EXE could overwrite another program&#x27;s DLLs, wherever they lived on the disk. I trust the developers of my operating system to know what they are doing when they package software for it because most Linux distro communities have a vetting or code review process. I even sometimes trust people and projects who build their own packages for my distro and host them in their own third-party repo. Because that alone shows they probably have learned the bare minimum of things necessary to not break their users&#x27; systems.<p>But a curlpipe script? In my experience, the percentage of developers on GitHub who can write decent Python or Javascript code, and yet don&#x27;t understand the basic concepts of The Unix Way and how to write safe, portable shell scripts is Very High. I am not going to hand control of my computer over to a random shell script on the Internet, end of story. If your program is any good, provide some generic hand-written instructions on how to build and&#x2F;or install it, and I will follow those so that I can vet or modify each step as needed. I don&#x27;t have time in my life to code review your shell script for a project that I was only mildly interested in to begin with.
    • grzracz6 days ago
      While I agree it&#x27;s not super safe, even CC is installed this way: <a href="https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;quickstart" rel="nofollow">https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;quickstart</a>
    • max85396 days ago
      Agree, and a lot of software on Mac tends to do the same thing: Codex, Claude Code, and so on. Fortunately, it’s just one of many options, and we can use Homebrew in 95% of cases.<p>P.S. Installing Homebrew is also officially done by running a shell script from GitHub.
    • VladVladikoff6 days ago
      Funny you should mention homebrew in this complaint.
  • rippeltippel6 days ago
    I use CodexBar, which supports more providers: <a href="https:&#x2F;&#x2F;github.com&#x2F;steipete&#x2F;codexbar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;steipete&#x2F;codexbar</a>
    • cpursley6 days ago
      Something has gone haywire with that one recently and it constantly freezes and crashes.
      • justAnotherHero6 days ago
        I&#x27;ve forked it so that I can see the old cursor 500 requests plan and haven&#x27;t merged any of their changes after that for the last few months.<p>Seems to me the way to go with these apps that keep pushing daily updates.
    • grzracz6 days ago
      Wasn&#x27;t aware this exists, good one!
  • fosron6 days ago
    CodexBar seems to do that good enough (and supports Codex), plus <a href="https:&#x2F;&#x2F;github.com&#x2F;daniel3303&#x2F;ClaudeCodeStatusLine" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;daniel3303&#x2F;ClaudeCodeStatusLine</a> this also adds data straight into CC
  • max85396 days ago
    Created the same tool some time ago for Codex and Claude code: showing percents for both in the menu bar and detailed stats when you click on it. Using it literally every day, feel free to try: <a href="https:&#x2F;&#x2F;github.com&#x2F;max2697&#x2F;RateLimited" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;max2697&#x2F;RateLimited</a> Feedback greatly appreciated!
  • navels6 days ago
    lol how many of these things are there. I&#x27;ve been using <a href="https:&#x2F;&#x2F;github.com&#x2F;f-is-h&#x2F;usage4claude" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;f-is-h&#x2F;usage4claude</a> which includes Codex usage (I use Claude and Codex).
  • tskulbru6 days ago
    Im using <a href="https:&#x2F;&#x2F;github.com&#x2F;mryll&#x2F;claudebar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mryll&#x2F;claudebar</a> myself on my Linux desktop setup using Hyprland and Waybar. Will try this one out on my laptop though!
    • linsomniac6 days ago
      I had Claude throw together one for my NixOS setup with Sway and Waybar: <a href="https:&#x2F;&#x2F;github.com&#x2F;linsomniac&#x2F;claude-usage-waybar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;linsomniac&#x2F;claude-usage-waybar</a>
    • smy-hn6 days ago
      [dead]
  • cute_boi6 days ago
    What is benefit of this over <a href="https:&#x2F;&#x2F;github.com&#x2F;steipete&#x2F;codexbar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;steipete&#x2F;codexbar</a>?
    • grzracz6 days ago
      It&#x27;s literally a single file that only supports multiple Claude instances :) so I guess simplicity
  • ceritium6 days ago
    I made recently a similar thing <a href="https:&#x2F;&#x2F;jmkr.es&#x2F;claude-usage&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jmkr.es&#x2F;claude-usage&#x2F;</a>
    • quietswami6 days ago
      Great Job! Just last week finished a very similar project to your own, but yours adds much more detail.
  • giancarlostoro6 days ago
    Honestly drives me crazy that CC doesnt show this on the bottom status bar a simple percentage “Weekly Quota Left: 99%” would be useful. Also noticed and idk if it was me or some mishap, a lot of my Claude sessions were not autocompacting, maybe its &#x2F;loops fault not sure, but it made sense why I finally reached my weekly limit so insanely quickly recently.
    • kaliara6 days ago
      I wanted the same thing and recently saw this blog post on how to customize the bottom status bar: <a href="https:&#x2F;&#x2F;www.aimhuge.com&#x2F;blog&#x2F;claude-code-status-line" rel="nofollow">https:&#x2F;&#x2F;www.aimhuge.com&#x2F;blog&#x2F;claude-code-status-line</a>.<p>I now show my current context window, five-hour quota, weekly quota, current branch and current PR.<p>It&#x27;s quite handy!
    • Doublon6 days ago
      Their documentation explains how to customize CC statusline and display the quotas: <a href="https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;statusline#rate-limit-usage" rel="nofollow">https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;statusline#rate-limit-usage</a>
    • devsda6 days ago
      From their perspective, they don&#x27;t want<p>1. Standard tier users increasing their usage just to minimize &quot;wasted&quot; token credits.<p>2. Higher tier users with extra usage enabled to use and pay for those extra tokens instead of planning to stay within limits.
      • giancarlostoro6 days ago
        I just want to know if my next prompt is about to eat shit at the last token. The number of times it like half works on something and falls apart halfway through.
        • xienze6 days ago
          You likely still wouldn&#x27;t be able to figure that out even if you had a percent usage view available. Will your request take 1K tokens or 10K? Who knows! That&#x27;s the magic of non-deterministic black boxes.
    • CPLX6 days ago
      Casinos don&#x27;t have clocks in them.
    • grzracz6 days ago
      Doesn&#x27;t it autocompact only if it is about to run out of context? On these newer models the context is 1M tokens so it&#x27;s quite difficult to reach. I run compacts manually when I stop in a good place and tokens are over 300k
      • giancarlostoro6 days ago
        1m is too high, they used to autocompact a little too soon, maybe I tweaked defaults, it was kind of annoying, 200k tokens is too soon for me, I feel like the sweet spot is around 400k tokens.<p>Funnily enough Groks API charges less when you are below 400k tokens.<p>Half a million can get you reasonably far with enough of your codebase within the models context window.<p>I lowkey blame the 1m context window as the start of Anthropics worse woes earlier this year.
        • conception6 days ago
          You can change your compaction token limit to 400k if you want.<p>CLAUDE_AUTOCOMPACT_PCT_OVERRIDE<p>And<p>CLAUDE_CODE_AUTO_COMPACT_WINDOW
    • ab-dm6 days ago
      The Claude app has a usage indicator when you switch to code mode. I’ve been using this more and more now that their sandbox functionality has Improved.
    • sturges6 days ago
      [dead]
  • mahoro6 days ago
    Unexpected: reading the code was entertaining (no sarcasm): pixel fonts, png encoder.
  • bicepjai6 days ago
    Codexbar app and ccstatusline
  • maximedeco6 days ago
    Looks nice but yes, I find it easier to show it in the status line
  • dmzxnico6 days ago
    OpenUsage is really nice for this kind of things.
  • tuo-lei6 days ago
    how does this pull the quota data? reading from the CC process output or is there an actual API for it?
  • root98766 days ago
    [dead]
  • gengad6 days ago
    [dead]
  • AlexandreBD6 days ago
    [dead]