maintaining-memory
CommunityKeep agent memories accurate and actionable.
Software Engineering#provenance#deduplication#spec-driven development#agent memory#retrieval ranking#workflow invariants
Authordavidlee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents agents from inheriting stale, wrong, or drifted memories by ensuring memory records are corrected whenever reality changes or guidance becomes inaccurate.
Core Features & Use Cases
- Memory drift detection: Identify impacted memories by path, commands, and domain tags, including renamed concepts via regex matching.
- Fast validation with provenance checks: Open candidate memories, compare their assertions against referenced sources, and fix or downgrade confidence when provenance is missing or stale.
- Minimal corrective edits with lifecycle hygiene: Update scope, ranking, de-duplicate overlaps, and aggressively move incorrect records to superseded/archived/obsolete to avoid harmful guidance.
- Retrieval quality control: Verify before/after ranking using the same list query parameters to ensure corrected memories surface first in the intended context.
Quick Start
Run maintaining-memory when you change a workflow, move or rename files, or notice an agent acting on an outdated memory, then re-list the affected context to confirm the corrected memory ranks above stale results.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: maintaining-memory Download link: https://github.com/davidlee/spec-driver/archive/main.zip#maintaining-memory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.