composer-meter
by Andrew Ward · ★ 0 · updated 29 days ago
0
Session cost and prompt-cache expiry in the composer footer; on the terminal, a usage band above the prompt and the directory and branch in the footer
Install
/plugin marketplace add ioctlLR/composer-meter/plugin install composer-meter@composer-meterThen 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.startclassic.SessionStartprompt.submitturn.startturn.completetool.callclassic.CwdChangedconfig.setcommand.runclassic.PostModelSwitchsession.measureturn.stepsession.endui.render- API calls
$.clock.after$.clock.now$.config.list$.env.get$.fs.list$.fs.read$.fs.stat$.process.run$.session.cwd$.session.id$.session.model$.session.root$.session.usage$.state.get$.state.set$.ui.resolve- Draws
AbovePromptSessionMode- Can see
classic hooksevery promptevery tool call- Reach
- level 2 of 3 runs processesreads filesreads env varsreads settingsreads mod 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/ioctlLR/composer-meter
- Path in repo
- repository root
- Source commit
a1b4a0athe exact code the scan read- Author
- Andrew Ward @ioctlLR
- 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.