{
  "schemaVersion": "1.0",
  "item": {
    "slug": "restic-home-backup-safe",
    "name": "Restic Home Backup (Safe Apply Mode)",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Moep90/restic-home-backup-safe",
    "canonicalUrl": "https://clawhub.ai/Moep90/restic-home-backup-safe",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/restic-home-backup-safe",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=restic-home-backup-safe",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/ops-checklist.md",
      "scripts/bootstrap_restic_home.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-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/restic-home-backup-safe"
    },
    "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/restic-home-backup-safe",
    "agentPageUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/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": "Restic Home Backup",
        "body": "Define and deliver a production-ready restic backup setup for ~/ with encryption, deduplication, automated scheduling, and restore testing."
      },
      {
        "title": "Skill contract",
        "body": "Name: restic-home-backup\nProblem solved: Provide reliable, encrypted, versioned backups of a Linux home directory with operational safety and repeatable recovery.\nInputs:\n\nBackup target type (local disk, sftp, s3, b2, etc.)\nRepository endpoint/path\nSecret handling method (env file or password file)\nSchedule preferences (daily backup, weekly prune, monthly check)\nExclude patterns\n\n\nOutputs:\n\nInstalled and initialized restic repository\nBackup/prune/check scripts\nsystemd service/timer units\nValidation evidence (snapshots + test restore)\nShort operator runbook\n\n\nSafety boundaries (must never violate):\n\nNever print secrets or tokens in chat/log output.\nNever delete snapshots/repositories without explicit user confirmation.\nNever weaken permissions on credential files (chmod 600 minimum).\nNever claim backup success without checking command exit status and snapshot listing.\nNever apply system changes implicitly: require explicit --apply (or explicit user confirmation) before writing to /etc, /usr/local/bin, or /etc/systemd/system."
      },
      {
        "title": "1) Assess and confirm backup contract",
        "body": "Collect the minimum required values before changes:\n\nSource path (default /home/<user>)\nDestination repo and transport\nRetention policy (for example: 7d/4w/12m)\nPreferred schedule in local timezone\n\nIf any critical value is missing, ask targeted questions."
      },
      {
        "title": "2) Scaffold backup implementation",
        "body": "Use these resources:\n\nscripts/bootstrap_restic_home.sh to generate deterministic setup artifacts. It is PLAN-ONLY by default and requires explicit --apply for system changes. Optional flags control timer enablement, repository initialization, and initial backup run.\nreferences/ops-checklist.md for day-2 operations and troubleshooting.\n\nCreate:\n\n/etc/restic-home.env (root-readable only)\n/usr/local/bin/restic-home-backup.sh\n/usr/local/bin/restic-home-prune.sh\n/usr/local/bin/restic-home-check.sh\nrestic-home-backup.service/.timer\nrestic-home-prune.service/.timer\nrestic-home-check.service/.timer"
      },
      {
        "title": "3) Harden and validate",
        "body": "Run and verify:\n\nrestic snapshots\nOne immediate backup run\nOne restore smoke test to temporary directory\nrestic check (or scheduled monthly deep check)\n\nValidate failure behavior:\n\nWrong password\nUnreachable repository\nPermission denied on env file\n\nReport exact failing command + short corrective action."
      },
      {
        "title": "4) Package and publish via ClawHub CLI (when requested)",
        "body": "When user requests publication:\n\nValidate skill quality and structure.\nPackage skill.\nPublish with clawhub CLI.\nVerify install from registry in a clean environment.\n\nKeep publish actions explicit and auditable."
      },
      {
        "title": "Response style requirements",
        "body": "Use descriptive language with concrete operational detail:\n\nName the exact file path, service name, and command.\nState what changed and how to verify it.\nEnd multi-step tasks with explicit completion status."
      }
    ],
    "body": "Restic Home Backup\n\nDefine and deliver a production-ready restic backup setup for ~/ with encryption, deduplication, automated scheduling, and restore testing.\n\nSkill contract\nName: restic-home-backup\nProblem solved: Provide reliable, encrypted, versioned backups of a Linux home directory with operational safety and repeatable recovery.\nInputs:\nBackup target type (local disk, sftp, s3, b2, etc.)\nRepository endpoint/path\nSecret handling method (env file or password file)\nSchedule preferences (daily backup, weekly prune, monthly check)\nExclude patterns\nOutputs:\nInstalled and initialized restic repository\nBackup/prune/check scripts\nsystemd service/timer units\nValidation evidence (snapshots + test restore)\nShort operator runbook\nSafety boundaries (must never violate):\nNever print secrets or tokens in chat/log output.\nNever delete snapshots/repositories without explicit user confirmation.\nNever weaken permissions on credential files (chmod 600 minimum).\nNever claim backup success without checking command exit status and snapshot listing.\nNever apply system changes implicitly: require explicit --apply (or explicit user confirmation) before writing to /etc, /usr/local/bin, or /etc/systemd/system.\nWorkflow\n1) Assess and confirm backup contract\n\nCollect the minimum required values before changes:\n\nSource path (default /home/<user>)\nDestination repo and transport\nRetention policy (for example: 7d/4w/12m)\nPreferred schedule in local timezone\n\nIf any critical value is missing, ask targeted questions.\n\n2) Scaffold backup implementation\n\nUse these resources:\n\nscripts/bootstrap_restic_home.sh to generate deterministic setup artifacts. It is PLAN-ONLY by default and requires explicit --apply for system changes. Optional flags control timer enablement, repository initialization, and initial backup run.\nreferences/ops-checklist.md for day-2 operations and troubleshooting.\n\nCreate:\n\n/etc/restic-home.env (root-readable only)\n/usr/local/bin/restic-home-backup.sh\n/usr/local/bin/restic-home-prune.sh\n/usr/local/bin/restic-home-check.sh\nrestic-home-backup.service/.timer\nrestic-home-prune.service/.timer\nrestic-home-check.service/.timer\n3) Harden and validate\n\nRun and verify:\n\nrestic snapshots\nOne immediate backup run\nOne restore smoke test to temporary directory\nrestic check (or scheduled monthly deep check)\n\nValidate failure behavior:\n\nWrong password\nUnreachable repository\nPermission denied on env file\n\nReport exact failing command + short corrective action.\n\n4) Package and publish via ClawHub CLI (when requested)\n\nWhen user requests publication:\n\nValidate skill quality and structure.\nPackage skill.\nPublish with clawhub CLI.\nVerify install from registry in a clean environment.\n\nKeep publish actions explicit and auditable.\n\nResponse style requirements\n\nUse descriptive language with concrete operational detail:\n\nName the exact file path, service name, and command.\nState what changed and how to verify it.\nEnd multi-step tasks with explicit completion status."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Moep90/restic-home-backup-safe",
    "publisherUrl": "https://clawhub.ai/Moep90/restic-home-backup-safe",
    "owner": "Moep90",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/restic-home-backup-safe",
    "downloadUrl": "https://openagent3.xyz/downloads/restic-home-backup-safe",
    "agentUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/restic-home-backup-safe/agent.md"
  }
}