Token Usage Panel
Above the prompt: session cost, 5h/weekly limits, cache TTL, and a /context color bar.
Illustration. Actual results depend on the mod, terminal and environment.
Install
/plugin marketplace add BrainRev/claude-session-panels
/plugin install token-usage-panel@claude-session-panels
/reload-pluginsRun these commands one at a time in a Claude Code session.
claude plugin marketplace add BrainRev/claude-session-panels
claude plugin install token-usage-panel@claude-session-panelsThen run /reload-plugins in your session, or start a new session.
Please install the Claude Code mod "Token Usage Panel" (https://github.com/BrainRev/claude-session-panels). Before installing, read the Security and Requirements sections of its README and tell me what it reads and writes, which commands it runs, whether it uses the network, and which Claude Code version, OS and terminal it needs. If everything looks fine, run claude plugin marketplace add BrainRev/claude-session-panels and claude plugin install token-usage-panel@claude-session-panels, then remind me to run /reload-plugins in my session.Send this to Claude Code so it reads the author’s instructions before installing.
git clone https://github.com/BrainRev/claude-session-panels
cd claude-session-panels
claude --plugin-dir ./token-usage-panelClone the repository and try it in a local session with --plugin-dir.
What it accesses
Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.
Reads
YesReads session usage and context breakdown to draw the panel.
Writes files
UnspecifiedREADME does not say whether it persists files.
Runs commands
UnspecifiedREADME does not say whether external processes are started.
Network
YesFetches status.claude.com status API every 5 minutes.
Introduction
token-usage-panel is a Claude Code function-hooks mod from BrainRev/claude-session-panels: a band above the prompt with session cost, cache TTL, 5-hour and weekly limits, and a /context color bar, refreshed after replies. The Claude status row fetches status.claude.com every 5 minutes; author says nothing else leaves the machine. EN/JA UI. Needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS. Distinct from usage-meter, combo-meter, and flightdeck. Preview illustrative. Not runtime-tested here.
Who it is for
- People who want quota and context breakdown above the prompt
Requirements
- Enable CLAUDE_CODE_ENABLE_FUNCTION_HOOKS in settings.
- Costs are estimates from public list prices.