Cross-Device Sync Skill
通过GitHub仓库实现OpenClaw跨设备记忆同步的技能。
Best use case
Cross-Device Sync Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
通过GitHub仓库实现OpenClaw跨设备记忆同步的技能。
Teams using Cross-Device Sync Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/cross-device-sync/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Cross-Device Sync Skill Compares
| Feature / Agent | Cross-Device Sync Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
通过GitHub仓库实现OpenClaw跨设备记忆同步的技能。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Cross-Device Sync Skill
通过GitHub仓库实现OpenClaw跨设备记忆同步的技能。
## 描述
这个技能允许用户轻松地在多个设备之间同步OpenClaw的记忆文件。通过GitHub作为中央存储库,用户可以在不同的设备上访问相同的数据。
## 功能
- 自动创建跨设备同步所需的脚本
- 配置GitHub仓库访问
- 设置双向同步机制
- 提供冲突处理机制
- 自动化定时同步选项
## 安装
```bash
npx clawhub install cross-device-sync
```
## 使用方法
### 1. 初始化设置
```javascript
// 设置跨设备同步
await setup_cross_device_sync({
repoUrl: "https://github.com/username/repository.git",
token: "your_github_personal_access_token"
});
```
### 2. 立即同步
```javascript
// 立即执行同步
await sync_now();
```
### 3. 检查状态
```javascript
// 检查同步状态
await check_sync_status();
```
## 详细说明
### setup_cross_device_sync
此函数会引导用户完成整个设置过程:
1. 验证GitHub仓库访问权限
2. 克隆或更新本地仓库
3. 创建双向同步脚本
4. 配置OpenClaw使用同步目录
5. 创建配置文档
### sync_now
此函数执行即时双向同步:
1. 从GitHub拉取最新更改
2. 将本地更改合并到工作区
3. 将本地更改推送到GitHub
### check_sync_status
此函数检查同步系统的状态:
1. 验证GitHub仓库连接
2. 检查同步脚本是否存在
3. 检查仓库状态
4. 报告配置信息
## 安全注意事项
- 请确保GitHub仓库是私有的以保护敏感数据
- 妥善保管Personal Access Token
- 定期轮换访问令牌
- 检查同步日志以确保没有异常活动
## 故障排除
如果遇到同步问题:
1. 检查网络连接
2. 验证GitHub认证信息
3. 查看同步日志
4. 确认仓库权限
## 维护
- 定期检查同步日志
- 清理旧的备份文件
- 验证数据一致性
- 更新访问令牌Related Skills
project-context-sync
Keep a living project state document updated after each commit, so any agent (or future session) can instantly understand where things stand.
iyeque-device-control
Expose safe device actions (volume, brightness, open/close apps) for personal automation.
xmtp-cli-sync
Sync conversations and messages with the XMTP CLI. Use when syncing conversations or syncing all.
icalendar-sync
Synchronizes calendar events between local system and iCloud.
cross-ref
Cross-reference GitHub PRs and issues to find duplicates and missing links.
health-sync
Analyze synced health data across Oura, Withings, Hevy, Strava, WHOOP, and Eight Sleep.
OpenClaw Async Task
## Description
cross-model-review
Adversarial plan review using two different AI models.
secure-sync
Secure credential sync and backup for OpenClaw .mykey files via ClawHub. Automates discovery, encoding, packaging, and private publishing for multi-instance recovery without external services. Use for setup migrations, DR, or cross-device key management.
wakapi-sync-skill
Daily Wakapi (WakaTime-compatible) summary → local CSV files.
douban-sync-skill
Export and sync Douban (豆瓣) book/movie/music/game collections.
multi-agent-sync
Coordinate multi-agent tasks with visible group updates.