Hooks

Shell commands your agent runs at defined points. A hook is code, so read it before you install it.

Stop

361

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 235 +1 3mo ago A tokens not measured

PreToolUse

362

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 233 1mo ago A tokens not measured original Apache-2.0

SessionStart

363

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 6d ago A tokens not measured original MIT

PreToolUse

364

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 9d ago A tokens not measured original MIT

PostToolUse

365

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 230 6mo ago A tokens not measured original MIT

PreToolUse

366

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 6d ago A tokens not measured original MIT

Stop

367

bradautomates/head-of-content

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing stop-sound.sh. From bradautomates/head-of-content.

not rated 227 +4 7mo ago A tokens not measured copy · 45% MIT

SessionStart

368

HeadyZhang/agent-audit

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, running echo 'Session started'. From HeadyZhang/agent-audit.

not rated 225 +1 2mo ago A tokens not measured original MIT

SessionEnd

369

timothywarner-org/claude-code

Hook Claude Code

One of 3 in settings.json

Runs when a session ends, executing session-end-memory-marker.sh via bash. From timothywarner-org/claude-code.

not rated 223 1mo ago A tokens not measured original MIT

SessionStart

370

qualixar/superlocalmemory

Hook

One of 4 in hooks.json

Runs when a session starts, running an inline shell check (2 commands). From qualixar/superlocalmemory.

not rated 223 yesterday A tokens not measured AGPL-3.0

UserPromptSubmit

371

spences10/svelte-claude-skills

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, executing skill-simple-instruction-hook.sh. From spences10/svelte-claude-skills.

not rated 220 6d ago A tokens not measured

PostToolUse

372

codemonkey85/PKMDS-Blazor

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing regen-data.py via python3 with --show-toplevel. From codemonkey85/PKMDS-Blazor.

not rated 220 5d ago A tokens not measured GPL-3.0

PostToolUse

373

danshapiro/kilroy

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing validate-dot.sh. From danshapiro/kilroy.

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

PostToolUse

374

RLabs-Inc/gemini-mcp

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing format-on-edit.sh. From RLabs-Inc/gemini-mcp.

not rated 217 +1 1mo ago A tokens not measured copy · 50% MIT

SessionStart

375

igoruehara/spec-driven

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing load-context.mjs via node. From igoruehara/spec-driven.

not rated 213 1mo ago A tokens not measured original MIT

PostToolUse

376

dilolabs/nosia

Hook Claude Code

One of 6 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From dilolabs/nosia.

not rated 212 26d ago A tokens not measured copy · 100% MIT

SessionStart

377

agenticmail/agenticmail

Hook

One of 3 in hooks.json

Runs when a session starts, running agenticmail-codex-mail-hook. From agenticmail/agenticmail.

not rated 212 22d ago A tokens not measured original MIT

BeforeModel

378

Joonghyun-Lee-Frieren/oh-my-antigravity

Hook

One of 2 in hooks.json

Runs on the BeforeModel event, executing hook-bootstrap.js via node. From Joonghyun-Lee-Frieren/oh-my-antigravity.

not rated 211 2mo ago A tokens not measured

PostToolUse

379

kstenerud/yoloai

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing post-edit.sh and check_citation_provenance.py (2 commands). From kstenerud/yoloai.

not rated 210 14d ago A tokens not measured original MIT

PostToolUse

380

justxor/Harness_ru

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From justxor/Harness_ru.

not rated 210 +7 20d ago A tokens not measured

PreToolUse

381

lobu-ai/lobu

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit, Write, Read and Bash tool calls, executing block-dist.sh, enforce-bun.sh and no-truncated-schema-proof.sh via bash with --show-toplevel (3 commands). From lobu-ai/lobu.

not rated 208 6d ago A tokens not measured original Apache-2.0

PermissionRequest

382

scarce/axel

Hook Claude Code

One of 8 in settings.json

Runs when the agent asks permission for an action, running curl -s -X POST -H 'Content-Type: application/json' -d @- ht. From scarce/axel.

not rated 207 4mo ago B tokens not measured

PreToolUse

383

disler/nano-agent

Hook Claude Code

One of 9 in settings.json

Runs before the agent uses a tool, executing pre_tool_use.py via uv. From disler/nano-agent.

not rated 205 1y ago A tokens not measured

SessionStart

384

DrAshBooth/PyLOB

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, running bd prime --hook-json. From DrAshBooth/PyLOB.

not rated 203 21d ago A tokens not measured

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: