agent-memory hooks

65 tagged agent-memory, measured the same way as everything else here.

Browse within: ai-memory 76knowledge-graph 45local-first 45LLM 42claude-code-plugin 35context-engineering 30cursor 30long-term-memory 29agentic-ai 27mcp-server 26openclaw 22cli 21agent 20codex-cli 20

PostToolUse

01

moorcheh-ai/memanto

Hook Claude Code

One of 3 in hooks.json

Runs after a tool call finishes for Bash and mcp__memanto__.* tool calls, running an inline shell check (2 commands). From moorcheh-ai/memanto.

not rated 2.4k +12 changed 1mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

02

dongshuyan/compass-skills

Hook Claude Code

One of 2 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing title_guard.py via python3. From dongshuyan/compass-skills.

not rated 775 +2 today A tokens not measured original MIT

PreToolUse

03

alibaba/anolisa

Hook Claude Code ✓ vendor

One of 4 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing code_scanner_hook.py, observability_hook.py and pii_checker_hook.py via python3 (3 commands). From alibaba/anolisa.

not rated 688 8d ago A tokens not measured original Apache-2.0

Stop

04

Signet-AI/signetai

Hook Claude Code

One of 4 in hooks.json

Runs when the agent finishes a response, running signet hook session-end -H codex (2 commands). From Signet-AI/signetai.

not rated 318 +1 changed 25d ago A tokens not measured

PreToolUse

05

qualixar/superlocalmemory

Hook Claude Code

One of 5 in hooks.json

Runs before the agent uses a tool for WebSearch, WebFetch, Write, Edit, MultiEdit and Bash tool calls, running an inline shell check (2 commands). From qualixar/superlocalmemory.

not rated 293 +3 changed 10d ago A tokens not measured AGPL-3.0

SessionStart

06

jiabaobei/skills-constitution

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh via bash. From jiabaobei/skills-constitution.

not rated 236 18d ago A tokens not measured original MIT

SessionStart

07

yucai0302/memory-loop

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From yucai0302/memory-loop.

not rated 32 5mo ago A tokens not measured

SessionStart

08

LYAKAKOY/Hermes-Codex-Plugin

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session_start.py via python3. From LYAKAKOY/Hermes-Codex-Plugin.

not rated 20 5mo ago A tokens not measured

PreToolUse

09

ezBuilder/code-brain

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash, Read, Edit and Write tool calls, executing block-dangerous.sh, block-secret-commit.sh and protect-secrets.sh (3 commands). From ezBuilder/code-brain.

not rated 11 3mo ago A tokens not measured original Apache-2.0

SessionStart

10

384961890-ui/Pawin-Brain

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup and resume, executing codex-hook-router.js via node. From 384961890-ui/Pawin-Brain.

not rated 9 4mo ago A tokens not measured original MIT

PreToolUse

11

lx-wnk/Agent-Context

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing pre-protect-secrets.sh. From lx-wnk/Agent-Context.

not rated 8 +1 changed 2mo ago A tokens not measured original MIT

SessionStart

12

777genius/infinity-context

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, running an inline shell check. From 777genius/infinity-context.

not rated 8 1mo ago A tokens not measured original Apache-2.0

SessionStart

13

King-A23/agent-reflectmem

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

not rated 1 6mo ago A tokens not measured original MIT

PreToolUse

14

AnuwatThisuka/edgemem

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool, running an inline shell check. From AnuwatThisuka/edgemem.

not rated 0 5mo ago A tokens not measured

UserPromptSubmit

15

fantasyce/agent-recall-trail

Hook Claude Code

One of 2 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing launch-mcp.sh with --agent. From fantasyce/agent-recall-trail.

not rated 0 1mo ago A tokens not measured original Apache-2.0

SessionStart

16

shanmukha-here/agentroots

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts, executing hook.mjs via node. From shanmukha-here/agentroots.

not rated 0 2mo ago A tokens not measured original Apache-2.0

Stop

17

wefio/NodeMemoryGraph

Hook Claude Code

One of 7 in hooks.json

Runs when the agent finishes a response, executing nmg.mjs via node. From wefio/NodeMemoryGraph.

not rated 0 today A tokens not measured copy · 69% MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: