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.

19Stars on the repository
9Mods indexed here, across every type
4d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PostToolUse

01

yurukusa/claude-code-hooks

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.

19 4d ago A tokens not measured copy · 58% MIT

PreToolUse

02

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.

19 4d ago A tokens not measured copy · 69% MIT

Notification

03

yurukusa/claude-code-hooks

Hook

Runs when the agent sends a notification, executing no-ask-human.sh. From yurukusa/claude-code-hooks.

19 4d ago A tokens not measured original MIT

Stop

04

yurukusa/claude-code-hooks

Hook

Runs when the agent finishes a response, executing proof-log-session.sh. From yurukusa/claude-code-hooks.

19 4d ago A tokens not measured original MIT

PreCompact

05

yurukusa/claude-code-hooks

Hook

Runs before the context is compacted, executing proof-log-session.sh. From yurukusa/claude-code-hooks.

19 4d ago A tokens not measured copy · 88% MIT