Skip to content
Productivity
Hook

Hooks

What hush runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add V-Songbird/hush --agent claude-code

Ships 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".
Read hooks/hooks.json

Where it lives

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.

Ships withhush

🤫 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.

Get the whole plugin, auto-invoked
Stats
30
Stars
0
Views
3
Forks
Active
Maintenance
JavaScript
Language
MIT
License
12d ago
Last commit
29d ago
Created

Repo: V-Songbird/hush