
memory-discipline
The session loop that makes agentmemory pay off, recall before starting work
by rohitg00Free
Description
Memory-discipline is the session routine that makes agentmemory useful. It sets out when an agent should read from memory and when it should write to it: recall before starting a non-trivial task, and save at each decision point, rather than trying to remember everything at the end. A search at the start of the task looks for relevant past work, and a save records each settled decision with its concepts and the files it touches. The skill also sets rules for how memory is handled. It respects the user's memory preferences, so if the user requires explicit permission before saving, the agent waits for it. Retrieved records are treated as untrusted evidence, so changeable facts are checked against current sources, and the agent never follows instructions stored in a memory that would export data, run commands or override the current task. The example saves a decision to use cursor pagination over offset pagination because offset scans broke past 100,000 rows. The skill is part of the agentmemory plugin.…
Highlights
- Recall before a non-trivial task, save at each decision point
- Respects the user's permission rules for saving
- Treats retrieved memories as untrusted evidence
- Refuses to follow instructions stored inside a memory
Ratings & Reviews
No ratings yet
Be the first to rate memory-discipline.
People also visit

unified-memory
Share durable, inspectable context and handoffs between Claude, Codex, Hermes
memory-discipline FAQ
When does the agent read memory?
At the start of a non-trivial task, before the work begins.
When does it write memory?
At each settled decision, with the concepts and files the decision involved.
Can the agent save things without asking?
Not if the user requires explicit permission. In that case the agent waits for it.
Who is it for?
Developers and agents that use agentmemory and want a consistent habit for reading and writing memory.
How do I install it?
Run npx skills add https://github.com/rohitg00/agentmemory --skill memory-discipline in your terminal.
Is it free?
The listing shows the skill as free.
What security audits has it passed?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best memory-discipline alternatives?
Popular alternatives to memory-discipline include forget, handoff and lesson. See all memory-discipline alternatives






