usage-pane
by Claude · ★ 6 · updated 9 days ago
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.
Install
/plugin marketplace add T-AI-Labs/claude-code-mods/plugin install usage-pane@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.startcommand.runturn.startturn.stepturn.completetool.callsession.measureui.render- API calls
$.clock.now$.command.register$.session.id$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.open$.ui.resolve- Draws
Pane- Can see
every tool call- Reach
- level 1 of 3 reads 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
usage-pane- Source commit
08697c8the 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.
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.
context-meter
T-AI-Labs/claude-code-mods
Context fill in one row above the prompt, with a switchable auto-compact threshold and Compact and Clear buttons.
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.
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.