Hooks for Claude Code

6,313 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.

PreToolUse

25

diegosouzapw/OmniRoute

Hook Claude Code

Runs before the agent uses a tool for Skill, Read, Edit and Bash tool calls, executing log-tool.mjs via node. From diegosouzapw/OmniRoute.

59k yesterday A tokens not measured original MIT

SessionStart

26

TryGhost/Ghost

Hook Claude Code

Runs when a session starts, executing nvm-path.sh via bash. From TryGhost/Ghost.

55k +8 today A tokens not measured original MIT

PostToolUse

27

jesseduffield/lazydocker

Hook Claude Code

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

53k 4mo ago A tokens not measured original MIT

SessionStart

28

anthropics/claude-cookbooks

Hook Claude Code

Runs when a session starts, executing session-start.sh. From anthropics/claude-cookbooks.

52k +47 3d ago A tokens not measured original MIT

PreToolUse

29

anthropics/claude-cookbooks

Hook Claude Code

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

52k +47 3d ago A tokens not measured original MIT

Stop

30

tldraw/tldraw

Hook Claude Code

Runs when the agent finishes a response, running an inline shell check. From tldraw/tldraw.

50k 4d ago A tokens not measured

Stop

31

Homebrew/brew

Hook Claude Code

Runs when the agent finishes a response, running ./bin/brew lgtm. From Homebrew/brew.

49k 2d ago A tokens not measured original BSD-2-Clause

PreToolUse

32

streamlit/streamlit

Hook Claude Code

Runs before the agent uses a tool for Skill and Bash tool calls, executing log_agent_metrics.py and pre_bash_redirect.py via uv (2 commands). From streamlit/streamlit.

46k +15 today A tokens not measured original Apache-2.0

PostToolUse

33

streamlit/streamlit

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing post_edit_autofix.sh. From streamlit/streamlit.

46k +15 today A tokens not measured copy · 42% Apache-2.0

SubagentStart

34

streamlit/streamlit

Hook Claude Code

Runs when a subagent starts, executing log_agent_metrics.py via uv. From streamlit/streamlit.

46k +15 today A tokens not measured original Apache-2.0

PostToolUse

35

payloadcms/payload

Hook Claude Code

Runs after a tool call finishes for Write tool calls, executing post-write-format.sh. From payloadcms/payload.

44k 3d ago A tokens not measured original MIT

PreToolUse

36

heygen-com/hyperframes

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running node -e ". From heygen-com/hyperframes.

43k 2d ago A tokens not measured original Apache-2.0

SessionStart

37

HKUDS/LightRAG

Hook Claude Code

Runs when a session starts, executing session-start.sh. From HKUDS/LightRAG.

39k +30 today A tokens not measured copy · 52% MIT

PostToolUse

38

Dokploy/dokploy

Hook Claude Code

Runs after a tool call finishes for EnterWorktree tool calls, executing install-worktree-deps.sh and assign-worktree-port.sh (2 commands). From Dokploy/dokploy.

37k 3d ago A tokens not measured

PreToolUse

39

mlflow/mlflow

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing enforce-uv.sh and validate_pr_body.py with --directory and --no-project (2 commands). From mlflow/mlflow.

28k 2d ago A tokens not measured original Apache-2.0

SessionStart

40

PrefectHQ/fastmcp

Hook Claude Code

Runs when a session starts, executing session-init.sh via bash. From PrefectHQ/fastmcp.

27k +29 today A tokens not measured copy · 53% Apache-2.0

PostToolUse

41

vercel/ai

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running pnpm fix. From vercel/ai.

27k +14 yesterday A tokens not measured

SessionStart

42

agentskills/agentskills

Hook Claude Code

Runs when a session starts, executing session-start.sh. From agentskills/agentskills.

25k 22d ago A tokens not measured original Apache-2.0

SessionStart

43

Donchitos/Claude-Code-Game-Studios

Hook Claude Code

Runs when a session starts, executing session-start.sh and detect-gaps.sh via bash (2 commands). From Donchitos/Claude-Code-Game-Studios.

25k +26 3mo ago A tokens not measured original MIT

PreToolUse

44

Donchitos/Claude-Code-Game-Studios

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing validate-commit.sh and validate-push.sh via bash (2 commands). From Donchitos/Claude-Code-Game-Studios.

25k +26 3mo ago A tokens not measured original MIT

PostToolUse

45

Donchitos/Claude-Code-Game-Studios

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing validate-assets.sh and validate-skill-change.sh via bash (2 commands). From Donchitos/Claude-Code-Game-Studios.

25k +26 3mo ago A tokens not measured original MIT

PreToolUse

46

promptfoo/promptfoo

Hook Claude Code

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

25k 2d ago A tokens not measured original MIT

PostToolUse

47

promptfoo/promptfoo

Hook Claude Code

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

25k 2d ago A tokens not measured original MIT

SessionStart

48

coleam00/Archon

Hook Claude Code

Runs when a session starts, executing verify-task-list.sh. From coleam00/Archon.

23k 2d ago A tokens not measured original MIT