by aqua5230 · Claude Skill · ★ 93
usage 繁體中文 · English 是一個 macOS menu bar(螢幕右上角的選單列)小工具,把 Claude Code 跟 Codex 的用量釘在你的螢幕右上角。點開可以看到 Session、Weekly、各專案用量(今日 / 7 日 / 月),以及今日 token 用量與成本估算。 不呼叫 Anthropic / OpenAI 的 API(接口)、也不讀 Keychain(macOS 內建的密碼保險箱),所以不會發生「自己每分鐘 ping 一次也算用量」這種事。 它怎麼拿到你的用量數字 用量數字來自 Claude Code 跟 Codex 在你本機留下的檔案,不呼叫 Anthropic / OpenAI 的 API。唯一的例外:估算 Codex 成本時需要 token 單價表,如果本機沒有快取(),會嘗試從公開的 LiteLLM 價格表 下載一次並存起來,7 天後過期再抓。下載失敗的話會用內建的 fallback 價格,不影響用量百分比的顯示。首次啟動若沒快取會同步抓一次,網路慢時可能要等 10 秒。 Claude Code 用量 usage 會幫你裝一個小腳本,這個小腳本叫做 statusLine hook(hook 就是「事件觸發點」,每次 Claude Code 刷新狀態列就會自動跑一次的小程式)。流程是這樣: Claude Code...
| Stars | 93 |
| Forks | 16 |
| Language | HTML |
| Category | Claude Skill |
| License | AGPL-3.0 |
| Quality Score | 55.266/100 |
| Last Updated | 2026-05-22 |
| Created | 2026-05-17 |
| Platforms | claude-code, codex |
| Est. Tokens | ~303k |
These tools work well together with usage for enhanced workflows:
Explore other popular claude skill tools:
usage is Privacy-first macOS menu bar tracker for Claude Code & Codex usage — no provider API calls. It is categorized as a Claude Skill with 93 GitHub stars.
usage is primarily written in HTML. It covers topics such as claude-code, codex, launchagent.
You can find installation instructions and usage details in the usage GitHub repository at github.com/aqua5230/usage. The project has 93 stars and 16 forks, indicating an active community.
usage is released under the AGPL-3.0 license, making it free to use and modify according to the license terms.