From llm-router
After every Claude response: runs ${CLAUDE_PLUGIN_ROOT}/hooks/session-end.py. Before a tool call: runs ${CLAUDE_PLUGIN_ROOT}/hooks/enforce-route.py. Before a tool call (Agent): runs ${CLAUDE_PLUGIN_ROOT}/hooks/agent-route.py. And 8 more.
7 events · 16 hooks
Ships in llm-router. 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
${CLAUDE_PLUGIN_ROOT}/hooks/session-end.py${CLAUDE_PLUGIN_ROOT}/hooks/enforce-route.pyAgent${CLAUDE_PLUGIN_ROOT}/hooks/agent-route.py320sBash${CLAUDE_PLUGIN_ROOT}/hooks/text-job-bind.py130s${CLAUDE_PLUGIN_ROOT}/hooks/session-end.pyllm_|mcp__llm_router__llm${CLAUDE_PLUGIN_ROOT}/hooks/usage-refresh.pyAgent${CLAUDE_PLUGIN_ROOT}/hooks/cc-usage-track.py${CLAUDE_PLUGIN_ROOT}/hooks/agent-depth-release.py${CLAUDE_PLUGIN_ROOT}/hooks/playwright-compress.py${CLAUDE_PLUGIN_ROOT}/hooks/bash-compress.py${CLAUDE_PLUGIN_ROOT}/hooks/context-capture.py${CLAUDE_PLUGIN_ROOT}/hooks/session-start.py${CLAUDE_PLUGIN_ROOT}/hooks/plugin-install.py5s${CLAUDE_PLUGIN_ROOT}/hooks/subagent-start.py${CLAUDE_PLUGIN_ROOT}/hooks/auto-route.py${CLAUDE_PLUGIN_ROOT}/hooks/status-bar.pyWhere this hook configuration is defined
Defined in hooks/hooks.json
4 plugins ship this exact hooks config · first indexed May 26, 2026
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", commands: Invalid input, skills: Invalid string: must start with "./", mcpServers: Invalid string: must start with "./"
.claude-plugin/plugin.json: hooks: Invalid string: must start with "./", commands: Invalid input, skills: Invalid string: must start with "./", mcpServers: 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