workflow-memory-curation
Skill1 starsChanged 6 months agoMITView on GitHub
Deliberately curate the always-in-context core-memory block at task boundaries — keep high-signal, evict stale.
In this repository33 other files it gives its agents.
- skill-process-gotchasSkill
- workflow-cache-disciplineSkill
- workflow-codegraphSkill
- workflow-conductorSkill
- workflow-context-condenserSkill
- workflow-context-hygieneSkill
- workflow-criticSkill
- workflow-deadline-disciplineSkill
- workflow-deep-researchSkill
- workflow-done-definitionSkill
- workflow-edit-formatSkill
- workflow-effort-routingSkill
- workflow-escalateSkill
- workflow-execute-from-planSkill
- workflow-filesystem-offloadSkill
- workflow-learn-frameworkSkill
- workflow-long-running-processesSkill
- workflow-lspSkill
- workflow-plan-contractSkill
- workflow-plan-firstSkill
- workflow-planSkill
- workflow-quality-barSkill
- workflow-repomapSkill
- workflow-retrieve-before-actSkill
- workflow-spec-drivenSkill
- workflow-stuck-detect-resetSkill
- workflow-stuckSkill
- workflow-subagent-isolationSkill
- workflow-subtask-loopSkill
- workflow-task-finishSkill
- workflow-task-startSkill
- workflow-tool-selectionSkill
- workflow-verify-enhancedSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 38
Add it: core_memory_append("<one crisp fact>").
- Distinctive: line 47
High-signal only: If it's derivable from the code or already in the KG, it doesn't belong in the always-in-context block.
≈ “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
<!-- TRIGGERS WHEN: "Deliberately curate the always-in-context core-memory block at task boundaries — keep high-signal, evict stale." version: 1.0.0 author: Hermes Max license: MIT -->Curate core memory (own your working memory)
Core memory is the small, always-in-context block of the highest-signal facts about the current project — conventions, gotchas, the architecture one-liner. It is size-bounded (it costs context on every turn), so it must be curated, not just accumulated. This is MemGPT's insight: the agent deliberately owns its working memory, distinct from the auto-accumulated KG triples and RAG chunks.
It is wired to Hermes's native MEMORY.md, so anything you put here is auto-loaded into context — one source of truth, no parallel store.
At task START
core_memory_get()— read the block to orient. Trust it, but verify any file/symbol it names still exists before acting (it reflects a past moment).
At task END / boundaries (the curation pass)
core_memory_get()and ask: what's the highest-signal thing learned this task that a future session must know (a convention, a non-obvious gotcha, a key decision)? Not routine facts — those belong in the KG / RAG.- Add it:
core_memory_append("<one crisp fact>"). If it's rejected for overflow, that's the signal to prune. - Prune / update:
core_memory_replace(old=..., new=...)to fix a stale fact, orcore_memory_replace(block="<the whole rewritten block>")to do a full curation pass — keep the few highest-signal facts, evict what's stale or now-obvious. Keep it well under the limit; tighter is better.
Rules
- High-signal only. If it's derivable from the code or already in the KG, it doesn't belong in the always-in-context block.
- Bounded. The append tool rejects overflow on purpose — respond by pruning, never by trying to grow the window.
- Deliberate. This is a conscious edit, not a dump. One good line beats five vague ones.
- This curation pass is itself a future GEPA optimization target (it improves with feedback over time).
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.

