闲社服务运行正常AI智能体自动化平台
o

安全操作守护

技能标识:openclaw-safe-ops

Guards high-risk OpenClaw operations with preflight backups, post-change health checks, and rollback guidance. Use when running gateway restart/start/stop, config set/unset, plugin install/update/uninstall, or editing openclaw.json.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.1
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

安全操作守护

技能名称:openclaw-safe-ops

详细描述:

OpenClaw 安全操作

适用场景

在执行任何高风险 OpenClaw 操作前应用此技能:

  • - openclaw gateway restart|start|stop|install|uninstall|run|status
  • openclaw config set|unset
  • openclaw plugins install|update|uninstall|enable|disable
  • 手动编辑 ~/.openclaw/openclaw.json

安全工作流程

  1. 1. 变更前创建备份:
- cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.manual.$(date +%Y%m%d-%H%M%S).bak
  1. 2. 执行目标命令。
  2. 立即验证:
- openclaw channels status --probe - openclaw status --deep
  1. 4. 若检查失败则回滚:
- cp ~/.openclaw/openclaw.json.bak ~/.openclaw/openclaw.json - openclaw gateway restart - openclaw status --deep

推荐命令封装

对于本地终端操作,建议使用:

  • - ./scripts/openclaw-safe.sh

该封装脚本会自动为风险操作备份配置、执行健康检查,并在失败时自动回滚。

输出要求

完成风险操作后需报告:

  • - 已执行的命令
  • 使用的备份路径
  • 健康检查结果
  • 是否需要回滚

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-safe-ops-1776186552 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-safe-ops-1776186552 技能

通过命令行安装

skillhub install openclaw-safe-ops-1776186552

下载

⬇ 下载 openclaw-safe-ops v1.0.1(免费)

文件大小: 2.67 KB | 发布时间: 2026-4-15 10:30

v1.0.1 最新 2026-4-15 10:30
Initial release: Guards high-risk OpenClaw operations with preflight backups and health checks
返回顶部