claudemods

All Claude Code modsmidudev/better-claude

context-meter

A Claude Code mod in midudev/better-claude

The session's context window fill, right above the prompt: gray while there is room, yellow when it is time to /compact, red when a new session is better.

context-meter reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.312.

Install hint

/plugin install context-meter --marketplace midudev/better-claude

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Readsreads mod state, draws

Validation

Passed on Claude Code 2.1.312

Listed under Context and usage meters for Claude Code.

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, session.end, session.measure, ui.render {component=AbovePrompt}
API calls
$.clock.every, $.session.usage, $.state.get, $.state.set, $.ui.resolve
Validation on 2.1.312
Passed
Scanned revision
5abacf0ff67a
Marketplace passed
better-claude

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from midudev/better-claude

Badge for your README

Reach badge for context-meter Validation badge for context-meter

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/midudev--better-claude--context-meter-reach.svg)](https://mods.aidojo.si/mods/midudev--better-claude--context-meter/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/midudev--better-claude--context-meter-validates.svg)](https://mods.aidojo.si/mods/midudev--better-claude--context-meter/)