{"repo":"Pinperepette/agd-memory","free":true,"listed":false,"github":"https://github.com/Pinperepette/agd-memory","clone":"git clone https://github.com/Pinperepette/agd-memory.git","description":"Per-project persistent memory for Claude Code, in AGD format. Skill + SessionStart hook + MCP server, all driven by the agd CLI.","language":"Python","stars":26,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"agd-memory Per-project persistent memory for Claude Code, stored in AGD format with selective retrieval and graph traversal. Each project gets its own memory file. The session never loads it whole: it scans a Table of Contents, picks the relevant blocks, and fetches them in a single batched call. Typical access costs 6-15x fewer tokens than loading the whole memory file. What you get - SessionStart hook — at session start, injects the TOC of the project memory into the system context. If the project has no memory, the hook is a silent no-op. - UserPromptSubmit hook (auto-recall) — on every prompt, scores every block by keyword overlap with what the user just typed and injects the top few full block bodies. Skips silently on empty/short prompts, pasted code, or when nothing clears the relevance floor. TOC and auto-recall are complementary: the TOC tells the model what exists, recall surfaces what's relevant right now. - SessionEnd hook (auto-capture) — after a substantial session, a headless claude -p pass reads the transcript and persists what was durable: decisions with their rationale, root causes, preferences. Trivial sessions are gated out before any LLM call is spent, and transient API failures are retried instead of losing the session's knowledge. This is what makes memory accumulate without the user having to say /remember . Upgrading from a hand-installed distiller? Remove the old SessionEnd / SessionStart entries pointing at /.claude/hooks/ from /.claude/settings.jso","default_branch":null,"files":null,"tree":[],"storefront":"/r/Pinperepette","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Pinperepette/agd-memory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}