← 返回 Skills 市场
1987566643

OpenClaw Safe Change Flow

作者 1987566643 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
449
总下载
0
收藏
1
当前安装
10
版本数
在 OpenClaw 中安装
/install openclaw-safe-change-flow
功能描述
Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional.
安全使用建议
This skill is coherent and appears to do what it says, but take these precautions before installing/using it: (1) Verify you have the OpenClaw CLI on PATH (openclaw status/gateway commands) because the script assumes it. (2) Inspect any edit scripts (edit-main.sh / edit-secondary.sh / underlying python scripts) before running — safe-change.sh will execute them with bash, so they can run arbitrary commands. (3) If you enable secondary checks, provide SECONDARY_TOKEN only when needed and keep it secret. (4) Be aware the script will restart the OpenClaw gateway and may call launchctl on macOS; run this in a maintenance window if production impact is possible. (5) Confirm backups are created in the expected path and test the rollback path in a safe environment before using in production.
功能分析
Type: OpenClaw Skill Name: openclaw-safe-change-flow Version: 1.1.0 The skill bundle provides a legitimate safety-oriented workflow for managing OpenClaw configuration changes. It includes a bash script (safe-change.sh) that implements a robust backup-validate-rollback pattern and instructions (SKILL.md) that guide the AI agent to use this safer method instead of direct file edits. The code uses standard practices like 'set -euo pipefail' and timestamped backups, and there is no evidence of data exfiltration, credential theft, or malicious intent.
能力评估
Purpose & Capability
The skill is aligned with its stated purpose (safe config changes and rollback). Minor inconsistency: the registry metadata lists no required binaries, but both SKILL.md and safe-change.sh assume an 'openclaw' CLI and standard UNIX tools (bash, cp, date, id, launchctl on macOS). This is expected for this task but the dependency on the OpenClaw CLI is implicit and should be confirmed before use.
Instruction Scope
SKILL.md and safe-change.sh stay within the stated scope: backup, run a provided edit script, validate (openclaw status/health), and rollback. The script intentionally executes user-provided scripts (bash "$MAIN_SCRIPT"), so those scripts can perform arbitrary actions — this is by design but means you must review the edit scripts before running. The script also restarts the gateway and optionally uses launchctl to kickstart a service (macOS-specific behavior).
Install Mechanism
Instruction-only skill with no install spec and a small included shell script. Nothing is downloaded or written to disk by an installer; the only file is safe-change.sh and it's executed locally — low install risk.
Credentials
No required credentials are declared. The script accepts optional environment overrides (SECONDARY_TOKEN, SECONDARY_URL, SECONDARY_HOME, MAIN_CFG) which are appropriate for the optional dual-instance flow. Requiring SECONDARY_TOKEN when using a secondary instance is reasonable and limited in scope.
Persistence & Privilege
The skill does not request persistent platform privileges (always:false). It does perform service restarts and writes/restores config backups under the user's home directory, which is appropriate for a config-change helper and limited to OpenClaw-related files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-safe-change-flow
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-safe-change-flow 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Security hardening: remove inline command execution (`bash -lc`) and use script-file entrypoints only; require SECONDARY_TOKEN via environment variable.
v1.0.9
Fix internal path consistency: script defaults now use neutral secondary-instance paths to match docs.
v1.0.8
Use neutral secondary-instance path naming in docs (remove personal "wife" wording).
v1.0.7
Translate SKILL.md to English and keep the default convention to run config changes via safe-change.sh.
v1.0.6
Add an explicit agent execution convention: after installing this skill, OpenClaw should use safe-change.sh as the default entrypoint for configuration changes.
v1.0.5
新增 Agent 执行约定:安装本技能后,配置变更默认通过 safe-change.sh 入口执行。
v1.0.3
默认单实例(推荐);双实例改为可选增强。强化备份→最小修改→校验→失败回滚流程。
v1.0.4
Test publish with acceptLicenseTerms
v1.0.1
Add safe-change.sh automation script with backup, validation, and automatic rollback for main + wife instances.
v1.0.0
Initial release: backup-validate-healthcheck-rollback workflow for main + secondary OpenClaw instances.
元数据
Slug openclaw-safe-change-flow
版本 1.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 10
常见问题

OpenClaw Safe Change Flow 是什么?

Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 449 次。

如何安装 OpenClaw Safe Change Flow?

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

OpenClaw Safe Change Flow 是免费的吗?

是的,OpenClaw Safe Change Flow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenClaw Safe Change Flow 支持哪些平台?

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

谁开发了 OpenClaw Safe Change Flow?

由 1987566643(@1987566643)开发并维护,当前版本 v1.1.0。

💬 留言讨论