consumption-bar

by Etienne Pommier · ★ 0 · updated 4 days ago

BandsGuardsCommandswarnings

0

Model, effort, session cost, lines added/removed and the 5h/7d rate-limit windows with reset countdowns, in a card above the prompt.

install consumption-bar

Install

/plugin marketplace add Epommier/cm-consumption-bar
/plugin install consumption-bar@cm-consumption-bar

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.startsession.measureturn.startturn.stepcommand.runtool.callui.render
API calls
$.clock.every$.clock.now$.http.fetch$.session.authorize$.session.model$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.resolve
Draws
AbovePrompt
Can see
every tool call
Reach
level 3 of 3 networkreads mod staterequests an Anthropic credential handlepersists 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/Epommier/cm-consumption-bar
Path in repo
mods/consumption-bar
Source commit
f0b088c the exact code the scan read
Author
Etienne Pommier @Epommier
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.