From Skill Router
After every Claude response: runs python3 "${CLAUDE_PLUGIN_ROOT}/scripts/iron_rule_hook.py" stop. Before a tool call (Edit|Write|Task|NotebookEdit|MultiEdit): runs python3 "${CLAUDE_PLUGIN_ROOT}/scripts/iron_rule_hook.py" pre. And 9 more.
7 events · 11 hooks
Ships in Skill 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
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/iron_rule_hook.py" stop5sEdit|Write|Task|NotebookEdit|MultiEditpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/iron_rule_hook.py" pre5sTask|AgentSKILL_ROUTER_HOOK_MODE=1 python3 "${CLAUDE_PLUGIN_ROOT}/scripts/task_brief.py"5sSkillpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/skill_invoked.py"5sBashin=$(cat); case "$in" in *pytest*|*vitest*|*jest*|*"npm test"*|*"go test"*|*"cargo test"*) printf '%s' "$in" | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/outcomes.py" --post-bash ;; esac5sstartup|resumepython3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_brief.py"3sstartuppython3 "${CLAUDE_PLUGIN_ROOT}/scripts/startup_maintenance.py" --hook35sstartupr="${CLAUDE_PLUGIN_ROOT}/scripts"; python3 "$r/build_index.py" --quiet --enrich >/dev/null 2>&1; python3 "$r/refresh_env.py" >/dev/null 2>&1; python3 "$r/learn.py" --quiet --compact --refresh-online >/dev/null 2>&1; python3 "$r/preference.py" --quiet >/dev/null 2>&1; python3 "$r/external_discovery.py" --refresh --quiet >/dev/null 2>&1; bash "$r/ensure-plugin-deps.sh" >/dev/null 2>&1; exit 0300spython3 "${CLAUDE_PLUGIN_ROOT}/scripts/subagent_brief.py"8sout=$(SKILL_ROUTER_HOOK_MODE=1 python3 "${CLAUDE_PLUGIN_ROOT}/scripts/router.py" 2>/dev/null); [ -z "$out" ] && exit 0; jq -n --arg msg "$out" '{systemMessage: $msg, hookSpecificOutput: {hookEventName: "UserPromptSubmit", additionalContext: $msg}}'12sBashin=$(cat); case "$in" in *pytest*|*vitest*|*jest*|*"npm test"*|*"go test"*|*"cargo test"*) printf '%s' "$in" | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/outcomes.py" --post-bash-failure ;; esac5sWhere this hook configuration is defined
Defined in hooks/hooks.json
5 plugins ship this exact hooks config · first indexed Oct 2, 2026
npx claudepluginhub hussi9/skill-router --plugin skill-routerOther plugins' hooks for the same job