Stats
Actions
Tags
From state-gate
Blocks file writes, reads, bash, and agent calls with pre-flight guard scripts. Strips co-author lines from bash output on post-tool. Runs session init on start.
3 events · 3 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Read|Write|Edit|Glob|Grep|Bash|WebSearch|WebFetchnpx -y @caphtech/state-gate pre-tool-usemcp__state-gate__state_gate_emit_eventnpx -y @caphtech/state-gate post-tool-usecompactif [ -f .state_gate/state-gate.json ]; then echo ''; echo '📊 ==================== State After Compaction ===================='; npx -y @caphtech/state-gate get-state; echo '=================================================================='; echo ''; finpx claudepluginhub caphtech/state_gate