cross-device-sync通过GitHub私有仓库自动同步OpenClaw记忆文件,实现多设备间数据的双向更新与冲突处理。
Install via ClawdBot CLI:
clawdbot install coreyleung-art/cross-device-sync通过GitHub仓库实现OpenClaw跨设备记忆同步的技能。
这个技能允许用户轻松地在多个设备之间同步OpenClaw的记忆文件。通过GitHub作为中央存储库,用户可以在不同的设备上访问相同的数据。
npx clawhub install cross-device-sync
// 设置跨设备同步
await setup_cross_device_sync({
repoUrl: "https://github.com/username/repository.git",
token: "your_github_personal_access_token"
});
// 立即执行同步
await sync_now();
// 检查同步状态
await check_sync_status();
此函数会引导用户完成整个设置过程:
此函数执行即时双向同步:
此函数检查同步系统的状态:
如果遇到同步问题:
Generated Mar 1, 2026
A distributed software development team uses this skill to synchronize AI agent configurations and project memories across members' local machines. It ensures all developers have consistent tool settings and context, improving collaboration efficiency and reducing setup discrepancies.
An individual professional employs the skill to maintain a unified AI assistant experience on their work laptop, home desktop, and mobile device. This allows seamless task management and memory continuity, enhancing personal organization and workflow consistency.
A university computer science department implements the skill to synchronize AI agent memories across lab computers for students and researchers. It facilitates shared learning resources and experimental data, supporting collaborative projects and curriculum standardization.
A freelance developer uses the skill to keep AI agent memories aligned between their primary workstation and backup devices while working on client projects. This ensures data redundancy and quick recovery, minimizing downtime and protecting project integrity.
Offer a basic free tier with limited sync frequency and storage, while charging for advanced features like automated scheduling, priority support, and enhanced security. This attracts individual users and converts them to paid plans as needs grow.
Sell annual licenses to businesses for team-wide deployment, including custom integration support, dedicated infrastructure, and compliance features. This targets organizations requiring robust, scalable synchronization solutions with high reliability.
Provide paid services for setup assistance, conflict resolution training, and tailored modifications to fit specific workflows. This model leverages expertise to address unique client needs beyond standard functionality.
💬 Integration Tip
Start by testing with a private GitHub repository to ensure data security, and use the provided functions in sequence to avoid configuration errors.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Query the DeepWiki MCP server for GitHub repository documentation, wiki structure, and AI-powered questions.
Automated GitHub PR code review with diff analysis, lint integration, and structured reports. Use when reviewing pull requests, checking for security issues,...
Essential Git commands and workflows for version control, branching, and collaboration.
Advanced git operations beyond add/commit/push. Use when rebasing, bisecting bugs, using worktrees for parallel development, recovering with reflog, managing subtrees/submodules, resolving merge conflicts, cherry-picking across branches, or working with monorepos.
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.