When a session starts: runs ${CLAUDE_PLUGIN_ROOT}/hooks/inject-guidelines.sh. When a subagent starts: runs ${CLAUDE_PLUGIN_ROOT}/hooks/inject-guidelines.sh.
2 events · 2 hooks
Ships in coding-best-practices. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
${CLAUDE_PLUGIN_ROOT}/hooks/inject-guidelines.sh${CLAUDE_PLUGIN_ROOT}/hooks/inject-guidelines.shWhere this hook configuration is defined
Defined in hooks/hooks.json
session-start, subagent-start, startup-hook, clear-hook, compact-hook
109 plugins in 99 repositories ship this exact hooks config · first indexed Feb 16, 2026
Showing 6 of 109 plugins, one per repository first
npx claudepluginhub xdg/xdg-claude --plugin coding-best-practicesOther plugins' hooks for the same job