展示HN:cc-hdrm v1.3 – 一款用于macOS菜单栏的应用,能够跟踪您的Claude订阅情况。

1作者: rajish大约 1 个月前原帖
我为Claude Code用户开发了一个菜单栏工具,旨在让用户无需查看网页仪表板即可查看剩余的令牌余量。该工具会轮询Anthropic使用API(不是聊天API,因此不会消耗令牌),并显示您的剩余容量及消耗速率指示。 v1.3版本新增了基于美元的订阅跟踪功能:您可以查看每月订阅的实际使用百分比,实时跟踪额外的使用支出,并根据您的使用模式获得等级推荐(是否支付过多?是否性能不足?是否忘记了订阅?)。所有计算均在本地完成——没有任何数据离开您的设备。 零配置——直接从macOS钥匙串中读取OAuth凭证(使用您现有的Claude Code登录信息)。纯Swift/SwiftUI,无依赖。 安装方法:brew install rajish/tap/cc-hdrm
查看原文
I built a menu-bar utility for Claude Code users who want to view their remaining token headroom without checking the web dashboard. It polls the Anthropic usage API (not the chat API, so no tokens are spent) and displays your remaining capacity with burn-rate indicators.<p><pre><code> v1.3 adds dollar-based subscription tracking: see what percentage of your monthly subscription you&#x27;ve actually used, track extra usage spend in real time, and get tier recommendations based on your usage patterns (overpaying? underpowered? forgotten subscription?). All computed locally — nothing leaves your machine. Zero config — reads OAuth credentials directly from macOS Keychain (from your existing Claude Code login). Pure Swift&#x2F;SwiftUI, no dependencies. Install: brew install rajish&#x2F;tap&#x2F;cc-hdrm</code></pre>