usage

by aqua5230 · Codex Skill · ★ 229

About usage

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

agplai-toolsanthropicclaudeclaude-codecodexcost-trackingdeveloper-toolslaunchagentmacos

Quick Facts

Stars229
Forks40
LanguagePython
CategoryCodex Skill
LicenseAGPL-3.0
Quality Score68.108263423977/100
Open Issues7
Last Updated2026-07-08
Created2026-05-17
Platformsclaude-code, codex, python
Est. Tokens~15k

Compatible Skills

These tools work well together with usage for enhanced workflows:

  • skillsbar — semantic(0.51)+complementary+rare_topics+similar_pop+shared_platform (57%)

More Codex Skill Tools

Explore other popular codex skill tools:

View all Codex Skill tools →

Popular Python Agent Tools

Frequently Asked Questions

What is usage?

usage is macOS menu bar app pinning Claude Code & Codex quota, tokens, and cost to your screen. Local-only, zero API calls. HTML reports, 9 themes.. It is categorized as a Codex Skill with 229 GitHub stars.

What programming language is usage written in?

usage is primarily written in Python. It covers topics such as agpl, ai-tools, anthropic.

How do I install or use usage?

You can find installation instructions and usage details in the usage GitHub repository at github.com/aqua5230/usage. The project has 229 stars and 40 forks, indicating an active community.

What license does usage use?

usage is released under the AGPL-3.0 license, making it free to use and modify according to the license terms.

View on GitHub → Browse Codex Skill tools