Data and AI hooks

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

PostToolUse

02

Egonex-AI/Understand-Anything

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.

81k +76 6d ago A tokens not measured original MIT

SessionStart

03

Egonex-AI/Understand-Anything

Hook

Runs when a session starts, running an inline shell check. From Egonex-AI/Understand-Anything.

81k +76 6d ago A tokens not measured original MIT

SessionStart

04

headroomlabs-ai/headroom

Hook

Runs when a session starts on startup and resume, running headroom init hook ensure. From headroomlabs-ai/headroom.

68k +94 yesterday A tokens not measured original Apache-2.0

PreToolUse

05

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.

68k +94 yesterday A tokens not measured original Apache-2.0

SessionStart

06

mem0ai/mem0

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.

64k 4d ago A tokens not measured original Apache-2.0

PreToolUse

07

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…

64k 4d ago A tokens not measured original Apache-2.0

PostToolUse

08

mem0ai/mem0

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.

64k 4d ago A tokens not measured original Apache-2.0

Stop

09

MemPalace/mempalace

Hook Claude Code

Runs when the agent finishes a response, executing mempal-stop-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 55% MIT

SessionEnd

10

MemPalace/mempalace

Hook Claude Code

Runs when a session ends, executing mempal-session-end-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 58% MIT

PreCompact

11

MemPalace/mempalace

Hook Claude Code

Runs before the context is compacted, executing mempal-precompact-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 63% MIT

UserPromptSubmit

12

aaif-goose/goose

Hook

Runs when you submit a prompt, before the agent sees it, executing announce.sh. From aaif-goose/goose.

54k +42 yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

13

Yeachan-Heo/oh-my-claudecode

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.

39k 2d ago A tokens not measured original MIT

UserPromptExpansion

14

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.

36k 3d ago A tokens not measured original Apache-2.0

UserPromptSubmit

15

volcengine/OpenViking

Hook

Runs when you submit a prompt, before the agent sees it, executing auto-recall.mjs via node. From volcengine/OpenViking.

35k +369 today A tokens not measured AGPL-3.0

UserPromptSubmit

16

rohitg00/agentmemory

Hook

Runs when you submit a prompt, before the agent sees it, executing prompt-submit.mjs via node. From rohitg00/agentmemory.

28k 8d ago A tokens not measured original Apache-2.0

PreToolUse

17

mlflow/mlflow

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.

28k 2d ago A tokens not measured original Apache-2.0

Stop

18

mlflow/mlflow

Hook

Runs when the agent finishes a response, executing stop.cjs via node. From mlflow/mlflow.

28k 2d ago A tokens not measured original Apache-2.0

PostToolUse

19

vercel/ai

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running pnpm fix. From vercel/ai.

27k +14 yesterday A tokens not measured

PreToolUse

21

promptfoo/promptfoo

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From promptfoo/promptfoo.

25k 2d ago A tokens not measured original MIT

PostToolUse

22

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.

25k 2d ago A tokens not measured original MIT

UserPromptSubmit

23

coleam00/Archon

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From coleam00/Archon.

23k 2d ago A tokens not measured original MIT

UserPromptSubmit

24

appium/appium

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From appium/appium.

22k 2d ago A tokens not measured original Apache-2.0