cost hooks

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

Browse within: hooks 7output-style 7token-optimization 7

PreToolUse

01

V-Songbird/hush

Hook

Runs before the agent uses a tool for ^(Bash and PowerShell)$ tool calls, executing preserve-exit-code.js via node. From V-Songbird/hush.

45 2d ago A tokens not measured original MIT

UserPromptSubmit

02

V-Songbird/hush

Hook

Runs when you submit a prompt, before the agent sees it, executing silence-nudge.js via node. From V-Songbird/hush.

45 2d ago A tokens not measured original MIT

PostToolUse

03

V-Songbird/hush

Hook

Runs after a tool call finishes for ^(Bash, PowerShell, Read and Grep)$ tool calls, executing compress-tool-output.js and silence-nudge.js via node (2 commands). From V-Songbird/hush.

45 2d ago A tokens not measured original MIT