Sync for Openclaw

A professional-grade synchronization skill for reliably managing data across local filesystems, SSH remotes, and cloud storage providers.

macdesire
v1.0.0
Mar 14, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install sync-backup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install sync-backup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Sync?

The Sync skill is a comprehensive toolkit designed for AI agents to handle complex data movement tasks with high reliability. By utilizing industry-standard tools like rsync and rclone, it provides a safe framework for mirroring directories, performing backups, and migrating data between heterogeneous environments. This skill is a core component of the Openclaw Skills library, focusing on preserving file integrity, minimizing bandwidth through compression, and maintaining precise directory structures.

Whether you are managing a simple local backup or a sophisticated multi-cloud architecture, this skill implements best practices such as dry-run testing and checksum verification. It ensures that developers can automate repetitive transfer tasks without the risk of accidental data loss, making it an essential utility for modern DevOps and system administration workflows within the Openclaw Skills ecosystem.

Sync Use Cases

  • Deploying local code updates to remote staging or production servers via SSH.
  • Automating daily backups from local storage to S3-compatible cloud buckets.
  • Maintaining exact mirrors of project folders while excluding heavy build artifacts like node_modules.
  • Synchronizing data across unreliable network connections using partial transfer resumes.
  • Auditing file consistency between different storage zones using checksum-based comparisons.

How Sync Works

  1. Identifies the source and destination types to select between rsync for local/SSH or rclone for cloud storage.
  2. Evaluates the directory path structure, applying trailing slash logic to determine if the folder or its contents should be moved.
  3. Loads exclusion patterns from .syncignore or command-line flags to filter out unnecessary metadata and temporary files.
  4. Initiates a dry-run operation to simulate the transfer and provide a preview of modifications.
  5. Executes the synchronization using archive mode to preserve original permissions, ownership, and timestamps.
  6. Performs post-transfer verification using checksums or comparison tools to ensure data parity.

Sync Setup

To utilize this skill, ensure the underlying utilities are installed on your system. This skill is compatible with Linux, macOS, and Windows.

# Install rsync and rclone on Debian/Ubuntu
sudo apt update && sudo apt install rsync rclone

# Install on macOS using Homebrew
brew install rsync rclone

# Configure cloud remotes for rclone
rclone config

Properly configuring your SSH keys is recommended to allow Openclaw Skills to perform remote operations without manual password entry.

Sync Data Schema & Taxonomy

The Sync skill manages data movement through a structured approach to metadata and exclusions.

Component Description
Source/Destination Supports local paths, user@host:path, and rclone remote aliases.
Exclude Logic Uses relative patterns in .syncignore to skip files like .git/ or __pycache__/.
Log Audit Capture sync history using --verbose and piping output to log files.
Checksum Registry Optional MD5/SHA-1 validation for verifying file contents over size/time.

Sync Advanced Features

  • Support for bidirectional synchronization using Unison to resolve conflicts between two-way data streams.
  • Advanced S3 optimizations including configurable chunk sizes to prevent timeouts during large object uploads.
  • Delta-transfer algorithm integration to only move the changed portions of files, significantly reducing bandwidth.
  • Atomic synchronization capabilities using the delete-after flag to ensure the destination mirrors the source perfectly.
  • Native integration with Openclaw Skills for automated disaster recovery and environment mirroring.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*