What problem does it solve?
Consolidates mature learnings from scattered domain memory files into their canonical instruction files to preserve important knowledge, reduce redundancy, and make guidance more scannable and maintainable.
Core Features & Use Cases
- Propose-for-review: Reads domain-memory and instruction files, extracts candidate memories, and presents a structured list for human approval before any file changes.
- Iterative merging: Drafts merged instructions, evaluates against a defined quality bar (zero knowledge loss, minimal redundancy, maximum scannability), and refines until approved.
- Safe updates: Creates or updates instruction files, merges applyTo patterns comprehensively, and removes merged sections from the memory file, supporting both global (user) and workspace scopes.
- Use Case: A developer consolidates prompt-engineering tips collected in a memory file into a polished, reusable prompt instruction that applies across projects.
Quick Start
Run the memory-merger command with a domain and optional scope, for example /memory-merger >prompt-engineering to propose and merge global prompt memories into the instruction file.