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.

16 stars

Best use case

savestate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using savestate should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/savestate/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/savestate/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/savestate/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How savestate Compares

Feature / AgentsavestateStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# SaveState — Time Machine for AI

SaveState creates encrypted point-in-time snapshots of your AI agent's state — memory, identity, conversations, and configuration. Unlike live-sync tools, SaveState gives you versioned backups you can restore, compare, and migrate across platforms.

**Key differentiators:**
- 🔐 AES-256-GCM encryption with user-controlled keys
- 🔄 Cross-platform migration (ChatGPT → Claude → OpenClaw, etc.)
- 📊 Incremental snapshots with diff comparison
- ⏰ Scheduled automatic backups (Pro/Team)
- ☁️ Cloud storage with zero-knowledge encryption (Pro/Team)

## Installation

```bash
# npm
npm install -g @savestate/cli

# Homebrew
brew tap savestatedev/tap && brew install savestate

# Direct install
curl -fsSL https://savestate.dev/install.sh | sh
```

## Quick Start

### Initialize (first time)
```bash
savestate init
```

This creates a `.savestate/` directory with your encryption key. **Back up your key** — it's the only way to decrypt your snapshots.

### Create a snapshot
```bash
savestate snapshot
```

Captures your current agent state to an encrypted archive.

### List snapshots
```bash
savestate list
# or
savestate ls
```

### Restore from snapshot
```bash
# Restore latest
savestate restore

# Restore specific snapshot
savestate restore ss-2026-02-01T12-00-00
```

### Compare snapshots
```bash
savestate diff ss-2026-01-15 ss-2026-02-01
```

## Platform Adapters

SaveState works with multiple AI platforms:

| Platform | Adapter | Capabilities |
|----------|---------|--------------|
| **OpenClaw** | `openclaw` | Full backup & restore |
| **Claude Code** | `claude-code` | Full backup & restore |
| **OpenAI Assistants** | `openai-assistants` | Full backup & restore |
| **ChatGPT** | `chatgpt` | Export + memory restore |
| **Claude.ai** | `claude` | Export + memory restore |
| **Gemini** | `gemini` | Export (via Takeout) |

List available adapters:
```bash
savestate adapters
```

## Cross-Platform Migration

Migrate your AI's identity between platforms:

```bash
# Migrate from ChatGPT to Claude
savestate migrate --from chatgpt --to claude

# Restore a ChatGPT snapshot to OpenClaw
savestate restore ss-chatgpt-2026-01-15 --to openclaw
```

## Cloud Storage (Pro/Team)

With a Pro ($9/mo) or Team ($29/mo) subscription:

```bash
# Login to SaveState cloud
savestate login

# Push snapshots to cloud
savestate cloud push

# Pull from cloud on new device
savestate cloud pull

# Schedule automatic backups
savestate schedule --every 6h
```

Sign up at https://savestate.dev

## What Gets Backed Up

### OpenClaw/Clawdbot
- `SOUL.md`, `IDENTITY.md`, `USER.md` — Identity files
- `MEMORY.md`, `memory/*.md` — Memory and daily logs
- `TOOLS.md`, `HEARTBEAT.md` — Configuration
- `skills/` — Installed skills and customizations
- Session transcripts (optional)

### Claude Code
- `CLAUDE.md` — System prompt
- `.claude/` — Settings and memory
- Project manifest and todos

### ChatGPT/Claude.ai/Gemini
- Conversation history export
- Custom instructions / system prompts
- Memory entries

## Automation Examples

### Cron backup (OpenClaw heartbeat)
Add to `HEARTBEAT.md`:
```
## SaveState backup check
- If more than 24h since last snapshot, run: savestate snapshot
- Check with: savestate ls --json | jq '.[0].timestamp'
```

### Pre-migration checklist
Before switching platforms:
1. `savestate snapshot` — Create fresh backup
2. `savestate cloud push` — Sync to cloud (if Pro)
3. `savestate migrate --from X --to Y` — Run migration

## Security

- **Encryption**: AES-256-GCM with Argon2id key derivation
- **Zero-knowledge cloud**: We only store encrypted blobs
- **User-controlled keys**: You own your encryption key
- **No telemetry**: CLI doesn't phone home

## API Reference

```bash
savestate --help              # Show all commands
savestate <command> --help    # Command-specific help
savestate --version           # Show version (currently 0.4.2)
```

## Links

- **Website**: https://savestate.dev
- **GitHub**: https://github.com/savestatedev/savestate
- **npm**: https://npmjs.com/package/@savestate/cli
- **Support**: hello@savestate.dev

## Comparison: SaveState vs Live-Sync

| Feature | SaveState | Live-sync tools |
|---------|-----------|-----------------|
| Point-in-time restore | ✅ | ❌ |
| Version history | ✅ | ❌ |
| Cross-platform migration | ✅ | ❌ |
| Snapshot comparison | ✅ | ❌ |
| Multi-platform support | ✅ 6 platforms | Usually 1 |
| Continuous sync | ❌ (scheduled) | ✅ |

SaveState is complementary to live-sync — use both for maximum protection.

Related Skills

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

skill-coach

16
from diegosouzapw/awesome-omni-skill

Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices. Use when creating skills, reviewing existing skills, or when users mention improving skill quality, encoding expertise, or avoiding common AI tooling mistakes. Activate on keywords: create skill, review skill, skill quality, skill best practices, skill anti-patterns. NOT for general coding advice or non-skill Claude Code features.

skild

16
from diegosouzapw/awesome-omni-skill

Skill package manager for AI Agents — install, manage, and publish Agent Skills.

sitrep-coordinator

16
from diegosouzapw/awesome-omni-skill

Military-style Situation Report (SITREP) generation for multi-agent coordination. Creates structured status updates with completed/in-progress/blocked sections, authorization codes, handoff protocols, and clear next actions. Optimized for complex project management across multiple AI agents and human operators.

sitespeakai-automation

16
from diegosouzapw/awesome-omni-skill

Automate Sitespeakai tasks via Rube MCP (Composio). Always search tools first for current schemas.

simulation-dry-run

16
from diegosouzapw/awesome-omni-skill

How to run scenario tests against Gorlami fork RPCs (dry runs) before broadcasting live transactions. Covers config, seeding balances, runner flags, and safe script patterns.

simple-pr

16
from diegosouzapw/awesome-omni-skill

Create a simple PR from staged changes with an auto-generated commit message

simple-gemini

16
from diegosouzapw/awesome-omni-skill

Collaborative documentation and test code writing workflow using zen mcp's clink to launch gemini CLI session in WSL (via 'gemini' command) where all writing operations are executed. Use this skill when the user requests "use gemini to write test files", "use gemini to write documentation", "generate related test files", "generate an explanatory document", or similar document/test writing tasks. The gemini CLI session acts as the specialist writer, working with the main Claude model for context gathering, outline approval, and final review. For test code, codex CLI (also launched via clink) validates quality after gemini completes writing.

simo-multiomics-integration-agent

16
from diegosouzapw/awesome-omni-skill

AI-powered spatial integration of multi-omics datasets using probabilistic alignment for comprehensive tissue atlas construction and cellular state mapping.

simla-com-automation

16
from diegosouzapw/awesome-omni-skill

Automate Simla Com tasks via Rube MCP (Composio). Always search tools first for current schemas.

simd-optimize

16
from diegosouzapw/awesome-omni-skill

SIMD vectorization for Rust — detects ISA features, identifies vectorizable patterns, generates platform-specific intrinsics (ARM NEON/SVE, x86 SSE/AVX/AVX-512), validates correctness and performance. Uses tiered research with baked-in references and /deep-research fallback.

signalwire-agents-sdk

16
from diegosouzapw/awesome-omni-skill

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.