meta-memory-review
Skill2 starsChanged 25 days agoMITView on GitHub
Periodic self-optimization of the memory STRUCTURE (not its content). Review tier layout, dedupe, prune, and re-index the memory system.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- advisorSkill
- agent-dispatchSkill
- arenaSkill
- audit-pypi-model-packageSkill
- branching-workflowSkill
- code-reviewSkill
- criticSkill
- cron-child-oauth-auditSkill
- daily-forestSkill
- deep-researchSkill
- diagnose-cron-timeoutSkill
- dreamingSkill
- eod-summarySkill
- filingSkill
- forest-synthesisSkill
- goalsSkill
- graph-hygieneSkill
- ideaSkill
- inline-tagsSkill
- intel-analyzerSkill
- longformSkill
- loop-experimentSkill
- loop-librarySkill
- office-hoursSkill
- open-loopsSkill
- plan-ceo-reviewSkill
- plan-design-reviewSkill
- prdSkill
- progressive-disclosureSkill
- reality-feedback-createSkill
- reality-review-weeklySkill
- recallSkill
- reconcile-extractionSkill
- redactSkill
- repo-auditSkill
- research-digestSkill
- review-gateSkill
- run-long-job-detachedSkill
- saveSkill
- scopeSkill
- self-auditSkill
- shadow-test-local-classifierSkill
- signal-scorerSkill
- skill-auditSkill
- skill-chainingSkill
- spawn-agent-in-tenantSkill
- spawn-tenantSkill
- split-log-rows-by-session-kindSkill
- subagent-delegationSkill
- telegram-dump-routerSkill
- telegram-reply-toolSkill
- verify-stackSkill
- wave-planSkill
- weekly-retroSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If substantive proposals found: write the full review to outputs/raw/agent/YYYY-MM-DD-meta-memory-review.md (frontmatter status: raw), then …
- Distinctive: line 28
NEVER auto-apply: Only after the operator approves specific proposals are they edited in.
- Distinctive: line 29
SILENT ON CLEAN: if no substantive proposal (a quiet week), log ONE line to session.jsonl and do NOT ping the operator.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meta-Memory Review
Purpose: periodic self-optimization of the memory STRUCTURE (not its content). A strong-model pass reads recent session trajectories + recurring-failure signals and PROPOSES concrete edits to the memory rules / schema / tiers. Proposals are surfaced to the operator; NEVER auto-applied (memory-rule/schema/tier edits are CONFIRM-gated).
Lift provenance: AutoMem (arXiv 2607.01224) loop-1 = "a strong LLM reviews complete agent trajectories and iteratively revises the memory structure." Take loop-1 (structure-revision-by-review) and SKIP loop-2 (RL fine-tuning, impossible on a frozen model). The problem it targets: "a single memory mistake hides long before it surfaces" = recurring drift / over-hardening / noop-loop pains, which more text-lessons have failed to fix.
Inputs (READ-ONLY)
logs/session.jsonl, last ~7 days of session events (categories, save extractions, failures, event mix).memory/Learnings.md, tail + scan for RECURRENCE markers ("Nx", "N-th occurrence", "3rd/4th instance"). Repeated failure modes are the highest-signal targets.logs/errors.jsonl+ skill-failure tracker (scripts/eval/skill_failure_tracker.pyoutput, or its store), skills failing 3x/14d.- reality-feedback ledger (
reality_feedback.sqliteif present), verdicts + friction signals. - The CURRENT rules to propose AGAINST:
skills/save/SKILL.md(extraction rules),memory/MEMORY.md(tier-1 index + bloat), frontmatter conventions acrossmemory/Context|Infra|Feedback.
Review lenses (produce proposals under each; SKIP a lens with no evidence)
- A. Extraction gaps: patterns that recurred in sessions but
save.mddid NOT capture, or mis-categorized. → propose a save.md rule edit. - B. Schema: frontmatter/format inconsistencies or a missing field that would improve recall/dedup. → propose the schema change.
- C. Tier misassignment: tier-1 (always-loaded) entries that are stale / low-value (every line is reply-cost tax), or tier-2 items that should be promoted. → propose move/prune (cross-check MEMORY.md detox + reaper history).
- D. Recurring-failure → STRUCTURAL guard (the AutoMem core): for each Learnings recurrence (e.g. over-hardening 4x, continue-turn-drop 3x), ask: is there a memory/skill STRUCTURE change (hook, gate, schema field, a load-order fix) that would actually guard it, versus appending an (N+1)th text lesson that already failed N times? Propose the structural fix.
Output + GATE
- If substantive proposals found: write the full review to
outputs/raw/agent/YYYY-MM-DD-meta-memory-review.md(frontmatterstatus: raw), then surface a CONCISE summary to the operator: the top 3-5 proposals, each = observed pattern + the specific edit + why. Ask which to apply. - NEVER auto-apply. Only after the operator approves specific proposals are they edited in.
- SILENT ON CLEAN: if no substantive proposal (a quiet week), log ONE line to session.jsonl and do NOT ping the operator. Evidence-gated (per the "no evidence-on-clean-path" rule). No noise.
Cadence
Weekly cron meta-memory-review-weekly (Sunday 05:00 local, strong model / high effort). Also manual via /meta-memory-review.
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.

