skill-cost

by bobosun0713 · ★ 2 · updated 11 days ago

BandsReskinsGuardsCommandsPromptvalidates

0

Tracks Claude Code token usage and cost by skill and model (current session, per project directory, and all history)

install skill-cost

Install

/plugin marketplace add bobosun0713/claude-mods
/plugin install skill-cost@claude-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.startprompt.submitskill.promptturn.completeturn.steptool.callcommand.describecommand.runui.render
API calls
$.clock.now$.command.register$.env.get$.process.run$.session.cwd$.session.id$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.resolve
Draws
CommandOutputAbovePrompt
Can see
every promptevery skillAgent calls
Reach
level 2 of 3 runs processesreads env varsreads mod statepersists 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/bobosun0713/claude-mods
Path in repo
skill-cost
Source commit
7ce7986 the exact code the scan read
Author
@bobosun0713
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.