phylactery
by seanweiyi
Web & Frontend DevelopmentBrief
A digital soul-backup and recovery system.
Description
What This Skill Does
Phylactery backs up an agent's workspace, memories, and identity into an encrypted archive and sends it to a remote email destination. It supports scheduled automatic backups and includes scripts to restore a backup into a new environment.
Encrypts and emails the full workspace automatically, so backups don't require manual file management or a separate cloud storage account.
When to Use It
- Backing up agent memory before switching environments
- Recovering a workspace after host machine failure
- Scheduling nightly backups of agent identity and logs
- Restoring an agent to a new machine from a previous archive
- Preserving configuration state before a risky experiment
Example Workflow
User asks: back up my agent workspace and send it to my vault email
- 1
Run scripts/setup.py to configure SMTP credentials, destination email, and encryption password
- 2
Check data/last_ritual.json to see when the last backup occurred
- 3
Run scripts/backup.py to bundle the workspace/ directory into an encrypted archive
- 4
Send the archive to the configured destination email via SMTP
Encrypted workspace archive delivered to vault email; last_ritual.json updated with current timestamp
Requirements
- SMTP server credentials (host, port, username, password)
- Destination email address for receiving backups
- Encryption password for archive protection
Installation
clawhub install seanweiyi/phylacteryRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.