memory
Store project notes, recall context, search memories with hybrid semantic and keyword retrieval, cluster related items, deduplicate, archive old memories, and set permanent rules for persistent session intelligence.
Instructions
Memory operations. Operations:
remember: Store a note (just content - category/relevance optional)
recall: Get all memories for project
forget: Clear project memories
search: Find by file/tags/query (file_path, tags, query, limit)
clusters: View grouped memories (cluster_id to expand)
cleanup: Dedupe/cluster/decay (dry_run, min_relevance, max_age_days)
consolidate: LLM-powered merge of related memories (tag, dry_run)
add_rule: Add permanent rule (content, reason) - never decays
list_rules: Get all rules for project
modify: Edit memory (memory_id, content, relevance, category)
delete: Remove single memory (memory_id)
batch_delete: Bulk delete by IDs (memory_ids) or by category. Rules/mistakes protected from category delete.
promote: Promote memory to rule (memory_id, reason)
recent: Get recent memories newest first (category, limit)
archive: Move old inactive memories to cold storage (dry_run to preview)
restore: Bring archived memory back to active (memory_id)
archive_search: Search archived memories (query, tags, limit)
archive_status: Show hot vs archived memory counts
hybrid_search: Semantic + keyword + scored search (query, file_path, tags, limit). Best retrieval.
embed_all: Generate AllMiniLM embeddings for all memories (enables hybrid_search)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation to perform | |
| project_path | Yes | Project directory | |
| content | No | For remember/add_rule/modify: content | |
| category | No | For remember/modify/batch_delete/recent: memory category | |
| relevance | No | For remember/modify: importance 1-10 | |
| file_path | No | For search: filter by file | |
| tags | No | For search: filter by tags | |
| query | No | For search: keyword search | |
| limit | No | For search/recent: max results | |
| cluster_id | No | For clusters: expand specific cluster | |
| tag | No | For consolidate: only consolidate memories with this tag | |
| dry_run | No | For cleanup/consolidate: preview only | |
| min_relevance | No | For cleanup: min to keep | |
| max_age_days | No | For cleanup: decay threshold | |
| memory_id | No | For modify/delete/promote: memory ID | |
| memory_ids | No | For batch_delete: list of memory IDs to delete | |
| reason | No | For add_rule/promote: why this rule |