{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/auto-rollback",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-rollback",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "BOOT.md",
      "SKILL.md",
      "auto-rollback.sh",
      "clawhub.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/auto-rollback",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Auto-Rollback",
        "body": "Use this skill before editing ~/.openclaw/openclaw.json.\n\nIt 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."
      },
      {
        "title": "Quick Flow",
        "body": "Run skills/auto-rollback/auto-rollback.sh start --reason \"what changed\"\nEdit ~/.openclaw/openclaw.json\nRestart Gateway\nIf Gateway becomes healthy, BOOT.md cancels the rollback\nIf Gateway stays unhealthy, launchd executes the rollback script"
      },
      {
        "title": "Start protection",
        "body": "skills/auto-rollback/auto-rollback.sh start --reason \"update gateway bindings\"\n\nShort form also works:\n\nskills/auto-rollback/auto-rollback.sh start \"update gateway bindings\""
      },
      {
        "title": "Cancel pending rollback",
        "body": "skills/auto-rollback/auto-rollback.sh cancel"
      },
      {
        "title": "Inspect current state",
        "body": "skills/auto-rollback/auto-rollback.sh status"
      },
      {
        "title": "BOOT.md Integration",
        "body": "This skill does not install the boot-md hook by itself.\n\nTo enable automatic cancellation after a healthy restart:\n\nEnsure your OpenClaw workspace already has the boot-md hook installed.\nMerge skills/auto-rollback/BOOT.md into the workspace root BOOT.md.\n\nWithout that integration, rollback still works, but you must cancel it manually after a successful restart."
      },
      {
        "title": "Files",
        "body": "Script: skills/auto-rollback/auto-rollback.sh\nBOOT snippet: skills/auto-rollback/BOOT.md\nBackups: ~/.openclaw/openclaw.json.YYYYMMDD-HHMMSS\nState: ~/.openclaw/state/rollback-pending.json\nLog: ~/.openclaw/logs/rollback.log\nlaunchd plist: ~/.openclaw/ai.openclaw.rollback.plist"
      },
      {
        "title": "Agent Rule",
        "body": "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."
      }
    ],
    "body": "Auto-Rollback\n\nUse this skill before editing ~/.openclaw/openclaw.json.\n\nIt 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.\n\nQuick Flow\nRun skills/auto-rollback/auto-rollback.sh start --reason \"what changed\"\nEdit ~/.openclaw/openclaw.json\nRestart Gateway\nIf Gateway becomes healthy, BOOT.md cancels the rollback\nIf Gateway stays unhealthy, launchd executes the rollback script\nCommands\nStart protection\nskills/auto-rollback/auto-rollback.sh start --reason \"update gateway bindings\"\n\n\nShort form also works:\n\nskills/auto-rollback/auto-rollback.sh start \"update gateway bindings\"\n\nCancel pending rollback\nskills/auto-rollback/auto-rollback.sh cancel\n\nInspect current state\nskills/auto-rollback/auto-rollback.sh status\n\nBOOT.md Integration\n\nThis skill does not install the boot-md hook by itself.\n\nTo enable automatic cancellation after a healthy restart:\n\nEnsure your OpenClaw workspace already has the boot-md hook installed.\nMerge skills/auto-rollback/BOOT.md into the workspace root BOOT.md.\n\nWithout that integration, rollback still works, but you must cancel it manually after a successful restart.\n\nFiles\nScript: skills/auto-rollback/auto-rollback.sh\nBOOT snippet: skills/auto-rollback/BOOT.md\nBackups: ~/.openclaw/openclaw.json.YYYYMMDD-HHMMSS\nState: ~/.openclaw/state/rollback-pending.json\nLog: ~/.openclaw/logs/rollback.log\nlaunchd plist: ~/.openclaw/ai.openclaw.rollback.plist\nAgent Rule\n\nIf 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": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/extraterrest/auto-rollback",
    "publisherUrl": "https://clawhub.ai/extraterrest/auto-rollback",
    "owner": "extraterrest",
    "version": "1.1.1-alpha.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}