Institutional memory system for Claude Code. Captures and retrieves lessons learned, architectural decisions, and common issues.
Developed by the Transport Systems & Logistics Laboratory at Imperial College London.
/plugin marketplace add tsl-imperial/tsl-claude-plugins
/plugin install memory-system@tsl-claude-pluginsThen initialize the memory system in your project:
/memory-init| Component | Description |
|---|---|
| Hook | Reminds to check memory before every task |
/memory-init |
Initializes _memory/ directory structure |
/documentmemory |
Creates new memory documents |
memory-search agent |
Searches memory for relevant solutions |
- Hook fires on every message, reminding to check
_memory/TOC.md - Search memory for existing solutions before investigating
- Document new solutions with
/documentmemoryafter solving issues
The /memory-init command automatically adds a Mandatory Memory Check Protocol section to your project's CLAUDE.md file. This ensures Claude Code always checks memory before investigating issues or implementing features.
The protocol is customizable - adjust the language to match your project's domain (web apps, mobile apps, libraries, etc.).
When working with multiple directories in a Claude Code session:
- Check for memory in added directories: External directories may have their own
_memory/systems - Cross-reference: Solutions from one project may apply to another
- Respect boundaries: Each project's memory is scoped to that project
├── .claude-plugin/plugin.json
├── commands/
│ ├── memory-init.md
│ └── documentmemory.md
├── agents/
│ └── memory-search.md
└── hooks.json