Hooks

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

SessionStart

385

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

386

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

387

ProgrammerAnthony/Expert-Coding-Harness

Hook

One of 5 in hooks.json

Runs when the agent finishes a response, executing check-secrets.js, check-console-log.js, session-end.js and cost-tracker.js via node (4 commands). From ProgrammerAnthony/Expert-Coding-Harness.

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

Stop

388

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

389

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

390

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

391

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

392

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

393

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

Stop

394

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

395

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

396

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

397

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

PreToolUse

398

first-fluke/fullstack-starter

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing oma-hook.sh with --vendor, --event and --matcher. From first-fluke/fullstack-starter.

not rated 222 today A tokens not measured original MIT

UserPromptSubmit

399

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

PostToolUse

400

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

SessionStart

401

jiabaobei/skills-constitution

Hook

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh via bash. From jiabaobei/skills-constitution.

not rated 220 +29 yesterday A tokens not measured original MIT

PostToolUse

402

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

403

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

404

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

PreToolUse

405

dilolabs/nosia

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From dilolabs/nosia.

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

SessionStart

406

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

407

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

408

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

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: