context-meter

by Miguel Ángel Durán (midudev) · ★ 206 · updated 2 days ago

Bandsvalidates

0

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.

install context-meter

Install

/plugin marketplace add midudev/after-for-claude-code
/plugin install context-meter@better-claude

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.startsession.endsession.measureui.render
API calls
$.clock.every$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Reach
level 1 of 3 reads mod 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/midudev/after-for-claude-code
Path in repo
plugins/context-meter
Source commit
9306204 the exact code the scan read
Author
Miguel Ángel Durán (midudev) @midudev
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 midudev/after-for-claude-code

narrator

midudev/after-for-claude-code

Click ⏸︎ narrator off in the footer, or /narrator, and after each turn Claude tells you out loud what it did, in your language, with the best free voice your system has: Siri's on macOS, Narrator's on Windows, speech-dispatcher's on Linux.

★ 206ReskinsGuardsCommands

time-machine

midudev/after-for-claude-code

Every turn that changes files is a git snapshot off your history: /timeline shows them and puts the working tree back as it was before any turn, Bash changes included. Undoable.

★ 206PanesGuardsCommands