@thedotmack/claude-mem
Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future ses
Install
Add @thedotmack/claude-mem to Claude Code with the PolySkill CLI: polyskill add @thedotmack/claude-mem
Instructions
# Claude-Mem: AI Development Instructions Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions. ## Architecture **5 Lifecycle Hooks**: SessionStart → UserPromptSubmit → PostToolUse → Summary → SessionEnd **Hooks** (`src/hooks/*.ts`) - TypeScript → ESM, built to `plugin/scripts/*-hook.js` **Worker Service** (`src/services/worker-service.ts`) - Express API on port 37777, Bun-managed, handles AI processing asynchronously **Database** (`src/servi…
Keywords: github, persistent-memory, claude-agent-sdk, session-management, context-injection, tool-usage-tracking, coding-assistant, ai-plugin, data-compression