consolidate-memory

Consolidates agent memory files by merging duplicates, fixing stale facts, and pruning the index.

Updated May 16, 2026
One-click install
npx skills add https://github.com/organvm-i-theoria/_agent-ontology --skill consolidate-memory-organvm-i-theoria
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: consolidate-memory
Source: https://github.com/organvm-i-theoria/_agent-ontology/tree/main/.agents/skills/consolidate-memory
Command: npx skills add https://github.com/organvm-i-theoria/_agent-ontology --skill consolidate-memory-organvm-i-theoria

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time, an AI agent's memory files accumulate duplicates, stale facts, and outdated time references, making it hard for future sessions to orient quickly. This Skill performs a structured reflective pass that cleans up the memory directory so a new session can understand who the user is, what they work on, and how they like things done without re-asking. ## Core Features & Use Cases - Duplicate Merging: Identifies memory files describing the same person, project, or preference and combines them into a single richer file. - Staleness Cleanup: Separates durable knowledge (preferences, working style, key relationships) from dated items (finished projects, passed deadlines) and retires or folds the dated ones. - Time Reference Normalization: Converts relative phrases like "next week" or "by Friday" into absolute dates so memories stay readable later. - Index Maintenance: Keeps MEMORY.md under 200 lines and ~25KB with one-line entries linking to topic files. - Use Case: After weeks of sessions, your memory folder has 30 overlapping files. Run this Skill to merge them into a tight set of durable memories and a clean index. ## Quick Start Ask the agent to run a memory consolidation pass over its memory directory to merge duplicates, retire stale entries, and tidy the MEMORY.md index.

Frequently Asked Questions about consolidate-memory

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

FAQPage Schema
How do I clean up duplicate AI agent memory files?▼

Run a consolidation pass that lists the memory directory, reads the MEMORY.md index, and skims each topic file to find overlaps. Files describing the same person, project, or preference are merged into one, keeping the richer file's path.

What is the difference between durable and dated memories?▼

Durable memories cover preferences, working style, key relationships, and recurring workflows, and should be kept and sharpened. Dated memories cover specific projects, deadlines, and one-off tasks, and should be retired or folded into durable takeaways once the work is done.

How should the MEMORY.md index be formatted?▼

Each entry is a single line under ~150 characters in the format '- [Title](file.md) — one-line hook'. The whole index should stay under 200 lines and roughly 25KB, with pointers to retired memories removed.

When should a memory be deleted instead of kept?▼

Delete memories that merely restate information easily re-fetched from calendars, docs, or connected tools. Keep what is hard to re-derive, such as stated preferences, the context behind a decision, or who to contact for what.

Why convert relative time references in memory files?▼

Phrases like 'next week' or 'by Friday' become meaningless once the moment passes. Converting them to absolute dates keeps memory files accurate and readable in future sessions.