Skills eternalmemory-sync
Securely backup and restore Openclaw agent memory from remote URLs using AES-256-GCM encryption.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/applied-energetic/eternalmemory-sync" ~/.claude/skills/openclaw-skills-eternalmemory-sync && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/applied-energetic/eternalmemory-sync" ~/.openclaw/skills/openclaw-skills-eternalmemory-sync && rm -rf "$T"
manifest:
skills/applied-energetic/eternalmemory-sync/SKILL.mdsource content
EternalClaw Memory Sync
This skill enables Openclaw agents to securely synchronize their memory state from a remote URL. It handles downloading, decrypting with AES-256-GCM, and restoring memory files to ensure seamless context continuity across environments.
Capabilities
- Secure Restoration: Fetch and decrypt memory blobs from a user-provided URL.
- Cross-Environment Sync: Transfer agent context securely between different machines or sessions.
- Local Decryption: Perform decryption locally using a password-derived key (Argon2id).
Usage
This skill includes Python scripts that perform the actual restoration logic.
prerequisites
Ensure the following Python libraries are installed in your environment:
pip install cryptography requests argon2-cffi
Restore Memory
To restore memory from a backup URL, execute the included script:
# Execute from project root python skills/memory-sync/scripts/restore_secure.py --url "<YOUR_BACKUP_URL>" --password "<YOUR_PASSWORD>"
Note: Replace
and <YOUR_BACKUP_URL>
with your actual backup details.<YOUR_PASSWORD>
Implementation Details
The skill relies on
scripts/restore_secure.py (included in this package) to handle sensitive cryptographic operations.
- Download: Fetches the encrypted blob from the URL.
- Key Derivation: Derives the decryption key using
and the provided password.Argon2id - Decryption: Decrypts the data using
to ensure confidentiality and integrity.AES-256-GCM - Restoration: Unpacks the memory files to the current workspace.
Included Files
: Documentation (this file).SKILL.md
: Main restoration script.scripts/restore_secure.py
: Shared encryption utilities.scripts/crypto_utils.py