agent-memory-ops
Skill34 starsChanged 37 days agoMITView on GitHub
Maintain durable agent rules separately from episodic context and keep a compact memory index.
In this repository31 other files it gives its agents.
- .github/AGENTS.mdAGENTS.md
- tui/AGENTS.mdAGENTS.md
- actionability-passSkill
- blocked-page-retrievalSkill
- brain-consistency-auditorSkill
- brainstorm-panelSkill
- concurrent-push-integrationSkill
- curation-auditSkill
- decomposed-local-researchSkill
- dual-model-reconciliationSkill
- eval-integritySkill
- file-organizationSkill
- fleet-model-routingSkill
- fleet-operational-runbookSkill
- generate-review-fix-loopSkill
- guard-target-correctnessSkill
- honesty-stop-gateSkill
- large-file-cartographerSkill
- local-lane-build-loopSkill
- local-model-onboardingSkill
- model-routing-tableSkill
- multi-agent-code-workflowSkill
- peer-drop-watcherSkill
- protected-function-guardSkill
- research-dispatchSkill
- research-verificationSkill
- research-workflowSkill
- shared-brain-bookkeepingSkill
- should-weSkill
- task-dependency-sequencingSkill
- verify-running-buildSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Put a durable rule only in the durable tier.
- Distinctive: line 14
Before creating a memory, search for an existing entry and update it when it covers the same subject.
- Distinctive: line 15
Keep one durable fact per entry, with a stable identifier, a short retrieval-oriented description, type metadata, and application guidance …
- Distinctive: line 16
Keep the memory index as pointers only.
- Distinctive: line 17
Do not store facts already reliably represented by source control or the repository unless a cross-session decision needs explanation.
≈ “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
Agent Memory Operations
Memory tiers
- Durable tier: standing rules, decisions, preferences, and non-obvious facts that must survive sessions. This is the authoritative tier.
- Episodic tier: temporary observations, session signals, and supporting evidence. It is not the place for binding rules.
Rules
- Put a durable rule only in the durable tier; never rely on an episodic note to carry a binding instruction.
- Before creating a memory, search for an existing entry and update it when it covers the same subject.
- Keep one durable fact per entry, with a stable identifier, a short retrieval-oriented description, type metadata, and application guidance where useful.
- Keep the memory index as pointers only. Put substantive content in the individual entry.
- Do not store facts already reliably represented by source control or the repository unless a cross-session decision needs explanation.
Pitfalls
- Duplicating a rule with slightly different wording.
- Putting full memory content in an index file.
- Saving transient conversation detail that will create noisy retrieval.
Verification checklist
- The information was classified as durable or episodic.
- Existing coverage was checked.
- Durable entries have required metadata and a concise index pointer.
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.

