AI Usage Extension — AI skill for Claude Code
GNOME Shell + Windows widget showing Cursor, Claude, and Codex usage from local sessions.
How to install AI Usage Extension
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open byte4day/AI-Usage-Extension and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Usage Extension does
GNOME Shell + Windows widget showing Cursor, Claude, and Codex usage from local sessions.
Alternatives in AI
- Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
- BrowserSkill — Let AI agents use your real, logged-in browser without interrupting your work 9.1k ★
- Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
README
AI Usage (GNOME + Windows)
Show **Cursor**, **Claude**, and **Codex** usage from local sessions.
[](LICENSE) [](https://extensions.gnome.org/)
GNOME Shell
Minimal top-panel extension for GNOME Shell 46–50.
Features
- Cursor Auto / API meters
- Claude 5h / 7d OAuth usage
- Codex primary / weekly rate limits
- A minimal menu: one line per provider with its plan tier and overall percentage, then a thin bar per pool with its reset countdown
- Panel ring gauge that turns amber past 75% and red past 90%
- Optional billing / credits line
- Prefs for providers, panel target, refresh, proxy
Auth (reuses what the CLIs already stored — no separate login)
| Provider | Source |
|---|---|
| Cursor | ~/.cursor/auth.json, $XDG_CONFIG_HOME/cursor/auth.json, CURSOR_SESSION_TOKEN, or desktop state.vscdb (needs sqlite3 on PATH) |
| Claude | ~/.claude/.credentials.json or CLAUDE_CODE_OAUTH_TOKEN |
| Codex | ~/.codex/auth.json |
Claude OAuth tokens expire. When the stored one has aged out, the extension renews it with the saved refresh token and writes the rotated pair back to `.credentials.json`, so the CLI keeps working and you never have to sign in again just for the meter. If the file cannot be written, the renewal is abandoned rather than risk invalidating the CLI's login.
Install
From [releases](https://github.com/byte4day/AI-Usage-Extension/releases):
gnome-extensions install -f cursor-usage@byte4day.github.io.shell-extension.zip
gnome-extensions enable cursor-usage@byte4day.github.io
Reload Shell (Wayland logout, or X11 `Alt+F2` → `r`).
Windows widget
Floating Win32 card + tray icon. Same providers and auth idea, including the silent Claude token renewal.
Binary: `CursorUsage.exe` on the release page, or build under [`windows/`](windows/).
See [windows/README.md](windows/R
Related Skills
Tripmeter
Tripmeter — a GNOME Shell extension for Claude Code and OpenAI Codex: usage limits and resets, plus what the s
LLM Usage Widget
macOS menu-bar & Windows system-tray app showing real-time usage limits for Claude, Codex & GitHub Copilot.
Pw Claude Usage Widget
Always-on-top Windows widget showing your Claude Code usage — 5h, weekly & per-model limits with reset timers
AI Taskbar Widget
Windows taskbar widget for Claude Code & Codex usage limits, routine alerts and skill stats — one-click instal
Ailimits
Native Windows 11 desktop widget for AI usage limits: live Claude, Codex, Copilot and Antigravity percentages,
Aigauge
Lightweight Windows system tray widget for monitoring AI usage, quotas, and reset times across Codex, Claude C
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Ade
Agent sessions routinely outlast the machine that started them, and checking a Claude Code or Codex run from a
Design UI Designer
HIG-conformant GTK/libadwaita reviewer for Sessions Chronicle. Validates proposals against GNOME conventions,