ClaudeCodeMod

All shelves / Mods / Usage

burn-meter

By OneWave-AI

burn-meter is a Claude Code usage mod by OneWave-AI.

Draws session spend as a fuse above the prompt, with the plan limits and a cost in burritos and McDoubles.

Draws

Install

The marketplace name is claude-code-mods.

In Claude Code
/plugin marketplace add OneWave-AI/claude-code-mods
/plugin install burn-meter@claude-code-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
16
Last change
2026-10-02

What it can reach

  • Draws in the session
  • Reads usage or context figures

Claude Code 2.1.287 or later. A band above the prompt shows a fire bar for session spend, 5-hour and weekly bars with reset times, and the cost in burritos and McDoubles. /burn opens the panel. A toast shows when spend crosses a threshold. Everything it shows comes from the session's own usage numbers. It never reads files, environment variables, or credentials, never runs a process, and never sends anything off the machine. Tokens means model token counts. On prompt submit it notes the cost and passes the prompt through untouched. It stores two values in Claude Code's own plugin storage: running lifetime spend, and the last cost reading so a restart does not count the same spend twice. The README does not name that file or how to clear it. A checkout starts with claude --plugin-dir ./burn-meter.

The marketplace name is claude-code-mods, the same string hamzafer, arasovic, and karanb192 use. Add OneWave-AI/claude-code-mods. usage-meter draws the 5-hour and 7-day limits with what this session cost. context-bar draws one stacked context bar. usage-band draws those limits, the context, and the last turn's cache hit on one line.

Demo

Claude Code v2.1.287 with burn-meter: toasts for $5.00 burned this session = 1.6 McDoubles and $10.00 burned this session = 0.91 burritos, the prompt /burn demo, a band with 5h 37% in 2h 58m and wk 26% in 6d 16h, and a pane DEMO BURN at $12.53 = 3.9 McDoubles with the same limits, no finished turns yet, and 1.1 burritos
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/burn
  • ui.renderDraws into the sessionAbovePromptPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /burnBurn meter: /burn opens the panel; [panel|show|hide|demo|lifetime]

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
OneWave-AI
Category
Usage
Marketplace
claude-code-mods
Repo
OneWave-AI/claude-code-mods
Folder
burn-meter
Version
0.1.0
License
MIT
Repo stars
16
Last change
2026-10-02
Language
TypeScript
Files
9

Other mods in Usage

cache-warmerpaulbkim-devResends the last request to keep the prompt cache warm when that saves at least $0.05, and draws a band with Clawd while it runs.token-weather-usageaugiefraDraws a band above the prompt for context size, the 5-hour and weekly limits, cache warmth, session cost, and running agents.agent-dietVedantAndhaleStarts Explore subagents, and other agent types you list, on Haiku or a model you pick instead of the main model, and counts how many it moved.budget-guardVedantAndhaleKeeps a prompt from being sent while the 5-hour or weekly usage is at or over your limit, until you send it again, and shows the limit with /budget.context-xrayVedantAndhaleDraws a pane with the exact breakdown of what fills the context window, opened with /xray.output-dietVedantAndhaleTrims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line.pro-hudVedantAndhaleDraws the 5-hour session, the week, and context above the prompt in the desktop app, plus this turn and finished tool calls as one line.session-receiptVedantAndhaleOpens a pane of every turn's tokens, with the five that spent the most, and toasts after a turn that used 3 or more session points.skill-dietVedantAndhaleLists skills unused lately in this project by name only, so their descriptions leave the prompt, and counts those characters on the status line.turn-budgetVedantAndhaleStops a turn that passes the limit you set, writes a handoff, and copies it for a new session, leaving the old one in place. It can ask first instead.context-lensArunjay4213Pins how full the context window is and what the last turn added, and /context-lens opens the breakdown by category.quota-meterArunjay4213Pins the 5-hour and 7-day plan limits when they are reported, with the reset and whether the current pace fills them first.
All 183 in Usage