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

01

google-gemini/gemini-cli

Hook Claude Code ✓ vendor

Runs when a session starts, executing on-start.js via node. From google-gemini/gemini-cli.

not rated 107k +148 today A ✓ AI review tokens not measured original Apache-2.0

PostToolUse

02

aaif-goose/goose

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for developer__shell and developer__text_editor tool calls, executing announce.sh. From aaif-goose/goose.

not rated 55k +219 today A ✓ AI review tokens not measured original Apache-2.0

PreToolUse

03

anthropics/claude-cookbooks

Hook Claude Code ✓ vendor

One of 3 in settings.json

Runs before the agent uses a tool, executing pre-write.sh and pre-bash.sh (2 commands). From anthropics/claude-cookbooks.

not rated 54k +173 yesterday A ✓ AI review tokens not measured original MIT

SessionStart

04

Yeachan-Heo/oh-my-codex

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts on startup, resume and clear, executing codex-native-hook.mjs via node. From Yeachan-Heo/oh-my-codex.

not rated 34k +54 today A tokens not measured original MIT

PostToolUse

05

danielmiessler/LifeOS

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 19k +86 1mo ago A ✓ AI review tokens not measured original MIT

PreToolUse

06

Imbad0202/academic-research-skills-codex

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing run_guard.sh via bash. From Imbad0202/academic-research-skills-codex.

not rated 13k +482 2d ago A tokens not measured

BeforeAgent

07

max-sixty/worktrunk

Hook Claude Code

One of 3 in hooks.json

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

not rated 9.3k +91 today A tokens not measured

PostToolUse

08

vercel/streamdown

Hook Claude Code ✓ vendor

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running npx ultracite fix. From vercel/streamdown.

not rated 5.7k +17 yesterday A tokens not measured

SessionStart

09

FailproofAI/failproofai

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing dev-hook.mjs with --hook and --cli. From FailproofAI/failproofai.

not rated 5.7k +440 yesterday A tokens not measured

SessionStart

10

brycewang-stanford/Auto-Empirical-Research-Skills

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on compact and resume, executing setup-project-dirs.sh and post-compact-restore.py via bash (2 commands). From brycewang-stanford/Auto-Empirical-Research-Skills.

not rated 4.7k +84 3d ago A tokens not measured

PostToolUse

11

gadievron/raptor

Hook Claude Code

Runs after a tool call finishes for Read tool calls, running an inline shell check. From gadievron/raptor.

not rated 3.9k +28 today A tokens not measured

SessionStart

12

code-yeongyu/lazycodex

Hook Claude Code

Runs when a session starts, executing cli.js via node. From code-yeongyu/lazycodex.

not rated 3.8k +30 changed today A tokens not measured original MIT

SessionStart

13

fuxicodex/Fuxi

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From fuxicodex/Fuxi.

not rated 3.3k +10 changed 18d ago A tokens not measured

SessionStart

14

SynkraAI/aiox-core

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing session-start.js via node. From SynkraAI/aiox-core.

not rated 3.1k +4 yesterday A tokens not measured

SessionEnd

15

nicknisi/dotfiles

Hook Claude Code

One of 2 in settings.json

Runs when a session ends, running claude-tmux-cleanup. From nicknisi/dotfiles.

not rated 3.0k +4 yesterday A tokens not measured original MIT

PreToolUse

16

stellarlinkco/myclaude

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing pre-bash.py and inject-spec.py via python3 (2 commands). From stellarlinkco/myclaude.

not rated 2.8k +3 5mo ago A tokens not measured AGPL-3.0

SessionStart

17

moorcheh-ai/memanto

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup and resume, running an inline shell check. From moorcheh-ai/memanto.

not rated 2.3k +21 changed 1mo ago A tokens not measured original MIT

SessionStart

18

tractorjuice/arc-kit

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume and clear, executing arckit-codex-hook.mjs. From tractorjuice/arc-kit.

not rated 2.3k +7 today A tokens not measured

SessionStart

19

maxritter/pilot-shell

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts on startup, resume, clear, compact, startup, startup, resume, clear, compact, startup, resume, clear, compact, clear and compact, executing license_check.py, licensed_assets_sync.py, codex_skill_sync.py, cc_skill_sync.py and run_if_licensed.py via uv with --no-project, --python and --exec…

not rated 2.1k +8 changed 1mo ago A tokens not measured

Notification

20

GoogleCloudPlatform/scion

Hook Claude Code

One of 10 in settings.json

Runs when the agent sends a notification for permission_prompt, elicitation_dialog and elicitation_url_dialog tool calls, running sciontool hook --dialect=claude. From GoogleCloudPlatform/scion.

not rated 2.0k +219 changed 5d ago A tokens not measured original Apache-2.0

SessionStart

21

nvk/llm-wiki

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing llm_wiki_session.py via python3 with --harness and --if-enabled. From nvk/llm-wiki.

not rated 1.4k +23 15d ago A tokens not measured original MIT

PostToolUse

22

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 +2 7mo ago A tokens not measured original MIT

PostToolUse

23

hashgraph-online/awesome-codex-plugins

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing validate-schema.py via python3. From hashgraph-online/awesome-codex-plugins.

not rated 1.3k +56 today A tokens not measured original Apache-2.0

PreToolUse

24

RyanAlberts/best-of-Agent-Harnesses

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guard.sh. From RyanAlberts/best-of-Agent-Harnesses.

not rated 1.3k +144 today A tokens not measured CC-BY-SA-4.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: