Hooks for Claude Code

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

Stop

145

clidey/whodb

Hook Claude Code

Runs when the agent finishes a response, executing verify-build.sh via bash with --show-toplevel. From clidey/whodb.

5.0k +1 yesterday A tokens not measured original Apache-2.0

PostToolUse

146

Expensify/App

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From Expensify/App.

5.0k +2 yesterday A tokens not measured original MIT

PreToolUse

147

pytorch/executorch

Hook Claude Code ✓ vendor

Runs before the agent uses a tool for Bash tool calls, executing resync-guard.sh. From pytorch/executorch.

5.0k 3d ago A tokens not measured

PreToolUse

148

mock-server/mockserver-monorepo

Hook Claude Code

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit, NotebookEdit, Task and Agent tool calls, executing check-halt-hook.sh via bash. From mock-server/mockserver-monorepo.

5.0k +4 yesterday A tokens not measured original Apache-2.0

Stop

149

mock-server/mockserver-monorepo

Hook Claude Code

Runs when the agent finishes a response, executing aggregate-telemetry.sh via bash with --csv (2 commands). From mock-server/mockserver-monorepo.

5.0k +4 yesterday A tokens not measured original Apache-2.0

Stop

150

Awarexone/Agentic-Bug-Hunter

Hook Claude Code

Runs when the agent finishes a response, executing memory_gc.py with --rotate. From Awarexone/Agentic-Bug-Hunter.

4.7k +30 yesterday A tokens not measured original MIT

SessionStart

151

kunchenguid/firstmate

Hook Claude Code

Runs when a session starts, executing fm-sessionstart-run.sh. From kunchenguid/firstmate.

4.6k +203 yesterday A tokens not measured original MIT

PreToolUse

152

kunchenguid/firstmate

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing fm-arm-pretool-check.sh, fm-cd-pretool-check.sh and fm-subagent-pretool-check.sh with --claude (3 commands). From kunchenguid/firstmate.

4.6k +203 yesterday A tokens not measured original MIT

Stop

153

kunchenguid/firstmate

Hook Claude Code

Runs when the agent finishes a response, executing fm-turnend-guard.sh and fm-claude-stop-autoarm.sh with --claude (2 commands). From kunchenguid/firstmate.

4.6k +203 yesterday A tokens not measured original MIT

PostToolUse

154

mvanhorn/cli-printing-press

Hook Claude Code

Part of cli-printing-press

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From mvanhorn/cli-printing-press.

4.6k +18 yesterday A tokens not measured original MIT

SessionStart

155

breferrari/obsidian-mind

Hook Claude Code

Part of obsidian

Runs when a session starts on startup, resume, clear and compact, executing session-start.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +13 9d ago A tokens not measured original MIT

UserPromptSubmit

156

breferrari/obsidian-mind

Hook Claude Code

Part of obsidian

Runs when you submit a prompt, before the agent sees it, executing classify-message.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +13 9d ago A tokens not measured original MIT

PostToolUse

157

breferrari/obsidian-mind

Hook Claude Code

Part of obsidian

Runs after a tool call finishes for Write and Edit tool calls, executing validate-write.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +13 9d ago A tokens not measured original MIT

PreToolUse

158

fallow-rs/fallow

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-bash-guard.py with --show-toplevel, --cached, --name-only and --diff-filter (2 commands). From fallow-rs/fallow.

4.4k +9 yesterday A tokens not measured original MIT

SessionStart

159

fallow-rs/fallow

Hook Claude Code

Runs when a session starts, executing scan-hidden-unicode.py via python3 with --mode. From fallow-rs/fallow.

4.4k +9 yesterday A tokens not measured original MIT

Stop

160

fallow-rs/fallow

Hook Claude Code

Runs when the agent finishes a response, executing check-comment-quality.mjs with --show-toplevel, --working-tree and --claude-hook. From fallow-rs/fallow.

4.4k +9 yesterday A tokens not measured original MIT

Stop

161

facebook/buck2

Hook Claude Code ✓ vendor

Runs when the agent finishes a response, running an inline shell check. From facebook/buck2.

4.4k 4d ago A tokens not measured original Apache-2.0

PostToolUse

162

archestra-ai/archestra

Hook Claude Code

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

4.2k +4 2d ago A tokens not measured

SessionStart

163

dmno-dev/varlock

Hook Claude Code

Runs when a session starts, executing worktree-deps.sh. From dmno-dev/varlock.

4.2k 3d ago A tokens not measured original MIT

PostToolUse

164

dmno-dev/varlock

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing git-push-notice.sh. From dmno-dev/varlock.

4.2k 3d ago A tokens not measured original MIT

PostToolUse

165

flox/flox

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing format.sh with --edition (18 commands). From flox/flox.

4.1k +4 yesterday A tokens not measured GPL-2.0

PreCompact

166

nyldn/claude-octopus

Hook Claude Code

Part of octo

Runs before the context is compacted, running bd prime. From nyldn/claude-octopus.

4.0k +9 3d ago A tokens not measured original MIT

SessionStart

167

nyldn/claude-octopus

Hook Claude Code

Part of octo

Runs when a session starts, running bd prime. From nyldn/claude-octopus.

4.0k +9 3d ago A tokens not measured original MIT

PostToolUse

168

jihe520/MathModelAgent

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing hook_lint.sh via bash with --show-toplevel. From jihe520/MathModelAgent.

4.0k +82 6d 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: