Hooks

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

Stop

193

companion-inc/introspect

Hook Claude Code

Runs when the agent finishes a response, executing introspect-stop.py. From companion-inc/introspect.

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

PreToolUse

194

huangjia2019/claude-code-engingeering-EN

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous.sh. From huangjia2019/claude-code-engingeering-EN.

not rated 10 4mo ago A tokens not measured copy · 100% MIT

Notification

195

second-state/vibekeys_app

Hook Claude Code

One of 6 in hooks.json

Runs when the agent sends a notification for permission_prompt and idle_prompt tool calls, running vibekeys hook. From second-state/vibekeys_app.

not rated 10 changed 1mo ago A tokens not measured GPL-3.0

PreCompact

196

Loctree/loctree

Hook Claude Code

One of 2 in hooks.json

Runs before the context is compacted, executing aicx-precompact.sh. From Loctree/loctree.

not rated 10 3d ago A tokens not measured

PreToolUse

197

elmochilyas/laraskills

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, running a command. From elmochilyas/laraskills.

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

SessionStart

198

jmsktm/claude-settings

Hook Claude Code

Runs when a session starts, executing session-start.sh. From jmsktm/claude-settings.

not rated 10 9mo ago A tokens not measured

SessionStart

199

384961890-ui/Pawin-Brain

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup and resume, executing codex-hook-router.js via node. From 384961890-ui/Pawin-Brain.

not rated 9 3mo ago A tokens not measured original MIT

PreToolUse

200

anthillnet/sinain-hud

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approve-tool.sh. From anthillnet/sinain-hud.

not rated 9 1mo ago A tokens not measured

BeforeTool

201

itallstartedwithaidea/google-ads-gemini-extension

Hook Claude Code

One of 2 in hooks.json

Runs on the BeforeTool event for run_gaql tool calls, executing validate-gaql.js via node. From itallstartedwithaidea/google-ads-gemini-extension.

not rated 9 3mo ago A tokens not measured original MIT

PreToolUse

202

Sungmin-Cho/deep-suite

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing denylist-guard.sh (13 commands). From Sungmin-Cho/deep-suite.

not rated 9 3d ago A ✓ AI review tokens not measured original MIT

PostToolUse

203

BestLemoon/codex-seo

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing validate-schema.py via python3. From BestLemoon/codex-seo.

not rated 9 4mo ago A tokens not measured copy · 100% MIT

SessionStart

204

gaelic-ghost/socket

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup, running an inline shell check. From gaelic-ghost/socket.

not rated 9 2mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

205

agentproto/ts

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.mjs. From agentproto/ts.

not rated 9 +1 yesterday A tokens not measured original Apache-2.0

SessionStart

206

jscraik/Agent-Skills

Hook Claude Code

Runs when a session starts, executing session_start_contract.py via python3. From jscraik/Agent-Skills.

not rated 9 4d ago A tokens not measured original Apache-2.0

PostToolUse

207

menot-you/n-memory

Hook Claude Code

One of 12 in hooks.json

Runs after a tool call finishes for Write, Edit, MultiEdit, mcp__plugin_nott_nspawn__nspawn_run_start, mcp__plugin_nott_nspawn__nspawn_review_start, mcp__plugin_nott_nspawn__nspawn_batch_start, ^(Agent, Task, Workflow, SendMessage, mcp__(plugin_nott_)?nspawn__nspawn_(run, batch, review)_start)$, Bash, Bash, Agent…

not rated 9 changed 6d ago A tokens not measured AGPL-3.0

SessionStart

208

yideng-xl/gemini-cli-hud

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing hook.js via node. From yideng-xl/gemini-cli-hud.

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

SessionStart

209

aidrivencoder/claude-plugins

Hook Claude Code

Runs when a session starts, executing install_maid_lsp.sh. From aidrivencoder/claude-plugins.

not rated 8 14d ago A tokens not measured

PostToolUse

210

microsoft/aibast-agents-library

Hook Claude Code ✓ vendor

One of 3 in settings.json

Runs after a tool call finishes for Bash tool calls, executing post-deploy-verify.sh. From microsoft/aibast-agents-library.

not rated 8 yesterday A tokens not measured original MIT

UserPromptSubmit

212

djerok/glm-mcp

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing glm_router_hook.mjs via node. From djerok/glm-mcp.

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

BeforeTool

213

Benknightdark/neo-skills

Hook Claude Code

Runs on the BeforeTool event, executing secret-guard.js via node. From Benknightdark/neo-skills.

not rated 7 12d ago A tokens not measured original MIT

PreToolUse

214

dmytri/shipshape

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for Edit, Write, MultiEdit, NotebookEdit, Bash, Monitor, Read, Grep, Glob and Task tool calls, executing write-custody.sh, bash-custody.sh, captain-notes-guard.sh and dispatch-guard.sh (4 commands). From dmytri/shipshape.

not rated 7 3mo ago A tokens not measured original 0BSD

PreToolUse

215

lx-wnk/Agent-Context

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing pre-protect-secrets.sh. From lx-wnk/Agent-Context.

not rated 7 changed 1mo ago A tokens not measured original MIT

PostToolUse

216

Justdvp/claude-code-templates

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Write, Edit, MultiEdit, Write, Edit, MultiEdit, Write, Edit, MultiEdit, Write, Edit and MultiEdit tool calls, running an inline shell check (4 commands). From Justdvp/claude-code-templates.

not rated 7 25d 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: