All Claude Code modsnatsume-777/claude-mods
usage-ledger
Shows where the session's tokens go and when a fresh session would be cheaper
review UI rewrite
usage-ledger reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 9
- API methods referenced: 24
- Access from classified calls: L2, writes or runs: writes files, writes the prompt box, reads files, persists state, draws
- Unclassified calls: 3 (
$.prompt.read,$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
Install hint
/plugin install usage-ledger --marketplace natsume-777/claude-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsother: $.prompt.read, other: $.state.get, other: $.state.set, writes files, writes the prompt box, reads files, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks, Agent calls, every prompt
- Hooks
session.start, turn.step, classic.SubagentStart, tool.call {tool=Agent}, classic.SubagentStop, prompt.submit, command.run {command=usage-ledger}, ui.render {component=Pane, requestId=usage-ledger}, ui.render {component=AbovePrompt}, ui.press {plugin=usage-ledger}- API calls
$.agent.list, $.clock.after, $.clock.every, $.clock.now, $.clock.sleep, $.command.register, $.fs.read, $.fs.stat, $.fs.write, $.prompt.fill, $.prompt.read, $.session.id, $.session.root, $.session.turns, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.close, $.ui.invalidate, $.ui.open, $.ui.resolve, $.ui.scroll, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
35b1395bccaf- Marketplace passed
- codingway-claude-mods
- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. plugins/usage-ledger/hooks/aggregate.js:228
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from natsume-777/claude-mods
- cache-timerShows how long the prompt cache has left, next to the model name in the footer
- ui-samplerA labelled catalog of every place a mod can draw, every API it can call and every value it can read
- usage-bandShows context, 5-hour and weekly limit usage in the band above the prompt
- whiteboardA whiteboard Claude writes to: titled Markdown cards (steps, running jobs, links) that stay put instead of sc…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/natsume-777--claude-mods--usage-ledger/)
[](https://mods.aidojo.si/mods/natsume-777--claude-mods--usage-ledger/)