arakichanxd

Claw Sync

AI 智慧體v2.0.2
作者:arakichanxd更新於 2026-05-18共 3 個版本 · 最新版本釋出於 2026-02-02claw-sync
#Sync

據 AlphaMoat 統計,截至 2026-09,Claw Sync 累計下載 4,963 次、獲 6 個星標,在全部 5,078 個 AI 技能中排名第 1,857 位,在「AI 智慧體」分類(969 個)中排名第 345 位。

累計安裝
146
累計下載
4963
星標
6
全站排名
#1,857
全站前 37% · 「AI 智慧體」前 36%
平台累計安裝累計下載星標評論
ClawHub ↗14649636-

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

備份可能包含敏感記憶、工作區檔案、自定義技能和 Git 憑據;同步前檢查目錄內容,使用私有備份倉庫與最小許可權令牌。恢復可能替換本地 Agent 行為和技能;確認目標版本,除非有可信的獨立備份,否則避免跳過確認。 需要 Node 與已配置的倉庫訪問;技能子目錄仍可能含金鑰。

資料釋出於 2026-10-29

可以用來做什麼

  • 預覽擬同步的檔案並檢查敏感資訊
  • 檢視同步狀態或可用備份版本
  • 在確認目標備份後恢復工作區內容

什麼時候用

  • 希望儲存可恢復的 OpenClaw 工作區備份時
  • 同步前可以審查目錄和擬傳輸內容時
  • 恢復前能確認備份版本且保留獨立回滾副本時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

規劃將 OpenClaw 工作區備份到私有倉庫的流程,包含 dry-run、憑據檢查和恢復確認;不要同步或恢復資料。

月度資料趨勢

累計下載4963
3071408751032026-03 · 累計下載 32112026-05 · 累計下載 39742026-06 · 累計下載 41812026-07 · 累計下載 45492026-08 · 累計下載 47632026-09 · 累計下載 496326-0326-09
星標6
5662026-03 · 星標 52026-05 · 星標 62026-06 · 星標 62026-07 · 星標 62026-08 · 星標 62026-09 · 星標 626-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094963—6
2026-084763+4.7%6
2026-074549+8.8%6
2026-064181+5.2%6
2026-053974—6
2026-033211—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.3 KB · ClawHub v2.0.2
---
name: claw-sync
description: Secure sync for OpenClaw memory and workspace. Use /sync to push, /restore to pull, /sync-status to check. Supports versioned backups and disaster recovery.
commands:
  - name: sync
    description: Push memory and skills to remote repository
    usage: /sync [--dry-run]
    run: node skills/claw-sync/index.js sync
  - name: restore
    description: Restore memory and skills from remote
展開全部(共 91 行)
    usage: /restore [latest|<version>] [--force]
    run: node skills/claw-sync/index.js restore
  - name: sync-status
    description: Show sync configuration and local backups
    usage: /sync-status
    run: node skills/claw-sync/index.js status
  - name: sync-list
    description: List all available backup versions
    usage: /sync-list
    run: node skills/claw-sync/index.js list
---

# Claw Sync

Secure, versioned sync for OpenClaw memory and workspace.

## Commands

### /sync
Push your memory and skills to the remote repository.
```
/sync              → Push and create versioned backup
/sync --dry-run    → Preview what would be synced
```

### /restore
Restore memory and skills from the remote repository.
```
/restore                        → Restore latest version
/restore latest                 → Same as above
/restore backup-20260202-1430   → Restore specific version
/restore latest --force         → Skip confirmation
```

### /sync-status
Show sync configuration and local backup info.
```
/sync-status
```

### /sync-list
List all available backup versions.
```
/sync-list
```

---

## What Gets Synced

| File | Description |
|------|-------------|
| `MEMORY.md` | Long-term memory |
| `USER.md` | User profile |
| `SOUL.md` | Agent persona |
| `IDENTITY.md` | Agent identity |
| `TOOLS.md` | Tool configs |
| `AGENTS.md` | Workspace rules |
| `memory/*.md` | Daily logs |
| `skills/*` | Custom skills |

## NOT Synced (security)

- `openclaw.json` - Contains API keys
- `.env` - Contains secrets

## Setup Required

Create `~/.openclaw/.backup.env`:
```
BACKUP_REPO=https://github.com/username/your-repo
BACKUP_TOKEN=ghp_your_token
```

## Features

- 🏷️ **Versioned** - Each sync creates a restorable version
- 💾 **Disaster Recovery** - Local backup before every restore
- 🔒 **Secure** - No config files synced, token sanitization
- 🖥️ **Cross-platform** - Windows, Mac, Linux

「AI 智慧體」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。