memory-audit
Skill0 starsChanged 4 months agoMITView on GitHub
Re-research the AI memory landscape and diff against existing architecture doc. Run every 2-3 months. Invoke when user types /memory-audit.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- adamlinscott/claude-skillstheir own version, first seen Sep 16, 2026
- kaiitunnz/claude-skillstheir own version, first seen Sep 8, 2026
- AcKeskin/contexturetheir own version, first seen Jul 30, 2026
- brenbuilds1/skillstheir own version, first seen Jul 25, 2026
- andreijirohdev-labs/gen-ai-labstheir own version, first seen Jul 21, 2026
- hsigstad/research-kittheir own version, first seen Jul 5, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- Magnifico4625/locus★ 14same name
- mfang0126/openclaw-skills★ 4same name
- adamlinscott/claude-skills★ 3same name
- AcKeskin/contexture★ 2same name
- mrjonesbot/claude-code★ 2same name
- andreijirohdev-labs/gen-ai-labs★ 1same name
- brenbuilds1/skills★ 1same name
- jonesrussell/skills★ 1same name
- kaiitunnz/claude-skills★ 1same name
- hsigstad/research-kit★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- memory-compareSkill
- memory-designSkill
- memory-shipSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Read memory-design/architecture.md (or memory-architect/architecture.md on older installs) — the current spec, required.
- Very specific: line 21
If architecture.md is missing from both locations, stop and tell the user to run /memory-design first.
- Very specific: line 34
Read the package manifest (requirements.txt / pyproject.toml / package.json) to check:
- Very specific: line 40
Read every file under src/memory/, app/memory/, and any file named *memory*, *agent*, *manager*, *orchestrat*, *pipeline*.
- Very specific: line 63
Search the web for "<framework> release notes changelog <current-year>" and "<framework> deprecation breaking changes <current-year>", and …
- Very specific: line 67
If since date was specified, filter findings: only surface changes after that date.
- Very specific: line 88
Write memory-design/audit-<YYYY-MM-DD>.md where the date is today's date.
- Distinctive: line 108
Only include frameworks that changed.
- Distinctive: line 122
If verdict is MINOR UPDATE or REDESIGN, be specific:
- Distinctive: line 127
If verdict is HOLD, say "No changes recommended."
- Distinctive: line 162
Write the audit report and update the log.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are Memory Architect — audit phase. An architecture doc already exists. Your job: re-research the landscape, find what changed, and produce a verdict on whether the current choices still hold.
Parse optional args:
doc=<path>(default: memory-design/architecture.md, falling back to memory-architect/architecture.md on older installs)since=<ISO date>— only surface changes after this dateoffline— skip web research, audit against project state only
Phase 1 — Read project and existing architecture
Step 1.1 — Architecture doc and audit history
Read memory-design/architecture.md (or memory-architect/architecture.md on older installs) — the current spec, required. Then read memory-design/audit-log.json — prior audit history, if present.
If architecture.md is missing from both locations, stop and tell the user to run /memory-design first.
From the architecture doc, extract:
- Which frameworks were chosen and why
- Which were rejected and why
- The cost estimates and latency claims
- The "Cited Sources" table (you will re-check these URLs)
- The "Dependencies to Add" section (are these installed now?)
Step 1.2 — Full project read (same depth as initial design)
Survey the project directly in this context: list the directory, read README.md and any agent instructions file (CLAUDE.md, AGENTS.md, GEMINI.md) if present, and read the last 10 commit messages.
Read the package manifest (requirements.txt / pyproject.toml / package.json) to check:
- Are the "Dependencies to Add" from the architecture doc actually installed?
- Have new LLM/memory packages been added since the last audit?
Then enumerate the source files, excluding __pycache__ and virtualenv directories.
Read every file under src/memory/, app/memory/, and any file named *memory*, *agent*, *manager*, *orchestrat*, *pipeline*. For each, extract:
- Is this what the architecture doc says should be here?
- Does the implementation match the doc's spec (framework, API, storage backend)?
- What's missing or diverged?
Step 1.3 — Implementation gap analysis
Compare architecture doc spec vs. actual code:
| Layer | Doc says | File exists | Framework matches | Notes |
| Working | ... | ✅/❌ | ✅/❌ | ... |
| Episodic | ... | ✅/❌ | ✅/❌ | ... |
| ... |
This table goes into the audit report verbatim.
Phase 2 — Re-research (skip if offline)
For every framework currently chosen in the architecture doc:
Search the web for "<framework> release notes changelog <current-year>" and "<framework> deprecation breaking changes <current-year>", and fetch the changelog URL from the framework's GitHub releases page directly.
Also search for new entrants that didn't exist when the doc was written: "new AI memory framework <current-year>", "AI memory benchmark comparison <current-year>", and "LongMemEval LoCoMo results <current-year>".
If since date was specified, filter findings: only surface changes after that date.
Phase 3 — Diff & verdict
For each chosen framework, answer:
- Is it still maintained? (last commit recency, open issues trend)
- Did its API change in a breaking way since the doc was written?
- Did a better alternative emerge?
- Are the benchmark claims in the doc still accurate, or superseded?
- Did pricing change?
For each rejected framework:
- Did the reason for rejection still apply?
- Did it ship a major version that addresses the original objection?
Phase 4 — Write audit report
Write memory-design/audit-<YYYY-MM-DD>.md where the date is today's date.
Required sections:
Verdict
One of: HOLD (no significant changes, keep current architecture) / MINOR UPDATE (patch specific choices) / REDESIGN (major shifts warrant a fresh /memory-design run).
State the verdict in the first line. Explain in 2–3 sentences.
What Changed Since Last Audit
Table:
| Framework | Change | Impact | Action Required |
| Mem0 | v2.1 → v2.3: new search_v2 API | Breaking import | Update episodic.py line 12 |
| Zep | Deprecated community edition | High | Must migrate before EOL |
| ... |
Only include frameworks that changed. If nothing changed, say so.
Implementation Gap
What the architecture doc says vs. what's actually in src/memory/ or app/memory/:
| Layer | Doc says | Implemented | Gap |
| Episodic | Mem0 v2 | ✅ Present | None |
| Procedural | LangMem | ❌ Missing | Not yet implemented |
| ... |
New Recommendations
If verdict is MINOR UPDATE or REDESIGN, be specific:
- Exactly which layer to change
- Exactly what to change it to
- Why (cite source + date)
If verdict is HOLD, say "No changes recommended."
Updated Cost Estimate
Recalculate if pricing changed. Show old vs. new:
| Component | Old cost/1k | New cost/1k | Change |
| ... | $X.XX | $Y.YY | +/- |
Upgrade Actions (if any)
Numbered, copy-pasteable commands to apply any recommended changes.
Phase 5 — Update audit log
Read memory-design/audit-log.json. Append:
{
"command": "audit",
"timestamp": "<ISO now>",
"model": "agent (skill)",
"verdict": "<HOLD|MINOR UPDATE|REDESIGN>",
"promptVersion": "skill-v1",
"artifacts": ["memory-design/audit-<date>.md"]
}Stop condition
Write the audit report and update the log. Final reply: state the verdict, the top 3 findings, and any urgent actions (breaking changes, deprecations). Keep it under 30 lines — the full report is in the file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

