llm cost hooks

6 tagged llm cost, measured the same way as everything else here.

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 5d 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 5d 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 5d ago A tokens not measured original MIT

SessionStart

04

runvouch/runvouch

Hook

Runs when a session starts, executing rv-hook.sh. From runvouch/runvouch.

0 4d ago A tokens not measured copy · 64% MIT

PostToolUse

05

runvouch/runvouch

Hook

Runs after a tool call finishes, executing rv-hook.sh. From runvouch/runvouch.

0 4d ago A tokens not measured copy · 56% MIT

Stop

06

runvouch/runvouch

Hook

Runs when the agent finishes a response, executing rv-hook.sh. From runvouch/runvouch.

0 4d ago A tokens not measured original MIT