Plugin: Claude Code usage widget #86

Closed
opened 2026-08-23 01:51:01 +01:00 by joshquinlan · 1 comment
Owner

Usage and limits for Claude Code from the local transcripts and the OAuth usage endpoint (as Omarchy agents plugin does), a bar glyph that alarms near the window limit, a pane with today and the week; extensible to other agents by adding a collector.

Usage and limits for Claude Code from the local transcripts and the OAuth usage endpoint (as Omarchy agents plugin does), a bar glyph that alarms near the window limit, a pane with today and the week; extensible to other agents by adding a collector.
joshquinlan added this to the 5 Plugins milestone 2026-08-23 01:51:01 +01:00
Author
Owner

Landed as the usage plugin: lib/usage.py sums assistant usage records from the Claude Code transcripts (CLAUDE_CONFIG_DIR/projects, only files touched in the window), donbox usage today|week [--watch]|json, a bar pill with today's output tokens polled each minute (in the default right section), a menu row, python and shell suites. A full day scan costs 1.6 s here. Limits, the near-limit alarm and a pane are #123.

Landed as the usage plugin: lib/usage.py sums assistant usage records from the Claude Code transcripts (CLAUDE_CONFIG_DIR/projects, only files touched in the window), `donbox usage today|week [--watch]|json`, a bar pill with today's output tokens polled each minute (in the default right section), a menu row, python and shell suites. A full day scan costs 1.6 s here. Limits, the near-limit alarm and a pane are #123.
Sign in to join this conversation.
No description provided.