From core
After a tool call (Edit|Write|MultiEdit): runs ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/autoformat.sh. On a notification: runs ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/notify.sh. When a session starts (compact): runs ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/reinject-context.sh.
3 events · 3 hooks
Ships in core. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
Edit|Write|MultiEdit${CLAUDE_PLUGIN_ROOT}/hooks/scripts/autoformat.sh30s${CLAUDE_PLUGIN_ROOT}/hooks/scripts/notify.shcompact${CLAUDE_PLUGIN_ROOT}/hooks/scripts/reinject-context.shWhere this hook configuration is defined
Defined in hooks/hooks.json
autoformat, notifications, context-reinjection, session-start
npx claudepluginhub greyhaven-ai/claude-code-config --plugin coreOther plugins' hooks for the same job