Memory and context hooks

1,885 tagged Memory and context, measured the same way as everything else here.

Browse within: agent-memory 424ai-memory 283context-management 139knowledge-base 107context-engineering 104local-first 88knowledge-graph 85codex-cli 65hooks 65context-window 54knowledge-management 54coding-agents 52RAG 49markdown 45

UserPromptSubmit

25

EverMind-AI/EverOS

Hook

Runs when you submit a prompt, before the agent sees it, executing inject-memories.js. From EverMind-AI/EverOS.

13k +32 yesterday A tokens not measured original Apache-2.0

SessionEnd

26

EverMind-AI/EverOS

Hook

Runs when a session ends, executing session-summary.js. From EverMind-AI/EverOS.

13k +32 yesterday A tokens not measured original Apache-2.0

SessionStart

27

Gentleman-Programming/engram

Hook

Runs when a session starts on startup, clear and compact, executing session-start.sh and post-compaction.sh (2 commands). From Gentleman-Programming/engram.

6.2k 2d ago A tokens not measured original MIT

Stop

28

Awarexone/Agentic-Bug-Hunter

Hook Claude Code

Runs when the agent finishes a response, executing memory_gc.py with --rotate. From Awarexone/Agentic-Bug-Hunter.

4.7k +30 today A tokens not measured original MIT

UserPromptSubmit

29

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.mjs, hook_launcher.py, memory-awareness.mjs, impact-refactor.mjs and user_prompt_submit.sh via node (5 commands). From parcadei/Continuous-Claude-v3.

3.9k 7mo ago A tokens not measured original MIT

SessionStart

30

basicmachines-co/basic-memory

Hook

Runs when a session starts, executing session_start.py via uv with --quiet and --script. From basicmachines-co/basic-memory.

3.8k yesterday A tokens not measured AGPL-3.0

PreCompact

31

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.

3.8k yesterday A tokens not measured AGPL-3.0

SessionStart

32

memodb-io/Acontext

Hook

Runs when a session starts, executing hook-handler.cjs via node. From memodb-io/Acontext.

3.7k 1mo ago A tokens not measured original Apache-2.0

PostToolUse

33

memodb-io/Acontext

Hook

Runs after a tool call finishes, executing hook-handler.cjs via node. From memodb-io/Acontext.

3.7k 1mo ago A tokens not measured original Apache-2.0

Notification

34

memodb-io/Acontext

Hook

Runs when the agent sends a notification, executing hook-handler.cjs via node. From memodb-io/Acontext.

3.7k 1mo ago A tokens not measured original Apache-2.0

SessionStart

35

agenticnotetaking/arscontexta

Hook

Runs when a session starts, executing session-orient.sh. From agenticnotetaking/arscontexta.

3.5k 6mo ago A tokens not measured original MIT

PostToolUse

36

agenticnotetaking/arscontexta

Hook

Runs after a tool call finishes for Write tool calls, executing write-validate.sh and auto-commit.sh (2 commands). From agenticnotetaking/arscontexta.

3.5k 6mo ago A tokens not measured original MIT

Stop

37

ProfSynapse/Professor-Synapse

Hook

Runs when the agent finishes a response, executing persona-guard.py and memory-nudge.py via python3 (2 commands). From ProfSynapse/Professor-Synapse.

3.4k 7d ago A tokens not measured

Stop

38

agentscope-ai/ReMe

Hook

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

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

Stop

39

Ar9av/obsidian-wiki

Hook Claude Code

Runs when the agent finishes a response, executing wiki-stop-capture.sh via bash. From Ar9av/obsidian-wiki.

3.3k +13 today A tokens not measured original MIT

SessionStart

40

letta-ai/claude-subconscious

Hook

Runs when a session starts, executing silent-npx.cjs via node (2 commands). From letta-ai/claude-subconscious.

2.9k 5d ago A tokens not measured original MIT

UserPromptSubmit

41

letta-ai/claude-subconscious

Hook

Runs when you submit a prompt, before the agent sees it, executing silent-npx.cjs via node. From letta-ai/claude-subconscious.

2.9k 5d ago A tokens not measured original MIT

UserPromptSubmit

42

supermemoryai/claude-supermemory

Hook

Runs when you submit a prompt, before the agent sees it, executing recall-directive.js via node. From supermemoryai/claude-supermemory.

2.7k 7d ago A tokens not measured

PreToolUse

43

supermemoryai/claude-supermemory

Hook

Runs before the agent uses a tool for mcp__.*supermemory.* tool calls, executing recall-approve.js via node. From supermemoryai/claude-supermemory.

2.7k 7d ago A tokens not measured

SessionStart

44

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

45

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

46

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