context-meter
by Ayush Tripathi · ★ 0 · updated 3 days ago
0
One row of usage pills above the prompt (session and weekly limits, context, prompt cache, cost), a Compact button, and ;name prompt snippets
Install
/plugin marketplace add ayush-905/claude-code-mods/plugin install context-meter@claude-code-modsThen 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.stepsession.measuresession.compactprompt.submitcommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.session.usage$.state.get$.state.set$.ui.invalidate$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
compactionevery prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setwrites filesdrives Claudereads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/ayush-905/claude-code-mods
- Path in repo
context-meter- Author
- Ayush Tripathi @ayush-905
- 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.