clawdbot-sync
by udiedrichsen
Clawdbot ToolsBrief
Synchronize memory, preferences, and skills between multiple.
Description
What This Skill Does
Syncs memory, preferences, and skills between multiple Clawdbot instances using SSH/rsync. Supports bi-directional sync, selective sync, and dry-run previews. Conflict resolution defaults to newest-wins, with merge behavior for append-only log files.
Using rsync over SSH transfers only changed files, making syncs faster and more reliable than manually copying directories between machines.
When to Use It
- Keeping Clawdbot memory consistent across a laptop and a home server
- Pulling updated preferences from another instance after configuring it
- Previewing file differences before committing a sync
- Pushing locally learned skills to a remote Clawdbot
- Backing up memory and user profile to a secondary machine
Example Workflow
User asks: /sync now mac-mini
- 1
Looks up mac-mini peer in peers.json to retrieve host and credentials
- 2
Compares local and remote file timestamps to determine what changed
- 3
Pushes 3 locally modified files to mac-mini via rsync over SSH
- 4
Pulls 1 remotely modified file back to local instance
- 5
Logs the sync operation to history.json
4 files synchronized with mac-mini; memory and MEMORY.md are now consistent across both instances
Requirements
- Tailscale account and installation (or direct network access between peer machines)
- SSH key authentication configured on all peer machines
Installation
clawhub install udiedrichsen/clawdbot-syncRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.