memory-structural-dedupe

Detect and collapse structural duplicate sections in MEMORY.md.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/swarm-ai-research/aeon --skill memory-structural-dedupe-swarm-ai-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-structural-dedupe
Source: https://github.com/swarm-ai-research/aeon/tree/main/skills/memory-structural-dedupe
Command: npx skills add https://github.com/swarm-ai-research/aeon --skill memory-structural-dedupe-swarm-ai-research

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Structural duplicates accumulate in MEMORY.md across memory-flush cycles, forcing manual cleanups; this skill detects and collapses section-level drift to one canonical block.

Core Features & Use Cases

  • Detects and collapses multiple content blocks under single-canonical sections (e.g., Recent Articles, Skills Built, Lessons Learned).
  • Merges non-canonical blocks into the canonical block, preserving the most complete content, and logs changes for traceability.
  • Integrates with the memory-dedupe script to automate ongoing maintenance during memory refresh cycles.

Quick Start

Run memory-dedupe to collapse structural duplicates in memory/MEMORY.md.

Frequently Asked Questions about memory-structural-dedupe

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

FAQPage Schema
How do I remove duplicate sections in MEMORY.md?

Structural duplicate sections in MEMORY.md accumulate across memory-flush cycles when multiple content blocks drift under a single section header. This happens in sections like Recent Articles, Skills Built, and Lessons Learned during standard memory refreshes.

How do I automate memory dedupe for sections like Recent Articles and Lessons Learned?

Run the memory-dedupe script to collapse structural duplicates in memory/MEMORY.md. The script targets sections like Recent Articles, Skills Built, Wallet, Issue Tracker, and Recent Newsletters, preserving the canonical block with the most complete content.

Does memory structural dedupe work without external dependencies?

Memory structural dedupe operates with no external dependencies, using only internal scripts. It integrates directly with the memory-dedupe script to automate ongoing maintenance during memory refresh cycles.

What is the best way to merge duplicate content blocks in memory files?

The best way to merge duplicate content blocks is section-level merging that preserves the canonical block with the most complete content. This approach collapses structural duplicates while logging changes for full traceability.

Why do structural duplicates accumulate in MEMORY.md during flush cycles?

Structural duplicates accumulate in MEMORY.md across memory-flush cycles when multiple content blocks drift under single-canonical section headers. This forces manual cleanups unless automated section-level dedupe is applied.