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'.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- clawdbot-sync
- author
- clawdbot
- license
- MIT
- version
- 1.0.0
- metadata
- { "tags": [ "sync", "multi-agent", "collaboration", "backup" ], "clawdbot": { "emoji": "?", "requires": { "bins": [ "rsync", "ssh", "jq" ] }, "triggers": [ "/sync" ] } }
- 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'.
02 资源文件 3
- 参考文档_meta.json284 B
- 参考文档references/setup.md1.3 KB
- 脚本scripts/handler.sh16.3 KB
03 SKILL.md 正文
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 <name> <host> [user] [path] |
Add a peer |
/sync remove <name> |
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 clawdbot@100.95.193.55
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 <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
- 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
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.