PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running npx -y [email protected]. From langgenius/dify.
228 tagged python, measured the same way as everything else here.
Browse within: knowledge-graph 21agent-tools 15rule-enforcement 12AI Safety 11ai-governance 11agent-memory 9fastapi 9open-source 9gemini 8taskbar 8tkinter 8widget 8Chatbots 7RAG 7
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running npx -y [email protected]. From langgenius/dify.
Hook Claude Code
Runs when a session starts on startup, executing session-start.sh via bash. From astral-sh/uv.
Hook Claude Code
Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing post-edit-format.py via uv with --frozen. From astral-sh/uv.
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 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 Bash tool calls, executing guard-main-branch.sh, guard-rm-outside-tmp.sh and allow-fileops-in-tmp.sh (3 commands). From windmill-labs/windmill.
Hook Claude Code
Runs after a tool call finishes for Edit and Write tool calls, executing format-frontend.sh and format-backend.sh (2 commands). From windmill-labs/windmill.
Hook Claude Code
Runs when the agent sends a notification, executing notify-user.sh. From windmill-labs/windmill.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running ERK_HOOK_ID=user-prompt-hook erk exec user-prompt-hook. From dagster-io/dagster.
Hook Claude Code
Runs before the agent uses a tool for ExitPlanMode tool calls, running ERK_HOOK_ID=exit-plan-mode-hook erk exec exit-plan-mode-hook. From dagster-io/dagster.
Hook
Runs when a session starts, executing session_start.py via uv with --quiet and --script. From basicmachines-co/basic-memory.
Hook
Runs before the context is compacted, executing pre_compact.py via uv with --quiet and --script. From basicmachines-co/basic-memory.
Hook
Runs when a session starts, running an inline shell check. From cocoindex-io/cocoindex-code.
Hook
Runs after a tool call finishes for Edit, Write, MultiEdit and search_replace tool calls, running an inline shell check. From cocoindex-io/cocoindex-code.
Dicklesworthstone/mcp_agent_mail
Hook Claude Code
Runs when a session starts, running an inline shell check (2 commands). From Dicklesworthstone/mcp_agent_mail.
Dicklesworthstone/mcp_agent_mail
Hook Claude Code
Runs before the agent uses a tool for Edit tool calls, running an inline shell check. From Dicklesworthstone/mcp_agent_mail.
Dicklesworthstone/mcp_agent_mail
Hook Claude Code
Runs after a tool call finishes for Bash tool calls, executing check_inbox.sh. From Dicklesworthstone/mcp_agent_mail.
Hook Claude Code
Runs when the agent finishes a response, running poe format. From nat-n/poethepoet.
Hook Claude Code
Runs when a session starts, executing session-start.sh. From kennethreitz/pytheory.
Hook
Runs when a session starts, running an inline shell check. From tigerless-labs/autoharness.