claude hooks

111 tagged claude, measured the same way as everything else here.

Browse within: claude-code-plugin 380cli 176ai-tools 121agents 119ai-coding 106agentic-ai 98agentic-coding 92LLM 90cursor 89claude-ai 84agent-memory 74claude-code-hooks 71mcp-server 63ai-memory 59

PostToolUse

01

tirth8205/code-review-graph

Hook Claude Code

One of 2 in hooks.json

Runs after a tool call finishes for EnterWorktree, Edit and Write tool calls, running an inline shell check (2 commands). From tirth8205/code-review-graph.

not rated 33k +59 changed 18d ago A tokens not measured original MIT

SessionStart

02

code-yeongyu/lazycodex

Hook Claude Code

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

not rated 4.0k +25 changed today A tokens not measured original MIT

BeforeTool

03

ooples/token-optimizer-mcp

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeTool event for read_file, search_file_content, glob, replace, write_file and run_shell_command tool calls, executing pre-tool.mjs via node. From ooples/token-optimizer-mcp.

not rated 597 +3 changed 19d ago A tokens not measured original MIT

PreToolUse

04

aiskillstore/marketplace

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing cost_guard.py via python3. From aiskillstore/marketplace.

not rated 509 +12 today A tokens not measured

PreToolUse

05

johnkf5-ops/the-dev-squad

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approval-gate.sh. From johnkf5-ops/the-dev-squad.

not rated 240 7mo ago A tokens not measured original MIT

SessionStart

06

niclasvestlund-YT/vibepulse

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session_start.py via python3. From niclasvestlund-YT/vibepulse.

not rated 223 today A tokens not measured original MIT

PreToolUse

07

arbiterForge/codeArbiter

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool for Bash, shell_command, exec_command, unified_exec, apply_patch, Write, Edit, spawn_agent, collaborationspawn_agent, multi_agent_v1send_input, multi_agent_v1resume_agent, multi_agent_v1close_agent, collaborationsend_message, collaborationfollowup_task, collaborationinterrupt_agent…

not rated 155 changed 1mo ago A tokens not measured AGPL-3.0

SessionStart

08

FareedKhan-dev/claude-code-staff-engineer

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From FareedKhan-dev/claude-code-staff-engineer.

not rated 96 7mo ago A tokens not measured original MIT

UserPromptSubmit

09

sysnet4admin/_Book_Claude-Code

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running date >> last_prompting_history.log. From sysnet4admin/_Book_Claude-Code.

not rated 83 10d ago A tokens not measured

PreToolUse

10

prakrititz/relayBrain

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit, Write, NotebookEdit, Read, Grep and Glob tool calls, executing relay-claude-pre-tool.js and relay-claude-pre-read.js via node (2 commands). From prakrititz/relayBrain.

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

PostCompact

11

IdoCohen560/claude-unity-game-studio

Hook Claude Code

One of 10 in settings.json

Runs after the context is compacted, executing post-compact.sh via bash. From IdoCohen560/claude-unity-game-studio.

not rated 30 4mo ago A tokens not measured copy · 48% MIT

PostToolUseFailure

12

onurpolat05/ALBA

Hook Claude Code

One of 7 in settings.json

Runs when a tool call fails, executing error-logger.sh via bash. From onurpolat05/ALBA.

not rated 25 changed 27d ago A tokens not measured original MIT

SessionStart

13

michalstrnadel/AgentBar

Hook Claude Code

One of 7 in hooks.json

Runs when a session starts, executing agentbar.js via node. From michalstrnadel/AgentBar.

not rated 16 7d ago A tokens not measured original MIT

PostToolUse

14

meller/laneconductor

Hook Claude Code

One of 2 in hooks.json

Runs after a tool call finishes for mcp__plugin_laneconductor-parallel_lc__create_track, mcp__plugin_laneconductor-parallel_lc__update_track, Edit and Write tool calls, executing lc-board-hook.mjs via node. From meller/laneconductor.

not rated 15 +1 5d ago A tokens not measured

Stop

15

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 11 +1 1mo ago A tokens not measured

SessionStart

16

384961890-ui/Pawin-Brain

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup and resume, executing codex-hook-router.js via node. From 384961890-ui/Pawin-Brain.

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

SessionStart

17

opencue/cuecards

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing check-codex-freshness.sh via bash. From opencue/cuecards.

not rated 9 +1 today A tokens not measured copy · 42% MIT

PreToolUse

18

lx-wnk/Agent-Context

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing pre-protect-secrets.sh. From lx-wnk/Agent-Context.

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

PreToolUse

19

HigorAlves/orc

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for ^Bash$ tool calls, executing guard.sh via bash. From HigorAlves/orc.

not rated 7 changed 25d ago A tokens not measured original MIT

SessionStart

20

nikuscs/codex-cc-plugin

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup and resume, executing session-lifecycle-hook.mjs via node with --show-toplevel. From nikuscs/codex-cc-plugin.

not rated 6 6mo ago A tokens not measured original MIT

PostToolUse

21

OshanKHZ/cc-swiss-knife

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing typecheck-after-edit.sh, lint-after-edit.sh and format-on-edit.sh via bash (3 commands). From OshanKHZ/cc-swiss-knife.

not rated 5 8mo ago A tokens not measured

AfterAgent

22

UltimaPhoenix/dev-coach

Hook Claude Code

One of 2 in hooks.json

Runs on the AfterAgent event, executing launch.mjs via node. From UltimaPhoenix/dev-coach.

not rated 5 yesterday A tokens not measured AGPL-3.0

PreToolUse

23

dinhanhthi/coding-friend

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.

not rated 4 13d ago A tokens not measured original MIT

SessionStart

24

HUANGCHIHHUNGLeo/claude-memory-framework

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.js via node. From HUANGCHIHHUNGLeo/claude-memory-framework.

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

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: