Skill / SKILL.md

Memory Consolidation

AnthonyAlcaraz/agentic-graph-rag-skills

Consolidation pipeline — turn noisy raw episodes into durable knowledge (Agentic GraphRAG Ch4, Example 4-5 + Example 4-13). Four steps: cluster related episodes by topic, summarize each cluster into one consolidated fact, create the consolidated node, and maintain a provenance chain back to the source episodes so "how do you know that?" is answerable. Clusters below a minimum size (default 3) are skipped — not enough examples to generalize. Adds the sleep-time-compute discipline: run consolidation during idle periods, never on the synchronous response path, and pre-compute inferences that anticipate likely queries. Use when an agent accumulates redundant, overlapping experiences that must compress into stable, queryable patterns. NOT for one-shot agents (nothing to consolidate), NOT for the response hot path (consolidation is a background/idle job), NOT for facts that must stay individually addressable (consolidation merges them).
2 views 30 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Consolidation pipeline — turn noisy raw episodes into durable knowledge (Agentic GraphRAG Ch4, Example 4-5 + Example 4-13). Four steps: cluster related episodes by topic, summarize each cluster into one consolidated fact, create the consolidated node, and maintain a provenance chain back to the source episodes so "how do you know that?" is answerable. Clusters below a minimum size (default 3) are skipped — not enough examples to generalize. Adds the sleep-time-compute discipline: run consolidation during idle periods, never on the synchronous response path, and pre-compute inferences that anticipate likely queries. Use when an agent accumulates redundant, overlapping experiences that must compress into stable, queryable patterns. NOT for one-shot agents (nothing to consolidate), NOT for the response hot path (consolidation is a background/idle job), NOT for facts that must stay individually addressable (consolidation merges them).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AnthonyAlcaraz/agentic-graph-rag-skills' skill-source

Use the complete skill-source/skills/memory/memory-consolidation directory with your client’s skill installer.

  • skills/memory/memory-consolidation

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/memory/memory-consolidation

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
2fa5904237bbba999e3a65ad39b3af5607da4617e101d9486d21374bfc4f9435
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills