ClaudeCodeMod

All shelves / Mods / Usage

usage-graph

By donvito

usage-graph is a Claude Code usage mod by donvito.

Draws cards above the prompt for the 5-hour limit, the weekly limit, and the context window, each with its percentage, a bar, and when it resets.

Draws

Install

The marketplace name is skillsbento.

In Claude Code
/plugin install usage-graph --marketplace donvito/skillsbento
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.3
License
Apache-2.0
Repo stars
11
Last change
2026-10-27

What it can reach

  • Draws in the session
  • Reads usage or context figures

Claude Code only. From a shell, claude plugin install usage-graph --marketplace donvito/skillsbento does the same. The mod keeps your latest limit readings between sessions, so a new session shows them straight away, and its first reply brings them up to date. The number turns amber at 75% and red at 90%. On an API key, with no plan limits, the context card shows the session's cost instead. In the desktop app the band is drawn as cards; in a terminal, as text bars. Hide hides it for the rest of the session, /usage-graph toggles it, and disabling the plugin turns it off in every session.

The marketplace name is skillsbento. It holds the author's skill plugins, such as stock-analyzer and social-media-analyzer; this is its one mod, and it installs on its own. The plan limits and the context window are why this page files it under usage. usage-meter draws the 5-hour and 7-day limits as small bars in one line, with the session's cost. statuspane draws one card with the model, a context gauge, the limits, and the branch. This one gives each figure a card of its own, with the local reset time and how long until it. In the source, the readings come from session.measure, the figures each reply carries.

Demo

The opening of the usage-graph README: a band above the prompt with one card per metric, each with its percentage and a bar: the 5-hour limit with its reset time, e.g. Resets 4:14 PM · in 4h 40m, the weekly limit, e.g. Resets Fri 5:34 AM · in 2d 18h, and the context, e.g. 28k / 200k tokens; the latest readings kept between sessions, and the number turning amber at 75% and red at 90%.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command
  • session.measureWhen usage is measured
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
donvito
Category
Usage
Marketplace
skillsbento
Repo
donvito/skillsbento
Folder
plugins/usage-graph
Version
1.0.3
License
Apache-2.0
Repo stars
11
Last change
2026-10-27
Language
Python
Files
7

Other mods in Usage

wavy-usageBatuhanCakmakkDraws liquid-filled rings above the prompt for the 5-hour and 7-day limits, the context, and the prompt cache, a jet for the effort, and a pane of recent turns.usage-band-modjonathanlocksDraws one line above the prompt with the model, session cost, context, the 5-hour and weekly limits, and a per-model weekly limit, led by a pixel crab mascot.usage-statsconnorchuang32Opens /usage-stats in the desktop app: a heat map of tokens per day, trends and models tabs, and a Wrapped-style card you can save as an SVG.session-infodougcunhaHolds a commandOpens a pane of the session: context, cost, prompt cache, plan usage, agents, checks, CI runs, and Git, and holds a prompt that would rewrite an expired cache.ccbaremaballarinDraws a quiet band above the prompt: model and effort, the GitHub repo and branch with lines changed, a context bar split as /context, tokens, and plan limits.token-monitor-hudfractal-manifoldDraws the 5-hour and 7-day windows above the prompt with reset times and where each lands at this pace, plus Codex and Antigravity quotas if they're signed in.cost-ledgerFynnXlandKeeps a ledger of what every chat cost, plus other mods' model calls, and draws /ledger: today, 7 and 30 days, projects, top chats, models, and plan limits.limit-barsFynnXlandDraws the 5-hour and weekly limits as two slim bars above the prompt, a ring for how long the prompt cache stays warm, and asks before a costly cold send.claude-loadGerruxOpens a /load pane of CPU and memory per Claude Code session, with orphaned dev servers you can end, and draws a load line above the prompt under high load.smart-compacthellosverreOffers /compact in a dialog above the prompt at good moments: after a commit, when tests go green, before the prompt cache expires, or when Claude asks.tideHula-Hoop-AIDraws the context window as a tide above the prompt: a fill bar by phase, a sparkline of recent turns, the rise per turn, and turns left before compaction.cache-ttl-statuslineJerrettDavisDraws session, plan-limit, and Headroom lines with model, cost, context, and a cache TTL that turns yellow then red, below the prompt or, in mod mode, above it.
All 183 in Usage