PreToolUse
145Hook Claude Code
One of 2 in hooks.json
Runs before the agent uses a tool for Bash tool calls, executing block-git-revert.sh and block-unsafe-delete.sh (2 commands). From heyJordanParker/dotfiles.
1,197 that install into Claude Code. Same mod, same page, whichever agent you run: a URL per tool would split one page into five that compete.
Hook Claude Code
One of 2 in hooks.json
Runs before the agent uses a tool for Bash tool calls, executing block-git-revert.sh and block-unsafe-delete.sh (2 commands). From heyJordanParker/dotfiles.
Hook Claude Code
One of 4 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing block-coauthored-by.sh, block-dependency-changes.sh and block-stderr-suppression.sh via bash (3 commands). From johnend/dots.
Hook Claude Code
One of 7 in settings.json
Runs before the agent uses a tool for Write, Edit, Update, Bash, WebFetch and WebSearch tool calls, executing token_manager.py, command_restrictor.py, pattern_enforcer.py, no_mock_code.py, secret_scanner.py, timestamp_validator.py and validate_git_commit.py via python3 (11 commands). From meloncafe/claude-code-hooks.
Hook Claude Code
One of 2 in hooks.json
Runs when a session starts, executing ensure-runner.sh via bash. From officialzeroxyz/zero-plugins.
Hook Claude Code
Runs when the agent asks permission for an action for ExitPlanMode tool calls, running ipe. From EduardMaghakyan/ipe.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running mcp-skillset enrich-hook. From bobmatnyc/mcp-skillset.
context-foundry/context-foundry
Hook Claude Code
One of 4 in settings.json
Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing flowise-pre-write.sh. From context-foundry/context-foundry.
Hook Claude Code
One of 4 in hooks.json
Runs when a session starts on startup, resume, clear and compact, executing session_start.py via python3. From LYAKAKOY/Hermes-Codex-Plugin.
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.
Hook Claude Code
One of 4 in settings.json
A completion hook that displays a macOS notification when the coding agent finishes a response. A hook is an automatic action triggered by a specified event.
Hook Claude Code
One of 6 in hooks.json
Runs on the AfterAgent event, executing phase-gate.js and ralph-retry.js via node (2 commands). From richardcb/oh-my-gemini.
PacktPublishing/The-Claude-Code-Operating-Model
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing block-dangerous.sh. From PacktPublishing/The-Claude-Code-Operating-Model.
Hook Claude Code
One of 3 in hooks.json
Runs before the agent uses a tool for Write tool calls, executing privacy-block.mjs, scout-block.mjs and descriptive-name.mjs via node with --platform (3 commands). From Unibean9/harness-skills.
Hook Claude Code
One of 9 in hooks.json
Runs when a session starts on startup, resume, clear and compact, executing hook_dispatch.py via python3. From frabcd/codex-ai-game-studio.
vladm3105/aidoc-flow-framework
Hook Claude Code
One of 2 in hooks.json
Runs after a tool call finishes for Write and Edit tool calls, executing sdd-doc-review.sh. From vladm3105/aidoc-flow-framework.
Hook Claude Code
One of 6 in hooks.json
Runs when a session starts on startup, resume and clear, executing arckit-codex-hook.mjs. From tractorjuice/arckit-codex.
thienan230427/codex-github-skill-manager
Hook Claude Code
Runs when a session starts on ^(startup and resume)$, executing session_start.py via python3. From thienan230427/codex-github-skill-manager.
Hook Claude Code
One of 2 in hooks.json
Runs when a session starts on ^(startup, resume and clear)$, executing run_hook.sh. From Lians-ai/Lians.
Hook Claude Code
One of 4 in hooks.json
Runs when you submit a prompt, before the agent sees it, executing cli.js via node. From code-yeongyu/codex-rules.
daeryundf2-prog/LAZYANTIGRAVITY
Hook Claude Code
Runs when the agent finishes a response, executing cli.js via node. From daeryundf2-prog/LAZYANTIGRAVITY.
Hook Claude Code
One of 5 in hooks.json
Runs when a session starts on startup, resume and compact, executing reinject-polygraph-context.mjs and record-session-mapping.mjs via node (2 commands). From nrwl/polygraph-skills.
Hook Claude Code
One of 11 in hooks.json
Runs after a tool call finishes for Agent, WebFetch, WebSearch, AskUserQuestion, Write, Edit and MultiEdit tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts and EventLogger.hook.ts (11 commands). From DorShaer/Husk.
Hook Claude Code
One of 2 in settings.json
Runs when a session starts, running cami source reconcile --check-only --quiet. From lando-labs/cami.
Hook Claude Code
One of 2 in hooks.json
Runs before the agent uses a tool, executing pre_tool_use.sh. From Johnny-xuan/TreeWork.
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: