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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-safe-ops" with this command: npx skills add dhrxy/openclaw-safe-ops

OpenClaw Safe Ops

When To Apply

Apply this skill before any high-risk OpenClaw operation:

  • openclaw gateway restart|start|stop|install|uninstall|run|status
  • openclaw config set|unset
  • openclaw plugins install|update|uninstall|enable|disable
  • Manual edits to ~/.openclaw/openclaw.json

Safety Workflow

  1. Capture a backup before change:
    • cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.manual.$(date +%Y%m%d-%H%M%S).bak
  2. Run the intended command.
  3. Validate immediately:
    • openclaw channels status --probe
    • openclaw status --deep
  4. If checks fail, rollback:
    • cp ~/.openclaw/openclaw.json.bak ~/.openclaw/openclaw.json
    • openclaw gateway restart
    • openclaw status --deep

Preferred Command Wrapper

For local terminal operations, prefer:

  • ./scripts/openclaw-safe.sh <openclaw args...>

This wrapper auto-backs up config for risky actions, runs health checks, and rolls back on failure.

Output Requirements

When completing a risky operation, report:

  • Command executed
  • Backup path used
  • Health check results
  • Whether rollback was needed

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Sacred Rules

Provides essential safety rules and tools for managing OpenClaw configs, backups, auth troubleshooting, and recovery to prevent system failures.

Registry SourceRecently Updated
0239
Profile unavailable
General

Number Two Migration

完整迁移二号的身份、记忆、技能及项目状态,自动配置API密钥并验证环境,确保二号在新环境中完全恢复运行。

Registry SourceRecently Updated
0122
Profile unavailable
General

OpenClaw 备份还原工具

OpenClaw 备份还原工具。每次安装调试功能前自动备份,支持终端一键还原和重启。让技术小白也能放心折腾。

Registry SourceRecently Updated
0114
Profile unavailable