memory-integrity-checker

Installation
SKILL.md

Memory Integrity Checker

What it does

As memory DAGs grow through compaction, they can develop structural problems: orphan nodes with no parent, circular reference loops, summaries that inflated instead of compressing, broken lineage chains, and stale nodes that should have been dissolved. These problems silently corrupt the agent's memory.

Memory Integrity Checker runs 8 structural checks on the DAG, generates a repair plan, and optionally auto-fixes safe issues.

Inspired by lossless-claw's DAG integrity checking system, which detects and repairs corrupted summaries.

When to invoke

  • Automatically Sundays at 3am (cron) — weekly structural audit
  • After a crash or unexpected shutdown — check for corruption
  • When the agent's memory seems inconsistent — diagnose structural issues
  • Before a major compaction or prune operation — ensure clean starting state

Integrity checks (8 total)

Related skills
Installs
15
GitHub Stars
61
First Seen
Mar 21, 2026