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
TypeScript aiai-agentsai-memoryanthropicartificial-intelligencechromadbclaudeclaude-agent-sdkclaude-agentsclaude-codeclaude-code-pluginclaude-skillsembeddingslong-term-memorymem0memory-engineopenmemoryragsqlitesupermemory
{
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" start'",
"timeout": 60
}
]
},
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin context'",
"timeout": 60
}
]
}
],
"PostCompaction": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin context'",
"timeout": 60
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin session-init'",
"timeout": 15
}
]
}
],
"PostToolUse": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin observation'",
"timeout": 120
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin summarize'",
"timeout": 120
}
]
}
],
"SessionEnd": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "sh -c 'B=$(command -v bun || echo \"$HOME/.bun/bin/bun\"); R=\"${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/thedotmack/plugin/scripts\"; exec \"$B\" \"$R/worker-service.cjs\" hook devin session-end'",
"timeout": 30
}
]
}
]
}