context-meter
by Claude · ★ 0 · updated today
Context fill in one row above the prompt, with a switchable auto-compact threshold and Compact and Clear buttons.
Install
/plugin marketplace add T-AI-Labs/claude-code-mods/plugin install context-meter@T-AI-LabsThen 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.startclassic.SessionStartsession.endsession.measuresession.compactui.render- API calls
$.clock.after$.command.run$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
classic hookscompaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudepersists 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/T-AI-Labs/claude-code-mods
- Path in repo
context-meter- Source commit
81ed40ethe exact code the scan read- Author
- Claude @T-AI-Labs
- 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 T-AI-Labs/claude-code-mods
cache-meter
T-AI-Labs/claude-code-mods
Prompt-cache hit rate in one row above the prompt, with how long the cache stays warm and a Keep warm switch that refreshes it while you are away.
catalog-pane
T-AI-Labs/claude-code-mods
A pane, opened with /catalog, that lists every skill, command, agent, mod, plugin, settings hook, MCP server and tool by category: descriptions, usage over 7 and 30 days, token cost, what each mod hooks, updates, GitHub stars, a model-written note on what each is for, and buttons to insert, run, update, disable or uninstall.
context-usage
T-AI-Labs/claude-code-mods
context-meter and usage-limits in one band above the prompt: the context fill with its auto-compact threshold, Compact and Clear, and the 5-hour and weekly usage limits beneath it.
usage-limits
T-AI-Labs/claude-code-mods
One row above the prompt: how much of the 5-hour and weekly usage limits is used, in percent, with the time until each resets.