rag hooks

73 tagged rag, measured the same way as everything else here.

Browse within: agent-memory 23cognitive-architecture 9vector-search 9colbert 8colpali 8late-interaction 8Chatbots 7chatgpt 7python 7generative-ai 6llm-agent 6obsidian 6all-in-one 5docker 5

SessionStart

01

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 3d ago A tokens not measured original Apache-2.0

PreToolUse

02

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 3d ago A tokens not measured original Apache-2.0

PostToolUse

03

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 3d ago A tokens not measured original Apache-2.0

SessionStart

04

potpie-ai/potpie

Hook

Runs when a session starts, executing potpie_nudge.py via python3 with --harness and --event. From potpie-ai/potpie.

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

PreToolUse

05

potpie-ai/potpie

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, NotebookEdit and Bash tool calls, executing potpie_nudge.py via python3 with --harness and --event (2 commands). From potpie-ai/potpie.

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

PostToolUse

06

potpie-ai/potpie

Hook

Runs after a tool call finishes for Bash tool calls, executing potpie_nudge.py via python3 with --harness and --event. From potpie-ai/potpie.

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

Stop

07

agentscope-ai/ReMe

Hook

Runs when the agent finishes a response, executing auto_memory.py via python3. From agentscope-ai/ReMe.

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

SessionStart

08

zilliztech/memsearch

Hook

Runs when a session starts, executing session-start.sh via bash. From zilliztech/memsearch.

2.5k 3d ago A tokens not measured copy · 56% MIT

Stop

09

zilliztech/memsearch

Hook

Runs when the agent finishes a response, executing stop.sh via bash. From zilliztech/memsearch.

2.5k 3d ago A tokens not measured original MIT

SessionEnd

10

zilliztech/memsearch

Hook

Runs when a session ends, executing session-end.sh via bash. From zilliztech/memsearch.

2.5k 3d ago A tokens not measured original MIT

PreToolUse

11

cbcoutinho/nextcloud-mcp-server

Hook Claude Code

Runs before the agent uses a tool for Read tool calls, executing pretool-secrets.sh. From cbcoutinho/nextcloud-mcp-server.

340 2d ago A tokens not measured AGPL-3.0

UserPromptSubmit

12

cbcoutinho/nextcloud-mcp-server

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing prompt-secrets.sh. From cbcoutinho/nextcloud-mcp-server.

340 2d ago A tokens not measured AGPL-3.0

PostToolUse

13

bibinprathap/VeritasGraph

Hook

Runs after a tool call finishes for Write, Edit, Write and Edit tool calls, running an inline shell check (2 commands). From bibinprathap/VeritasGraph.

313 yesterday A tokens not measured

PreToolUse

14

bibinprathap/VeritasGraph

Hook

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

313 yesterday A tokens not measured

SessionStart

15

TIMAN-group/PlugMem

Hook

Runs when a session starts, executing cc-hook.js via node. From TIMAN-group/PlugMem.

294 1mo ago A tokens not measured copy · 61% Apache-2.0

UserPromptSubmit

16

TIMAN-group/PlugMem

Hook

Runs when you submit a prompt, before the agent sees it, executing cc-hook.js via node. From TIMAN-group/PlugMem.

294 1mo ago A tokens not measured copy · 59% Apache-2.0

PreCompact

17

TIMAN-group/PlugMem

Hook

Runs before the context is compacted, executing cc-hook.js via node. From TIMAN-group/PlugMem.

294 1mo ago A tokens not measured copy · 61% Apache-2.0

SessionStart

18

dilolabs/nosia

Hook Claude Code

Runs when a session starts, running an inline shell check. From dilolabs/nosia.

212 23d ago A tokens not measured original MIT

PostToolUse

19

dilolabs/nosia

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From dilolabs/nosia.

212 23d ago A tokens not measured original MIT

PreToolUse

20

dilolabs/nosia

Hook Claude Code

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

212 23d ago A tokens not measured original MIT

SessionStart

21

alibaizhanov/mengram

Hook

Runs when a session starts, executing load-profile.sh via bash. From alibaizhanov/mengram.

190 5d ago A tokens not measured original Apache-2.0

Stop

22

alibaizhanov/mengram

Hook

Runs when the agent finishes a response, executing save-conversation.sh via bash. From alibaizhanov/mengram.

190 5d ago A tokens not measured original Apache-2.0

PostToolUse

23

Sstobo/Claude-Code-Game-Master

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-tool-state-log.sh via bash. From Sstobo/Claude-Code-Game-Master.

148 15d ago A tokens not measured

Stop

24

Sstobo/Claude-Code-Game-Master

Hook Claude Code

Runs when the agent finishes a response, executing session-autosave.sh via bash. From Sstobo/Claude-Code-Game-Master.

148 15d ago A tokens not measured