Hooks

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

Stop

121

worktale/worktale-cli

Hook Claude Code

One of 2 in hooks.json

Runs when the agent finishes a response, executing session-track.mjs via node. From worktale/worktale-cli.

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

PostToolUse

122

mrlm-xyz/demo-claude-marketplace

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing check-docs-drift.sh. From mrlm-xyz/demo-claude-marketplace.

not rated 34 2mo ago A tokens not measured copy · 52% Apache-2.0

Stop

123

100yenadmin/Lossless-Codex-Orchestrator-LCO

Hook Claude Code

Runs when the agent finishes a response, executing thread-title-finalize.mjs via node. From 100yenadmin/Lossless-Codex-Orchestrator-LCO.

not rated 33 2mo ago A tokens not measured

SessionStart

124

akougkas/zulipchat-mcp

Hook Claude Code

One of 8 in settings.json

Runs when a session starts on startup and resume, running uvx --from zulipchat-mcp zulipchat-mcp-hook --zulip-config-f. From akougkas/zulipchat-mcp.

not rated 33 changed 27d ago A tokens not measured original MIT

PreToolUse

125

prakrititz/relayBrain

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit, Write, NotebookEdit, Read, Grep and Glob tool calls, executing relay-claude-pre-tool.js and relay-claude-pre-read.js via node (2 commands). From prakrititz/relayBrain.

not rated 32 19d ago A tokens not measured original MIT

SessionStart

126

yucai0302/memory-loop

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From yucai0302/memory-loop.

not rated 32 4mo ago A tokens not measured

PreToolUse

127

gnt-ai/gnt

Hook Claude Code

Runs before the agent uses a tool, running gnt hooks check-action. From gnt-ai/gnt.

not rated 30 3d ago A tokens not measured original Apache-2.0

PostToolUse

128

GovAlta/THE-VELOCITY-WHITE-PAPERS

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing style-tells.mjs via node. From GovAlta/THE-VELOCITY-WHITE-PAPERS.

not rated 30 2mo ago A tokens not measured

SessionStart

129

artk0de/TeaRAGs-MCP

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing session-start.sh, session-codex-rules.sh, session-digest.sh and reread-ledger.mjs with --harness (4 commands). From artk0de/TeaRAGs-MCP.

not rated 30 +1 6d ago A tokens not measured

PostToolUse

130

sehoon787/my-codex

Hook Claude Code

One of 7 in hooks.json

Runs after a tool call finishes for Agent, Edit, Write, WebSearch and WebFetch tool calls, executing session-sync.js via node (3 commands). From sehoon787/my-codex.

not rated 29 2d ago A tokens not measured original MIT

PreToolUse

131

SinghAbhinav04/dev-house

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approval-gate.sh. From SinghAbhinav04/dev-house.

not rated 29 2mo ago A tokens not measured

PostToolUse

132

thangchung/agent-engineering-experiment

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 thangchung/agent-engineering-experiment.

not rated 28 23d ago A tokens not measured original MIT

PreCompact

133

dp-web4/SAGE

Hook Claude Code

One of 5 in settings.json

Runs before the context is compacted for manual and auto tool calls, running an inline shell check (2 commands). From dp-web4/SAGE.

not rated 28 +1 today A tokens not measured AGPL-3.0

AfterTool (gemini)

134

webjsdev/webjs

Hook Gemini CLI

Runs on the AfterTool event for write_file and replace tool calls, executing nudge-uncommitted.sh. From webjsdev/webjs.

not rated 28 +1 3d ago A tokens not measured original MIT

PostToolUse

135

sampleXbro/agentsmesh

Hook Claude Code

One of 5 in hooks.json

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

not rated 27 +1 changed 2mo ago A tokens not measured original MIT

PostCompact

136

IdoCohen560/claude-unity-game-studio

Hook Claude Code

One of 10 in settings.json

Runs after the context is compacted, executing post-compact.sh via bash. From IdoCohen560/claude-unity-game-studio.

not rated 27 +3 4mo ago A tokens not measured copy · 48% MIT

PostToolUse

137

edochi/mdvs

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write, MultiEdit and Bash tool calls, running mdvs hook handle --platform claude-code --kind validate (2 commands). From edochi/mdvs.

not rated 27 17d ago A tokens not measured original MIT

PreToolUse

138

HaipingXu/social-science-claude-scholar

Hook Claude Code

One of 5 in hooks.json

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing security-guard.js via node. From HaipingXu/social-science-claude-scholar.

not rated 26 +1 7mo ago A tokens not measured

SessionStart

139

thoreinstein/gemini-beads

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, running bd prime. From thoreinstein/gemini-beads.

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

PreToolUse

140

Njones17/AI-agent-master-cyber-skills-list

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing scope-guard.sh and danger-check.sh (2 commands). From Njones17/AI-agent-master-cyber-skills-list.

not rated 25 8mo ago A tokens not measured

Notification

141

thoreinstein/gemini-notifier

Hook Claude Code

Runs when the agent sends a notification, executing notify.js via node. From thoreinstein/gemini-notifier.

not rated 24 5mo ago A tokens not measured

SessionStart

142

sgx-labs/statelessagent

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, running same hook session-bootstrap (3 commands). From sgx-labs/statelessagent.

not rated 24 22d ago A tokens not measured

PostToolUse

143

SaravananJaichandar/world-model-mcp

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write, Bash and Read tool calls, executing world-model-capture.js via node. From SaravananJaichandar/world-model-mcp.

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

PreToolUse

144

JotJunior/cstk

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool, executing pretooluse.sh via sh. From JotJunior/cstk.

not rated 24 changed 1mo 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: