← Back to Skills Marketplace
wangwu-30

OpenClaw Safe Config Rollback

by wangwu-30 · GitHub ↗ · v0.1.1
cross-platform ✓ Security Clean
508
Downloads
0
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install openclaw-safe-config-rollback
Description
Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-safe-config-rollback
  3. After installation, invoke the skill by name or use /openclaw-safe-config-rollback
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug openclaw-safe-config-rollback
Version 0.1.1
License
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 508 downloads so far.

How do I install OpenClaw Safe Config Rollback?

Run "/install openclaw-safe-config-rollback" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Safe Config Rollback free?

Yes, OpenClaw Safe Config Rollback is completely free (open-source). You can download, install and use it at no cost.

Which platforms does OpenClaw Safe Config Rollback support?

OpenClaw Safe Config Rollback is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Safe Config Rollback?

It is built and maintained by wangwu-30 (@wangwu-30); the current version is v0.1.1.

💬 Comments