Hooks

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

Stop

169

cocoindex-io/cocoindex

Hook Claude Code

One of 3 in settings.json

Runs when the agent finishes a response, executing docs-build-run.sh and py-typecheck-run.sh (2 commands). From cocoindex-io/cocoindex.

11k +15 2d ago A tokens not measured copy · 50% Apache-2.0

PostToolUse

170

Arize-ai/phoenix

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check (5 commands). From Arize-ai/phoenix.

11k +28 2d ago A tokens not measured

PreToolUse

171

BrasilAPI/BrasilAPI

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing pre-merge-check.sh. From BrasilAPI/BrasilAPI.

11k 5d ago A tokens not measured original MIT

PostToolUse

172

aden-hive/hive

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write and NotebookEdit tool calls, running an inline shell check. From aden-hive/hive.

11k +13 13d ago A tokens not measured original Apache-2.0

PreToolUse

173

yugabyte/yugabyte-db

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-git-push.sh. From yugabyte/yugabyte-db.

11k +6 yesterday A tokens not measured

PreToolUse

174

woocommerce/woocommerce

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Write and Edit tool calls, running an inline shell check. From woocommerce/woocommerce.

10k 3d ago A tokens not measured

PreToolUse

175

diet103/claude-code-infrastructure-showcase

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Edit, MultiEdit and Write tool calls, executing skill-verification-guard.sh. From diet103/claude-code-infrastructure-showcase.

10k +2 1mo ago A tokens not measured original MIT

PostToolUse

176

diet103/claude-code-infrastructure-showcase

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, MultiEdit, Write and Skill tool calls, executing post-tool-use-tracker.sh and skill-activation-tracker.sh (2 commands). From diet103/claude-code-infrastructure-showcase.

10k +2 1mo ago A tokens not measured copy · 47% MIT

Stop

177

diet103/claude-code-infrastructure-showcase

Hook Claude Code

One of 5 in settings.json

Runs when the agent finishes a response, executing session-doc-updater.sh. From diet103/claude-code-infrastructure-showcase.

10k +2 1mo ago A tokens not measured original MIT

WorktreeCreate

178

gitkraken/vscode-gitlens

Hook Claude Code ✓ vendor

One of 5 in settings.json

Runs when a git worktree is created, running node .claude/hooks/worktree.mts create. From gitkraken/vscode-gitlens.

9.9k +3 yesterday A tokens not measured

PostToolUse

179

gitkraken/vscode-gitlens

Hook Claude Code ✓ vendor

One of 5 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From gitkraken/vscode-gitlens.

9.9k +3 yesterday A tokens not measured

PreToolUse

180

gitkraken/vscode-gitlens

Hook Claude Code ✓ vendor

One of 5 in settings.json

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From gitkraken/vscode-gitlens.

9.9k +3 yesterday A tokens not measured

SessionStart

181

Imbad0202/academic-research-skills-codex

Hook

One of 2 in hooks.json

Runs when a session starts, executing announce-ars-loaded.sh via bash. From Imbad0202/academic-research-skills-codex.

9.7k +162 9d ago A tokens not measured

PreToolUse

182

Imbad0202/academic-research-skills-codex

Hook

One of 2 in hooks.json

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing run_guard.sh via bash. From Imbad0202/academic-research-skills-codex.

9.7k +162 9d ago A tokens not measured

SessionStart

183

open-gsd/gsd-core

Hook

Part of gsd-core

Runs when a session starts, executing gsd-ensure-canonical-path.js and gsd-check-update.js via node (2 commands). From open-gsd/gsd-core.

9.0k +90 yesterday A tokens not measured original MIT

PreToolUse

184

open-gsd/gsd-core

Hook

Part of gsd-core

Runs before the agent uses a tool for Write, Edit, Write, Edit, MultiEdit, Write, Agent and Task tool calls, executing gsd-prompt-guard.js, gsd-read-guard.js, gsd-worktree-path-guard.js, gsd-write-guard.js and gsd-agent-isolation-guard.js via node (5 commands). From open-gsd/gsd-core.

9.0k +90 yesterday A tokens not measured original MIT

PostToolUse

185

open-gsd/gsd-core

Hook

Part of gsd-core

Runs after a tool call finishes for Bash, Edit, Write, MultiEdit, Agent, Task, Read, WebFetch and WebSearch tool calls, executing gsd-context-monitor.js and gsd-read-injection-scanner.js via node (2 commands). From open-gsd/gsd-core.

9.0k +90 yesterday A tokens not measured original MIT

PostToolUse

186

anthropics/claude-code-action

Hook Claude Code ✓ vendor

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running bunx [email protected] --no-config --write .. From anthropics/claude-code-action.

8.8k +10 2d ago A tokens not measured original MIT

PreToolUse

187

backnotprop/plannotator

Hook

Part of plannotator

Runs before the agent uses a tool for EnterPlanMode tool calls, running plannotator improve-context. From backnotprop/plannotator.

8.3k +85 yesterday A tokens not measured original Apache-2.0

PermissionRequest

188

backnotprop/plannotator

Hook

Part of plannotator

Runs when the agent asks permission for an action for ExitPlanMode tool calls, running plannotator. From backnotprop/plannotator.

8.3k +85 yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

189

webiny/webiny-js

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From webiny/webiny-js.

8.0k yesterday A tokens not measured

PostToolUse

190

anthropics/claude-agent-sdk-python

Hook Claude Code ✓ vendor

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running an inline shell check. From anthropics/claude-agent-sdk-python.

8.0k +14 yesterday A tokens not measured original MIT

SessionStart

191

jnMetaCode/superpowers-zh

Hook

Part of superpowers-zh

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From jnMetaCode/superpowers-zh.

7.9k +41 15d ago A tokens not measured copy · 100% MIT

PreToolUse

192

logancyang/obsidian-copilot

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing enforce-brevilabs-skills.py. From logancyang/obsidian-copilot.

7.7k +10 yesterday A tokens not measured AGPL-3.0

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: