context-meter
by kk5190 · ★ 0 · updated 9 days ago
Side-pane widget showing Claude Code context size, a fill bar, status and session cost, with a nudge to /compact or /clear
Install
/plugin marketplace add kk5190/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.startcommand.runsession.measureui.render- API calls
$.command.register$.state.get$.state.set$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- 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/kk5190/claude-code-mods
- Path in repo
context-meter- Source commit
1d6ca56the exact code the scan read- Author
- @kk5190
- 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 kk5190/claude-code-mods
dev-servers
kk5190/claude-code-mods
Side pane listing local dev servers with Open, Restart and Kill
openspec-pane
kk5190/claude-code-mods
Side pane for OpenSpec: active change, artifact and task progress, spend per OPSX step, next-step buttons
pr-status
kk5190/claude-code-mods
Band above the prompt with the current branch PR, review state and CI checks
push-guard
kk5190/claude-code-mods
Blocks git push and gh pr create until you confirm the commits, their authors and the diff size, with a side pane of the last check