PreToolUse
25Hook Claude Code
One of 8 in hooks.json
Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.
75 tagged Security, measured the same way as everything else here.
Browse within: claude-code-plugin 112cli 46agentic-ai 43agents 34cursor 34LLM 30ai-coding 29ai-security 28ai-tools 25mcp-server 22model-context-protocol 22skills 21hooks 20Orchestration 19
Hook Claude Code
One of 8 in hooks.json
Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.
Hook Claude Code
One of 4 in hooks.json
Runs on the BeforeTool event for write_file, write_file and edit_file tool calls, executing validate-filename.py and file-protection.py via python3 (2 commands). From tractorjuice/arckit-gemini.
Hook Claude Code
Runs on the BeforeTool event, running npx -y cc-safety-net hook --gemini-cli. From kenryu42/gemini-safety-net.
lsiyu241-creator/awesome-claude-cookbook
Hook Claude Code
One of 3 in settings.json
Runs before the agent uses a tool, executing pre-write.sh and pre-bash.sh (2 commands). From lsiyu241-creator/awesome-claude-cookbook.
Hook Claude Code
One of 4 in hooks.json
Runs after a tool call finishes for Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing sg-python.sh via bash (6 commands). From ronmkr/PromptBook.
TrevorEdris/fellowship-of-the-workflows
Hook Claude Code
One of 4 in hooks.json
Runs before the agent uses a tool for Bash, Read, Edit, Write and Bash tool calls, executing block-dangerous-commands.js and protect-secrets.js (2 commands). From TrevorEdris/fellowship-of-the-workflows.
Hook Claude Code
Runs before the agent uses a tool for ^apply_patch$ tool calls, executing pre-edit-check.mjs via node. From workspace-json/codex-mcp.
Hook Claude Code
One of 2 in hooks.json
Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From Ezee234/symbi-gemini-cli.
Hook Claude Code
One of 4 in hooks.json
Runs when a session starts on startup and resume, executing blekline-session-start.sh. From Blekline/blekline-oss.
Hook Claude Code
One of 2 in hooks.json
Runs on the BeforeTool event for mcp_.*, WriteFile, write_file, write_.*, replace, mcp_.*, WriteFile, write_file, write_.*, replace and run_shell_command tool calls, executing cx_check.sh, cx_run.sh and cx_record_login.sh via sh with --gemini-cli (4 commands). From Checkmarx/cx-agentic-ai.
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing block-dangerous-commands.sh. From igoyetche/paperboy.
Hook Claude Code
One of 3 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing bash-firewall.sh. From javierfajardo85-rgb/aiaam-xyz.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: