peiris/token-cost

Claude Code plugin that tracks token usage and estimated cost per task and project

2Stars on the repository
7Mods indexed here, across every type
4d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

UserPromptSubmit

01

peiris/token-cost

Hook

Runs when you submit a prompt, before the agent sees it, executing intercept.py via python3. From peiris/token-cost.

2 4d ago A tokens not measured original MIT

Stop

02

peiris/token-cost

Hook

Runs when the agent finishes a response, executing record.py via python3. From peiris/token-cost.

2 4d ago A tokens not measured original MIT

SessionStart

03

peiris/token-cost

Hook

Runs when a session starts, executing record.py and install_shim.py via python3 with --sync (2 commands). From peiris/token-cost.

2 4d ago A tokens not measured original MIT