context-meter
by ulttla · ★ 0 · updated 5 days ago
Shows the git branch, context window usage, what the last turn added, and plan limit usage above the prompt
Install
/plugin marketplace add ulttla/claude-mod-repo/plugin install context-meter@claude-mod-repoThen 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.startturn.startturn.completeturn.stepsession.measurecommand.runui.render- API calls
$.command.register$.process.run$.session.model$.session.usage$.ui.invalidate$.ui.resolve- Draws
AbovePrompt- Reach
- level 2 of 3 runs processesdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/ulttla/claude-mod-repo
- Path in repo
context-meter- Source commit
8a8290fthe exact code the scan read- Author
- @ulttla
- 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 ulttla/claude-mod-repo
auto-pin
ulttla/claude-mod-repo
Pins a new session in the desktop app's sidebar as it starts
context-handoff
ulttla/claude-mod-repo
Past a context threshold, records a hand-off, resets the context (a compaction in place, through /compact where the session has no compaction call, or the desktop app's clear), and continues from the notes