一键导入
any-sync-start
Initialize Any Sync config for OpenClaw workspace and run first pull — guided setup wizard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize Any Sync config for OpenClaw workspace and run first pull — guided setup wizard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cross-device sync for OpenClaw workspace (skills, memory, settings) via GitHub
Push local changes directly to configured branch on GitHub
Pull latest files from GitHub sync repo
Clear Any Sync config and delete lockfile
Initialize Any Sync config and run first pull — guided setup wizard
Show sync status — auth, config, last sync, pending changes
| name | any_sync_start |
| description | Initialize Any Sync config for OpenClaw workspace and run first pull — guided setup wizard |
| metadata | {"openclaw":{"requires":{"bins":["gh"]}}} |
Guide the user through setting up Any Sync for cross-device workspace sync.
Run the auth check:
npx any-sync auth
If it fails (exit code 1), help the user set up authentication:
GITHUB_TOKEN environment variablegh auth login to authenticate with GitHub CLIDo not proceed until auth succeeds.
Ask the user for their sync repo in owner/repo format. This is the GitHub repository where their OpenClaw workspace files will be stored.
If they don't have one yet, suggest they create a new private repo on GitHub first.
Ask the user which items to sync (default: all three):
~/.openclaw/workspace/skills)~/.openclaw/workspace/memory)AGENTS.md, SOUL.md, USER.md, TOOLS.md, IDENTITY.md)Then run the init command with the OpenClaw preset:
npx any-sync init "$HOME/.any-sync.json" "<owner/repo>" "<branch>" --preset openclaw
Use main as the default branch unless the user specifies otherwise.
The init command respects OPENCLAW_WORKSPACE and OPENCLAW_PROFILE environment variables for custom workspace paths.
Run the first pull to download existing files:
npx any-sync pull "$HOME/.any-sync.json" ".any-sync.lock"
Parse the JSON output and display what was synced in a readable format: