PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running npx -y [email protected]. From langgenius/dify.
3,613 tagged Data and AI, measured the same way as everything else here.
Browse within: agent-memory 148ai-memory 70Multi-Agent 68context-engineering 63knowledge-graph 63hooks 59python 59RAG 54knowledge-base 50llm-agents 44context-management 42knowledge-management 41agentic-coding 39prompt-engineering 39
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running npx -y [email protected]. From langgenius/dify.
Hook
Runs after a tool call finishes for Bash tool calls, executing post-tool-use-auto-update.mjs via node. From Egonex-AI/Understand-Anything.
Hook
Runs when a session starts, running an inline shell check. From Egonex-AI/Understand-Anything.
Hook
Runs when a session starts on startup and resume, running headroom init hook ensure. From headroomlabs-ai/headroom.
Hook
Runs before the agent uses a tool for Bash and PowerShell tool calls, running headroom init hook ensure. From headroomlabs-ai/headroom.
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
Runs when you submit a prompt, before the agent sees it, executing announce.sh. From aaif-goose/goose.
Hook
Runs when you submit a prompt, before the agent sees it, executing run.cjs via node (2 commands). From Yeachan-Heo/oh-my-claudecode.
anthropics/claude-plugins-official
Hook
Runs to expand your prompt before the agent sees it for ^claude-security:claude-security$ tool calls, executing banner_hook.sh via sh. From anthropics/claude-plugins-official.
Hook
Runs when you submit a prompt, before the agent sees it, executing auto-recall.mjs via node. From volcengine/OpenViking.
Hook
Runs when you submit a prompt, before the agent sees it, executing prompt-submit.mjs via node. From rohitg00/agentmemory.
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.
Hook
Runs when the agent finishes a response, executing stop.cjs via node. From mlflow/mlflow.
Hook Claude Code
Runs after a tool call finishes for Write and Edit tool calls, running pnpm fix. From vercel/ai.
Hook
Runs when you submit a prompt, before the agent sees it, running sh. From OthmanAdi/planning-with-files.
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From 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.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running an inline shell check. From coleam00/Archon.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From appium/appium.