From agent-inject
When a session starts: runs node "${CLAUDE_PLUGIN_ROOT}/scripts/session-start-rules.js". When a subagent starts: runs node "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-start-marker.js". On every prompt you send: runs node "${CLAUDE_PLUGIN_ROOT}/scripts/user-prompt-submit-reminder.js".
3 events · 3 hooks
Ships in agent-inject. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
*node "${CLAUDE_PLUGIN_ROOT}/scripts/session-start-rules.js"*node "${CLAUDE_PLUGIN_ROOT}/scripts/subagent-start-marker.js"node "${CLAUDE_PLUGIN_ROOT}/scripts/user-prompt-submit-reminder.js"Where this hook configuration is defined
Defined in hooks/hooks.json
92 plugins in 89 repositories ship this exact hooks config · first indexed Apr 2, 2026
npx claudepluginhub caozhiyuan/copilot-api --plugin agent-injectOther plugins' hooks for the same job