Hooks
What hush runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add V-Songbird/hush --agent claude-codeShips with hush. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Runs preserve-exit-code.js".
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
- Runs silence-nudge.js".
SubagentStart
- Runs subagent-brief.js".
PreCompact
- Runs precompact-summary.js".
PostCompact
- Runs postcompact-rearm.js".
PostToolUse
- Runs compress-tool-output.js".
Where it lives
- hooks/compress-tool-output.jsGitHub
- hooks/narration-meter.jsGitHub
- hooks/postcompact-rearm.jsGitHub
- hooks/precompact-summary.jsGitHub
- hooks/preserve-exit-code.jsGitHub
- hooks/silence-nudge.jsGitHub
- hooks/subagent-brief.jsGitHub
Showing the source of 6 of 7 scripts. Every one is linked above.
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
🤫 Token-lean sessions at the harness level. An easy to grasp output style, output-shrinking hooks, and log compression cut both input and output tokens.
Repo: V-Songbird/hush

