Claude Code hooks

342 tagged Claude Code, measured the same way as everything else here.

Browse within: claude-code-plugin 468ai-coding 176cli 173cursor 160agents 118agentic-ai 106agent-orchestration 92ai-tools 85LLM 75agentic-coding 71claude-ai 70claude-plugin 69agent-memory 62skills 62

PostToolUse

73

jSydorowicz21/Universal-AI-Infrustructure

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, mcp__.*, ToolSearch, AskUserQuestion, Read, Write, Edit, MultiEdit and Bash tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISAStaleWriteGuard.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts, ConfigEvalFire.hook.ts…

not rated 4 3mo ago A tokens not measured

SessionStart

74

HUANGCHIHHUNGLeo/claude-memory-framework

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.js via node. From HUANGCHIHHUNGLeo/claude-memory-framework.

not rated 4 +1 7mo ago A tokens not measured original MIT

SessionStart

75

PralhadYadawad/avvarre

Hook Claude CodeCodex

One of 3 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session-start.cjs and hook-skill-suggest.cjs via node (2 commands). From PralhadYadawad/avvarre.

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

Stop

76

Yaomeng1749/claude-code-digital-nomad-config-pack

Hook Claude Code

One of 7 in hooks.json

Runs when the agent finishes a response, executing run-with-flags.js via node (6 commands). From Yaomeng1749/claude-code-digital-nomad-config-pack.

not rated 4 7mo ago A tokens not measured

SessionStart

77

nmoinvaz/speedy-gonzales

Hook Claude Code

Runs when a session starts on startup, running bash. From nmoinvaz/speedy-gonzales.

not rated 4 1mo ago A tokens not measured

SessionStart

78

stempeck/agentfactory

Hook Claude Code

One of 10 in settings.json

Runs when a session starts, running an inline shell check (3 commands). From stempeck/agentfactory.

not rated 3 changed 2mo ago A tokens not measured AGPL-3.0

SessionStart

79

assimovt/trce-cli

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts, running trce spool --harness codex-cli --event SessionStart. From assimovt/trce-cli.

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

PreToolUse

80

an0malous/mcp-custos

Hook Claude Code

One of 2 in settings.json

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

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

SessionStart

81

masa-san-jp/Agent-Aiko

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing aiko-session-context.mjs via node. From masa-san-jp/Agent-Aiko.

not rated 3 26d ago A tokens not measured original MIT

SessionStart

82

OnourImpram/mneme

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, running mneme hook session-start. From OnourImpram/mneme.

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

PreToolUse

83

dxkjuanjuan/juanjuan-team

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Write and Edit tool calls, executing hook-enforce.sh via bash. From dxkjuanjuan/juanjuan-team.

not rated 3 3mo ago A tokens not measured

SessionStart

84

mrDesign-ww/vault-os

Hook Claude Code

One of 4 in settings.json

Runs when a session starts on startup and resume, executing health-check.py. From mrDesign-ww/vault-os.

not rated 3 changed 2mo ago A tokens not measured original MIT

BeforeTool

85

GigantesHJI/securedact-mcp

Hook Claude Code

One of 6 in hooks.json

Runs on the BeforeTool event for ^(mcp_.*, .*(http, web, search, fetch, request, api, connect).*, Read, Write, Edit, MultiEdit, NotebookEdit, Bash, Grep and Glob)$ tool calls, running python -m securedact_enforced.gemini_hook --event BeforeTool. From GigantesHJI/securedact-mcp.

not rated 3 1mo ago A tokens not measured original Apache-2.0

PostToolUse

86

nikolaypaskov/claudeconf-plugin

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 nikolaypaskov/claudeconf-plugin.

not rated 3 3d ago A tokens not measured original MIT

PreToolUse

87

Najeebullah3124/awesome-claude-universe

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool, executing pre_tool_use.py. From Najeebullah3124/awesome-claude-universe.

not rated 2 2mo ago A tokens not measured

SessionStart

88

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing canonical-sync.sh. From carlxien-blip/kaerai-orchestrator.

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

PreToolUse

89

drstarry/interactive-video-skill

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing guard_engine.sh via bash. From drstarry/interactive-video-skill.

not rated 2 8mo ago A tokens not measured GPL-3.0

PostToolUse

90

ronmkr/PromptBook

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing sg-python.sh via bash (6 commands). From ronmkr/PromptBook.

not rated 2 6mo ago A tokens not measured original Apache-2.0

SessionStart

91

hackersandwizards/factory-workshop-excercises

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, running beans prime. From hackersandwizards/factory-workshop-excercises.

not rated 2 28d ago A tokens not measured copy · 100% MIT archived

SessionStart

92

vignesh2027/AI-AGENT-SKILLS

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From vignesh2027/AI-AGENT-SKILLS.

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

SessionStart

93

serialq7ic4/ixf-toolbox

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From serialq7ic4/ixf-toolbox.

not rated 2 5d ago A tokens not measured

SessionStart

94

jim4226/claude-workspace-brain

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing brain_session_start.py via python. From jim4226/claude-workspace-brain.

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

PreToolUse

95

alex-lamport/kaora-memory

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing protect-credentials.sh. From alex-lamport/kaora-memory.

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

BeforeTool

96

King-A23/agent-reflectmem

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeTool event for run_shell_command tool calls, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

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