usage-panel

by James · ★ 1 · updated yesterday

PanesBandsReskinsCommandsvalidates

0

Live Usage pane and a band above the prompt: when your tokens reload, calls, cost, context and rate limits; each prompt's tokens, models and subagents; and each limit's burn rate and forecast; and export or import the context (/usage-panel).

install usage-panel

Install

/plugin marketplace add jamesnguyen1309/claude-usage
/plugin install usage-panel@claude-usage

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.endsession.measuresession.appendui.renderturn.startturn.stepagent.spawnturn.complete
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.session.append$.session.id$.session.messages$.session.model$.session.root$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.open$.ui.panes$.ui.resolve
Draws
UserMessagePaneAbovePrompt
Can see
subagent spawns
Reach
level 2 of 3 writes filesdrives Claudereads filesreads env varsreads the transcriptreads 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/jamesnguyen1309/claude-usage
Path in repo
repository root
Source commit
ad31f4d the exact code the scan read
Author
James @jamesnguyen1309
License
No license declared — ask the author before reusing code.
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.