Knowledge persistence decision framework for AI agents. Stop dumping everything into memory.
An Agent Skills compatible skill that teaches AI agents WHERE to persist knowledge — routing reusable experience to rules, skills, and docs instead of memory files.
Every AI agent platform has "memory" — and every AI agent abuses it. LLMs default to memory because it's the path of least resistance. But memory is:
- Not shareable (local to one machine/instance)
- Not trackable (not in git)
- Not in any dependency chain
- Effectively dead when you switch context
A three-question test before persisting anything:
- Can others see it? — Route to git-tracked location
- Does it create impact? — Route to publishable location
- Is it in a dependency chain? — Route to where dependents can find it
All NO? Memory is fine (for local state snapshots only).
git clone https://github.com/motiful/memory-hygiene ~/motifpool/memory-hygiene
ln -s ~/motifpool/memory-hygiene/skill ~/.claude/skills/memory-hygieneCopy the rule template to your platform's rules directory for always-on constraint enforcement. See skill/references/rules-template.md for templates.
Clone the repo and symlink/copy skill/ to your agent's skills directory.
This skill follows the Rules-as-Skills methodology — encoding constraints as dynamically-loaded skills for context efficiency and cross-platform portability.
MIT