ensue-backup

Serialize Ensue coordination state, encrypt it, and upload it to Storacha.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/leomanza/delibera.xyz --skill ensue-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ensue-backup
Source: https://github.com/leomanza/delibera.xyz/tree/main/.claude/skills/ensue-backup
Command: npx skills add https://github.com/leomanza/delibera.xyz --skill ensue-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It prevents loss of critical coordination context by serializing the Ensue memory knowledge tree and backing it up to Storacha for reliable cross-session persistence.

Core Features & Use Cases

  • Serialize coordination state: Captures all keys under coordination/ from Ensue to preserve deliberation context.
  • Encrypt and upload to Storacha: Uses Storacha vault utilities (via encryptAndVault() in vault.ts) to securely persist backups.
  • Restore from CID: Enables a new session to retrieve and decrypt the backup using retrieveAndDecrypt() and the recorded CID.

Quick Start

Ask the coordinator to run the skill command “/skill ensue-backup” to serialize Ensue coordination state, encrypt it, and upload it to Storacha while returning the backup CID.

Frequently Asked Questions about ensue-backup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist agent memory across sessions for DAO coordination?

To persist agent memory across sessions, serialize the coordination subtree and encrypt it for Storacha backup. This captures deliberation context reliably, allowing coordination state to resume seamlessly across restarts or new agent instances.

What's the best way to back up encrypted agent memory to Storacha?

Backing up encrypted agent memory to Storacha requires using vault functions like encryptAndVault() to serialize and secure the coordination state. This produces an encrypted CID that serves as a reference for retrieving the backed-up memory later.

How do I restore cross-session agent memory from a CID?

To restore cross-session agent memory from a CID, use the retrieveAndDecrypt() function with the recorded CID. This fetches and decrypts the serialized coordination subtree, allowing a new session to resume deliberation reliably.

Do I need environment variables for Storacha credentials to enable memory backup?

Yes, Storacha credential inputs via environment variables are required to produce and later use an encrypted CID for memory backup. These credentials authenticate the encryptAndVault() and retrieveAndDecrypt() functions.

When should I run memory backup for agent coordination context?

Memory backup for agent coordination context should be run during end-of-cycle and periodic memory persistence scenarios. This ensures deliberation sessions must resume reliably across restarts or new agent instances without losing critical context.

What coordination state is preserved during cross-session memory backup?

Cross-session memory backup preserves all keys under the coordination/ subtree from Ensue. This serialization captures the full deliberation context needed for reliable DAO coordination and session resumption.