{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawdog-backup",
    "name": "Clawdog Backup",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/Michael-crazy/clawdog-backup",
    "canonicalUrl": "https://clawhub.ai/Michael-crazy/clawdog-backup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawdog-backup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdog-backup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/backup-core.sh",
      "scripts/backup-memory.sh",
      "scripts/restore.sh"
    ],
    "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/clawdog-backup"
    },
    "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/clawdog-backup",
    "agentPageUrl": "https://openagent3.xyz/skills/clawdog-backup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdog-backup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdog-backup/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": "ClawDog Backup",
        "body": "Version: 1.0.1\n\n狗蛋备份恢复技能 — 备份和恢复 OpenClaw 的核心文件和记忆到 OneDrive。"
      },
      {
        "title": "功能",
        "body": "核心层备份：实时监控 SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md，文件修改时自动备份\n记忆层备份：每周定时备份 memory/ 目录\n云端同步：备份自动同步到 OneDrive /备份/OpenClaw/\n恢复功能：从 OneDrive 恢复备份到指定目录"
      },
      {
        "title": "备份内容",
        "body": "类型内容触发方式核心层SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md文件修改实时触发记忆层memory/每周日 UTC 23:00"
      },
      {
        "title": "备份",
        "body": "核心层文件修改后自动备份（需要启动 inotify 监控）：\n\n# 启动核心层监控（后台运行）\nnohup /root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-core.sh > /root/.openclaw/backup/inotify.log 2>&1 &\n\n手动触发记忆层备份：\n\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-memory.sh"
      },
      {
        "title": "恢复（从 OneDrive）",
        "body": "# 测试恢复（不覆盖）\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all --dry-run\n\n# 恢复核心层到工作区\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --core\n\n# 恢复所有到工作区\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all"
      },
      {
        "title": "恢复（从本地文件 - 新机器）",
        "body": "新机器无需 rclone，直接用备份文件恢复：\n\n# 从本地文件夹恢复所有\n./restore.sh --source /path/to/backup-files --all\n\n# 从本地文件恢复核心层到指定目录\n./restore.sh --source ./backup-files --core --target /tmp/restore"
      },
      {
        "title": "选项",
        "body": "选项说明--source PATH本地备份文件夹（不指定则从 OneDrive 恢复）--core只恢复核心层--memory只恢复记忆层--all恢复所有（默认）--date DATE指定日期 (YYYYMMDD)--target DIR目标目录（默认: workspace）--dry-run测试模式，不实际恢复"
      },
      {
        "title": "OneDrive 位置",
        "body": "路径：OneDrive:/备份/OpenClaw/\n文件：\n\ngoudan-core-YYYYMMDD-HHMMSS.tar.gz\ngoudan-memory-YYYYMMDD.tar.gz"
      },
      {
        "title": "定时任务",
        "body": "记忆层备份已配置为每周日 UTC 23:00 执行（通过 OpenClaw cron）。"
      },
      {
        "title": "日志",
        "body": "核心层备份日志：/root/.openclaw/backup/core-backup.log\n记忆层备份日志：/root/.openclaw/backup/memory-backup.log\n恢复日志：/root/.openclaw/backup/restore.log\ninotify 监控日志：/root/.openclaw/backup/inotify.log"
      },
      {
        "title": "依赖",
        "body": "rclone（已配置 OneDrive）\ninotify-tools（核心层实时监控）\ntar"
      },
      {
        "title": "注意事项",
        "body": "首次使用需要配置 rclone 和 OneDrive\n核心层监控需要后台运行\n恢复时默认不覆盖已存在的文件（用 cp -n）"
      }
    ],
    "body": "ClawDog Backup\n\nVersion: 1.0.1\n\n狗蛋备份恢复技能 — 备份和恢复 OpenClaw 的核心文件和记忆到 OneDrive。\n\n功能\n核心层备份：实时监控 SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md，文件修改时自动备份\n记忆层备份：每周定时备份 memory/ 目录\n云端同步：备份自动同步到 OneDrive /备份/OpenClaw/\n恢复功能：从 OneDrive 恢复备份到指定目录\n备份内容\n类型\t内容\t触发方式\n核心层\tSOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md\t文件修改实时触发\n记忆层\tmemory/\t每周日 UTC 23:00\n使用方法\n备份\n\n核心层文件修改后自动备份（需要启动 inotify 监控）：\n\n# 启动核心层监控（后台运行）\nnohup /root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-core.sh > /root/.openclaw/backup/inotify.log 2>&1 &\n\n\n手动触发记忆层备份：\n\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-memory.sh\n\n恢复（从 OneDrive）\n# 测试恢复（不覆盖）\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all --dry-run\n\n# 恢复核心层到工作区\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --core\n\n# 恢复所有到工作区\n/root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all\n\n恢复（从本地文件 - 新机器）\n\n新机器无需 rclone，直接用备份文件恢复：\n\n# 从本地文件夹恢复所有\n./restore.sh --source /path/to/backup-files --all\n\n# 从本地文件恢复核心层到指定目录\n./restore.sh --source ./backup-files --core --target /tmp/restore\n\n选项\n选项\t说明\n--source PATH\t本地备份文件夹（不指定则从 OneDrive 恢复）\n--core\t只恢复核心层\n--memory\t只恢复记忆层\n--all\t恢复所有（默认）\n--date DATE\t指定日期 (YYYYMMDD)\n--target DIR\t目标目录（默认: workspace）\n--dry-run\t测试模式，不实际恢复\nOneDrive 位置\n路径：OneDrive:/备份/OpenClaw/\n文件：\ngoudan-core-YYYYMMDD-HHMMSS.tar.gz\ngoudan-memory-YYYYMMDD.tar.gz\n定时任务\n\n记忆层备份已配置为每周日 UTC 23:00 执行（通过 OpenClaw cron）。\n\n日志\n核心层备份日志：/root/.openclaw/backup/core-backup.log\n记忆层备份日志：/root/.openclaw/backup/memory-backup.log\n恢复日志：/root/.openclaw/backup/restore.log\ninotify 监控日志：/root/.openclaw/backup/inotify.log\n依赖\nrclone（已配置 OneDrive）\ninotify-tools（核心层实时监控）\ntar\n注意事项\n首次使用需要配置 rclone 和 OneDrive\n核心层监控需要后台运行\n恢复时默认不覆盖已存在的文件（用 cp -n）"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Michael-crazy/clawdog-backup",
    "publisherUrl": "https://clawhub.ai/Michael-crazy/clawdog-backup",
    "owner": "Michael-crazy",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawdog-backup",
    "downloadUrl": "https://openagent3.xyz/downloads/clawdog-backup",
    "agentUrl": "https://openagent3.xyz/skills/clawdog-backup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdog-backup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdog-backup/agent.md"
  }
}