一键导入
start
Initialize Any Sync config and run first pull — guided setup wizard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize Any Sync config 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
Show sync status — auth, config, last sync, pending changes
Pull latest workspace files from GitHub sync repo
| name | start |
| description | Initialize Any Sync config and run first pull — guided setup wizard |
Guide the user through setting up Any Sync for cross-device sync.
Run the auth check:
npx @any-sync/cli 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 Claude 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):
~/.claude/skills)~/.claude/memory)~/.claude/settings.json)Then run the init command with the Claude preset:
npx @any-sync/cli init "$HOME/.any-sync.json" "<owner/repo>" "<branch>" --preset claude
Use main as the default branch unless the user specifies otherwise.
Run the first pull to download existing files:
npx @any-sync/cli pull "$HOME/.any-sync.json" ".any-sync.lock"
Parse the JSON output and display what was synced in a readable format: