← 返回
数据分析 中文

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'.
{"answer":"同步多个 Clawdbot 实例间的记忆、偏好和技能。支持通过 Tailscale 使用 SSH/rsync 进行双向同步。适用于同步其他 Clawdbot、共享记忆或保持多个代理同步。触发词:/sync、'与 mac 同步'、'更新其他 clawdbot'、'分享给我的其他机器人'。"}
udiedrichsen
数据分析 clawhub v1.0.0 1 版本 99836.4 Key: 无需
★ 2
Stars
📥 3,012
下载
💾 3
安装
1
版本
#latest

概述

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

CommandAction
-----------------
/syncShow status and configured peers
/sync statusCheck 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 [user] [path]Add a peer
/sync remove Remove a peer
/sync diff [peer]Show what would change
/sync historyShow 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 clawdbot@100.95.193.55

3. Test Connection

handler.sh status $WORKSPACE

What Gets Synced

ItemDefaultNotes
----------------------
memory/✅ YesAll memory files and skill data
MEMORY.md✅ YesMain memory file
USER.md✅ YesUser profile
IDENTITY.md❌ NoEach instance has its own identity
skills/⚙️ OptionalInstalled skills
config/❌ NoInstance-specific config

Handler Commands

handler.sh status $WORKSPACE                    # Check peers and connection
handler.sh sync <peer> $WORKSPACE               # Bi-directional sync
handler.sh push <peer> $WORKSPACE               # Push to peer
handler.sh pull <peer> $WORKSPACE               # Pull from peer
handler.sh diff <peer> $WORKSPACE               # Show differences
handler.sh add <name> <host> <user> <path> $WS  # Add peer
handler.sh remove <name> $WORKSPACE             # Remove peer
handler.sh history $WORKSPACE                   # Sync history
handler.sh auto <on|off> $WORKSPACE             # Auto-sync on heartbeat

Conflict Resolution

  1. Timestamp-based: Newer file wins
  2. Merge for logs: Append-only files are merged
  3. Skip conflicts: Option to skip conflicting files
  4. Manual resolution: Flag for review

Data Files

Stored in $WORKSPACE/memory/clawdbot-sync/:

FilePurpose
---------------
peers.jsonConfigured peers
history.jsonSync history log
config.jsonSync 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 13:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Shopping Expert

udiedrichsen
在线(Google Shopping)与本地(附近商店)查找并比价。综合价格、评分、库存和偏好自动优选商品,生成含购买链接和店址的购物清单。适用于购物、查优惠、比价或查找本地商品。支持预算限制(低/中/高或具体金额)、偏好筛选(品牌、功能、
★ 7 📥 3,923
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,120
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,016