guardrails hooks

44 tagged guardrails, measured the same way as everything else here.

Browse within: hooks 15AI Safety 10linting 7bash 5shell-security 5

PreToolUse

01

nizos/probity

Hook Claude Code

Runs before the agent uses a tool for Bash, Write, Edit and NotebookEdit tool calls, running an inline shell check. From nizos/probity.

186 15d ago A tokens not measured original MIT

PostToolUseFailure

02

Clear-Sights/Makoto

Hook

Runs when a tool call fails, executing _dispatch_shim.sh. From Clear-Sights/Makoto.

45 yesterday A tokens not measured copy · 53% Apache-2.0

Stop

03

Clear-Sights/Makoto

Hook

Runs when the agent finishes a response, executing _dispatch_shim.sh. From Clear-Sights/Makoto.

45 yesterday A tokens not measured copy · 55% Apache-2.0

SubagentStop

04

Clear-Sights/Makoto

Hook

Runs when a subagent finishes, executing _dispatch_shim.sh. From Clear-Sights/Makoto.

45 yesterday A tokens not measured copy · 55% Apache-2.0

PreToolUse

05

railyard-dev/railguard

Hook

Runs before the agent uses a tool, running railguard hook --event PreToolUse. From railyard-dev/railguard.

38 5mo ago A tokens not measured original MIT

PostToolUse

06

railyard-dev/railguard

Hook

Runs after a tool call finishes, running railguard hook --event PostToolUse. From railyard-dev/railguard.

38 5mo ago A tokens not measured original MIT

SessionStart

07

railyard-dev/railguard

Hook

Runs when a session starts, running railguard hook --event SessionStart. From railyard-dev/railguard.

38 5mo ago A tokens not measured original MIT

SessionStart

08

johnnichev/selectools

Hook Claude Code

Runs when a session starts, running an inline shell check. From johnnichev/selectools.

11 1mo ago A tokens not measured original Apache-2.0

PostCompact

09

johnnichev/selectools

Hook Claude Code

Runs after the context is compacted, running an inline shell check. From johnnichev/selectools.

11 1mo ago A tokens not measured original Apache-2.0

PreToolUse

10

johnnichev/selectools

Hook Claude Code

Runs before the agent uses a tool for Bash and Bash tool calls, running an inline shell check (2 commands). From johnnichev/selectools.

11 1mo ago A tokens not measured original Apache-2.0

PostToolUse

11

zyx77550/sparda

Hook

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running npx -y sparda-mcp gate --hook. From zyx77550/sparda.

8 6d ago A tokens not measured

SessionStart

12

Vimalk0703/shipworthy

Hook

Runs when a session starts, running "/path/to/shipworthy/hooks/session-start". From Vimalk0703/shipworthy.

7 4mo ago A tokens not measured original MIT

PreToolUse

13

Vimalk0703/shipworthy

Hook

Runs before the agent uses a tool for Write, Edit, Bash and Bash tool calls, running "/path/to/shipworthy/hooks/pre-tool-use" (3 commands). From Vimalk0703/shipworthy.

7 4mo ago A tokens not measured original MIT

PostToolUse

14

Vimalk0703/shipworthy

Hook

Runs after a tool call finishes for Bash, Write and Edit tool calls, running "/path/to/shipworthy/hooks/post-tool-use" (2 commands). From Vimalk0703/shipworthy.

7 4mo ago A tokens not measured original MIT

SessionStart

15

fatmo666/Caushell

Hook

Runs when a session starts, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

PreToolUse

16

fatmo666/Caushell

Hook

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

SessionEnd

17

fatmo666/Caushell

Hook

Runs when a session ends, running an inline shell check. From fatmo666/Caushell.

6 yesterday A tokens not measured original Apache-2.0

PreToolUse

18

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

Stop

19

bmdhodl/agent47

Hook Claude Code

Runs when the agent finishes a response, running python -m showwork.cli stop-hook. From bmdhodl/agent47.

4 2d ago A tokens not measured original MIT

BeforeTool

20

matanryngler/deployshield

Hook

Runs on the BeforeTool event for run_shell_command tool calls, executing validate-cloud-command.py via python3. From matanryngler/deployshield.

3 5mo ago A tokens not measured original MIT

SessionStart

21

matanryngler/deployshield

Hook

Runs when a session starts, executing validate-cloud-command.py via python3 with --session-start. From matanryngler/deployshield.

3 5mo ago A tokens not measured original MIT

PreToolUse

22

mauhpr/agentlint-plugin

Hook

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing resolve-and-run.sh with --event and --project-dir. From mauhpr/agentlint-plugin.

3 13d ago A tokens not measured original MIT

PostToolUse

23

mauhpr/agentlint-plugin

Hook

Runs after a tool call finishes for Edit and Write tool calls, executing resolve-and-run.sh with --event and --project-dir. From mauhpr/agentlint-plugin.

3 13d ago A tokens not measured original MIT

SubagentStop

24

mauhpr/agentlint-plugin

Hook

Runs when a subagent finishes, executing resolve-and-run.sh with --event and --project-dir. From mauhpr/agentlint-plugin.

3 13d ago A tokens not measured original MIT