PostToolUse
01Hook
Runs after a tool call finishes for Edit and Write tool calls, executing context-monitor.sh, session-start-marker.sh, tmp-cleanup.sh, syntax-check.sh and activity-logger.sh (5 commands). From yurukusa/claude-code-hooks.
The original 16 Claude Code safety hooks, kept for backward compatibility. The maintained set — 914 hooks, one-command install — is cc-safe-setup.
Hook
Runs after a tool call finishes for Edit and Write tool calls, executing context-monitor.sh, session-start-marker.sh, tmp-cleanup.sh, syntax-check.sh and activity-logger.sh (5 commands). From yurukusa/claude-code-hooks.
Hook
Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing cdp-safety-check.sh, branch-guard.sh, destructive-guard.sh, error-gate.sh, secret-guard.sh, comment-strip.sh, cd-git-allow.sh and decision-warn.sh (8 commands). From yurukusa/claude-code-hooks.
Hook
Runs when the agent sends a notification, executing no-ask-human.sh. From yurukusa/claude-code-hooks.
Hook
Runs when the agent finishes a response, executing proof-log-session.sh. From yurukusa/claude-code-hooks.
Hook
Runs before the context is compacted, executing proof-log-session.sh. From yurukusa/claude-code-hooks.