PreToolUse
25Hook
Runs before the agent uses a tool for Bash and PowerShell tool calls, running headroom init hook ensure. From headroomlabs-ai/headroom.
Shell commands your agent runs at defined points. A hook is code, so read it before you install it.
Hook
Runs before the agent uses a tool for Bash and PowerShell tool calls, running headroom init hook ensure. From headroomlabs-ai/headroom.
Hook Claude Code
Runs when a session starts, executing claude-code-for-web-setup.sh. From cline/cline.
shanraisshan/claude-code-best-practice
Hook Claude Code
Runs before the agent uses a tool, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.
shanraisshan/claude-code-best-practice
Hook Claude Code
Runs once when the project is set up, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.
shanraisshan/claude-code-best-practice
Hook Claude Code
Runs on the FileChanged event for .envrc, .env and .env.local tool calls, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.
Hook Claude Code
Runs after a tool call finishes for Edit and Write tool calls, executing hook.mjs. From pbakaus/impeccable.
Hook Claude Code
Runs when the agent finishes a response, executing hook.mjs. From pbakaus/impeccable.
Hook
Runs when a session starts on startup, resume and compact, executing ensure_deps.sh and on_session_start.sh (2 commands). From mem0ai/mem0.
Hook
Runs before the agent uses a tool for Write, Edit, MultiEdit, mcp__mem0__add_memory, mcp__plugin_mem0_mem0__add_memory, mcp__mem0__search_memories, mcp__plugin_mem0_mem0__search_memories, mcp__mem0__get_memories, mcp__plugin_mem0_mem0__get_memories, mcp__mem0__delete_all_memories…
Hook
Runs after a tool call finishes for mcp__mem0__.*, mcp__plugin_mem0_mem0__.* and Bash tool calls, executing on_post_tool_use.sh and on_bash_output.sh (2 commands). From mem0ai/mem0.
Hook Claude Code
Runs after a tool call finishes for Edit and Write tool calls, executing cli.js. From tw93/Pake.
Hook
Runs when a session starts, executing check-config.sh via bash. From mvanhorn/last30days-skill.
Hook Claude Code
Runs when the agent finishes a response, executing mempal-stop-hook.sh via bash. From MemPalace/mempalace.
Hook Claude Code
Runs when a session ends, executing mempal-session-end-hook.sh via bash. From MemPalace/mempalace.
Hook Claude Code
Runs before the context is compacted, executing mempal-precompact-hook.sh via bash. From MemPalace/mempalace.
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.
Hook Claude Code
Runs when a session starts, executing nvm-path.sh via bash. From TryGhost/Ghost.
Hook
Runs when a session starts, executing announce.sh. From aaif-goose/goose.
Hook
Runs when you submit a prompt, before the agent sees it, executing announce.sh. From aaif-goose/goose.
Hook
Runs after a tool call finishes for developer__shell and developer__text_editor tool calls, executing announce.sh. From aaif-goose/goose.
Hook Claude Code
Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running an inline shell check. From jesseduffield/lazydocker.
Hook Claude Code
Runs when a session starts, executing session-start.sh. From 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.
Hook Claude Code
Runs when the agent finishes a response, running an inline shell check. From tldraw/tldraw.