Persistent two-layer memory for GitHub Copilot. Automatically indexes your codebase and captures session knowledge — so Copilot remembers context across days, weeks and months.
What it does automatically
After installing, with zero configuration:
- Indexes your code — every file in the workspace becomes searchable context for Copilot
- Captures session memory — decisions, bug fixes, personal notes (Copilot is instructed to save them)
- Re-indexes on file changes — keeps memory up to date as you code
- Shows status in the bottom status bar:
🧠 1,234 memories
Installation
Drag the .vsix file onto the VS Code Extensions panel, or:
code --install-extension copilot-mem-1.0.0.vsix
Restart VS Code. Everything else is automatic.
Usage
- Start chatting with Copilot as normal — it will search and save memory automatically
Ctrl+Shift+M— Save selected text to memory manually- Command Palette →
Copilot Memory: Show Memory Status - Command Palette →
Copilot Memory: Index Workspace(manual re-index)
Memory protocol
The extension creates .github/copilot-instructions.md with instructions that tell Copilot to:
- Search memory at the start of every conversation
- Save personal information immediately (no prompting needed)
- Save architectural decisions, bug fixes, and observations automatically
- Use memory instead of re-reading source files (saves tokens)
Requirements
- VS Code 1.90+
- GitHub Copilot extension
- Node.js 20+