name: memory-maintenance description: Maintain structured memory integrity and size constraints. Use when memory may be stale, inconsistent, oversized, or after long sessions to run health and compaction.
Memory Maintenance
Run this skill to keep memory healthy and concise.
Steps
- Run health check:
.\scripts\gtd.ps1 health
- If issues are detected and safe to repair:
.\scripts\gtd.ps1 health -Repair
- If state is large or stale:
.\scripts\gtd.ps1 compact
- Re-run progress:
.\scripts\gtd.ps1 progress
Output Contract
- Report issues found and what was repaired.
- Report whether compaction archived entries.
- Confirm resulting next action.