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.

SessionStart

49

wwwzhouhui/skills_collection

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing env_check.py via python3. From wwwzhouhui/skills_collection.

not rated 284 +2 yesterday A tokens not measured

PreToolUse

50

tettethu/VibeGame

Hook Claude Code

One of 10 in settings.json

Runs before the agent uses a tool for Agent tool calls, executing web_hook.py, enforce-team-setup.py and enforce-team-mode.py via python3 with --source-app and --event-type (3 commands). From tettethu/VibeGame.

not rated 272 +4 4d ago A tokens not measured original Apache-2.0

PreCompact

51

avenoxai/avenoxbeyin

Hook Claude Code

One of 5 in settings.json

Runs before the context is compacted, executing pre-compact.sh. From avenoxai/avenoxbeyin.

not rated 266 +30 today A tokens not measured original MIT

Notification

52

fredrikaverpil/dotfiles

Hook Claude Code

One of 2 in settings.json

Runs when the agent sends a notification for idle_prompt tool calls, running afplay /System/Library/Sounds/Sosumi.aiff. From fredrikaverpil/dotfiles.

not rated 260 +1 today A tokens not measured original MIT

SessionStart

53

qualixar/superlocalmemory

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, running an inline shell check (2 commands). From qualixar/superlocalmemory.

not rated 250 +19 changed 9d ago A tokens not measured AGPL-3.0

PreToolUse

54

johnkf5-ops/the-dev-squad

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approval-gate.sh. From johnkf5-ops/the-dev-squad.

not rated 240 6mo ago A tokens not measured original MIT

Stop

55

ProgrammerAnthony/Expert-Coding-Harness

Hook Claude Code

One of 5 in hooks.json

Runs when the agent finishes a response, executing check-secrets.js, check-console-log.js, session-end.js and cost-tracker.js via node (4 commands). From ProgrammerAnthony/Expert-Coding-Harness.

not rated 240 +2 5mo ago A tokens not measured original MIT

SessionStart

56

agenticmail/agenticmail

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, running agenticmail-codex-mail-hook. From agenticmail/agenticmail.

not rated 239 +3 yesterday A tokens not measured original MIT

PreToolUse

57

addyosmani/factory

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing block-merge.sh via bash with --show-toplevel. From addyosmani/factory.

not rated 239 +10 1mo ago A tokens not measured original MIT

SessionStart

58

jiabaobei/skills-constitution

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh via bash. From jiabaobei/skills-constitution.

not rated 233 +1 15d ago A tokens not measured original MIT

PostToolUse

59

HKUDS/MoChat

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes, executing log-activity.sh. From HKUDS/MoChat.

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

SessionStart

60

sendbird/cc-plugin-codex

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing session-lifecycle-hook.mjs via node. From sendbird/cc-plugin-codex.

not rated 224 +2 6d ago A tokens not measured original Apache-2.0

PreToolUse

61

weijiafu14/pi2dsh

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, running touch "$CLAUDE_PROJECT_DIR/.hook-fired". From weijiafu14/pi2dsh.

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

PostToolUse

62

pproenca/dot-skills

Hook Claude Code

One of 2 in hooks.json

Runs after a tool call finishes for Edit tool calls, running an inline shell check. From pproenca/dot-skills.

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

SessionStart

63

igoruehara/spec-driven

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing load-context.mjs via node. From igoruehara/spec-driven.

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

SessionStart

64

niclasvestlund-YT/vibepulse

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session_start.py via python3. From niclasvestlund-YT/vibepulse.

not rated 211 +4 5d ago A tokens not measured original MIT

PreCompact

65

adrianco/retort

Hook Claude Code

One of 3 in settings.json

Runs before the context is compacted, running bd prime. From adrianco/retort.

not rated 210 +2 today A tokens not measured copy · 100% Apache-2.0

PermissionRequest

66

scarce/axel

Hook Claude Code

One of 8 in settings.json

Runs when the agent asks permission for an action, running curl -s -X POST -H 'Content-Type: application/json' -d @- ht. From scarce/axel.

not rated 208 5mo ago B tokens not measured

PostToolUse

67

serradura/okf

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running "$CLAUDE_PROJECT_DIR"/.claude/hooks/run post-edit. From serradura/okf.

not rated 179 +1 1mo ago A tokens not measured copy · 44% Apache-2.0

UserPromptSubmit

68

KimYx0207/Kim_Service

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running node. From KimYx0207/Kim_Service.

not rated 175 +1 2d ago A tokens not measured original MIT

SessionStart

69

joenandez/spectre

Hook Claude Code

Runs when a session starts on startup, resume, clear, compact, startup, clear and compact, executing bootstrap.mjs, handoff-resume.mjs and load-knowledge.mjs via node with --host (3 commands). From joenandez/spectre.

not rated 165 +1 15d ago A tokens not measured original MIT

UserPromptSubmit

70

mtarcure/claude-vibe-squad

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, executing context-tripwire.sh via bash. From mtarcure/claude-vibe-squad.

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

PostToolUse

71

kryptobaseddev/cleo

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Bash, Edit, Write, MultiEdit, Agent, Task, Write and Edit tool calls, executing gsd-context-monitor.js and gsd-phase-boundary.sh via node (2 commands). From kryptobaseddev/cleo.

not rated 160 today A tokens not measured original MIT

PreToolUse

72

arbiterForge/codeArbiter

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool for Bash, shell_command, exec_command, unified_exec, apply_patch, Write, Edit, spawn_agent, collaborationspawn_agent, multi_agent_v1send_input, multi_agent_v1resume_agent, multi_agent_v1close_agent, collaborationsend_message, collaborationfollowup_task, collaborationinterrupt_agent…

not rated 149 +2 changed 7d ago 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: