# Send Auto Rollback to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "auto-rollback",
    "name": "Auto Rollback",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/extraterrest/auto-rollback",
    "canonicalUrl": "https://clawhub.ai/extraterrest/auto-rollback",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/auto-rollback",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-rollback",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "BOOT.md",
      "SKILL.md",
      "auto-rollback.sh",
      "clawhub.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "auto-rollback",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T06:12:02.092Z",
      "expiresAt": "2026-05-07T06:12:02.092Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-rollback",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-rollback",
        "contentDisposition": "attachment; filename=\"auto-rollback-1.2.0-alpha.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "auto-rollback"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/auto-rollback"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/auto-rollback",
    "downloadUrl": "https://openagent3.xyz/downloads/auto-rollback",
    "agentUrl": "https://openagent3.xyz/skills/auto-rollback/agent",
    "manifestUrl": "https://openagent3.xyz/skills/auto-rollback/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/auto-rollback/agent.md"
  }
}
```
## Documentation

### Auto-Rollback

Use this skill before editing ~/.openclaw/openclaw.json.

It creates a timestamped backup, schedules a rollback job for 10 minutes later, and restores the backup if Gateway still cannot come up. Rollback auto-cancellation is available only if the workspace BOOT.md includes the bundled snippet from this skill and the boot-md hook is already installed.

### Quick Flow

Run skills/auto-rollback/auto-rollback.sh start --reason "what changed"
Edit ~/.openclaw/openclaw.json
Restart Gateway
If Gateway becomes healthy, BOOT.md cancels the rollback
If Gateway stays unhealthy, launchd executes the rollback script

### Start protection

skills/auto-rollback/auto-rollback.sh start --reason "update gateway bindings"

Short form also works:

skills/auto-rollback/auto-rollback.sh start "update gateway bindings"

### Cancel pending rollback

skills/auto-rollback/auto-rollback.sh cancel

### Inspect current state

skills/auto-rollback/auto-rollback.sh status

### BOOT.md Integration

This skill does not install the boot-md hook by itself.

To enable automatic cancellation after a healthy restart:

Ensure your OpenClaw workspace already has the boot-md hook installed.
Merge skills/auto-rollback/BOOT.md into the workspace root BOOT.md.

Without that integration, rollback still works, but you must cancel it manually after a successful restart.

### Files

Script: skills/auto-rollback/auto-rollback.sh
BOOT snippet: skills/auto-rollback/BOOT.md
Backups: ~/.openclaw/openclaw.json.YYYYMMDD-HHMMSS
State: ~/.openclaw/state/rollback-pending.json
Log: ~/.openclaw/logs/rollback.log
launchd plist: ~/.openclaw/ai.openclaw.rollback.plist

### Agent Rule

If you want agents to always use this safety net, add an SOP rule in AGENTS.md that any openclaw.json change must run start first.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: extraterrest
- Version: 1.1.1-alpha.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T06:12:02.092Z
- Expires at: 2026-05-07T06:12:02.092Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/auto-rollback)
- [Send to Agent page](https://openagent3.xyz/skills/auto-rollback/agent)
- [JSON manifest](https://openagent3.xyz/skills/auto-rollback/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/auto-rollback/agent.md)
- [Download page](https://openagent3.xyz/downloads/auto-rollback)