Agent Memory Hygiene

Keep an agent's persistent memory trustworthy — every entry has provenance, entries expire and get re-verified, secrets never land in memory, and untrusted content is never stored as fact — so recall stays reliable instead of slowly poisoning the agent. Use this when agents write to and read from a long-lived memory store, when old remembered "facts" start misleading current runs, when memory grows without bound, or when you worry a prompt injection could persist into memory. The recall a stale or poisoned memory returns is worse than no memory at all.

sharp-skills Updated

File contents

sharp-skills/skills/tree/main/skills/agent-memory-hygiene commit 730370fc28

Frequently asked questions

npx skillmds@latest add sharp-skills/agent-memory-hygiene