context-meter
by Claude · ★ 6 · updated 11 days ago
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 drives Claudereads mod statepersists 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
3f4f827the 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
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.
task-board
T-AI-Labs/claude-code-mods
A task board per project, opened with /task-board: lanes for ideas, todo, in progress and done, tasks with keys, details and priority, saved prompt snippets, and a row above the prompt that creates tasks while Claude works. A prompt that names a task key gets its details attached for Claude.
test-explorer
T-AI-Labs/claude-code-mods
A test explorer pane, opened with /test-explorer or the Tests button above the prompt: finds .NET, pytest, Vitest, Jest, Mocha, Playwright, Go, Rust, Maven, Gradle, RSpec and Claude Code mod tests in the project, shows them as a tree of tool, project, file and test with status, duration and a pass bar, runs them, and hands a failing test to Claude to fix.
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.
usage-pane
T-AI-Labs/claude-code-mods
A pane, opened with /tokens, that adds up tokens, cache hit rate, turns, tool calls, model time, output speed and API price for the last turn, the session, today, 7 and 30 days, by model and by project, with the history of the 5-hour and weekly limits, and lists each session's prompts by cost with what made them expensive.
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 explains your Claude Code setup: the version with its changelog and the harness it runs in, and every skill, command, agent, mod, plugin, settings hook, MCP server and tool as a list, a gallery of cards or a sortable table, with where each comes from, its GitHub repository and stars, install date, usage, token cost, updates, a model-written note on what each...
command-center
T-AI-Labs/claude-code-mods
One row above the prompt with a source filter, an agent dropdown and one dropdown for skills and commands, and Insert and Run buttons that put the pick into the prompt or start it.
Related mods
Other mods in Bands, close to this one by stars.