skills$openclaw/clawdbot-sync
udiedrichsen5.6k

by udiedrichsen

clawdbot-sync – OpenClaw Skill

clawdbot-sync is an OpenClaw Skills integration for security workflows. 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'.

5.6k stars4.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026security

Skill Snapshot

nameclawdbot-sync
descriptionSynchronize 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'. OpenClaw Skills integration.
ownerudiedrichsen
repositoryudiedrichsen/clawdbot-sync
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @udiedrichsen/clawdbot-sync
last updatedFeb 7, 2026

Maintainer

udiedrichsen

udiedrichsen

Maintains clawdbot-sync in the OpenClaw Skills directory.

View GitHub profile
File Explorer
6 files
.
references
setup.md
1.3 KB
scripts
handler.sh
16.3 KB
_meta.json
284 B
SKILL.md
3.9 KB
SKILL.md

name: clawdbot-sync version: 1.0.0 description: "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'." author: clawdbot license: MIT metadata: clawdbot: emoji: "🔄" triggers: ["/sync"] requires: bins: ["rsync", "ssh", "jq"] tags: ["sync", "multi-agent", "collaboration", "backup"]

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 <name> <host> [user] [path]Add a peer
/sync remove <name>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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

- 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

Requirements

- `rsync` (for efficient file sync) - `ssh` (for secure transport) - Tailscale or direct network access between peers - SSH key authentication configured

FAQ

How do I install clawdbot-sync?

Run openclaw add @udiedrichsen/clawdbot-sync in your terminal. This installs clawdbot-sync into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/udiedrichsen/clawdbot-sync. Review commits and README documentation before installing.