← 返回 Skills 市场
wangwu-30

OpenClaw Safe Config Rollback

作者 wangwu-30 · GitHub ↗ · v0.1.1
cross-platform ✓ 安全检测通过
508
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-safe-config-rollback
功能描述
Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling...
安全使用建议
This skill appears coherent and implements the advertised rollback flow, but exercise standard caution: only run it in environments where you trust the apply command/file because --apply-cmd (bash -lc) will execute arbitrary shell code as your user; verify the apply script before running. Ensure the 'openclaw' CLI and required system tools exist or pass --no-restart/--health-cmd as appropriate. Be aware ack files are created in /tmp with predictable names (possible symlink/race risks on shared systems). Consider testing in staging, keeping offsite backups, and explicitly reviewing any apply-file contents before use. It would be better if the skill metadata declared 'openclaw' and basic shell tools as required binaries so installers know the dependency.
功能分析
Type: OpenClaw Skill Name: openclaw-safe-config-rollback Version: 0.1.1 This skill bundle provides a utility for safely applying configuration changes with automatic rollback. The `scripts/safe_apply.sh` script is designed to execute user-provided commands (`--apply-cmd`, `--apply-file`, `--health-cmd`) as part of its core functionality. While this capability is powerful and could be misused by a malicious user, the script itself does not contain any evidence of intentional harmful behavior such as data exfiltration, backdoor installation, or unauthorized actions. The `SKILL.md` documentation accurately describes the script's purpose and usage, without attempting any prompt injection against the AI agent. The behavior is clearly aligned with the stated purpose of a 'safe config rollback' utility.
能力评估
Purpose & Capability
Functionality (backup → apply → restart → health check → optional ack → rollback) aligns with the name/description. Minor mismatch: registry metadata lists no required binaries, but the script expects system tools (bash, cp, grep, date) and the OpenClaw CLI (openclaw). The ability to operate on an arbitrary --config path is intentional but means the script can target any file the user has permission to modify.
Instruction Scope
SKILL.md instructs running scripts/safe_apply.sh which executes a user-supplied --apply-cmd via bash -lc or an --apply-file. That is necessary for applying deterministic patches but means the tool will execute arbitrary shell commands supplied at runtime (trusted-by-user). The script reads/writes the specified config and uses /tmp for ack/status files (predictable paths). There are no hidden network endpoints or unexplained data exfiltration steps.
Install Mechanism
Instruction-only skill with a bundled shell script and no install spec — lowest installation risk. Nothing is downloaded or written to disk by an installer beyond the included files.
Credentials
The skill declares no required environment variables or credentials, which matches its local nature. The script relies on HOME (implicit) and filesystem access to the config path and /tmp; it will call the 'openclaw' CLI by default. No extraneous secrets or third-party service credentials are requested.
Persistence & Privilege
always is false and the skill does not modify agent-wide config or request persistent privileges. It runs only when invoked by the user/agent and does not attempt to persist beyond its execution.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-safe-config-rollback
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-safe-config-rollback 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Fix apply execution reliability (bash -lc), add --apply-file, safer rollback flow, and test-friendly health/restart flags
v0.1.0
Initial release: safe config apply with auto rollback and ack-timeout guard
元数据
Slug openclaw-safe-config-rollback
版本 0.1.1
许可证
累计安装 3
当前安装数 3
历史版本数 2
常见问题

OpenClaw Safe Config Rollback 是什么?

Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 508 次。

如何安装 OpenClaw Safe Config Rollback?

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

OpenClaw Safe Config Rollback 是免费的吗?

是的,OpenClaw Safe Config Rollback 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Safe Config Rollback 支持哪些平台?

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

谁开发了 OpenClaw Safe Config Rollback?

由 wangwu-30(@wangwu-30)开发并维护,当前版本 v0.1.1。

💬 留言讨论