claw-roamSync OpenClaw workspace between multiple machines (local Mac and remote VPS) via Git. Enables seamless migration of OpenClaw personality, memory, and skills. Use when user wants to (1) push workspace changes to remote before shutdown, (2) pull latest workspace on a new machine, (3) check sync status between machines, (4) migrate OpenClaw to another machine.
Install via ClawdBot CLI:
clawdbot install reed1898/claw-roamSync your OpenClaw workspace across machines via Git. This allows you to:
Recommended branch model for multi-device:
main = shared baselineremote = this serverlocal = your laptop/desktop# Check status (current branch)
claw-roam status
# One-command full sync (recommended)
claw-roam sync
# Or step by step:
# Commit+push current branch
claw-roam push "msg"
# Pull latest for current branch
claw-roam pull
# (Optional) merge another device branch into current branch
claw-roam merge-from local
claw-roam merge-from remote
Commit and push workspace to remote Git repository.
claw-roam push [message]
Pull latest workspace from remote and sync.
claw-roam pull
Check sync status between local and remote.
claw-roam status
claw-roam sync
Performs the complete sync workflow in one command:
Workflow diagram:
โโโโโโโโโโโโโโโ commit+push โโโโโโโโโโโโโโโ
โ local โ โโโโโโโโโโโโโโโโโโโโถโ origin/localโ
โ ๅๆฏ โ โ โ
โโโโโโโโฌโโโโโโโ โโโโโโโโโโโโโโโ
โ
โ merge main
โผ
โโโโโโโโโโโโโโโ merge+push โโโโโโโโโโโโโโโ
โ local โ โโโโโโโโโโโโโโโโโโโโถโ main โ
โ ๅๆฏ โ โ (shared) โ
โโโโโโโโโโโโโโโ โโโโโโโโฌโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโ
โ pull
โผ
โโโโโโโโโโโโโโโ
โ remote โ
โ ๅๆฏ โ
โโโโโโโโโโโโโโโ
Recommended daily workflow:
# On each machine, just run:
claw-roam sync
This ensures:
cd ~/.openclaw/workspace
git init
git remote add origin <your-repo-url>
git add -A
git commit -m "initial"
git push -u origin main
cd ~
git clone <your-repo-url> openclaw-workspace
ln -s openclaw-workspace ~/.openclaw/workspace
For multiple machines, use this branch strategy:
local (Mac) โโโ
โโโโบ main (shared) โโโ merge & push
remote (VPS) โโ
Local Mac:
cd ~/.openclaw/workspace
git checkout -b local
git push -u origin local
Remote VPS:
cd ~/.openclaw/workspace
git checkout -b remote
git push -u origin remote
On each machine:
claw-roam merge-from main
claw-roam push "update memory"
git checkout main
git merge local -m "merge: local -> main"
git push origin main
git checkout local
# Pull from main, then push to main
claw-roam merge-from main && git checkout main && git merge local && git push && git checkout local
If merge-from main has conflicts:
# Keep your version
git checkout --ours <conflicted-file>
git add -A && git commit -m "merge: resolved conflicts"
# Or keep main's version
git checkout --theirs <conflicted-file>
git add -A && git commit -m "merge: resolved conflicts"
For simpler setups without branches:
Just use OpenClaw normally. Before shutdown:
claw-roam push "end of day sync"
Or let it auto-push via cron:
# Add to crontab
*/10 * * * * cd ~/.openclaw/workspace && git add -A && git commit -m "auto: $(date)" && git push
claw-roam pushclaw-roam pullclaw-roam pushclaw-roam pullSynced (preserved across machines):
SOUL.md - Your agent's personalityMEMORY.md - Long-term memorymemory/*.md - Daily conversation logsskills/ - All installed skillsAGENTS.md, USER.md - Context filesTOOLS.md - Device configurationsHEARTBEAT.md - Periodic tasksNot Synced (machine-specific):
Run setup steps above to initialize Git repository.
If you edited on both machines without syncing:
# On the machine with changes you want to keep
git pull --strategy=ours
git push
Ensure your Git remote is configured with proper authentication (SSH key or token).
Use bundled scripts directly:
~/.openclaw/workspace/skills/claw-roam/scripts/claw-roam.sh push
~/.openclaw/workspace/skills/claw-roam/scripts/claw-roam.sh pull
~/.openclaw/workspace/skills/claw-roam/scripts/claw-roam.sh status
Generated Feb 27, 2026
AI developers working on a local Mac can seamlessly switch to a remote VPS when traveling or needing cloud-based processing. This ensures continuous access to their OpenClaw agent's personality, memory, and skills without manual data transfer, enabling productivity across locations.
Users managing an AI assistant across multiple machines, such as a desktop and a server, can sync workspace changes to maintain consistency. This prevents data loss and allows for backup and restoration of the agent's state when switching between devices.
Small teams working on shared AI agents can use this skill to merge changes from different branches, facilitating collaboration. It helps resolve conflicts and ensures all members have the latest updates to memory and skills.
Organizations can implement this skill to automatically backup OpenClaw workspace data to a remote Git repository, providing a recovery point in case of local machine failure. It ensures business continuity by enabling quick restoration on another machine.
Instructors and students in AI courses can sync workspaces between lab computers and personal devices, allowing for consistent learning environments. This supports hands-on practice with OpenClaw across different settings without setup overhead.
Offer a free tier with basic sync features and limited storage, while charging for advanced features like automated conflict resolution, priority support, and larger Git repositories. Target individual developers and small teams.
Sell licenses to corporations for integrating this skill into their internal AI systems, with custom features for security, compliance, and scalability. Include dedicated support and training services.
Provide professional services to help clients set up and customize the sync workflow, including Git repository management, conflict resolution strategies, and integration with existing DevOps pipelines.
๐ฌ Integration Tip
Ensure Git is properly configured with SSH keys for secure access, and set up cron jobs for automated backups to minimize manual intervention.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection