ClawRoam — Portable Agent Environment
You are an OpenClaw agent with the clawroam skill installed. This skill
gives you automatic, continuous sync of the user's knowledge and environment
across all their machines — like iCloud for AI agents.
Architecture
ClawRoam works like a combination of iCloud and Git:
- Auto-sync: file changes are detected, auto-committed, and pushed
- Versioned: every change is a commit — full history, rollback anytime
- Encrypted: Ed25519 keypair per installation — private key never leaves the machine
- Multi-provider: user picks where their vault lives
Providers
| Provider |
Type |
Setup |
| ClawRoam Cloud |
Managed (paid per MB) |
One command — clawroam cloud signup |
| Google Drive |
BYOS (free) |
OAuth flow via clawroam provider gdrive |
| Dropbox |
BYOS (free) |
OAuth flow via clawroam provider dropbox |
| FTP/SFTP |
BYOS (free) |
Host + credentials via clawroam provider ftp |
| Git |
BYOS (free) |
Any git remote via clawroam provider git |
| S3 |
BYOS (free) |
Any S3-compatible via clawroam provider s3 |
| WebDAV |
BYOS (free) |
Nextcloud etc via clawroam provider webdav |
| Local |
BYOS (free) |
USB/NAS mount via clawroam provider local |
"BYOS" = Bring Your Own Storage. Free forever. ClawRoam Cloud is the
convenience option for people who don't want to manage storage.
What Syncs
ALWAYS SYNCED (shared knowledge pool):
identity/USER.md Who you are
knowledge/MEMORY.md Long-term memory
knowledge/projects/ Project context
requirements.yaml System packages
skills-manifest.yaml Installed skills list
NEVER AUTO-SYNCED (per-instance):
local/SOUL.md This agent's personality
local/IDENTITY.md This agent's identity
local/config-override Local config tweaks
OPT-IN SYNC:
openclaw config.json Gateway/model config
credentials/ Channel auth (encrypted separately)
Commands
When the user asks about vault operations, use these:
First-Time Setup
- "set up clawroam" →
clawroam.sh init — creates vault, generates Ed25519 keypair, scans packages
- "use clawroam cloud" →
clawroam.sh cloud signup — creates cloud account, auto-configures provider
- "use google drive for vault" →
clawroam.sh provider gdrive — OAuth flow for Google Drive
- "use dropbox for vault" →
clawroam.sh provider dropbox
- "use FTP for vault" →
clawroam.sh provider ftp — asks for host, port, credentials
Daily Use (mostly invisible)
- "sync status" →
clawroam.sh status — show sync state, last push/pull, provider info
- "sync now" →
sync-engine.sh push — force immediate sync
- "show vault history" →
sync-engine.sh log — show commit history (like git log)
- "rollback vault" →
sync-engine.sh rollback — revert to previous state
- "what changed" →
sync-engine.sh diff — show pending changes
Packages
- "scan packages" →
track-packages.sh scan
- "what's different from vault" →
track-packages.sh diff
- "install missing packages" →
track-packages.sh install — shows commands, asks before running
Migration
- "migrate to this machine" / "pull from vault" →
migrate.sh pull — interactive restore wizard
- "push my soul to vault" →
migrate.sh push-identity — explicit opt-in only
Profiles
Each machine backs up to its own named profile (default: hostname).
Profiles are separate — different machines can have different knowledge,
memory, and packages without interfering with each other.
- "show profile" / "what profile am I on" →
clawroam.sh profile show — displays current profile name
- "list profiles" / "what profiles exist" →
clawroam.sh profile list — lists all profiles in the remote storage
- "rename profile" →
clawroam.sh profile rename <new-name> — renames this machine's profile
- "restore from another machine" / "pull profile X" →
clawroam.sh profile pull <name> — restores a specific profile to this machine
(overwrites local vault with that profile's data, does NOT affect the source)
Key Management
- "show my vault key" →
keypair.sh show-public — display public key (for adding to providers)
- "regenerate vault key" →
keypair.sh rotate — generates new keypair, re-registers with provider
Behavior Rules
Auto-sync is ON by default after setup — like iCloud. The user should
not have to think about syncing. Changes are pushed within 30 seconds.
Never sync SOUL.md or IDENTITY.md without explicit permission.
Always confirm before installing packages. Show the diff, let them pick.
Private key never leaves the machine. It's stored in
~/.clawroam/keys/ with 600 permissions. The public key is registered
with the vault provider.
Conflicts: If remote has changes the user hasn't seen, show a diff
and let them choose. Auto-merge for non-conflicting changes (like git).
Be transparent about costs. If using ClawRoam Cloud, show current
usage and estimated cost when asked. Never surprise the user with charges.
Offline-first. Everything works locally. Sync happens when connectivity
is available. Queue changes and push when back online.
Profiles are separate by default. Each machine pushes to its own named
profile (default: hostname). Profiles never merge automatically. If the user
wants data from another machine, they must explicitly pull that profile with
clawroam.sh profile pull <name>.
ClawRoam Cloud Pricing
When users ask about pricing:
- First 50 MB free — enough for most single-user vaults
- $0.005/MB/month after that (~$0.50/month for 100 MB extra)
- No per-instance fees — connect unlimited machines
- No bandwidth fees — sync as often as you want
- Example: typical vault is 10-30 MB → completely free
- Example: power user with 200 MB → $0.75/month
- Example: team vault with 2 GB → ~$10/month
1---
2name: clawroam
3description: >
4 Portable identity vault for OpenClaw. Syncs knowledge, packages, and memory
5 across machines like iCloud — automatic, invisible, encrypted. Bring your own
6 storage (Google Drive, Dropbox, FTP, Git) or use ClawRoam Cloud.
7version: "3.0.1"
8author: getlighty
9license: MIT
10tags:
11 - sync
12 - identity
13 - migration
14 - packages
15 - backup
16 - roaming
17triggers:
18 - vault
19 - sync
20 - migrate
21 - packages
22 - roam
23 - backup
24 - restore
25 - cloud
26tools:
27 - exec
28 - file
29 - network
30requires:
31 # Required — skill will not function without these
32 - curl # HTTP requests to ClawRoam Cloud API and providers
33 - git # local vault version history
34 - openssl # AES-256-CBC archive encryption and Ed25519 signing
35 - ssh-keygen # Ed25519 keypair generation and verification
36 - python3 # JSON parsing, key derivation, URL encoding
37 - rsync # staging vault files for upload/download
38 - tar # creating and extracting vault archives
39 # Optional — skill degrades gracefully without these
40 - fswatch # real-time file watching; falls back to polling without it
41 - bc # billing cost calculations; skipped gracefully without it
42network:
43 - url: "https://clawroam-api.ovisoftblue.workers.dev"
44 description: >
45 ClawRoam Cloud managed storage backend (Cloudflare Workers + D1 + R2).
46 Only contacted when the built-in 'cloud' provider is selected.
47 Not used for BYOS providers (gdrive, dropbox, git, ftp, s3, local, webdav).
48 data_sent:
49 - email address (signup only)
50 - Ed25519 public key (signup and key rotation)
51 - encrypted vault archive (AES-256-CBC; server cannot decrypt)
52 - file path manifest (filenames and sizes only, not file content)
53 data_stored_server_side: >
54 Encrypted vault snapshots (up to 10 versions per profile), public keys,
55 email address. Private key never leaves the local machine.
56metadata:
57 source: https://skillmd.com/skills/modbender/clawroam
58---
59
60# ClawRoam — Portable Agent Environment
61
62You are an OpenClaw agent with the **clawroam** skill installed. This skill
63gives you automatic, continuous sync of the user's knowledge and environment
64across all their machines — like iCloud for AI agents.
65
66## Architecture
67
68ClawRoam works like a combination of iCloud and Git:
69- **Auto-sync**: file changes are detected, auto-committed, and pushed
70- **Versioned**: every change is a commit — full history, rollback anytime
71- **Encrypted**: Ed25519 keypair per installation — private key never leaves the machine
72- **Multi-provider**: user picks where their vault lives
73
74## Providers
75
76| Provider | Type | Setup |
77|----------|------|-------|
78| ClawRoam Cloud | Managed (paid per MB) | One command — `clawroam cloud signup` |
79| Google Drive | BYOS (free) | OAuth flow via `clawroam provider gdrive` |
80| Dropbox | BYOS (free) | OAuth flow via `clawroam provider dropbox` |
81| FTP/SFTP | BYOS (free) | Host + credentials via `clawroam provider ftp` |
82| Git | BYOS (free) | Any git remote via `clawroam provider git` |
83| S3 | BYOS (free) | Any S3-compatible via `clawroam provider s3` |
84| WebDAV | BYOS (free) | Nextcloud etc via `clawroam provider webdav` |
85| Local | BYOS (free) | USB/NAS mount via `clawroam provider local` |
86
87"BYOS" = Bring Your Own Storage. Free forever. ClawRoam Cloud is the
88convenience option for people who don't want to manage storage.
89
90## What Syncs
91
92```
93ALWAYS SYNCED (shared knowledge pool):
94 identity/USER.md Who you are
95 knowledge/MEMORY.md Long-term memory
96 knowledge/projects/ Project context
97 requirements.yaml System packages
98 skills-manifest.yaml Installed skills list
99
100NEVER AUTO-SYNCED (per-instance):
101 local/SOUL.md This agent's personality
102 local/IDENTITY.md This agent's identity
103 local/config-override Local config tweaks
104
105OPT-IN SYNC:
106 openclaw config.json Gateway/model config
107 credentials/ Channel auth (encrypted separately)
108```
109
110## Commands
111
112When the user asks about vault operations, use these:
113
114### First-Time Setup
115- **"set up clawroam"** →
116 `clawroam.sh init` — creates vault, generates Ed25519 keypair, scans packages
117- **"use clawroam cloud"** →
118 `clawroam.sh cloud signup` — creates cloud account, auto-configures provider
119- **"use google drive for vault"** →
120 `clawroam.sh provider gdrive` — OAuth flow for Google Drive
121- **"use dropbox for vault"** →
122 `clawroam.sh provider dropbox`
123- **"use FTP for vault"** →
124 `clawroam.sh provider ftp` — asks for host, port, credentials
125
126### Daily Use (mostly invisible)
127- **"sync status"** →
128 `clawroam.sh status` — show sync state, last push/pull, provider info
129- **"sync now"** →
130 `sync-engine.sh push` — force immediate sync
131- **"show vault history"** →
132 `sync-engine.sh log` — show commit history (like `git log`)
133- **"rollback vault"** →
134 `sync-engine.sh rollback` — revert to previous state
135- **"what changed"** →
136 `sync-engine.sh diff` — show pending changes
137
138### Packages
139- **"scan packages"** →
140 `track-packages.sh scan`
141- **"what's different from vault"** →
142 `track-packages.sh diff`
143- **"install missing packages"** →
144 `track-packages.sh install` — shows commands, asks before running
145
146### Migration
147- **"migrate to this machine"** / **"pull from vault"** →
148 `migrate.sh pull` — interactive restore wizard
149- **"push my soul to vault"** →
150 `migrate.sh push-identity` — explicit opt-in only
151
152### Profiles
153Each machine backs up to its own named profile (default: hostname).
154Profiles are separate — different machines can have different knowledge,
155memory, and packages without interfering with each other.
156
157- **"show profile"** / **"what profile am I on"** →
158 `clawroam.sh profile show` — displays current profile name
159- **"list profiles"** / **"what profiles exist"** →
160 `clawroam.sh profile list` — lists all profiles in the remote storage
161- **"rename profile"** →
162 `clawroam.sh profile rename <new-name>` — renames this machine's profile
163- **"restore from another machine"** / **"pull profile X"** →
164 `clawroam.sh profile pull <name>` — restores a specific profile to this machine
165 (overwrites local vault with that profile's data, does NOT affect the source)
166
167### Key Management
168- **"show my vault key"** →
169 `keypair.sh show-public` — display public key (for adding to providers)
170- **"regenerate vault key"** →
171 `keypair.sh rotate` — generates new keypair, re-registers with provider
172
173## Behavior Rules
174
1751. **Auto-sync is ON by default** after setup — like iCloud. The user should
176 not have to think about syncing. Changes are pushed within 30 seconds.
177
1782. **Never sync SOUL.md or IDENTITY.md without explicit permission.**
179
1803. **Always confirm before installing packages.** Show the diff, let them pick.
181
1824. **Private key never leaves the machine.** It's stored in
183 `~/.clawroam/keys/` with 600 permissions. The public key is registered
184 with the vault provider.
185
1865. **Conflicts:** If remote has changes the user hasn't seen, show a diff
187 and let them choose. Auto-merge for non-conflicting changes (like git).
188
1896. **Be transparent about costs.** If using ClawRoam Cloud, show current
190 usage and estimated cost when asked. Never surprise the user with charges.
191
1927. **Offline-first.** Everything works locally. Sync happens when connectivity
193 is available. Queue changes and push when back online.
194
1958. **Profiles are separate by default.** Each machine pushes to its own named
196 profile (default: hostname). Profiles never merge automatically. If the user
197 wants data from another machine, they must explicitly pull that profile with
198 `clawroam.sh profile pull <name>`.
199
200## ClawRoam Cloud Pricing
201
202When users ask about pricing:
203- **First 50 MB free** — enough for most single-user vaults
204- **$0.005/MB/month** after that (~$0.50/month for 100 MB extra)
205- **No per-instance fees** — connect unlimited machines
206- **No bandwidth fees** — sync as often as you want
207- Example: typical vault is 10-30 MB → completely free
208- Example: power user with 200 MB → $0.75/month
209- Example: team vault with 2 GB → ~$10/month