session-spend

by SpeakingInBits · ★ 0 · updated 10 days ago

PanesBandsStatus lineCommandsPromptvalidates

0

A pixel-art card with the session's API spend, plan usage and subagents, plus a status line total

install session-spend

Install

/plugin marketplace add SpeakingInBits/claude-mods
/plugin install session-spend@speakinginbits-mods

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.startturn.stepsession.measureprompt.submitturn.startagent.spawnturn.completeui.rendercommand.run
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.list$.fs.read$.fs.write$.process.spawn$.session.cwd$.session.id$.session.usage$.state.get$.state.set$.ui.close$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
every promptsubagent spawns
Reach
level 2 of 3 runs processeswrites filesreads filesreads env varsreads 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/SpeakingInBits/claude-mods
Path in repo
mods/session-spend
Source commit
be4a180 the exact code the scan read
Author
@SpeakingInBits
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.