返回顶部
c

claw-sync爪同步

Secure sync for OpenClaw memory and workspace. Use /sync to push, /restore to pull, /sync-status to check. Supports versioned backups and disaster recovery.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 2.0.2
安全检测
已通过
3,223
下载量
免费
免费
5
收藏
概述
安装方式
版本历史

claw-sync

Claw 同步

为 OpenClaw 记忆与工作区提供安全、版本化的同步功能。

命令

/sync

将您的记忆和技能推送至远程仓库。

/sync → 推送并创建版本化备份
/sync --dry-run → 预览将要同步的内容

/restore

从远程仓库恢复记忆和技能。

/restore → 恢复最新版本
/restore latest → 同上
/restore backup-20260202-1430 → 恢复指定版本
/restore latest --force → 跳过确认

/sync-status

显示同步配置和本地备份信息。

/sync-status

/sync-list

列出所有可用的备份版本。

/sync-list



同步内容


文件描述
MEMORY.md长期记忆
USER.md
用户档案 |
| SOUL.md | 智能体人格 |
| IDENTITY.md | 智能体身份 |
| TOOLS.md | 工具配置 |
| AGENTS.md | 工作区规则 |
| memory/*.md | 日常日志 |
| skills/* | 自定义技能 |

不同步内容(安全考虑)

  • - openclaw.json - 包含 API 密钥
  • .env - 包含机密信息

设置要求

创建 ~/.openclaw/.backup.env:

BACKUP_REPO=https://github.com/username/your-repo
BACKUPTOKEN=ghpyour_token

功能特性

  • - 🏷️ 版本化 - 每次同步都会创建可恢复的版本
  • 💾 灾难恢复 - 每次恢复前自动创建本地备份
  • 🔒 安全可靠 - 不同步配置文件,令牌自动脱敏
  • 🖥️ 跨平台 - 支持 Windows、Mac、Linux

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 claw-sync-1776370264 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 claw-sync-1776370264 技能

通过命令行安装

skillhub install claw-sync-1776370264

下载

⬇ 下载 claw-sync v2.0.2(免费)

文件大小: 29.24 KB | 发布时间: 2026-4-17 15:57

v2.0.2 最新 2026-4-17 15:57
Version 2.0.2 of claw-sync introduces a major refactor and restructuring:

- Migrated all source code and scripts into a dedicated claw-sync/ subdirectory.
- Added example configuration and documentation files: README.md, SKILL.md, .gitignore, and config.example.env.
- Introduced modular scripts for pull, push, cron setup, and status operations.
- Updated command structure for improved usability and clarity.
- Removed the old root-level .gitignore file.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部