context-gauge

by Plagemes · ★ 8 · updated 15 Oct 2026

BandsCommandswarnings

0

A slim band above the prompt showing how full the context window is.

install context-gauge

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install context-gauge@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.runsession.measuresession.endui.render
API calls
$.clock.after$.clock.now$.command.register$.fs.read$.mods.hello$.mods.latest$.mods.mode$.mods.registerTab$.session.usage$.state.get$.state.set$.ui.log$.ui.resolve
Draws
AbovePrompt
Reach
level 1 of 3 reads filesreads mod statedrawsother: $.mods.helloother: $.mods.latestother: $.mods.modeother: $.mods.registerTab

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/context-gauge
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
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 Plagemes/claude-mods

context-optimizer

Plagemes/claude-mods

Keeps the context lean automatically: trims noise, picks the right moment to compact and shows the tokens it saved.

★ 8PanesBandsGuards

contrast-checker

Plagemes/claude-mods

Checks that the colors Claude changes in CSS meet WCAG AA contrast.

★ 8ToastsGuards

copy-last

Plagemes/claude-mods

/copy-last copies Claude's last answer (or its last code block) to the clipboard.

★ 8CommandsAutomation

copyright-guard

Plagemes/claude-mods

Flags pasted code that carries someone else's license or copyright header.

★ 8ToastsGuards

cost-meter

Plagemes/claude-mods

Live session cost estimate in the status line, from real token usage.

★ 8Status lineCommands

crypto-guard

Plagemes/claude-mods

Flags weak cryptography: MD5 or SHA1 for passwords, Math.random for tokens, ECB mode, hard-coded IVs.

★ 8ToastsGuards

css-token-guard

Plagemes/claude-mods

Flags hard-coded hex colors and pixel values where your design tokens should be used.

★ 8ToastsGuards

csv-peek

Plagemes/claude-mods

/peek shows a CSV or JSONL file's columns, sample rows and inferred types without reading the whole file.

★ 8GuardsCommandsAutomation

curl-pipe-guard

Plagemes/claude-mods

Blocks piping downloaded scripts straight into a shell.

★ 8GuardsAutomation

curl-to-code

Plagemes/claude-mods

/curl2code turns a curl command into fetch, axios, Python requests or Go code.

★ 8CommandsAutomation

daily-goal

Plagemes/claude-mods

/daily-goal sets today's goal, keeps it in view above the prompt and asks at day's end if you got there.

★ 8BandsCommandsPrompt

daily-spend

Plagemes/claude-mods

Tracks spend per day and week across sessions with a /spend report.

★ 8PanesCommands

Other mods in Bands, close to this one by stars.