Install
openclaw skills install memoria-systemManages AI assistant long-term memory with layered storage for facts, events, skills, context, and fast indexing, including backup and integrity tools.
openclaw skills install memoria-systemMemoria System is a comprehensive long-term memory management system designed for AI assistants. It implements a human-like cognitive memory architecture with distinct layers for different types of information.
The system organizes memory into five distinct types, mirroring human cognitive structures:
semantic/)Stores factual knowledge, concepts, and general information.
episodic/)Records events, experiences, and conversations with timestamps.
procedural/)Contains skills, workflows, and learned procedures.
working/)Holds current session context and active tasks.
index/)Provides fast lookup and search capabilities.
Creates incremental backups of the memory system.
Usage:
./memory-backup.sh [options]
Options:
--dry-run - Show what would be backed up without doing it--verbose - Show detailed output--path PATH - Override memory path--output PATH - Override backup destinationInitializes new memory structures or migrates existing ones.
Usage:
./memory-migrate.sh {init|daily [DATE]|migrate [VERSION]}
Commands:
init - Initialize memory structuredaily [DATE] - Create daily memory file (default: today)migrate [VERSION] - Migrate from specified versionRestores memory from a previous backup.
Usage:
./memory-rollback.sh {list|rollback BACKUP_NAME [--force]}
Commands:
list - List available backupsrollback BACKUP_NAME - Restore to specified backupOptions:
--force - Skip confirmation promptValidates memory integrity and optionally repairs issues.
Usage:
./memory-health-check.sh [options]
Options:
--fix - Automatically fix detected issues--path PATH - Override memory pathEdit config.json to customize behavior:
{
"memory": {
"base_path": "./memory",
"structure": { ... }
},
"backup": {
"enabled": true,
"retention_days": 30,
"schedule": "0 2 * * *"
},
"health_check": {
"auto_fix": false,
"check_interval_hours": 24
}
}
Add to crontab for automated maintenance:
# Daily backup at 2 AM
0 2 * * * cd /path/to/memoria-system && ./memory-backup.sh
# Weekly health check on Sundays at 3 AM
0 3 * * 0 cd /path/to/memoria-system && ./memory-health-check.sh --fix
openclaw skill install memoria-system
MIT