agent-memory
Installation
SKILL.md
Agent Memory
Scope
Session Workspace
Writing
- Record autonomously: after a tool error with a durable fix, when the user states a rule ("when I say X, do Y"), or when asked to remember.
- CHK: Read the target section first — update an existing line instead of appending a duplicate.
- GUARD: Rules come from the user; lessons come from experience. Never invent either.
Promotion & lint
- A lesson that proves out 2–3 uses → promote it into wiki-schema (conventions live there), then remove the memory line.
- On lint passes (user-gated): prune superseded lessons, completed or cancelled tasks, and one-offs that never fired again.