Hooks for Claude Code

6,059 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.

PreToolUse

337

poteto/noodle

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-sleep.sh (2 commands). From poteto/noodle.

not rated 267 +4 5mo ago A tokens not measured original MIT

PreToolUse

338

saeloun/miru-web

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Skill tool calls, executing check-gstack.sh. From saeloun/miru-web.

not rated 266 13d ago A tokens not measured copy · 55% MIT

SubagentStop

339

blacklanternsecurity/red-run

Hook Claude Code

One of 4 in settings.json

Runs when a subagent finishes for (network-recon, web-(discovery, exploit), ad-(discovery, exploit), password-spray, (linux, windows)-privesc, evasion, credential-cracking, pivoting and research)-agent tool calls, executing save-agent-log.sh. From blacklanternsecurity/red-run.

not rated 266 +3 5mo ago A tokens not measured GPL-3.0

PostToolUse

340

DitriXNew/EDT-MCP

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing edt-skill-router.js via node. From DitriXNew/EDT-MCP.

not rated 265 +7 today A tokens not measured AGPL-3.0

SessionEnd

341

divinevideo/divine-mobile

Hook Claude Code

One of 4 in settings.json

Runs when a session ends for logout, prompt_input_exit and bypass_permissions_disabled tool calls, executing session-end-purge-build-artifacts.sh. From divinevideo/divine-mobile.

not rated 265 today A tokens not measured original MPL-2.0

Notification

342

lucasfcosta/dotfiles

Hook Claude Code

One of 2 in settings.json

Runs when the agent sends a notification, running afplay /System/Library/Sounds/Glass.aiff. From lucasfcosta/dotfiles.

not rated 263 1mo ago A tokens not measured original Unlicense

Stop

343

betta-tech/harness-sdd

Hook Claude Code

One of 3 in settings.json

Runs when the agent finishes a response, executing init.sh. From betta-tech/harness-sdd.

not rated 262 +3 3mo ago A tokens not measured

PreToolUse

344

Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-bare-python.sh. From Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP.

not rated 264 +10 today A tokens not measured original MIT

Notification

345

fredrikaverpil/dotfiles

Hook Claude Code

One of 2 in settings.json

Runs when the agent sends a notification for idle_prompt tool calls, running afplay /System/Library/Sounds/Sosumi.aiff. From fredrikaverpil/dotfiles.

not rated 257 +1 today A tokens not measured original MIT

Stop

346

awattar/claude-code-best-practices

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running git -C "$CLAUDE_PROJECT_DIR" status --short. From awattar/claude-code-best-practices.

not rated 251 +1 3mo ago A tokens not measured original MIT

PreToolUse

347

h0x91b/dev-3.0

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash and Read tool calls, executing auto-approve.sh (2 commands). From h0x91b/dev-3.0.

not rated 252 +3 today A tokens not measured original Apache-2.0

Stop

348

shift-editor/shift

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running an inline shell check. From shift-editor/shift.

not rated 248 +4 today A tokens not measured GPL-3.0

PostToolUse

349

shep-ai/shep

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing format-tsp.sh. From shep-ai/shep.

not rated 247 2d ago A tokens not measured original MIT

SessionStart

350

starmynd-org/infinite-brain-os

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing session-start.sh via bash. From starmynd-org/infinite-brain-os.

not rated 245 +2 9d ago A tokens not measured copy · 50% MIT

Stop

351

komunite/kalfa

Hook Claude Code

One of 7 in settings.json

Runs when the agent finishes a response, executing log-stop-verdict.sh. From komunite/kalfa.

not rated 244 +1 4mo ago A tokens not measured original MIT

SessionStart

352

l33tdawg/sage

Hook Claude Code

One of 7 in settings.json

Runs when a session starts on startup, resume and compact, executing sage-session-start.sh via bash (3 commands). From l33tdawg/sage.

not rated 245 today A tokens not measured original Apache-2.0

SessionStart

353

udecode/plate-playground-template

Hook Claude Code

One of 3 in settings.json

Runs when a session starts on startup, clear, compact and compact, executing session-start.sh and post-compact.sh (2 commands). From udecode/plate-playground-template.

not rated 240 15d ago A tokens not measured original MIT

PreToolUse

354

johnkf5-ops/the-dev-squad

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approval-gate.sh. From johnkf5-ops/the-dev-squad.

not rated 238 4mo ago A tokens not measured original MIT

Stop

355

maxwell2732/codex-stata-for-economists

Hook Claude Code

One of 5 in settings.json

Runs when the agent finishes a response, executing log-reminder.py via python3. From maxwell2732/codex-stata-for-economists.

not rated 238 +1 3mo ago A tokens not measured

PreToolUse

356

OpenRouterLabs/spawn

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit, Bash and Bash tool calls, executing enforce-worktree.ts and pre-merge-check.ts via bun with --show-toplevel (3 commands). From OpenRouterLabs/spawn.

not rated 237 1mo ago A tokens not measured original Apache-2.0

SessionStart

357

fpindej/netrock

Hook Claude Code

One of 5 in settings.json

Runs when a session starts on startup, executing session-start.mjs via node. From fpindej/netrock.

not rated 231 4d ago A tokens not measured original MIT

PreToolUse

358

tonyc726/china-administrative-division

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, running an inline shell check. From tonyc726/china-administrative-division.

not rated 231 10d ago A tokens not measured original MIT

PostToolUse

359

HKUDS/MoChat

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes, executing log-activity.sh. From HKUDS/MoChat.

not rated 231 6mo ago A tokens not measured original MIT

PreToolUse

360

Uniswap/uniswap-ai

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash and Bash tool calls, executing validate-forge-cast.sh and validate-open-url.sh via bash (2 commands). From Uniswap/uniswap-ai.

not rated 229 4d ago A tokens not measured original MIT

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: