by Nanako0129
AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph. Tracks Claude Code, Codex, Cursor, OpenCode & 25+ agents locally.
# Add to your Claude Code skills
git clone https://github.com/Nanako0129/TokenBarTokenBar is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Nanako0129. AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph. Tracks Claude Code, Codex, Cursor, OpenCode & 25+ agents locally. It has 95 GitHub stars.
TokenBar's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Nanako0129/TokenBar" and add it to your Claude Code skills directory (see the Installation section above).
TokenBar is primarily written in Swift. It is open-source under Nanako0129 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh TokenBar against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
TokenBar sits in your menu bar and shows what you're spending across 25+ AI coding agents — Claude Code, Codex, Cursor, OpenCode, Gemini CLI and more — read on-device from your local session logs. No Dock icon, no telemetry, no account.
The menu-bar title shows today's tokens, cost, live tokens/min, or how much subscription quota is left — as signal bars, a ring, or a popsicle that melts as your window drains. And the cat sprints faster the more you burn, tracing back to RunCat by Takuto Nakamura.
Click the icon and a Liquid Glass popover opens. A row of app tabs filters which agents you're looking at; a view switch picks how that data is broken down — six lenses, plus the same year of usage as an orbitable 3D graph.
Plus OAuth quota cards with pace projections, a live session trace, streaks, and full keyboard control (⌘1–9 tabs, ⌘G chart toggle, ⌘, settings). A failed refresh never blanks a reading — the last known value stays until a fresh one lands.
brew install --cask nanako0129/tokenbar/tokenbar
In-app updates arrive via Sparkle; betas ride an opt-in channel
(Settings → "Receive beta updates"). The app is ad-hoc signed (not notarized) —
the cask clears the quarantine attribute on install, as disclosed. Requires an
Apple Silicon Mac on macOS 14+ (Liquid Glass needs macOS 26; earlier systems get
a vibrancy fallback). Still on macOS 11–13? The final Tauri build stays as
tokenbar@legacy.
Rust owns the data — session parsing, aggregation, pricing, quota fetching — via
the vendored tokscale-core, exposed to
Swift as a C-ABI staticlib (crates/tb_core_ffi). Swift owns the rest: SwiftUI
views, the NSStatusItem shell, Sparkle updates.
make # cargo build --release, then swift build
make run # build + run the smoke binary
Run
swift buildfrom the repo root — the linker's-L target/releasepath inPackage.swiftis relative.
TokenBar is built on tokscale by
Junho Yeo. Its vendored tokscale-core crate does the session parsing, dedup,
and pricing across 25+ agents — and its interactive TUI is the blueprint for the
whole dashboard: the six lenses (Overview, Models, Daily, Hourly, Stats, Agents)
and their In · Out · CR · CW column breakdown are modeled on it.
The product line began as a fork of tokcat by handlecusion — the original Tauri menu-bar monitor (itself built on tokscale). This native app is a ground-up Swift rewrite that carries no tokcat code, but the menu-bar form and the spinning-cat signature are theirs; the cat traces back to RunCat by Takuto Nakamura. The quota-pace cards reference CodexBar by Peter Steinberger.
All MIT. Licensed under MIT.