Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chuan-khunav0.1.1In 1 marketplace
Records rate-limit usage % per hour to ~/.claude/usage-log/hourly.jsonl and charts it by week in a pane
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it writes files; reads files; reads environment variables (HOME).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that records how much of your rate limits you use each hour, and charts it by week in a pane. Open it with /usage-chart.
25 Nov 09:00 → 2 Dec 09:00 (this week)
[Week] [Hours] [Weeks] [◀ prev] [next ▶] [now] [compare: on] [x]
7d ████████░░░░░░░░░░░░░░░░ 34% on track, ~71% at reset
5h ███░░░░░░░░░░░░░░░░░░░░░ 12% resets Mon 14:00
% used per hour (7d)
00 03 06 09 12 15 18 21
Tue 25 ░░▒▒▓▓░░ ▒▒██░░
Wed 26 ░░▒▒ ░░▓▓▒▒░░
…
/usage-chart opens the pane on this week. /usage-chart 2 opens it two weeks back, and /usage-chart 2026-11-18 opens the week that holds that date.
| Tab | Key | Shows |
|---|---|---|
| Week | 1 | A bar for each limit, with its pace or reset time. A heatmap of the points the 7-day limit used in each hour, by day. A chart of the 7-day total across the week, with the week before as a line. |
| Hours | 2 | One line for each recorded hour, newest first: each limit's reading and what it gained in that hour. |
| Weeks | 3 | Up to 12 weeks, newest first: the 7-day peak, the heaviest day, and the hours the 5-hour limit was at 100%. Enter on a week opens it. |
[ and ] go to the week before and after, t goes back to this week, and c turns the week-before line on and off. x or Esc closes the pane.
On this week, the 7-day bar shows the pace of the last 24 hours. It warns when that pace reaches 100% before the reset. On a past week, each bar shows that week's peak.
Each reading is folded into one line per local hour in ~/.claude/usage-log/hourly.jsonl. A line keeps the last reading of each limit in that hour (limits) and the points used since the hour before (delta). After a reset, the delta is the new reading. The pane shows the last 26 weeks. The file keeps everything.
Several sessions can write the file at once. Each write checks the file's version and retries, up to three times, if another session wrote first.
A week is the window between two weekly resets. The pane takes the reset time from the readings. Before the first reading, it counts weeks from Monday at midnight.
| Hook | What it does |
|---|---|
session.start | Registers /usage-chart and reads the log. |
session.measure | Records the rate-limit readings each time the engine measures the session. |
command.run on /usage-chart | Reads the log and opens the pane at the week asked for. |
ui.render on the usage-chart pane | Draws the pane. |
The readings come from the rate limits on session.measure, so the log has rows only on a Claude subscription.
/plugin install usage-chart --marketplace chuan-khuna/altr-stack
claude plugin validate ./plugins/usage-chart
claude plugin test ./plugins/usage-chart
claude --plugin-dir ./plugins/usage-chart
You need a surface that places panes, such as Claude Code in a terminal.
., and an hour with a reading but no change shows ·. The current hour shows ● until it has a change.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub chuan-khuna/altr-stack --plugin usage-chart