Hooks

Shell commands your agent runs at defined points. A hook is code, so read it before you install it.

PostToolUse

193

samuelclay/NewsBlur

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for mcp__* tool calls, executing mcp-response-limit.py. From samuelclay/NewsBlur.

7.6k +6 2d ago A tokens not measured original MIT

PostToolUse

194

mnfst/manifest

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing check-design-tokens.mjs. From mnfst/manifest.

7.5k +7 yesterday A tokens not measured original MIT

PreToolUse

195

FastLED/FastLED

Hook Claude Code

One of 7 in settings.json

Runs before the agent uses a tool for Write, Bash, Edit and Write tool calls, executing check_forbidden_commands.py, check_test_file_pairing.py, protect_example_ino.py, check_pr_merge_reviews.py, rust_tool_guard.py, tdd_guard.py and protect_platform_headers.py (7 commands). From FastLED/FastLED.

7.5k +1 yesterday A tokens not measured original MIT

PostToolUse

196

FastLED/FastLED

Hook Claude Code

One of 7 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing lint-on-save.py, auto_test_suggest.py and compile_example.py (3 commands). From FastLED/FastLED.

7.5k +1 yesterday A tokens not measured copy · 83% MIT

UserPromptSubmit

197

FastLED/FastLED

Hook Claude Code

One of 7 in settings.json

Runs when you submit a prompt, before the agent sees it, executing git_context.py. From FastLED/FastLED.

7.5k +1 yesterday A tokens not measured copy · 84% MIT

PreToolUse

198

telepresenceio/telepresence

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, running an inline shell check. From telepresenceio/telepresence.

7.3k 9d ago A tokens not measured original Apache-2.0

PostToolUse

199

telepresenceio/telepresence

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running an inline shell check. From telepresenceio/telepresence.

7.3k 9d ago A tokens not measured original Apache-2.0

PreToolUse

200

civitai/civitai

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash and PowerShell tool calls, executing check-writable.mjs via node. From civitai/civitai.

7.2k +1 yesterday A tokens not measured original Apache-2.0

PostToolUse

201

civitai/civitai

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing check-svelte-ts.mjs via node. From civitai/civitai.

7.2k +1 yesterday A tokens not measured original Apache-2.0

PreToolUse

202

Serial-Studio/Serial-Studio

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Edit, Write, MultiEdit and Bash tool calls, executing protect-dirty-files.py and commit-sanitize-gate.py via python3 (2 commands). From Serial-Studio/Serial-Studio.

7.2k +6 2d ago A tokens not measured

PostToolUse

203

Serial-Studio/Serial-Studio

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing verify-on-save.py and protect-dirty-files.py via python3 (2 commands). From Serial-Studio/Serial-Studio.

7.2k +6 2d ago A tokens not measured

Stop

204

Serial-Studio/Serial-Studio

Hook Claude Code

One of 5 in settings.json

Runs when the agent finishes a response, executing canary-check.py via python3. From Serial-Studio/Serial-Studio.

7.2k +6 2d ago A tokens not measured

PreToolUse

206

lingfengQAQ/webnovel-writer

Hook

Part of webnovel-writer

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing guard_runtime_write.py via python (2 commands). From lingfengQAQ/webnovel-writer.

6.9k +39 3d ago A tokens not measured GPL-3.0

SessionStart

207

joe-bell/cva

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From joe-bell/cva.

6.9k 4d ago A tokens not measured copy · 52% Apache-2.0

BeforeAgent

208

max-sixty/worktrunk

Hook

One of 3 in hooks.json

Runs on the BeforeAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k +40 today A tokens not measured

AfterAgent

209

max-sixty/worktrunk

Hook

One of 3 in hooks.json

Runs on the AfterAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k +40 today A tokens not measured

SessionEnd

210

max-sixty/worktrunk

Hook

One of 3 in hooks.json

Runs when a session ends, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k +40 today A tokens not measured

SessionStart

211

wbh604/UZI-Skill

Hook

Part of UZI-Skill

Runs when a session starts on startup, clear and compact, running an inline shell check. From wbh604/UZI-Skill.

6.7k +40 6d ago A tokens not measured original MIT

stop

212

cursor/plugins

Hook ✓ vendor

Runs on the stop event, executing continual-learning-stop.ts via bun. From cursor/plugins.

6.5k +283 changed today A tokens not measured

PostToolUse

213

apache/iotdb

Hook Claude Code ✓ vendor

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From apache/iotdb.

6.4k 4d ago A tokens not measured original Apache-2.0

SessionStart

214

repowise-dev/repowise

Hook

Part of repowise

Runs when a session starts on startup, resume and clear, running an inline shell check. From repowise-dev/repowise.

6.3k +21 today A tokens not measured AGPL-3.0

PostToolUse

215

repowise-dev/repowise

Hook

Part of repowise

Runs after a tool call finishes for Grep, Glob, Read, Edit, Write and mcp__.*[Rr]epowise.*__.* tool calls, running an inline shell check. From repowise-dev/repowise.

6.3k +21 today A tokens not measured AGPL-3.0

PostToolUseFailure

216

repowise-dev/repowise

Hook

Part of repowise

Runs when a tool call fails for Read, Edit, Write, Grep, Glob and NotebookEdit tool calls, running an inline shell check. From repowise-dev/repowise.

6.3k +21 today 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: