memory-hygiene

Installation
SKILL.md

COG Memory Hygiene Skill

Purpose

Prevent the stale-but-confident failure mode: a memory or knowledge note that was correct when written ("the webhook lives at X", "the board ID is Y") silently drifts after the environment changes, yet still ranks high at recall and gets acted on.

The system move (adapted from "From Model Scaling to System Scaling: Scaling the Harness in Agentic AI", Gu, UC Berkeley, arXiv:2605.26112): make trust a runtime decision, not a property of the stored item. Re-verify against the live environment, and keep per-entry last_verified and confidence as first-class fields so future recalls can weigh trust.

When to Invoke

  • /memory-hygiene
  • "Audit my memories" / "check for stale memories"
  • After a memory misfires (a recalled fact turned out wrong)
  • Default cadence: monthly

Scope

Sweep two stores:

Installs
74
GitHub Stars
1.2K
First Seen
Jul 14, 2026
memory-hygiene — huytieu/cog-second-brain