Hooks for Claude Code

1,197 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.

PreToolUse

145

heyJordanParker/dotfiles

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing block-git-revert.sh and block-unsafe-delete.sh (2 commands). From heyJordanParker/dotfiles.

not rated 22 changed 19d ago A tokens not measured

PreToolUse

146

johnend/dots

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-coauthored-by.sh, block-dependency-changes.sh and block-stderr-suppression.sh via bash (3 commands). From johnend/dots.

not rated 22 10d ago A tokens not measured

PreToolUse

147

meloncafe/claude-code-hooks

Hook Claude Code

One of 7 in settings.json

Runs before the agent uses a tool for Write, Edit, Update, Bash, WebFetch and WebSearch tool calls, executing token_manager.py, command_restrictor.py, pattern_enforcer.py, no_mock_code.py, secret_scanner.py, timestamp_validator.py and validate_git_commit.py via python3 (11 commands). From meloncafe/claude-code-hooks.

not rated 21 8d ago A tokens not measured original MIT

SessionStart

148

officialzeroxyz/zero-plugins

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing ensure-runner.sh via bash. From officialzeroxyz/zero-plugins.

not rated 21 1mo ago A tokens not measured

PermissionRequest

149

EduardMaghakyan/ipe

Hook Claude Code

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

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

UserPromptSubmit

150

bobmatnyc/mcp-skillset

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running mcp-skillset enrich-hook. From bobmatnyc/mcp-skillset.

not rated 20 7mo ago A tokens not measured original MIT archived

PreToolUse

151

context-foundry/context-foundry

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing flowise-pre-write.sh. From context-foundry/context-foundry.

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

SessionStart

152

LYAKAKOY/Hermes-Codex-Plugin

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session_start.py via python3. From LYAKAKOY/Hermes-Codex-Plugin.

not rated 19 4mo ago A tokens not measured

PreToolUse

153

buildinternet/uploads

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.

not rated 19 +1 today A tokens not measured original Apache-2.0

Stop

154

oikon48/claudecode-book

Hook Claude Code

One of 4 in settings.json

A completion hook that displays a macOS notification when the coding agent finishes a response. A hook is an automatic action triggered by a specified event.

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

AfterAgent

155

richardcb/oh-my-gemini

Hook Claude Code

One of 6 in hooks.json

Runs on the AfterAgent event, executing phase-gate.js and ralph-retry.js via node (2 commands). From richardcb/oh-my-gemini.

not rated 18 7mo ago A tokens not measured original MIT

PreToolUse

156

PacktPublishing/The-Claude-Code-Operating-Model

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 PacktPublishing/The-Claude-Code-Operating-Model.

not rated 18 +3 2mo ago A tokens not measured original MIT

PreToolUse

157

Unibean9/harness-skills

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for Write tool calls, executing privacy-block.mjs, scout-block.mjs and descriptive-name.mjs via node with --platform (3 commands). From Unibean9/harness-skills.

not rated 18 changed 29d ago A tokens not measured

SessionStart

158

frabcd/codex-ai-game-studio

Hook Claude Code

One of 9 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook_dispatch.py via python3. From frabcd/codex-ai-game-studio.

not rated 17 +1 6d ago A tokens not measured original MIT

PostToolUse

159

vladm3105/aidoc-flow-framework

Hook Claude Code

One of 2 in hooks.json

Runs after a tool call finishes for Write and Edit tool calls, executing sdd-doc-review.sh. From vladm3105/aidoc-flow-framework.

not rated 17 changed 26d ago A tokens not measured original MIT

SessionStart

160

tractorjuice/arckit-codex

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume and clear, executing arckit-codex-hook.mjs. From tractorjuice/arckit-codex.

not rated 17 5d ago A tokens not measured

SessionStart

161

thienan230427/codex-github-skill-manager

Hook Claude Code

Runs when a session starts on ^(startup and resume)$, executing session_start.py via python3. From thienan230427/codex-github-skill-manager.

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

SessionStart

162

Lians-ai/Lians

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on ^(startup, resume and clear)$, executing run_hook.sh. From Lians-ai/Lians.

not rated 16 yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

163

code-yeongyu/codex-rules

Hook Claude Code

One of 4 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing cli.js via node. From code-yeongyu/codex-rules.

not rated 15 +1 1mo ago A tokens not measured original MIT

Stop

164

daeryundf2-prog/LAZYANTIGRAVITY

Hook Claude Code

Runs when the agent finishes a response, executing cli.js via node. From daeryundf2-prog/LAZYANTIGRAVITY.

not rated 14 4d ago A tokens not measured original MIT

SessionStart

165

nrwl/polygraph-skills

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts on startup, resume and compact, executing reinject-polygraph-context.mjs and record-session-mapping.mjs via node (2 commands). From nrwl/polygraph-skills.

not rated 14 25d ago A tokens not measured

PostToolUse

166

DorShaer/Husk

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, AskUserQuestion, Write, Edit and MultiEdit tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts and EventLogger.hook.ts (11 commands). From DorShaer/Husk.

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

SessionStart

167

lando-labs/cami

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, running cami source reconcile --check-only --quiet. From lando-labs/cami.

not rated 14 7mo ago A tokens not measured original MIT

PreToolUse

168

Johnny-xuan/TreeWork

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool, executing pre_tool_use.sh. From Johnny-xuan/TreeWork.

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