StaticB1

Claude AI Usage Widget — Data skill for Claude Code

Data community

2-in-1 for Claude Code: a live system-tray usage widget (5h/7d plan limits) + local token & cost analytics — per project/model/tool, budgets, forecasts.

How to install Claude AI Usage Widget

This entry records only its repository, not the path inside it, so there is no exact command to give. Open StaticB1/claude_ai_usage_widget and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude AI Usage Widget does

2-in-1 for Claude Code: a live system-tray usage widget (5h/7d plan limits) + local token & cost analytics — per project/model/tool, budgets, forecasts. Unofficial; not affiliated with Anthropic.

Alternatives in Data

  • Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
  • Token Dashboard — See where Claude Code is burning tokens - turn raw JSONL transcripts into local cost analytics, hotspot views 669 ★
  • FACT — FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search 161 ★

README

Claude Usage Widget & Token Tracker

Claude Usage Widget & Token Tracker

Two tools in one. A live tray usage widget that watches how close you are to your Claude plan limits, and a persistent local token tracker that shows where your tokens and dollars actually go — per project, per model, per tool.

MIT · Linux GTK dashboard + cross-platform CLI · Python 3.8+ · zero Python dependencies

**Unofficial project.** Claude Usage Widget & Token Tracker is a third-party tool and is **not affiliated with, endorsed by, or sponsored by Anthropic**. "Claude", "Claude Code", and "Anthropic" are trademarks of Anthropic, PBC, used here only to describe what the tool works with. Please read [Disclaimer & trademarks](#disclaimer--trademarks) — especially the note on the optional polling, which uses your Claude login token.


Two halves, one app

🟢 Usage Widget (live) 📊 Token Tracker (local)
Question it answers "How close am I to my plan limit right now?" "Where did my tokens and money go?"
Data source Your Claude plan's 5h / 7d utilization, from Claude Code's status line or claudehop (or the claude.ai usage API, if you turn polling on) Your on-disk Claude Code logs (~/.claude/projects)
Surface System-tray gauge + escalation notifications CLI (ctt) + GTK dashboard + SQLite history
Needs network/token? No. Polling with the claude CLI OAuth token is opt-in (see the risk note) No — 100% offline, never touches your token
Platforms Linux tray (GTK) CLI on Linux/macOS/Windows; dashboard on Linux

The widget is the spiritual successor to **claude_ai_usage_widget**; the tracker is the new half built on top of it. You can use either half on its own: without a plan reading it's a pure local analytics