savestate
Time Machine for AI. Encrypted backup, restore, and cross-platform migration for your agent's memory and identity. Supports OpenClaw, ChatGPT, Claude, Gemini, and more. AES-256-GCM encryption with user-controlled keys.
Why use this skill?
Secure, versioned backups for your AI agents. Migrate identities, protect memory with AES-256-GCM encryption, and restore states across OpenClaw, Claude, and more.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dbhurley/savestateWhat This Skill Does
SaveState acts as a comprehensive version control system for your AI agent's "brain." By creating encrypted point-in-time snapshots of your agent's identity, memory, and configuration, it ensures that your AI remains consistent and recoverable. It effectively transforms your AI's ephemeral memory into a persistent, portable asset. Utilizing AES-256-GCM encryption, SaveState ensures that your sensitive data remains private, giving you full control over your cryptographic keys. It supports a wide ecosystem of AI platforms, allowing you to move your agent's personality and gathered knowledge across different architectures seamlessly.
Installation
To install the SaveState CLI, you can use several package managers depending on your environment:
- NPM:
npm install -g @savestate/cli - Homebrew:
brew tap savestatedev/tap && brew install savestate - Manual:
curl -fsSL https://savestate.dev/install.sh | sh
Once installed, initialize the tool within your agent's directory using savestate init to set up your encryption environment and local .savestate/ directory.
Use Cases
- Platform Migration: Transition your existing AI agent persona and learned memory from a ChatGPT-based workflow to an OpenClaw or Claude Code environment without losing context.
- Experiment Rollback: If a new system prompt or configuration change degrades your agent's performance, quickly restore a previous "stable" snapshot.
- Backup and Recovery: Protect against accidental deletion or corruption of critical memory files like
SOUL.mdorIDENTITY.md. - Device Syncing: Use the Pro/Team cloud storage features to keep your AI identity synced across multiple workstations or environments.
Example Prompts
- "SaveState, create a new snapshot named 'Pre-Refactor-Session' so I can test these new agent system prompts."
- "List all recent backups and tell me the difference in memory file size between last night's snapshot and the current state."
- "Migrate my current agent memory and identity to the Claude platform format."
Tips & Limitations
- Security: Your encryption key is non-recoverable by design. Always store your key in a secure, offline password manager; if you lose it, your backups are permanently inaccessible.
- Incremental Efficiency: Take advantage of incremental snapshots for daily backups to save space, but perform a 'full' snapshot before major configuration changes.
- Platform Compatibility: While SaveState facilitates migration, be aware that some AI platforms may have specific metadata constraints that limit complete feature parity during cross-platform imports. Always verify critical memory logs after a migration.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dbhurley-savestate": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
daily-recap
Generate a daily recap image with your agent holding a posterboard of accomplishments. Cron-driven, weather-aware, customizable to any agent identity.
plex
Control Plex Media Server - browse libraries, search, play media, manage playback.
cloudflare
Cloudflare CLI - manage DNS records, purge cache, and control Workers routes.
grocery-list
Standalone grocery lists, recipes, and meal planning with local storage. No external service required.
otter
Otter.ai transcription CLI - list, search, download, and sync meeting transcripts to CRM.