Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

openclaw-backup-restoreOpenClaw 备份 restore

Agent Skill

openclaw-backup-restore 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

15,252

周安装

617

GitHub Stars

1

下载量

4,788
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-backup-restore

简介

基于 Git 的 OpenClaw 配置与工作区备份恢复工具。

  • 适用于团队协作或多设备间状态同步场景。openclaw-backup-restore 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 可备份代理设置、会话记录和工作区快照。
  • 需确保 Git 仓库权限与提交频率合理设置。
  • 建议在变更前手动创建检查点以防误覆盖。

SKILL.md

name
openclaw-backup-restore
description
Backup and restore OpenClaw configuration, agents, sessions, and workspace to/from a private Git repository. Use when the user wants to manually trigger a backup, migrate to a new machine, or restore from a previous state.

OpenClaw Backup & Restore

A specialized skill for managing the lifecycle of your OpenClaw data. This skill utilizes an external Git-managed backup directory to keep your production environment clean while ensuring full recoverability.

Strategy

  1. Isolation: Git operations happen in a dedicated directory outside the live .openclaw runtime to avoid pollution.
  2. Minimalism: Large node_modules, logs, and temporary files are excluded.
  3. Redundancy: Regular backups can be scheduled via Cron.

Setup

Before using this skill, you must set your private backup repository URL in openclaw.json. This URL is used by the scripts to push and pull data.

openclaw config set skills.entries.openclaw-backup-restore.env.OPENCLAW_BACKUP_REPO "git@github.com:your-username/your-repo.git"

How to Backup

To trigger a manual backup and sync to your remote repository:

  1. The agent should execute the backup.sh script located within this skill's scripts/ directory.
  2. The script will:

- Read the repo URL from the OpenClaw config. - Sync ${HOME}/.openclaw/ to ${HOME}/openclaw-backup/ using rsync (respecting .gitignore). - Generate a readable commit summary from changed paths (for example workspace/config/runtime/memory). - Commit and push to the remote main branch.

Trigger Phrases: "Backup OpenClaw now", "Sync my data to GitHub".


How to Restore

To restore your environment on a new or existing machine:

  1. Ensure your SSH key is added to your Git provider (e.g., GitHub).
  2. The agent should execute the restore.sh script located within this skill's scripts/ directory.
  3. The process involves:

- Reading the repo URL from the OpenClaw config. - Cloning or pulling the latest backup from the configured repository. - Syncing files back to ${HOME}/.openclaw/. - Reinstalling node dependencies and running openclaw doctor --yes to fix environment paths.

  1. Restart the Gateway: openclaw gateway restart.

Trigger Phrases: "Restore OpenClaw from backup", "Migrate my data".


Technical Details

  • Backup Directory: ${HOME}/openclaw-backup
  • Source Directory: ${HOME}/.openclaw
  • Exclusions: Defined in the skill's .gitignore (includes node_modules/, logs/, completions/, tmp/, dist/).
  • Automatic Setup: The .gitignore file is included in this skill and will be copied to ${HOME}/openclaw-backup/ during the first backup run.

Recovery Checklist

If restoring to a completely new machine:

  1. Install OpenClaw CLI first.
  2. Set the OPENCLAW_BACKUP_REPO config value.
  3. Configure SSH access for your Git provider.
  4. Run the restore script provided by this skill.
  5. Run openclaw onboard if you need to re-install the daemon service.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

92.9%
按下载量换算4,448

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills