{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-backup-optimized",
    "name": "Openclaw Backup Optimized",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/cccarv82/openclaw-backup-optimized",
    "canonicalUrl": "https://clawhub.ai/cccarv82/openclaw-backup-optimized",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-backup-optimized",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-backup-optimized",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/backup.js",
      "scripts/package.json",
      "references/CONFIG.md"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/openclaw-backup-optimized"
    },
    "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/openclaw-backup-optimized",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/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": "What this skill does",
        "body": "Use this skill to install, configure, and run the optimized OpenClaw backup workflow:\n\nFull snapshot of ~/.openclaw\nWorkspace archive split into ~90MB parts + SHA256\nRich Discord notification (summary + restore steps)\nRetention of last N reports"
      },
      {
        "title": "Files",
        "body": "Script: scripts/backup.js (cross-platform)\nReference config: references/CONFIG.md"
      },
      {
        "title": "Install / Setup",
        "body": "Copy the script into your tools folder:\n\ncp scripts/backup.js ~/.openclaw/workspace/tools/openclaw-backup.js\n\nConfigure env vars (see references/CONFIG.md):\n\nmacOS/Linux (bash/zsh):\n\nexport OPENCLAW_HOME=\"$HOME/.openclaw\"\nexport OPENCLAW_BACKUP_DIR=\"$HOME/.openclaw-backup\"\nexport BACKUP_REPO_URL=\"https://github.com/your/repo.git\"\nexport BACKUP_CHANNEL_ID=\"1234567890\"\nexport BACKUP_TZ=\"America/Sao_Paulo\"\nexport BACKUP_MAX_HISTORY=7\n\nWindows (PowerShell):\n\n$env:OPENCLAW_HOME=\"$env:USERPROFILE\\.openclaw\"\n$env:OPENCLAW_BACKUP_DIR=\"$env:USERPROFILE\\.openclaw-backup\"\n$env:BACKUP_REPO_URL=\"https://github.com/your/repo.git\"\n$env:BACKUP_CHANNEL_ID=\"1234567890\"\n$env:BACKUP_TZ=\"America/Sao_Paulo\"\n$env:BACKUP_MAX_HISTORY=\"7\"\n\nRun once:\n\nnode ~/.openclaw/workspace/tools/openclaw-backup.js\n\nCreate cron (OpenClaw cron runs in the gateway environment):\n\nopenclaw cron add --name \"openclaw-backup-daily\" \\\n  --cron \"0 5,10,15,20 * * *\" --tz \"America/Sao_Paulo\" \\\n  --exec \"node ~/.openclaw/workspace/tools/openclaw-backup.js\""
      },
      {
        "title": "Restore",
        "body": "Use the restore instructions printed in the backup notification."
      },
      {
        "title": "Notes",
        "body": "Excludes noisy session lock/deleted files for smaller diffs.\nRequires git and node (>=18).\nUses openclaw message send for notifications (no webhook).\nscripts/openclaw-backup.sh is legacy (Linux/macOS) and will be removed; use backup.js."
      }
    ],
    "body": "OpenClaw Backup (Optimized)\nWhat this skill does\n\nUse this skill to install, configure, and run the optimized OpenClaw backup workflow:\n\nFull snapshot of ~/.openclaw\nWorkspace archive split into ~90MB parts + SHA256\nRich Discord notification (summary + restore steps)\nRetention of last N reports\nFiles\nScript: scripts/backup.js (cross-platform)\nReference config: references/CONFIG.md\nInstall / Setup\nCopy the script into your tools folder:\ncp scripts/backup.js ~/.openclaw/workspace/tools/openclaw-backup.js\n\nConfigure env vars (see references/CONFIG.md):\n\nmacOS/Linux (bash/zsh):\n\nexport OPENCLAW_HOME=\"$HOME/.openclaw\"\nexport OPENCLAW_BACKUP_DIR=\"$HOME/.openclaw-backup\"\nexport BACKUP_REPO_URL=\"https://github.com/your/repo.git\"\nexport BACKUP_CHANNEL_ID=\"1234567890\"\nexport BACKUP_TZ=\"America/Sao_Paulo\"\nexport BACKUP_MAX_HISTORY=7\n\n\nWindows (PowerShell):\n\n$env:OPENCLAW_HOME=\"$env:USERPROFILE\\.openclaw\"\n$env:OPENCLAW_BACKUP_DIR=\"$env:USERPROFILE\\.openclaw-backup\"\n$env:BACKUP_REPO_URL=\"https://github.com/your/repo.git\"\n$env:BACKUP_CHANNEL_ID=\"1234567890\"\n$env:BACKUP_TZ=\"America/Sao_Paulo\"\n$env:BACKUP_MAX_HISTORY=\"7\"\n\nRun once:\nnode ~/.openclaw/workspace/tools/openclaw-backup.js\n\nCreate cron (OpenClaw cron runs in the gateway environment):\nopenclaw cron add --name \"openclaw-backup-daily\" \\\n  --cron \"0 5,10,15,20 * * *\" --tz \"America/Sao_Paulo\" \\\n  --exec \"node ~/.openclaw/workspace/tools/openclaw-backup.js\"\n\nRestore\n\nUse the restore instructions printed in the backup notification.\n\nNotes\nExcludes noisy session lock/deleted files for smaller diffs.\nRequires git and node (>=18).\nUses openclaw message send for notifications (no webhook).\nscripts/openclaw-backup.sh is legacy (Linux/macOS) and will be removed; use backup.js."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cccarv82/openclaw-backup-optimized",
    "publisherUrl": "https://clawhub.ai/cccarv82/openclaw-backup-optimized",
    "owner": "cccarv82",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-backup-optimized",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-backup-optimized/agent.md"
  }
}