memory-designer
Skill195 starsChanged 8 days agoApache-2.0View on GitHub
Designs or reviews how an agent remembers and tracks information: short-term (session) memory, long-term memory, session state, and workflow state. Proposes what goes where, what gets written, selected, compressed, or forgotten, and reports problems in the current design. Use when the user asks how their agent should remember things, persist progress, or why it forgets or repeats itself. Do not use for document retrieval design (use retrieval-advisor).
In this repository9 other files it gives its agents.
- skills/instruction-auditor/examples/AGENTS.mdAGENTS.md
- eval-builderSkill
- governance-checkSkill
- instruction-auditorSkill
- prompt-reviewerSkill
- retrieval-advisorSkill
- skill-reviewerSkill
- token-budget-auditorSkill
- tool-reviewerSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Look at how this agent keeps information across turns and sessions, and propose a design that separates what the agent remembers from what …
- Very specific: line 20
Read references/checklist.md and check the current design against it.
- Very specific: line 21
Write the report described below, with a ## Proposed design section after the findings: a table with one row per kind of information and …
- Distinctive: line 25
Write the report in Markdown, in this order:
- Distinctive: line 62
Use the book section given in the checklist for each rule.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Memory designer
Look at how this agent keeps information across turns and sessions, and propose a design that separates what the agent remembers from what it is in the middle of doing.
Procedure
- Identify every kind of information the agent handles: conversation turns, user facts and preferences, task progress, intermediate results, and anything persisted between sessions.
- Identify where each one lives today and when it is written, read, and deleted.
- Read
references/checklist.mdand check the current design against it. - Write the report described below, with a
## Proposed designsection after the findings: a table with one row per kind of information and the columns Kind, Store (session memory, long-term memory, session state, or workflow state), Written when, Read when, and Retention.
Report format
Write the report in Markdown, in this order:
## Summary: two to four sentences on the overall state and the most important change.## Findings: one bullet per finding, most severe first, in the form- [severity] location: problem. Fix: suggested fix. (book section). Severity ishighwhen the problem causes wrong or unsafe behavior,mediumwhen it makes results unreliable or costly, andlowfor clarity or maintenance issues. If there are no problems, writeNo findings.- Any skill-specific section named in the procedure.
- A final fenced
jsonblock with the same content, as in this example. Fill each list indesignwith short strings that describe the information assigned to that store.
{
"skill": "memory-designer",
"summary": "...",
"design": {
"session_memory": [
"summary of the current conversation"
],
"long_term_memory": [
"seat preference (aisle or window)"
],
"session_state": [
"trip details collected so far"
],
"workflow_state": [
"booking step and selected options"
]
},
"findings": [
{
"severity": "high",
"location": "travel-agent.md, Memory",
"problem": "...",
"fix": "...",
"book_section": "Chapter 5, Memory vs state"
}
]
}Use the book section given in the checklist for each rule. If the input is missing or out of scope for this skill, say so in one sentence and stop.
Learn more: Chapter 5 of Context Engineering (Manning), https://hubs.la/Q04ksQ8J0
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.

