Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计通过

openclaw-workspace-syncOpenClaw workspace sync 部署

Agent Skill

openclaw-workspace-sync 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,365

周安装

255

GitHub Stars

1

下载量

2,060
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-workspace-sync(OpenClaw workspace sync 部署)
来源仓库:https://github.com/ashbrener/openclaw-workspace-sync
安装命令:
openclaw skills install openclaw-workspace-sync
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-workspace-sync

简介

使用 rclone 将代理工作区与云存储(Dropbox、Google Drive、S3 等)同步。

SKILL.md

name
workspace-sync
description
Sync agent workspace with cloud storage (Dropbox, Google Drive, S3, etc.) using rclone.
metadata
{"openclaw":{"emoji":"☁️","requires":{"bins":["rclone"]}}}

workspace-sync

Sync the agent workspace with cloud storage. mode is required — choose mailbox (inbox/outbox, safest), mirror (remote->local), or bisync (bidirectional, advanced).

Trigger

Use this skill when the user asks to:

  • Sync workspace to/from cloud
  • Back up workspace files
  • Check sync status
  • Fix sync issues
  • Send files to the agent workspace

Sync modes

ModeDirectionDescription
mailbox (recommended)Push + inbox/outboxWorkspace pushes to cloud; _outbox sends files up to the agent's _inbox. Safest.
mirrorRemote → LocalOne-way: workspace mirrors down. Safe — local can never overwrite remote.
bisyncBidirectionalTwo-way sync. Powerful but requires careful setup.

Mailbox mode

Each sync cycle: (1) pushes workspace to cloud excluding _inbox/ and _outbox/, (2) drains cloud _outbox/ into workspace _inbox/ via rclone move (deletes from cloud after transfer). On startup, bootstraps cloud:_outbox and local _inbox/.

Users drop files in the local _outbox/ folder (created by the cloud provider's desktop app). Files arrive in the agent's _inbox/. The agent or a skill processes them from there.

With notifyOnInbox: true, the agent is woken when files land in _inbox. A system event lists the new filenames so the agent can process them. Off by default — each notification costs an agent turn.

Mirror mode with ingest

With ingest: true, a local inbox/ folder syncs one-way up to the remote workspace (additive only). For a more robust pattern, use mailbox mode instead.

Commands

Check sync status

openclaw workspace-sync status

Shows: provider, mode, last sync time, sync count, error count, running state.

Trigger manual sync

openclaw workspace-sync sync

In mailbox mode: pushes workspace and drains _outbox. In mirror mode: pulls latest from remote. In bisync mode: runs bidirectional sync.

Preview changes

openclaw workspace-sync sync --dry-run

One-way sync (explicit direction)

openclaw workspace-sync sync --direction pull   # remote -> local
openclaw workspace-sync sync --direction push   # local -> remote

Force re-establish bisync baseline (destructive)

openclaw workspace-sync sync --resync

WARNING: --resync is destructive (bisync only). It copies ALL files from both sides to make them identical — deleted files come back, and it transfers everything. Only use when you explicitly need to re-establish the bisync baseline. The plugin never auto-resyncs.

View remote files

openclaw workspace-sync list

Lists files in the configured cloud storage path.

Configuration

Workspace sync is configured via the plugin entry in openclaw.json. The preferred format uses nested sync and backup blocks (flat config at root level is also supported):

{
  "plugins": {
    "entries": {
      "openclaw-workspace-sync": {
        "enabled": true,
        "config": {
          "sync": {
            "provider": "dropbox",
            "mode": "mailbox",
            "remotePath": "",
            "localPath": "/",
            "interval": 60,
            "timeout": 1800,
            "onSessionStart": true,
            "onSessionEnd": true,
            "exclude": [".git/**", "node_modules/**", "*.log"]
          }
        }
      }
    }
  }
}

Config keys

These keys live under sync in the nested format, or at the config root in flat format.

KeyDefaultDescription
provider"off"dropbox, gdrive, onedrive, s3, custom, or off
moderequiredmailbox (inbox/outbox, safest), mirror (remote->local), or bisync (bidirectional)
ingestfalseEnable local inbox for sending files to the agent (mirror mode only)
ingestPath"inbox"Local subfolder name for ingestion
notifyOnInboxfalseWake the agent when files arrive in _inbox (mailbox mode). Costs credits per notification.
remotePath"openclaw-share"Folder name in cloud storage
localPath"shared"Subfolder within workspace to sync
interval0Background sync interval in seconds (0 = manual only, min 60)
timeout1800Max seconds for a single sync operation (min 60)
onSessionStartfalseSync when an agent session begins
onSessionEndfalseSync when an agent session ends
conflictResolve"newer"newer, local, or remote (bisync only)
exclude**/.DS_StoreGlob patterns to exclude from sync

Automatic sync

When configured, sync runs automatically:

  • On session start: Pushes workspace and drains outbox (mailbox), pulls latest (mirror), or runs bisync
  • On session end: Syncs changes after conversation ends
  • Periodic interval: Background sync every N seconds (no LLM cost)

Safety notes

  • Mailbox mode is the safest. Workspace pushes to cloud; users send files via _outbox. Streams never overlap.
  • Mirror mode is safe by design. Remote workspace is the authority. Local is a read-only copy.
  • Bisync requires careful setup. Both sides must agree. If state is lost, --resync is needed and it copies everything.
  • On container platforms (Fly.io, Railway), bisync state is ephemeral — use mailbox or mirror mode instead.
  • When changing config (remotePath, localPath, mode), disable periodic sync first, verify, then re-enable.

Auto-recovery

  • Stale lock files: Detected and cleared before retrying (lock files older than 15 min are expired automatically)
  • Interrupted syncs: Uses --recover and --resilient flags to resume after interruptions (bisync only)
  • Resync never automatic: If bisync state is lost, the plugin logs a message but does NOT auto-resync

Troubleshooting

"rclone not configured"

First, install rclone via your OS package manager:

# macOS
brew install rclone

# Debian/Ubuntu
sudo apt-get install rclone

# Fedora
sudo dnf install rclone

# Arch
sudo pacman -S rclone

# Alpine
sudo apk add rclone

For other platforms, see https://rclone.org/install/

Security note: This skill never pipes remote install scripts to your shell. Install rclone via your OS package manager, then run the setup wizard:

openclaw workspace-sync setup

The setup wizard will only attempt installation via your detected OS package manager (brew/apt/dnf/yum/pacman/apk) — it will never use curl | sudo sh.

"requires --resync" (bisync only)

Bisync state was lost. Before running --resync, verify both sides are correct:

openclaw workspace-sync sync --resync

Sync times out

Increase the timeout in your config (default is 1800 seconds / 30 min):

{ "timeout": 3600 }

Check rclone directly

rclone lsd cloud:/
rclone ls cloud:openclaw-share

Notes

  • mode is required — set mailbox (inbox/outbox, safest), mirror (remote→local), or bisync (bidirectional)
  • Mailbox mode bootstraps _outbox on cloud and _inbox on workspace at startup
  • Bisync is available for power users who need bidirectional sync
  • Ingest inbox (mirror mode only) is additive only — cannot delete remote files
  • Only **/.DS_Store excluded by default — add your own excludes in config
  • Sync operations run in background (no LLM tokens used)
  • All rclone activity is logged at info level for visibility

Encrypted backups

Add a backup block to the plugin config for automated encrypted snapshots to your own cloud storage (S3, R2, B2, etc.). Backups stream directly (tar | rclone rcat) — no local temp files, so they work even when disk space is tight.

Backup commands

openclaw workspace-sync backup now        # Create a snapshot immediately
openclaw workspace-sync backup list       # List available snapshots
openclaw workspace-sync backup restore    # Restore latest snapshot
openclaw workspace-sync backup status     # Check backup service status

Backup config

{
  "backup": {
    "enabled": true,
    "provider": "s3",
    "bucket": "my-backups",
    "prefix": "agent-name/",
    "interval": 86400,
    "encrypt": true,
    "passphrase": "${BACKUP_PASSPHRASE}",
    "include": ["workspace", "config", "cron", "memory"],
    "retain": { "daily": 7, "weekly": 4 }
  }
}
KeyDefaultDescription
enabledfalseEnable scheduled backups
providerparent providerCloud provider (can differ from sync provider)
bucketS3/R2 bucket name
prefix""Path prefix within the bucket
interval86400Backup interval in seconds (clamped to min 300)
encryptfalseAES-256 client-side encryption
passphraseEncryption passphrase (use env var)
include["workspace", "config", "cron", "memory"]What to back up
retain7Keep N snapshots, or { daily: N, weekly: N }

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.36%
按下载量换算1,532

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-workspace-sync 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills