Clawdbot Sync
/install clawdbot-sync
Clawdbot Sync 🔄
Synchronize memory, preferences, and skills between multiple Clawdbot instances over Tailscale/SSH.
Features
- Bi-directional sync between Clawdbot instances
- Smart conflict resolution (newest wins, or merge for logs)
- Selective sync — choose what to sync
- Peer discovery via Tailscale
- Dry-run mode for preview
Commands
| Command | Action |
|---|---|
/sync |
Show status and configured peers |
/sync status |
Check connection to all peers |
/sync now [peer] |
Sync with peer (or all) |
/sync push [peer] |
Push local changes to peer |
/sync pull [peer] |
Pull changes from peer |
/sync add \x3Cname> \x3Chost> [user] [path] |
Add a peer |
/sync remove \x3Cname> |
Remove a peer |
/sync diff [peer] |
Show what would change |
/sync history |
Show sync history |
Setup
1. Configure Peers
handler.sh add mac-mini 100.95.193.55 clawdbot /Users/clawdbot/clawd $WORKSPACE
handler.sh add server 100.89.48.26 clawdbot /home/clawdbot/clawd $WORKSPACE
2. Ensure SSH Access
Both machines need SSH key auth:
ssh-copy-id [email protected]
3. Test Connection
handler.sh status $WORKSPACE
What Gets Synced
| Item | Default | Notes |
|---|---|---|
memory/ |
✅ Yes | All memory files and skill data |
MEMORY.md |
✅ Yes | Main memory file |
USER.md |
✅ Yes | User profile |
IDENTITY.md |
❌ No | Each instance has its own identity |
skills/ |
⚙️ Optional | Installed skills |
config/ |
❌ No | Instance-specific config |
Handler Commands
handler.sh status $WORKSPACE # Check peers and connection
handler.sh sync \x3Cpeer> $WORKSPACE # Bi-directional sync
handler.sh push \x3Cpeer> $WORKSPACE # Push to peer
handler.sh pull \x3Cpeer> $WORKSPACE # Pull from peer
handler.sh diff \x3Cpeer> $WORKSPACE # Show differences
handler.sh add \x3Cname> \x3Chost> \x3Cuser> \x3Cpath> $WS # Add peer
handler.sh remove \x3Cname> $WORKSPACE # Remove peer
handler.sh history $WORKSPACE # Sync history
handler.sh auto \x3Con|off> $WORKSPACE # Auto-sync on heartbeat
Conflict Resolution
- Timestamp-based: Newer file wins
- Merge for logs: Append-only files are merged
- Skip conflicts: Option to skip conflicting files
- Manual resolution: Flag for review
Data Files
Stored in $WORKSPACE/memory/clawdbot-sync/:
| File | Purpose |
|---|---|
peers.json |
Configured peers |
history.json |
Sync history log |
config.json |
Sync preferences |
conflicts/ |
Conflicting files for review |
Example Session
User: /sync now mac-mini
Bot: 🔄 Syncing with mac-mini (100.95.193.55)...
📤 Pushing: 3 files changed
• memory/streaming-buddy/preferences.json
• memory/2026-01-26.md
• MEMORY.md
📥 Pulling: 1 file changed
• memory/2026-01-25.md
✅ Sync complete! 4 files synchronized.
Requirements
rsync(for efficient file sync)ssh(for secure transport)- Tailscale or direct network access between peers
- SSH key authentication configured
Security
- Uses SSH for all transfers (encrypted)
- No passwords stored (key-based auth only)
- Sync paths are restricted to workspace
- No system files are ever synced
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawdbot-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawdbot-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawdbot Sync 是什么?
Synchronize memory, preferences, and skills between multiple Clawdbot instances. Supports bi-directional sync via SSH/rsync over Tailscale. Use when asked to sync with another Clawdbot, share memory between instances, or keep multiple agents in sync. Triggers: /sync, 'sync with mac', 'update other clawdbot', 'share this with my other bot'. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2444 次。
如何安装 Clawdbot Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawdbot-sync」即可一键安装,无需额外配置。
Clawdbot Sync 是免费的吗?
是的,Clawdbot Sync 完全免费(开源免费),可自由下载、安装和使用。
Clawdbot Sync 支持哪些平台?
Clawdbot Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawdbot Sync?
由 udiedrichsen(@udiedrichsen)开发并维护,当前版本 v1.0.0。