| name | memory-sleep |
| description | Trigger global memory maintenance (global_sleep). This performs index compaction,
knowledge file splitting, cross-reference maintenance, and cleanup.
Only needed periodically or when memory feels cluttered.
|
| allowed-tools | ["Agent"] |
Trigger global memory maintenance:
Pass this request to the memory-agent subagent:
{
"type": "global_sleep",
"memoryDir": "!`echo $HOME/.aria-memory`"
}
This will perform the 7-step maintenance process:
- Backup index.md
- Compact index.md (capacity-based cleanup)
- Expire old reminders and archive old impressions
- Split/merge knowledge files
- Self-audit index quality
- Update personality.md
- Update meta.json
Report a summary of what was done.