← 返回 Skills 市场
goog

openclaw configure backup

作者 Jay · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claw-config-backup
功能描述
Backup OpenClaw configuration file with hash-based change detection. Use when user asks to backup, create backup of, or save OpenClaw config (openclaw.json)....
使用说明 (SKILL.md)

Clawbackup

Backup OpenClaw configuration file with automatic change detection.

Quick Start

Backup Config

From workspace directory:

python config_backup.py ..\openclaw.json

Or with custom backup directory:

python config_backup.py ..\openclaw.json -o backup

Features

  • JSON5 Validation: Validates config file before backup
  • Hash-based Change Detection: Skips backup if file hasn't changed (compares SHA256 hash)
  • Timestamped Backups: Creates backups with timestamp format: openclaw_20260319_143052_123456.json
  • Custom Output Directory: Specify backup location with -o flag

Script Location

The script is located in "scripts" directory

Usage

usage: config_backup.py [-h] [-o OUTPUT] file

Validate JSON5 and backup with hash check

positional arguments:
  file                  JSON5 file path

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output   Backup directory (default: backup)

Example Output

✅ JSON5 validate passed
📦 已备份: backup\openclaw_20260319_143052_123456.json

If file unchanged:

✅ JSON5 validate passed
⚠️ config file unchange, skip backup
安全使用建议
This skill appears coherent and limited to local backups. Before installing/using: ensure you run the script intentionally (it will read the file path you provide and write backups to the chosen directory), and confirm you have Python and the json5 package available (the SKILL.md/script do not declare this dependency). Verify the backup directory and filesystem permissions so backups are stored where you expect, and review the included script if you need to ensure no additional behavior (the script is short and local-only).
功能分析
Type: OpenClaw Skill Name: claw-config-backup Version: 1.0.0 The skill is a legitimate utility for backing up OpenClaw configuration files with JSON5 validation and SHA256 hash-based change detection. The Python script `scripts/config_backup.py` performs local file operations using standard libraries and lacks any indicators of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description (backup openclaw.json) align with included script and SKILL.md. The script only reads the provided config file, validates it as JSON5, computes hashes, and copies it to a local backup directory — all expected for a backup utility.
Instruction Scope
SKILL.md instructs running the included script against a given file and optionally a backup directory. The script only reads the specified file and local filesystem paths; it does not access other system config, environment variables, or network endpoints.
Install Mechanism
No install spec — instruction-only with an included script. Nothing is downloaded or written system-wide by an installer. The only runtime requirement is Python and the json5 package (not declared), which is a low-risk dependency.
Credentials
The skill declares no environment variables, credentials, or config paths and the code does not attempt to read any secrets or unrelated config. Requested access (local file read/write) is proportional to the purpose.
Persistence & Privilege
Skill is user-invocable, not always-enabled; it does not request permanent presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claw-config-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claw-config-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial version—adds OpenClaw config backup capability with hash-based change detection. - Added Python script (config_backup.py) to backup OpenClaw JSON config file. - Automatically validates JSON5 before backup. - Backs up only if file content has changed (SHA256 hash check). - Creates timestamped backups in a specified or default directory. - Removed legacy token.sh script.
元数据
Slug claw-config-backup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

openclaw configure backup 是什么?

Backup OpenClaw configuration file with hash-based change detection. Use when user asks to backup, create backup of, or save OpenClaw config (openclaw.json).... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 openclaw configure backup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-config-backup」即可一键安装,无需额外配置。

openclaw configure backup 是免费的吗?

是的,openclaw configure backup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

openclaw configure backup 支持哪些平台?

openclaw configure backup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 openclaw configure backup?

由 Jay(@goog)开发并维护,当前版本 v1.0.0。

💬 留言讨论