safety hooks

10 tagged safety, measured the same way as everything else here.

Browse within: hooks 7AI Safety 5Autonomous 5bash 5

PreToolUse

02

justi/claude-code-project-boundary

Hook

Runs before the agent uses a tool for Bash, Edit, Write and MultiEdit tool calls, executing guard.sh via bash (4 commands). From justi/claude-code-project-boundary.

86 1mo ago A tokens not measured copy · 61% MIT

PreToolUse

03

Myr-Aya/GouvernAI-claude-code-plugin

Hook

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and Read tool calls, executing guardrails-enforce.py via python3 (5 commands). From Myr-Aya/GouvernAI-claude-code-plugin.

22 1mo ago A tokens not measured original MIT

PostToolUse

04

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 3d ago A tokens not measured copy · 58% MIT

Notification

05

yurukusa/claude-code-hooks

Hook

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

19 3d ago A tokens not measured original MIT

Stop

06

yurukusa/claude-code-hooks

Hook

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

19 3d ago A tokens not measured original MIT

PreToolUse

07

yurukusa/cc-safe-setup

Hook

Runs before the agent uses a tool for Bash, Bash, Bash, Write, Edit, Bash and Bash tool calls, executing move-delete-sequence-guard.sh and system-dir-protection-guard.sh with --force-with-lease (6 commands). From yurukusa/cc-safe-setup.

5 yesterday C tokens not measured original MIT

PreToolUse

08

karanb192/bouncer

Hook

Runs before the agent uses a tool for Bash tool calls, executing bouncer.js. From karanb192/bouncer.

5 14d ago A tokens not measured original MIT