Memory
Persistent Git-backed Markdown memory that survives session resets and context compaction.
What it does
Pi-memory-md gives Pi a durable external memory store backed by a GitHub repository. At session start, it syncs the memory repo, builds an index of what's stored, and injects a summary into the system prompt. Pi can then read and write individual memory files on demand throughout the session.
Memory is stored as plain Markdown files — human-readable and fully version-controlled. Because it's Git-backed, the full history of what Pi has learned is auditable and reversible. Memories persist across sessions, context resets, and machine switches.
Why it's included
Without persistent memory, every Pi session starts from zero. Pi can't remember how your project is structured, what decisions were made, what approaches failed, or what your preferences are. Memory makes Pi genuinely smarter the longer you use it — it compounds knowledge rather than discarding it.
Commands
| Command | What it does |
|---|---|
/memory-init |
Clone the memory repo, create the directory structure, and generate default files |
/memory-status |
Show memory repo status: project name, git status, and local path |
/memory-refresh |
Rebuild the memory cache and inject the updated index into the current session |
/memory-check |
Display the directory tree of the memory folder |