From Kindex
After every Claude response: runs /bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"…, /bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"…, /bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"…
5 events · 7 hooks
Ships in Kindex. 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
/bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"'"'import json,sys; raw=sys.stdin.read();
try:
data=json.loads(raw or '"'"'"'"'"'"'"'"'{}'"'"'"'"'"'"'"'"') if raw.strip() else {}
except Exception:
data={}
sys.exit(0 if data.get('"'"'"'"'"'"'"'"'stop_hook_active'"'"'"'"'"'"'"'"') else 1)'"'"'; then exit 0; fi; source ~/.profile >/dev/null 2>&1 || true; printf '"'"'%s'"'"' "$payload" | "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin compact-hook'10s/bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"'"'import json,sys; raw=sys.stdin.read();
try:
data=json.loads(raw or '"'"'"'"'"'"'"'"'{}'"'"'"'"'"'"'"'"') if raw.strip() else {}
except Exception:
data={}
sys.exit(0 if data.get('"'"'"'"'"'"'"'"'stop_hook_active'"'"'"'"'"'"'"'"') else 1)'"'"'; then exit 0; fi; source ~/.profile >/dev/null 2>&1 || true; printf '"'"'%s'"'"' "$payload" | "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin attention reinforce --enqueue'3s/bin/bash -lc 'payload=$(cat); if printf '"'"'%s'"'"' "$payload" | python3 -c '"'"'import json,sys; raw=sys.stdin.read();
try:
data=json.loads(raw or '"'"'"'"'"'"'"'"'{}'"'"'"'"'"'"'"'"') if raw.strip() else {}
except Exception:
data={}
sys.exit(0 if data.get('"'"'"'"'"'"'"'"'stop_hook_active'"'"'"'"'"'"'"'"') else 1)'"'"'; then exit 0; fi; source ~/.profile >/dev/null 2>&1 || true; printf '"'"'%s'"'"' "$payload" | "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin dream --detach --lightweight'3s/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin compact-hook'10s/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin attention-hook --adapter claude --event PreToolUse --deadline-ms 3500'5s/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin prime --for hook'5s/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec "${CLAUDE_PLUGIN_ROOT}"/scripts/claude-plugin/kin prompt-check'2sWhere this hook configuration is defined
Defined in hooks/hooks.json
2 plugins ship this exact hooks config · first indexed Oct 25, 2026
Other plugins' hooks for the same job
npx claudepluginhub wandercom/kindex --plugin kindex