Skip to content

Add usage-bar to community mods - #183

Merged
hamzafer merged 2 commits into
hamzafer:mainfrom
araujo-eduardo:add-usage-bar-community
Nov 14, 2026
Merged

hamzafer merged 2 commits into
hamzafer:mainfrom
araujo-eduardo:add-usage-bar-community

Conversation

@araujo-eduardo

Copy link
Copy Markdown
Contributor

Adds usage-bar to community.json and docs/community.md. It is maintained in its own marketplace.

What it does: a /usage-bar pane with a 7-day token history and per-model totals, plus the 5-hour and weekly plan limits with reset times, context fill and session cost in the status line, and a toast once the 5-hour window passes 90%. English and pt-BR.

Overlap: the status line covers ground close to usage-meter and usage-limits. What it adds is the 7-day history pane, the per-model breakdown and the 90% toast.

Access: it only observes (session.start, session.measure, turn.complete, command.run, ui.render) and passes every event on unchanged. It keeps a daily token tally in $.store, and reads the language setting and LC_ALL / LANG only when language is auto. No network requests, no processes, no model calls.

Install:

claude plugin marketplace add araujo-eduardo/claude-usage-bar
claude plugin install usage-bar@claude-usage-bar

node --test test/community.test.mjs passes (43/43). I'm the author.

@hamzafer
hamzafer merged commit 50fdcf0 into hamzafer:main Nov 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants