ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 4/5

self-backup-to-feishu

AI助手状态自动备份到飞书文档。当用户需要:(1) 备份AI状态到云端,(2) 从飞书恢复AI记忆,(3) 设置自动备份机制,(4) 跨设备同步AI助手状态时使用此技能。触发词:「备份状态」「恢复状态」「从飞书恢复」「同步记忆」。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bruce-zhaobo/self-backup2feishu
Or

What This Skill Does

The self-backup-to-feishu skill is a robust data persistence engine for OpenClaw AI agents. It functions as a cloud-based backup and restoration manager, specifically designed to synchronize the agent's internal state—including identity, user profiles, personality (soul), memory, and system configurations—with Feishu (Lark) documents. By leveraging Feishu’s collaborative document platform, the skill ensures that an AI agent's hard-earned intelligence is never lost, allowing for seamless state migration across different host machines or recovering from system crashes.

Installation

To integrate this backup capability, ensure you have your Feishu application credentials (app_id and app_secret) ready. Execute the following command in your OpenClaw terminal environment:

clawhub install openclaw/skills/skills/bruce-zhaobo/self-backup2feishu

Once installed, configure the required environment variables in your local settings to grant the agent access to your Feishu workspace. You must ensure the chosen target document is accessible by the app.

Use Cases

  • Cloud Memory Synchronization: Ideal for users who switch between personal laptops and cloud-hosted instances, ensuring the AI agent feels continuous across devices.
  • Disaster Recovery: Protects the agent's complex setup (including .msmtprc configurations and cron task lists) from local hardware failure.
  • Version Control of Intelligence: Provides a historical record of how your AI's personality and memory have evolved over time, allowing you to review or revert to previous states if needed.

Example Prompts

  • "备份一下当前的 AI 状态,把所有最新的记忆和身份设置同步到飞书。"
  • "从飞书恢复状态,帮我把昨天的记忆和所有配置都还原到当前环境。"
  • "同步记忆,检查一下目前本地状态和飞书备份是否一致,如果有更新就上传最新的。"

Tips & Limitations

  • 增量更新原则: 该技能设计为增量式更新而非覆盖,这极大地降低了数据丢失的风险。在执行任何手动备份操作前,系统会先拉取远程文档内容,确保合并过程的安全性。
  • 定时任务: 建议配置每日凌晨的自动备份脚本,以确保记忆闭环。如果涉及极其敏感的 API 密钥或凭证,请确保在备份前启用加密存储,防止信息泄露。此外,在进行大规模状态恢复后,务必检查自动化任务和外部服务授权的状态,因为某些凭证在跨环境迁移后可能需要重新验证。

Metadata

Stars4190
Views0
Updated2026-04-18
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bruce-zhaobo-self-backup2feishu": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#backup#feishu#memory#synchronization#automation
Safety Score: 4/5

Flags: file-write, file-read, external-api