x1-vault-memory
Backup and restore OpenClaw agent memory to IPFS with AES-256-GCM encryption and X1 blockchain CID anchoring
Why use this skill?
Backup and restore your OpenClaw agent identity with AES-256-GCM encryption, IPFS storage, and X1 blockchain anchoring. Keep your agent data safe and indestructible.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lokoweb3/x1-vault-memoryWhat This Skill Does
X1 Vault Memory is a robust, decentralized backup solution for your OpenClaw agent. It creates an indestructible copy of your agent's identity, personality, and memories. The process is fully automated: it compresses your agent files into a tar.gz archive, applies military-grade AES-256-GCM encryption using your wallet keypair, uploads the encrypted payload to IPFS, and anchors the resulting CID on the X1 blockchain. Because the encryption key is derived directly from your wallet keypair, only you possess the authority to decrypt and restore your agent's data. This ensures your agent is portable, immune to server-side data loss, and verifiable on-chain.
Installation
To integrate this skill, ensure you have Node.js v18+ installed on your system. Run the installation command: clawhub install openclaw/skills/skills/lokoweb3/x1-vault-memory. After installation, you must configure your environment variables. Set PINATA_JWT using your credentials from Pinata.cloud. Finally, place your wallet keypair JSON file in the designated x1_vault_cli/wallet.json path. It is imperative to use a dedicated wallet with minimal funds for these operations to minimize security risks.
Use Cases
This skill is essential for developers or users managing long-running, autonomous agents. If you are hosting your agent on a cloud VPS that may be subject to snapshots or accidental termination, this tool ensures your agent's 'brain' remains intact. It is also perfect for versioning; with the new v1.1.0 update, you can list backups and perform rollbacks, allowing you to revert to a previous personality state if current learning paths become suboptimal.
Example Prompts
- "X1 Vault, perform a full backup of my current agent memory and anchor the CID on the blockchain immediately."
- "Show me the last five backup versions and restore the memory state from Tuesday at 14:00 using the rollback feature."
- "Run a diagnostic check on my storage integrity and verify that all current files match the latest IPFS hash."
Tips & Limitations
Always store your wallet keypair securely offline, as losing the key means losing permanent access to your encrypted backups. While the skill is highly efficient, ensure you maintain a small balance of XNT tokens in your wallet to cover the minimal on-chain gas fees—roughly 0.03 USD per year for daily backups. Never store sensitive private keys in plain text within your environment variables; the skill handles the keypair file securely, provided your local system is protected from unauthorized file access. The selective restore functionality (--only) is particularly useful if you only need to recover specific configuration files without overwriting the entire agent directory.
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-lokoweb3-x1-vault-memory": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, file-write, file-read, external-api
Related Skills
autodream-core
通用记忆整理引擎 — 基于适配器模式的跨平台记忆整理技能。自动去重、合并、删除过时条目。| Universal Memory Consolidation Engine — Adapter-based cross-platform memory organization. Auto-dedup, merge, prune stale entries.
context-compressor
Intelligently compress context — conversations, code, logs. Preserve key information while reducing token usage. Auto-detects content type and applies optimal compression.
auto-context
智能上下文卫生检查器。分析当前会话的上下文污染程度 (长对话、主题漂移、噪声累积),建议:continue、/fork、/btw 或新会话。 支持手动触发(/auto-context)和自动触发(响应层实现)。 基于 ArXiv 论文和认知心理学研究的多维度评估体系。
memory-stack
AI 记忆栈架构 - 符合 2026 前沿的 AI 记忆系统。微调+RAG+ 上下文三层设计,mirrors 人类记忆工作方式。
Zerion Api Skill
Skill by abishekdharshan