consolidate_memories
Merge related memories with the same subject into comprehensive facts. Automatically detects clusters of 3+ memories, synthesizes them into 1-2 richer memories, and archives originals. Use dry_run to preview changes.
Instructions
Consolidate related memories into fewer, richer memories. Finds clusters of memories sharing the same subject (3+ memories required), then uses AI to synthesize each cluster into 1-2 comprehensive facts. Originals are archived (not deleted) with full version history. Use dry_run=true to preview without making changes. Great for cleaning up memory clutter after many sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | Consolidate only memories with this exact subject (e.g., "auth_system"). Omit to auto-detect all qualifying clusters. | |
| memory_type | No | Only consolidate memories of this type | |
| category | No | Only consolidate memories in this category | |
| dry_run | No | When true, preview consolidation results without making changes. Recommended for first use. |