cost-ledger

by Fynn Hansen · ★ 4 · updated 8 days ago

ReskinsCommandsPromptvalidates

0

Records what every chat costs, across projects and, if you like, across devices, so you can see where your usage goes. It only observes and makes no model calls.

install cost-ledger

Install

/plugin marketplace add FynnXland/fynn-mods
/plugin install cost-ledger@fynn-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.startclassic.SessionStartclassic.UserPromptSubmitturn.completemodel.completemodel.forkmodel.classifysession.endcommand.runui.render
API calls
$.clock.now$.command.register$.config.list$.config.set$.fs.list$.fs.read$.fs.write$.process.run$.session.repo$.session.root$.session.surfaces$.session.usage$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.log$.ui.toast
Draws
CommandOutput
Can see
classic hooks
Reach
level 2 of 3 runs processeswrites fileschanges configreads filesreads settingspersists 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/FynnXland/fynn-mods
Path in repo
mods/cost-ledger
Source commit
e214e71 the exact code the scan read
Author
Fynn Hansen @FynnXland
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.

More from FynnXland/fynn-mods

clawd-buddy

FynnXland/fynn-mods

Clawd, an animated pixel mascot above the prompt. He reacts to what Claude is doing, rings a bell when a tool needs your approval, greets you in a new chat and keeps you company while you wait.

★ 4BandsReskinsGuards

limit-bars

FynnXland/fynn-mods

Shows your 5-hour and weekly usage limits above the prompt, along with how long the prompt cache stays warm. Asks before a send that would cost more because the cache has gone cold.

★ 4BandsReskinsCommands

prompt-deck

FynnXland/fynn-mods

Saves prompts you send again and again and puts them as buttons above the prompt in the desktop app: one click sends. Send by name with /p , manage with /deck. With sidekick also the Later button.

★ 4BandsReskinsCommands

quick-replies

FynnXland/fynn-mods

Turns Claude Code's suggested next message into a button above the prompt. Click it or type 1 to send it.

★ 4BandsReskinsCommands

sidekick

FynnXland/fynn-mods

Checks your message before it is sent and offers a better way where there is one: a new chat with a handoff, a skill, a clearer version or a cheaper model. In a side pane you can ask it which skills and tools fit. It never changes your words or sends anything without asking.

★ 4PanesBandsReskins

tint

FynnXland/fynn-mods

A calm color set for the Claude Desktop app: Herbstglut, Rosé Pine, Nord, or colors from your own design system, in light and dark. Colors only, no background.

★ 4ReskinsGuardsCommands

tune-strip

FynnXland/fynn-mods

Windows only. Shows the song playing in Spotify above the prompt, with cover and playback controls. No login, and nothing leaves your computer.

★ 4BandsReskinsCommands

Other mods in Reskins, close to this one by stars.