consolidate-memory

Merge duplicate memory entries and prune outdated facts from MEMORY.md.

2|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/miriamdong/mstack --skill consolidate-memory-miriamdong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: consolidate-memory
Source: https://github.com/miriamdong/mstack/tree/main/consolidate-memory
Command: npx skills add https://github.com/miriamdong/mstack --skill consolidate-memory-miriamdong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reflective pass over memory files to merge duplicates, fix stale facts, and prune the index.

Core Features & Use Cases

  • Merge duplicates across memory topics to consolidate related data into a single durable file.
  • Identify and retire dated information while preserving actionable preferences and context.
  • Update MEMORY.md to maintain a compact, searchable index of memory topics.

Quick Start

Run a memory consolidation pass to merge duplicates, prune stale facts, and update MEMORY.md.

Frequently Asked Questions about consolidate-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate memory files to remove duplicates and outdated facts?

Consolidating memory files involves merging duplicate entries across topics, pruning stale facts, and updating the MEMORY.md index to maintain a concise, durable knowledge base under 200 lines.

What is memory consolidation in knowledge management and when do I need it?

Memory consolidation is a reflective pass over memory files to merge duplicates, fix stale facts, and prune the index, needed when your knowledge base becomes bloated with overlapping or outdated information.

How do I separate durable preferences from dated information in MEMORY.md?

Separating durable preferences from dated information applies consolidation phases to identify actionable context, retire dated entries, and preserve durable preferences within the memory directory.

What is the best way to keep a memory index compact and searchable?

The best way to keep a memory index compact is running a consolidation pass that merges overlaps and updates MEMORY.md, ensuring the index stays under 200 lines for searchable knowledge management.

Can I merge duplicate memory topics into a single durable file automatically?

Yes, you can merge duplicates across memory topics to consolidate related data into a single durable file, updating the index and removing overlapping entries during the reflective pass.

Does memory consolidation work with existing topic files in the memory directory?

Yes, memory consolidation applies directly to the memory directory, MEMORY.md, and topic files to merge overlaps, prune stale facts, and update the index without requiring external dependencies.