Hooks for Claude Code

5,970 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.

PostToolUse

241

cloudposse/atmos

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Bash tool calls, executing security-remediate-trigger.sh. From cloudposse/atmos.

not rated 1.4k +4 today A tokens not measured copy · 39% Apache-2.0

PreToolUse

242

cfrs2005/claude-init

Hook Claude Code

One of 5 in hooks.json

Runs before the agent uses a tool for tool == "Bash" && tool_input.command matches "(npm run dev, pnpm( run)? dev, yarn dev, bun run dev)", tool == "Bash" && tool_input.command matches "(npm (install, test), pnpm (install, test), yarn (install, test), bun (install, test), cargo build, make, docker, pytest, vitest…

not rated 1.4k +1 5mo ago A tokens not measured original MIT

PostToolUse

243

cfrs2005/claude-init

Hook Claude Code

One of 5 in hooks.json

Runs after a tool call finishes for tool == "Bash", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js, jsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js and jsx)$" tool calls, running #!/bin/bash (4 commands). From…

not rated 1.4k +1 5mo ago A tokens not measured original MIT

Stop

244

cfrs2005/claude-init

Hook Claude Code

One of 5 in hooks.json

Runs when the agent finishes a response, executing session-end.sh and evaluate-session.sh (3 commands). From cfrs2005/claude-init.

not rated 1.4k +1 5mo ago A tokens not measured original MIT

SessionStart

245

dohooo/helmor

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup and resume, executing set-git-identity.sh via bash. From dohooo/helmor.

not rated 1.3k +1 12d ago A tokens not measured original Apache-2.0

SessionStart

246

coleam00/claude-memory-compiler

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing session-start.py via uv. From coleam00/claude-memory-compiler.

not rated 1.3k +1 5mo ago A tokens not measured

PreCompact

247

coleam00/claude-memory-compiler

Hook Claude Code

One of 4 in settings.json

Runs before the context is compacted, executing pre-compact.py via uv. From coleam00/claude-memory-compiler.

not rated 1.3k +1 5mo ago A tokens not measured

SessionEnd

248

coleam00/claude-memory-compiler

Hook Claude Code

One of 4 in settings.json

Runs when a session ends, executing session-end.py via uv. From coleam00/claude-memory-compiler.

not rated 1.3k +1 5mo ago A tokens not measured

SessionStart

249

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs when a session starts on startup, executing on-session-start.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured original MIT

CwdChanged

250

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs on the CwdChanged event, executing on-cwd-changed.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured copy · 45% MIT

FileChanged

251

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs on the FileChanged event for ^\.envrc$, ^flake\.nix$ and ^flake\.lock$ tool calls, executing on-file-changed.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured original MIT

SessionEnd

252

caliber-ai-org/ai-setup

Hook Claude Code

One of 8 in settings.json

Runs when a session ends, running caliber refresh --quiet (2 commands). From caliber-ai-org/ai-setup.

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

PostToolUse

253

caliber-ai-org/ai-setup

Hook Claude Code

One of 8 in settings.json

Runs after a tool call finishes, running caliber learn observe. From caliber-ai-org/ai-setup.

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

PostToolUseFailure

254

caliber-ai-org/ai-setup

Hook Claude Code

One of 8 in settings.json

Runs when a tool call fails, running caliber learn observe --failure. From caliber-ai-org/ai-setup.

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

Stop

255

newrelic/newrelic-ruby-agent

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing check_comments.sh and check_rubocop.sh via bash (2 commands). From newrelic/newrelic-ruby-agent.

not rated 1.2k 6d ago A tokens not measured original Apache-2.0

PostToolUse

256

daaain/claude-code-log

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, running uv run ruff format. From daaain/claude-code-log.

not rated 1.2k 4d ago A tokens not measured original MIT

SessionStart

257

modu-ai/moai-adk

Hook Claude Code

One of 21 in settings.json

Runs when a session starts on startup, resume, clear, compact and fork, running bash. From modu-ai/moai-adk.

not rated 1.2k +3 today A tokens not measured original Apache-2.0

PreToolUse

258

modu-ai/moai-adk

Hook Claude Code

One of 21 in settings.json

Runs before the agent uses a tool for Write, Edit, Bash, Agent, Task, SendMessage and TaskStop tool calls, running bash (3 commands). From modu-ai/moai-adk.

not rated 1.2k +3 today A tokens not measured copy · 81% Apache-2.0

ConfigChange

259

modu-ai/moai-adk

Hook Claude Code

One of 21 in settings.json

Runs on the ConfigChange event for project_settings, local_settings and skills tool calls, running bash. From modu-ai/moai-adk.

not rated 1.2k +3 today A tokens not measured copy · 81% Apache-2.0

UserPromptSubmit

260

vellum-ai/vellum-assistant

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, executing linear-ticket-reminder.sh. From vellum-ai/vellum-assistant.

not rated 1.2k +10 today A tokens not measured original MIT

SessionStart

261

vellum-ai/vellum-assistant

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing session-docs-primer.sh. From vellum-ai/vellum-assistant.

not rated 1.2k +10 today A tokens not measured copy · 53% MIT

PreToolUse

262

GaijinEntertainment/daScript

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Monitor and Bash tool calls, running jq -c -f "$CLAUDE_PROJECT_DIR/.claude/hooks/monitor_guard.jq. From GaijinEntertainment/daScript.

not rated 1.2k 4d ago A tokens not measured original BSD-3-Clause

PostToolUse

263

sugyan/claude-code-webui

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, running an inline shell check. From sugyan/claude-code-webui.

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

PostToolUse

264

hijohnnylin/neuronpedia

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit, MultiEdit and NotebookEdit tool calls, executing ruff-format.sh, pyright-track.sh and openapi-track.sh (3 commands). From hijohnnylin/neuronpedia.

not rated 1.1k +1 today A tokens not measured original Apache-2.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: