context-gauge
by Jake Rains · ★ 0 · updated 11 Oct 2026
One line under the prompt: model, effort, repo/branch, context left, and on a Claude subscription the 5-hour and weekly usage left with a countdown to reset. /gauge swaps it for a colour-coded context breakdown above the prompt.
Install
/plugin marketplace add jakerains/claudemods/plugin install context-gauge@claudemodsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runturn.stepsession.measuretool.callturn.completeui.render- API calls
$.clock.every$.clock.now$.command.register$.process.run$.session.model$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.resolve- Draws
PromptHintAbovePrompt- Can see
every tool call- Reach
- level 2 of 3 runs processesreads settingsreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/jakerains/claudemods
- Path in repo
context-gauge- Source commit
da45b88the exact code the scan read- Author
- Jake Rains @jakerains
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from jakerains/claudemods
open-tray
jakerains/claudemods
POWERTRAY: a pane of things to look at or listen to (what Claude made this session, things related to what you are on, local servers), a player for a film's sound, plain-words recaps of the work (quick or detailed on request, quick ones on their own if you turn them on; flagged stale when they no longer hold), checklists Claude and you tick together (or one written from the conversation on...
prompt-cache-control
jakerains/claudemods
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and...
Related mods
Other mods in Bands, close to this one by stars.