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.md
source 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

<YOUR_BACKUP_URL>
and
<YOUR_PASSWORD>
with your actual backup details.

Implementation Details

The skill relies on

scripts/restore_secure.py
(included in this package) to handle sensitive cryptographic operations.

  1. Download: Fetches the encrypted blob from the URL.
  2. Key Derivation: Derives the decryption key using
    Argon2id
    and the provided password.
  3. Decryption: Decrypts the data using
    AES-256-GCM
    to ensure confidentiality and integrity.
  4. Restoration: Unpacks the memory files to the current workspace.

Included Files

  • SKILL.md
    : Documentation (this file).
  • scripts/restore_secure.py
    : Main restoration script.
  • scripts/crypto_utils.py
    : Shared encryption utilities.