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

169

XTSoftwareLabs/neatcontext-plugins

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing session-start.mjs via node. From XTSoftwareLabs/neatcontext-plugins.

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

SessionStart

170

Rockielab/rockie-nugget

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From Rockielab/rockie-nugget.

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

SessionStart

171

George-RD/claude-next-level

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing init.sh. From George-RD/claude-next-level.

not rated 13 3mo ago A tokens not measured

SessionStart

172

2kDarki/codex-mem

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, clear and compact, executing smart-install.js and bun-runner.js (3 commands). From 2kDarki/codex-mem.

not rated 13 12d ago A tokens not measured

PreToolUse

173

troykelly/codex-skills

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for Bash, mcp__github__create_pull_request and mcp__github__merge_pull_request tool calls, executing validate-pr-creation.sh, validate-local-testing.sh, validate-pr-merge.sh and validate-tests-pass.sh (4 commands). From troykelly/codex-skills.

not rated 12 9mo ago A tokens not measured

PreToolUse

174

rachittshah/cc-codex

Hook Claude Code

Runs before the agent uses a tool, executing auto-delegate.sh. From rachittshah/cc-codex.

not rated 12 12mo ago A tokens not measured original Apache-2.0

SessionStart

175

mutewinter/.dot

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on ^(startup, resume, clear, compact and fork)$, executing herdr-agent-state.sh via bash. From mutewinter/.dot.

not rated 12 changed 14d ago A tokens not measured

Stop

176

SPHINX998/forged-in-prod

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing worklog_reminder.py via python. From SPHINX998/forged-in-prod.

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

PreToolUse

177

ezBuilder/code-brain

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash, Read, Edit and Write tool calls, executing block-dangerous.sh, block-secret-commit.sh and protect-secrets.sh (3 commands). From ezBuilder/code-brain.

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

PreToolUse

178

hzeng-otterai/ai-course-example

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From hzeng-otterai/ai-course-example.

not rated 11 5mo ago A tokens not measured original Apache-2.0

PreToolUse

179

pkyanam/pkstack

Hook Claude Code

One of 2 in settings.json

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

not rated 11 5mo ago A tokens not measured

BeforeTool

180

thoreinstein/beads-workflow

Hook Claude Code

One of 3 in hooks.json

Runs on the BeforeTool event for write_file and replace tool calls, executing enforce-obsidian-writes.sh. From thoreinstein/beads-workflow.

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

PreToolUse

181

StringNLPLAB/FlexSQL

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for mcp__snowflake-tools__(query_database, python_interpreter) and Write tool calls, executing require_writing.py and require_revision.py via python3 (2 commands). From StringNLPLAB/FlexSQL.

not rated 11 1mo ago A tokens not measured

PostToolUse

182

ai-plugin-marketplace/template

Hook Claude Code

Runs after a tool call finishes for write_file tool calls, running an inline shell check. From ai-plugin-marketplace/template.

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

PreToolUse

183

RealManage/dx-training

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash and Edit tool calls, running an inline shell check (2 commands). From RealManage/dx-training.

not rated 10 3mo ago A tokens not measured

PreToolUse

184

hehee9/codex-compressor

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for ^new_context$ tool calls, executing launch.py via python3. From hehee9/codex-compressor.

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

PreToolUse

185

JoshJancula/ralph

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Read, Edit, MultiEdit, Glob, Grep, LS and Bash tool calls, executing block-env-reads.sh and rewrite-bash-command.sh (2 commands). From JoshJancula/ralph.

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

Stop

186

companion-inc/introspect

Hook Claude Code

Runs when the agent finishes a response, executing introspect-stop.py. From companion-inc/introspect.

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

PreToolUse

187

huangjia2019/claude-code-engingeering-EN

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 huangjia2019/claude-code-engingeering-EN.

not rated 10 3mo ago A tokens not measured copy · 100% MIT

Notification

188

second-state/vibekeys_app

Hook Claude Code

One of 6 in hooks.json

Runs when the agent sends a notification for permission_prompt and idle_prompt tool calls, running vibekeys hook. From second-state/vibekeys_app.

not rated 10 changed 14d ago A tokens not measured GPL-3.0

SessionStart

189

lhbsaa/embedded-dev-skill

Hook Claude Code

Runs when a session starts on embedded, hardware, driver, LCD, display, ESP32, STM32, RP2040, nRF52, sensor, firmware, SPI, I2C, UART and GPIO, executing session-start.cmd. From lhbsaa/embedded-dev-skill.

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

SessionStart

190

qingye-lab/rootloom

Hook Claude Code

Runs when a session starts on startup, resume and clear, executing run_component_hook.py via python3. From qingye-lab/rootloom.

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

UserPromptSubmit

191

agentproto/ts

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.mjs. From agentproto/ts.

not rated 10 today A tokens not measured original Apache-2.0

Stop

192

777genius/lintai

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running echo done. From 777genius/lintai.

not rated 9 1mo ago A tokens not measured

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: