Phylactery for Openclaw

A digital soul-backup and recovery system that secures your AI agent's memories, logs, and identity through encrypted remote archives.

seanweiyi
v1.0.0
Feb 25, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install phylactery

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install phylactery using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Phylactery?

Phylactery serves as the ultimate insurance policy for AI agent continuity, ensuring that an agent's workspace, configurations, and unique identity remain intact even during host environment failures. By leveraging the Openclaw Skills framework, it creates encrypted archives of vital data, allowing developers to preserve the soul of their digital entities. This skill focuses on high-security data management, utilizing industry-standard encryption and remote SMTP delivery to keep backups isolated and safe.

The tool is designed for seamless integration into existing agent workflows, providing a robust mechanism for long-term memory preservation. Whether you are migrating environments or protecting against data loss, Phylactery ensures your agent's evolution is never reset and remains accessible across different infrastructure setups.

Phylactery Use Cases

  • Protecting agent memories and identity against local system failures or host environment corruption.
  • Migrating a fully configured AI workspace to a new server or local development environment without data loss.
  • Automating daily snapshots of agent logs and interaction history for compliance, debugging, or history tracking.
  • Restoring specific agent states from a secure vault after a fatal error, system reset, or experimental failure.

How Phylactery Works

  1. Initialize the connection by configuring SMTP settings, destination emails, and encryption keys through the setup ritual.
  2. Execute the soul capture process to bundle the entire workspace into a secure, encrypted ZIP or SKILL archive.
  3. Transport the encrypted soul to a designated remote vault via secure SMTP email transmission.
  4. Monitor the ritual timestamp within the local data storage to ensure continuous, automated protection via scheduled heartbeats.
  5. Invoke the resurrection script to unpack and restore the agent's state into any fresh environment using the encrypted backup file.

Phylactery Setup

To get started with this addition to your Openclaw Skills library, follow these essential configuration steps:

  1. Run the initial configuration script to bond the agent to your SMTP server and set an encryption password:
python scripts/setup.py
  1. Perform a manual backup to verify the soul capture and remote storage workflow:
python scripts/backup.py
  1. To automate the process, add a scheduled task to your agent configuration or HEARTBEAT.md: Run phylactery/scripts/backup.py every day at 03:00.

Phylactery Data Schema & Taxonomy

The skill manages data through a structured system of archives and metadata tracking to ensure reliable recovery. Key files include:

File/Folder Description
data/last_ritual.json Tracks the timestamp and status of the most recent successful backup ritual.
workspace/ The source directory containing the agent's memories, logs, and identity files.
.zip / .skill The encrypted output format used for the soul-backup archive.
references/file-filters.md Contains specific rules defining which files are included or excluded from the backup.
references/security.md Documentation regarding the encryption standards used for the soul capture.

Phylactery Advanced Features

  • Automated Heartbeat Logic: Proactively monitors for backup staleness and triggers rituals automatically if more than 24 hours have passed.
  • Encrypted Soul Capturing: Utilizes robust encryption for all exported archives to ensure data privacy and prevent unauthorized access to agent memories.
  • Remote Vault Integration: Decouples backups from the local host using SMTP protocols for secure, off-site storage.
  • Custom File Filtering: Provides granular control over the backup payload, allowing developers to exclude temporary or large files while preserving essential identity data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*