SkillHub

memory-audit-guardian

v1.0.0

Weekly memory governance audit for OpenClaw. Use when user asks to audit/optimize memory quality, reduce token overhead, verify MEMORY/TOOLS/AGENTS role boundaries, validate QMD routing quality, or run a periodic memory health check.

Sourced from ClawHub, Authored by markisadesigner1992-eng

Installation

Please help me install the skill `memory-audit-guardian` from SkillHub official store. npx skills add markisadesigner1992-eng/memory-audit-guardian

Memory Audit Guardian

Run a structured memory-system audit and output an actionable weekly report.

Audit Scope

  1. File-role boundaries
  2. SOUL: persona only
  3. USER: user profile only
  4. MEMORY: durable high-value facts only
  5. daily memory: event logs
  6. TOOLS: execution rules
  7. AGENTS: governance/policy
  8. Size & token budget
  9. Core files total target: 8-10KB (soft target)
  10. MEMORY.md warning threshold: >3KB
  11. QMD routing quality
  12. Ensure MEMORY contains only QMD entry + protocol + 20-40 anchors
  13. Reject full keyword dumps in MEMORY
  14. Retrieval discipline
  15. top-k 3-5 snippets
  16. no full-document dump unless explicitly requested

Procedure

  1. Read core files: SOUL.md, USER.md, MEMORY.md, TOOLS.md, AGENTS.md
  2. Compute file sizes and detect threshold breaches
  3. Detect duplication/conflict across files
  4. Check MEMORY for noise patterns (long lists, stale one-offs)
  5. Verify QMD routing fields exist and are minimal
  6. Produce report with:
  7. score (A/B/C)
  8. risks
  9. fixes this week
  10. add-3/remove-3 keyword suggestions

Output Format

  • Executive summary (5 lines max)
  • Findings:
  • role-boundary issues
  • size/token risks
  • QMD routing issues
  • Action plan (this week)
  • Report path suggestion: memory/memory-audit-YYYY-WW.md

Guardrails

  • Do not overwrite user files without explicit request.
  • Prefer append/update with minimal edits.
  • Keep MEMORY concise; move detail to references or daily logs.