memory-consolidation SKILL.md skillA
memory-consolidation from amey-thakur/ai-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add amey-thakur/ai-skills/memory-consolidation@git:20260728.fe84bd4Pins git:20260728.fe84bd4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- amey-thakur/ai-skills
- Path
skills/ai-memory-rag/memory-consolidation/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260728.fe84bd4, committed Jul 28, 2026
- Size
- 1,958 bytes
- Repository stars
- 14
- License
- MIT
Periodically merge, deduplicate, and abstract accumulated memories so recall stays fast and coherent as volume grows. Use when a memory store has grown large and retrieval returns redundant or conflicting entries.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Memory consolidation Memory written incrementally accumulates duplicates, near-duplicates, and superseded facts. Consolidation is the background pass that turns a log of observations into a coherent store, which is what keeps retrieval useful at scale. ## Method 1. **Deduplicate on meaning, not on text.** Two differently worded records of the same fact are one fact, and near-duplicate detection is the bulk of the work. 2. **Merge with the strongest provenance.** When combining, keep the earliest establishment and the most recent confirmation, since both carry information. 3. **Abstract repeated specifics into a general fact.** Several observations of the same pattern become one statement, with the instances discardable. 4. **Resolve contradictions explicitly.** Prefer recent and user-stated over old and inferred, and record that a change happened rather than silently replacing (see long-term-user-memory). 5. **Run it as background work, not inline.** Consolidation is expensive and must not sit in the request path (see media-processing-queue for the analogous pattern). 6. **Keep the raw records until consolidation is verified.** A bad merge …
Read the whole file at its exact version.
How to install
mdr add amey-thakur/ai-skills/memory-consolidation@sha256:94c842da89170184The line at the top of this page pins the label git:20260728.fe84bd4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_dgiwqast7bgbhhk6)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 28, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1958 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
amey-thakur/ai-skills · 14 stars · license MIT · pushed 2026-09-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_dgiwqast7bgbhhk6 GET https://markdownregistry.com/api/v1/resolve?ref=amey-thakur/ai-skills/memory-consolidation GET https://markdownregistry.com/api/v1/blob/94c842da8917018453a9a845cb9a0687a5353a27768adf00921f780255fd72c6
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from amey-thakur/ai-skills
Every file in amey-thakur/ai-skills