context-meter
by Nafees S · ★ 0 · updated 2 days ago
A context window meter at the bottom right of the prompt; click it for the full breakdown
Install
git clone https://github.com/lucenity0/claude-code-modsclaude --plugin-dir ./claude-code-mods/context-meterThen 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.startsession.measuresession.compactcommand.runui.render- API calls
$.command.register$.session.compact$.session.usage$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve- Draws
SessionModePane- Can see
compaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/lucenity0/claude-code-mods
- Path in repo
context-meter- Source commit
4a3ed32the exact code the scan read- Author
- Nafees S @lucenity0
- 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 lucenity0/claude-code-mods
ding
lucenity0/claude-code-mods
Chime and toast when a long turn finishes, so you can look away
seatbelt
lucenity0/claude-code-mods
Blocks destructive shell commands and edits to secrets before they run
session-dash
lucenity0/claude-code-mods
/dash opens a live side pane with tool calls, files touched, tokens and turn times
turn-meter
lucenity0/claude-code-mods
Live turn timer in the status line, then duration and tokens when the turn ends