闲社服务运行正常AI智能体自动化平台
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
检测标记
后台标记通过
免费
免费获取
5
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

爪同步

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.
返回顶部