From compound-science
After every Claude response: runs a prompt hook. Before context compaction: runs a prompt hook. When a session starts: runs a prompt hook. After every subagent response: runs a prompt hook. On every prompt you send: runs a prompt hook.
5 events · 5 hooks
Ships in compound-science. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
*****Where this hook configuration is defined
Defined in hooks/hooks.json
session-start, stop, pre-compact, subagent-stop, user-prompt
4 plugins ship this exact hooks config · first indexed Feb 8, 2026
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: outputStyles: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' hooks for the same job