Skip to content

getlighty/ClawRoam

Repository files navigation

🦞 ClawRoam

Portable identity vault for OpenClaw. Your AI agent follows you everywhere.

MIT License OpenClaw Skill

ClawRoam is an open-source OpenClaw skill that syncs your agent's knowledge, memory, and system packages across all your machines — like iCloud, but for AI agents.

The idea

You have a work laptop, a home machine, maybe a server. Each runs OpenClaw. You want them to share your knowledge but have their own personality. ClawRoam makes that work:

  • Knowledge is shared — USER.md, MEMORY.md, projects, package lists
  • Soul is local — each instance keeps its own SOUL.md and IDENTITY.md
  • Sync is invisible — changes auto-detect, auto-commit, auto-push
  • History is versioned — every change is a git commit, rollback anytime
  • Storage is your choice — Google Drive, Dropbox, Git, FTP, S3, or our managed cloud
  • Encrypted at rest — vault archives are AES-256-CBC encrypted before upload (ClawRoam Cloud)
  • Per-profile exclusions — choose which files sync via the web dashboard

Quick start

# Install the skill
clawhub install clawroam

# Initialize (scans packages, generates keypair, captures knowledge)
clawroam init

# Pick storage — managed cloud (50 MB free):
clawroam provider setup cloud

# Or bring your own:
clawroam provider setup gdrive    # Google Drive
clawroam provider setup dropbox   # Dropbox
clawroam provider setup git       # Any git repo
clawroam provider setup ftp       # FTP/SFTP
clawroam provider setup s3        # S3-compatible
clawroam provider setup local     # USB/NAS

# Start auto-sync
clawroam sync start

On a new machine

# Install OpenClaw + skill
npm install -g openclaw
clawhub install clawroam

# Connect to your vault
clawroam init
clawroam provider setup cloud  # same credentials

# Pull everything
clawroam migrate pull
# → Restores knowledge, shows package diff, offers to install missing

How sync works

ClawRoam works like a combination of iCloud and Git:

  1. File watcher detects changes in your vault (real-time via fswatch, or polling)
  2. Auto-commit creates a local git commit with what changed
  3. Auto-push sends to your storage provider
  4. Every push is signed with your machine's Ed25519 private key
  5. On pull, conflicts are shown as diffs — you choose what wins
~/.clawroam/
├── config.yaml              # Vault configuration
├── requirements.yaml        # System packages (brew/apt/npm/pip)
├── manifest.json            # What's in the vault + checksums
├── identity/
│   ├── USER.md              # Shared — who you are
│   └── instances.yaml       # All connected machines
├── knowledge/
│   ├── MEMORY.md            # Shared — long-term memory
│   └── projects/            # Shared — project context
├── local/                   # ⚠ NOT synced
│   ├── SOUL.md              # This machine's personality
│   └── IDENTITY.md          # This machine's identity
└── keys/
    ├── clawroam_ed25519     # Private key (never leaves machine)
    └── clawroam_ed25519.pub # Public key (registered with provider)

Package tracking

ClawRoam scans and tracks installed packages across:

Manager macOS Linux
Homebrew
apt
snap
flatpak
npm (global)
pip (global)

When migrating, it shows what's missing and generates install commands for the target OS.

ClawRoam Cloud

The skill is 100% free and open source (MIT). ClawRoam Cloud is the optional managed storage for people who don't want to configure their own:

Usage Cost
First 50 MB Free
After that $0.005/MB/month
Per-instance fee None
Bandwidth Unlimited

Most single-user vaults are 10-30 MB — comfortably free. A power user at 200 MB pays ~$0.75/month.

The web dashboard (available after signing up) lets you browse files across all your machines, manage per-profile sync rules, and copy files between profiles — all from a browser.

Commands

Command What it does
clawroam init Initialize vault, generate keypair, scan packages
clawroam provider setup <n> Configure storage provider
clawroam provider list Show available providers
clawroam sync start Start auto-sync daemon
clawroam sync stop Stop auto-sync
clawroam sync push Force push now
clawroam sync pull Force pull now
clawroam log Show vault commit history
clawroam diff Show pending changes
clawroam rollback Revert to previous state
clawroam packages scan Scan installed packages
clawroam packages diff Compare local vs vault
clawroam packages install Install missing from vault
clawroam migrate pull Full migration wizard
clawroam migrate push-identity Push SOUL.md to vault (opt-in)
clawroam key show Show public key
clawroam key rotate Generate new keypair
clawroam status Full vault status

Security

  • Ed25519 keypair per machine — private key never leaves the device (stored with 600 permissions)
  • Encrypted at rest — vault archives are AES-256-CBC encrypted on the client before upload; the server stores only ciphertext
  • Credentials in system keychain — macOS Keychain or libsecret on Linux, never plaintext
  • Signed pushes — every sync is signed with your private key
  • SOUL.md and IDENTITY.md never auto-sync — explicit opt-in only
  • Packages shown before installing — never auto-executed
  • Full audit trail — every change is a git commit

Repo structure

clawroam/
├── SKILL.md               # OpenClaw skill definition
├── clawroam.sh            # Main CLI entry point
├── track-packages.sh       # Package scanner
├── migrate.sh              # Migration wizard
├── src/
│   ├── sync-engine.sh      # iCloud-like auto-sync + history
│   ├── keypair.sh          # Ed25519 key management
│   └── provider.sh         # Provider manager
├── providers/
│   ├── cloud.sh            # ClawRoam Cloud (managed)
│   ├── gdrive.sh           # Google Drive (via rclone)
│   ├── dropbox.sh          # Dropbox (via rclone)
│   ├── ftp.sh              # FTP/SFTP (via rsync+ssh)
│   ├── git.sh              # Any Git remote
│   ├── s3.sh               # S3-compatible (via rclone)
│   ├── webdav.sh           # WebDAV (via rclone)
│   └── local.sh            # Local directory
├── web/
│   ├── index.html          # Landing page
│   └── dashboard.html      # ClawRoam Cloud dashboard (file browser, sync rules)
├── LICENSE                  # MIT
└── README.md

Contributing

PRs welcome. The codebase is intentionally all bash — no build step, no dependencies beyond standard Unix tools + rclone for cloud storage. This runs on the same machines OpenClaw runs on.

License

MIT — do whatever you want with it.

About

An open-source skill for roaming openClaw knowledge, identity and soul. Port your claw anywhere, instantly!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors