Hooks

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

UserPromptSubmit

289

getappz/agentflare

Hook Claude Code

One of 6 in hooks.json

Runs when you submit a prompt, before the agent sees it, running agentflare hook prompt-submit --agent codex (2 commands). From getappz/agentflare.

not rated 3 +1 changed 1mo ago A tokens not measured original Apache-2.0

SessionStart

290

deepelementlab/openevo

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing session-context.mjs via node. From deepelementlab/openevo.

not rated 3 6mo ago A tokens not measured GPL-3.0

PreToolUse

291

KiwiGaze/codex-status-bar

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool, executing update.js via node. From KiwiGaze/codex-status-bar.

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

PreCompact

292

Red3199/MoondevRED

Hook Claude Code

One of 5 in settings.json

Runs before the context is compacted for manual and auto tool calls, running an inline shell check (2 commands). From Red3199/MoondevRED.

not rated 3 10mo ago A tokens not measured

PostToolUse

293

ibragimov-oasis/vibe-coder

Hook Claude Code

One of 8 in hooks.json

Runs after a tool call finishes for Write, Edit, MultiEdit and Task tool calls, executing hook-handler.cjs via node (2 commands). From ibragimov-oasis/vibe-coder.

not rated 3 4mo ago A tokens not measured

PreToolUse

294

yashodhank/whmcs-mcp-server

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Glob and Grep tool calls, running an inline shell check. From yashodhank/whmcs-mcp-server.

not rated 3 +1 2d ago A tokens not measured

SessionStart

295

Robot-Inventor/agent-skills

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on compact, executing codex.ts via bun. From Robot-Inventor/agent-skills.

not rated 3 3d ago A tokens not measured original MIT

BeforeTool

296

GigantesHJI/securedact-mcp

Hook Claude Code

One of 6 in hooks.json

Runs on the BeforeTool event for ^(mcp_.*, .*(http, web, search, fetch, request, api, connect).*, Read, Write, Edit, MultiEdit, NotebookEdit, Bash, Grep and Glob)$ tool calls, running python -m securedact_enforced.gemini_hook --event BeforeTool. From GigantesHJI/securedact-mcp.

not rated 3 8d ago A tokens not measured original Apache-2.0

SessionStart

297

aquaherd/goose-herdr

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing report-state.sh. From aquaherd/goose-herdr.

not rated 3 2mo ago A tokens not measured

SessionStart

298

quay/ai-helpers

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-setup.sh. From quay/ai-helpers.

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

PostToolUse

299

nikolaypaskov/claudeconf-plugin

Hook Claude Code

One of 3 in settings.json

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

not rated 3 24d ago A tokens not measured original MIT

PostToolUse

300

hivemine-ai/hive

Hook Claude Code

Runs after a tool call finishes for mcp__plugin_hive-wake_hive__(register_session and session_status) tool calls, running hivectl claude hook post-tool-use. From hivemine-ai/hive.

not rated 3 today A tokens not measured original Apache-2.0

PreToolUse

301

erniker/understudy

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guardrails-check.sh. From erniker/understudy.

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

SessionStart

302

purmemo-ai/purmemo-mcp

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing purmemo_recall.js via node. From purmemo-ai/purmemo-mcp.

not rated 2 2d ago A tokens not measured

SessionStart

303

swapnanil/vectr

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup, resume, clear and compact, running vectr hook session-start. From swapnanil/vectr.

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

PreToolUse

304

Najeebullah3124/awesome-claude-universe

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool, executing pre_tool_use.py. From Najeebullah3124/awesome-claude-universe.

not rated 2 1mo ago A tokens not measured

SessionStart

305

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing canonical-sync.sh. From carlxien-blip/kaerai-orchestrator.

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

SessionStart

306

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

PreToolUse

307

drstarry/interactive-video-skill

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing guard_engine.sh via bash. From drstarry/interactive-video-skill.

not rated 2 7mo ago A tokens not measured GPL-3.0

PreToolUse

308

blackwell-systems/polywave-codex

Hook Claude Code

Runs before the agent uses a tool for ^Bash$, ^apply_patch$, ^mcp__lsp__(safe_edit, apply_edit, safe_apply_edit, simulate_edit, replace_symbol_body, safe_delete_symbol and commit_session)$ tool calls, running an inline shell check (3 commands). From blackwell-systems/polywave-codex.

not rated 2 5mo ago A tokens not measured

UserPromptSubmit

309

ShipToday/forge-plugin-codex

Hook Claude Code

One of 4 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing prompt-router.cjs via node. From ShipToday/forge-plugin-codex.

not rated 2 2d ago A tokens not measured original MIT

SessionStart

310

phenomenoner/Chatgpt-Codex-App-Plus

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on ^(startup, resume, clear and compact)$, executing context_canvas.py via python3. From phenomenoner/Chatgpt-Codex-App-Plus.

not rated 2 11d ago A tokens not measured original MIT

PreToolUse

311

sdfdu/evopilot

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch and mcp__.* tool calls, executing policy_gate.py via python. From sdfdu/evopilot.

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

PostToolUse

312

kostya-pakhomov/graphmind

Hook Claude Code

One of 3 in hooks.json

Runs after a tool call finishes for edit_file and edit_files tool calls, executing graphmind-post-tool-use.mjs via node. From kostya-pakhomov/graphmind.

not rated 2 3mo 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: