PreToolUse
289Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash, Read and Glob tool calls, running an inline shell check (2 commands). From Cocolalilal/LastChat.
6,049 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 settings.json
Runs before the agent uses a tool for Bash, Read and Glob tool calls, running an inline shell check (2 commands). From Cocolalilal/LastChat.
cbcoutinho/nextcloud-mcp-server
Hook Claude Code
One of 3 in settings.json
Runs before the agent uses a tool for Read tool calls, executing pretool-secrets.sh. From cbcoutinho/nextcloud-mcp-server.
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From receptron/mulmoclaude.
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and NotebookEdit tool calls, executing enforce-update-json.py, prepush-claude-review.py and protect-sensitive-files.py (3 commands). From VasiHemanth/tokentelemetry.
Totoro-jam/battle-tested-patterns
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From Totoro-jam/battle-tested-patterns.
Hook Claude Code
One of 3 in settings.json
Runs before the context is compacted, running bd prime. From dirge-code/dirge.
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Write, Edit and Bash tool calls, executing block_workflow_writes.js and require_background_for_generate.js via node (2 commands). From Utopai-Research/pai-pro.
TheDecipherist/claude-code-mastery-project-starter-kit
Hook Claude Code
One of 4 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing check-rybbit.sh, check-branch.sh, check-ports.sh, check-e2e.sh and block-dangerous-bash.py via bash (5 commands). From TheDecipherist/claude-code-mastery-project-starter-kit.
Hook Claude Code
One of 3 in settings.json
Runs when a session starts, running mulch prime. From jayminwest/mulch.
Hook Claude Code
One of 7 in settings.json
Runs when the agent sends a notification, executing index.ts via bun. From kousen/claude-code-training.
Hook Claude Code
One of 2 in settings.json
Runs when you submit a prompt, before the agent sees it, executing prd-done-changelog-reminder.sh. From vfarcic/dot-ai.
Hook Claude Code
One of 2 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing git-safety.sh via bash. From automagik-dev/genie.
Hook Claude Code
One of 3 in settings.json
Runs when the agent sends a notification, running osascript -e 'display notification "Claude needs your attent. From harperreed/dotfiles.
Hook Claude Code
One of 6 in settings.json
Runs after a tool call finishes for Write, Edit, Write, Edit and Bash tool calls, executing drift-guard.mjs and ledger-guard.mjs via node (2 commands). From scrypster/muninndb.
Hook Claude Code
One of 4 in settings.json
Runs before the agent uses a tool for Edit, Write, Grep, Glob, Bash, Edit, Write, NotebookEdit and Bash tool calls, executing spec-hint.js, module-hint.js and docs-hint.js via node (3 commands). From kaanozhan/Frame.
pixel-cellar/Claude-Code-Game-Studios
Hook Claude Code
One of 7 in settings.json
Runs after a tool call finishes for Write and Edit tool calls, executing validate-assets.sh via bash. From pixel-cellar/Claude-Code-Game-Studios.
Hook Claude Code
One of 6 in settings.json
Runs before the agent uses a tool for Bash, Write, Edit, NotebookEdit and Read tool calls, executing safety.py, pre-bash-curl-pipe.py, check-commit-message.py, check-merge-status.py, check-browser-attestation.py, check-changelog-on-merge.py, check-duplicate-commit-message.py, pre-push-typecheck.py, pre-push-format.py…
Hook Claude Code
One of 2 in settings.json
Runs when a session starts, executing session-start.sh. From newsnowlabs/dockside.
Hook Claude Code
One of 4 in settings.json
Runs after a tool call finishes for Write tool calls, executing validate.mjs via node. From aayoawoyemi/Ori-Mnemos.
Hook Claude Code
One of 9 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing pre-bash-guard.cjs (3 commands). From m-xlsea/ruoyi-plus-soybean.
Hook Claude Code
One of 3 in settings.json
Runs when the agent finishes a response, executing trace_upload.py with --agent. From SchroederNathan/clarity.
Hook Claude Code
One of 2 in settings.json
Runs when a session starts on startup, resume, clear and compact, executing case_ledger.py via python. From 0rangec3t/Black-cat.
Prorise-cool/Claude-Code-Multi-Agent
Hook Claude Code
One of 9 in settings.json
Runs when a session starts, executing session_start.py via uv. From Prorise-cool/Claude-Code-Multi-Agent.
safety-research/automated-w2s-research
Hook Claude Code
One of 4 in settings.json
Runs after a tool call finishes for Skill and mcp__* tool calls, executing log_tool_usage.py and sync_to_s3.py (3 commands). From safety-research/automated-w2s-research.
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: