thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

93kStars on the repository
37Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

SessionStart

01

thedotmack/claude-mem

Hook

Runs when a session starts, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

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

UserPromptSubmit

02

thedotmack/claude-mem

Hook

Runs when you submit a prompt, before the agent sees it, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

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

PostToolUse

03

thedotmack/claude-mem

Hook

Runs after a tool call finishes, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

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

PreToolUse

04

thedotmack/claude-mem

Hook

Runs before the agent uses a tool for Task and Agent tool calls, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

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

SubagentStop

05

thedotmack/claude-mem

Hook

Runs when a subagent finishes, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

93k 2d ago A tokens not measured copy · 55% Apache-2.0

Stop

06

thedotmack/claude-mem

Hook

Runs when the agent finishes a response, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

93k 2d ago A tokens not measured copy · 53% Apache-2.0

SessionEnd

07

thedotmack/claude-mem

Hook

Runs when a session ends, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

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