Hooks for Claude Code

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

SessionStart

217

doobidoo/mcp-memory-service

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing worktree_guard.sh via bash. From doobidoo/mcp-memory-service.

not rated 1.9k +6 6d ago A tokens not measured original Apache-2.0

PostToolUse

218

doobidoo/mcp-memory-service

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing post_edit_py_tests.sh via bash. From doobidoo/mcp-memory-service.

not rated 1.9k +6 6d ago A tokens not measured original Apache-2.0

PostToolUse

219

MadAppGang/dingo

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing check-forbidden-patterns.sh. From MadAppGang/dingo.

not rated 1.9k +1 1mo ago A tokens not measured

PostToolUse

220

trustedsec/hate_crack

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Bash tool calls, executing doc-audit-trigger.sh. From trustedsec/hate_crack.

not rated 1.9k 4d ago A tokens not measured

UserPromptSubmit

222

ballred/obsidian-claude-pkm

Hook Claude Code

Part of vault-template

Runs when you submit a prompt, before the agent sees it, executing skill-discovery.sh. From ballred/obsidian-claude-pkm.

not rated 1.9k +2 6mo ago A tokens not measured original MIT

PostToolUse

223

ballred/obsidian-claude-pkm

Hook Claude Code

Part of vault-template

Runs after a tool call finishes for Write and Edit tool calls, executing auto-commit.sh. From ballred/obsidian-claude-pkm.

not rated 1.9k +2 6mo ago A tokens not measured original MIT

PreToolUse

224

the-open-engine/zeroshot

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit, MultiEdit and Write tool calls, executing opcore-agent-gate.js via node with --show-toplevel, --harness and --repo. From the-open-engine/zeroshot.

not rated 1.8k +10 3d ago A tokens not measured original MIT

SessionStart

225

kubb-labs/kubb

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing session-start.sh. From kubb-labs/kubb.

not rated 1.8k yesterday A tokens not measured copy · 52% MIT

PreToolUse

226

kubb-labs/kubb

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit and Write tool calls, executing guard-edit.sh. From kubb-labs/kubb.

not rated 1.8k yesterday A tokens not measured copy · 45% MIT

Stop

227

kubb-labs/kubb

Hook Claude Code

One of 4 in settings.json

Runs when the agent finishes a response, executing format-lint.sh. From kubb-labs/kubb.

not rated 1.8k yesterday A tokens not measured copy · 48% MIT

UserPromptSubmit

228

SonicJs-Org/sonicjs

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running echo '. From SonicJs-Org/sonicjs.

not rated 1.7k +4 6d ago A tokens not measured original MIT

SessionStart

229

GoogleCloudPlatform/scion

Hook Claude Code

One of 9 in settings.json

Runs when a session starts, running sciontool hook --dialect=claude. From GoogleCloudPlatform/scion.

not rated 1.7k +2 2d ago A tokens not measured original Apache-2.0

PostToolUse

230

GoogleCloudPlatform/scion

Hook Claude Code

One of 9 in settings.json

Runs after a tool call finishes, running sciontool hook --dialect=claude. From GoogleCloudPlatform/scion.

not rated 1.7k +2 2d ago A tokens not measured copy · 92% Apache-2.0

Notification

231

GoogleCloudPlatform/scion

Hook Claude Code

One of 9 in settings.json

Runs when the agent sends a notification for ToolPermission tool calls, running sciontool hook --dialect=claude. From GoogleCloudPlatform/scion.

not rated 1.7k +2 2d ago A tokens not measured original Apache-2.0

PermissionRequest

232

FailproofAI/failproofai

Hook Claude Code

One of 21 in settings.json

Runs when the agent asks permission for an action, executing dev-hook.mjs with --hook. From FailproofAI/failproofai.

not rated 1.7k +104 2d ago A tokens not measured

PermissionDenied

233

FailproofAI/failproofai

Hook Claude Code

One of 21 in settings.json

Runs on the PermissionDenied event, executing dev-hook.mjs with --hook. From FailproofAI/failproofai.

not rated 1.7k +104 2d ago A tokens not measured

PostToolUseFailure

234

FailproofAI/failproofai

Hook Claude Code

One of 21 in settings.json

Runs when a tool call fails, executing dev-hook.mjs with --hook. From FailproofAI/failproofai.

not rated 1.7k +104 2d ago A tokens not measured

PostToolUse

235

manzaltu/claude-code-ide.el

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing format-and-clean.sh with --hook. From manzaltu/claude-code-ide.el.

not rated 1.7k +2 26d ago A tokens not measured GPL-3.0

Stop

236

manzaltu/claude-code-ide.el

Hook Claude Code

One of 3 in settings.json

Runs when the agent finishes a response, executing compile-and-test.sh with --hook. From manzaltu/claude-code-ide.el.

not rated 1.7k +2 26d ago A tokens not measured GPL-3.0

UserPromptSubmit

237

hashintel/hash

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, running yarn workspace @local/claude-hooks run:skill. From hashintel/hash.

not rated 1.6k yesterday A tokens not measured

PostToolUse

238

hashintel/hash

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, running an inline shell check (3 commands). From hashintel/hash.

not rated 1.6k yesterday A tokens not measured

SessionStart

239

bitbonsai/mcpvault

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup and clear, running an inline shell check. From bitbonsai/mcpvault.

not rated 1.6k +3 3d ago A tokens not measured original MIT

SessionStart

240

kennethreitz/pytheory

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From kennethreitz/pytheory.

not rated 1.6k +2 1mo ago A tokens not measured copy · 52% 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: