{
  "schemaVersion": "1.0",
  "item": {
    "slug": "git-crypt-backup",
    "name": "Git-Crypt Backup",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/louzhixian/git-crypt-backup",
    "canonicalUrl": "https://clawhub.ai/louzhixian/git-crypt-backup",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/git-crypt-backup",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=git-crypt-backup",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/backup.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/git-crypt-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/git-crypt-backup",
    "agentPageUrl": "https://openagent3.xyz/skills/git-crypt-backup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/git-crypt-backup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/git-crypt-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": "Git-Crypt Backup",
        "body": "Automated backup of Clawdbot workspace (~/clawd) and config (~/.clawdbot) to GitHub with sensitive files encrypted via git-crypt."
      },
      {
        "title": "1. Create GitHub repos (private recommended)",
        "body": "# Create two private repos on GitHub:\n# - <username>/clawdbot-workspace\n# - <username>/clawdbot-config"
      },
      {
        "title": "2. Initialize git-crypt",
        "body": "# Install git-crypt\nbrew install git-crypt  # macOS\n# apt install git-crypt  # Linux\n\n# Workspace repo\ncd ~/clawd\ngit init\ngit-crypt init\ngit remote add origin git@github.com:<username>/clawdbot-workspace.git\n\n# Config repo\ncd ~/.clawdbot\ngit init\ngit-crypt init\ngit remote add origin git@github.com:<username>/clawdbot-config.git"
      },
      {
        "title": "3. Configure encryption",
        "body": "Workspace .gitattributes:\n\nSOUL.md filter=git-crypt diff=git-crypt\nUSER.md filter=git-crypt diff=git-crypt\nHEARTBEAT.md filter=git-crypt diff=git-crypt\nMEMORY.md filter=git-crypt diff=git-crypt\nmemory/** filter=git-crypt diff=git-crypt\n\nConfig .gitattributes:\n\nclawdbot.json filter=git-crypt diff=git-crypt\n.env filter=git-crypt diff=git-crypt\ncredentials/** filter=git-crypt diff=git-crypt\ntelegram/** filter=git-crypt diff=git-crypt\nidentity/** filter=git-crypt diff=git-crypt\nagents/**/sessions/** filter=git-crypt diff=git-crypt\nnodes/** filter=git-crypt diff=git-crypt\n\nConfig .gitignore:\n\n*.bak\n*.bak.*\n.DS_Store\nlogs/\nmedia/\nbrowser/\nsubagents/\nmemory/\nupdate-check.json\n*.lock"
      },
      {
        "title": "4. Export keys (important!)",
        "body": "mkdir -p ~/clawdbot-keys\ncd ~/clawd && git-crypt export-key ~/clawdbot-keys/workspace.key\ncd ~/.clawdbot && git-crypt export-key ~/clawdbot-keys/config.key\n\n⚠️ Store these keys securely (1Password, iCloud Keychain, USB drive, etc.)"
      },
      {
        "title": "5. Initial commit & push",
        "body": "cd ~/clawd && git add -A && git commit -m \"Initial backup\" && git push -u origin main\ncd ~/.clawdbot && git add -A && git commit -m \"Initial backup\" && git push -u origin main"
      },
      {
        "title": "Daily Backup",
        "body": "Run scripts/backup.sh:\n\n~/clawd/skills/git-crypt-backup/scripts/backup.sh\n\nOr set up a cron job for automatic daily backups."
      },
      {
        "title": "Restore on New Machine",
        "body": "# 1. Clone repos\ngit clone git@github.com:<username>/clawdbot-workspace.git ~/clawd\ngit clone git@github.com:<username>/clawdbot-config.git ~/.clawdbot\n\n# 2. Unlock with keys\ncd ~/clawd && git-crypt unlock /path/to/workspace.key\ncd ~/.clawdbot && git-crypt unlock /path/to/config.key"
      },
      {
        "title": "What Gets Encrypted",
        "body": "RepoEncryptedPlainworkspaceSOUL/USER/HEARTBEAT/MEMORY.md, memory/**AGENTS.md, IDENTITY.md, TOOLS.md, drafts/**configclawdbot.json, .env, credentials/, sessions/cron/jobs.json, settings/**"
      }
    ],
    "body": "Git-Crypt Backup\n\nAutomated backup of Clawdbot workspace (~/clawd) and config (~/.clawdbot) to GitHub with sensitive files encrypted via git-crypt.\n\nSetup\n1. Create GitHub repos (private recommended)\n# Create two private repos on GitHub:\n# - <username>/clawdbot-workspace\n# - <username>/clawdbot-config\n\n2. Initialize git-crypt\n# Install git-crypt\nbrew install git-crypt  # macOS\n# apt install git-crypt  # Linux\n\n# Workspace repo\ncd ~/clawd\ngit init\ngit-crypt init\ngit remote add origin git@github.com:<username>/clawdbot-workspace.git\n\n# Config repo\ncd ~/.clawdbot\ngit init\ngit-crypt init\ngit remote add origin git@github.com:<username>/clawdbot-config.git\n\n3. Configure encryption\n\nWorkspace .gitattributes:\n\nSOUL.md filter=git-crypt diff=git-crypt\nUSER.md filter=git-crypt diff=git-crypt\nHEARTBEAT.md filter=git-crypt diff=git-crypt\nMEMORY.md filter=git-crypt diff=git-crypt\nmemory/** filter=git-crypt diff=git-crypt\n\n\nConfig .gitattributes:\n\nclawdbot.json filter=git-crypt diff=git-crypt\n.env filter=git-crypt diff=git-crypt\ncredentials/** filter=git-crypt diff=git-crypt\ntelegram/** filter=git-crypt diff=git-crypt\nidentity/** filter=git-crypt diff=git-crypt\nagents/**/sessions/** filter=git-crypt diff=git-crypt\nnodes/** filter=git-crypt diff=git-crypt\n\n\nConfig .gitignore:\n\n*.bak\n*.bak.*\n.DS_Store\nlogs/\nmedia/\nbrowser/\nsubagents/\nmemory/\nupdate-check.json\n*.lock\n\n4. Export keys (important!)\nmkdir -p ~/clawdbot-keys\ncd ~/clawd && git-crypt export-key ~/clawdbot-keys/workspace.key\ncd ~/.clawdbot && git-crypt export-key ~/clawdbot-keys/config.key\n\n\n⚠️ Store these keys securely (1Password, iCloud Keychain, USB drive, etc.)\n\n5. Initial commit & push\ncd ~/clawd && git add -A && git commit -m \"Initial backup\" && git push -u origin main\ncd ~/.clawdbot && git add -A && git commit -m \"Initial backup\" && git push -u origin main\n\nDaily Backup\n\nRun scripts/backup.sh:\n\n~/clawd/skills/git-crypt-backup/scripts/backup.sh\n\n\nOr set up a cron job for automatic daily backups.\n\nRestore on New Machine\n# 1. Clone repos\ngit clone git@github.com:<username>/clawdbot-workspace.git ~/clawd\ngit clone git@github.com:<username>/clawdbot-config.git ~/.clawdbot\n\n# 2. Unlock with keys\ncd ~/clawd && git-crypt unlock /path/to/workspace.key\ncd ~/.clawdbot && git-crypt unlock /path/to/config.key\n\nWhat Gets Encrypted\nRepo\tEncrypted\tPlain\nworkspace\tSOUL/USER/HEARTBEAT/MEMORY.md, memory/**\tAGENTS.md, IDENTITY.md, TOOLS.md, drafts/**\nconfig\tclawdbot.json, .env, credentials/, sessions/\tcron/jobs.json, settings/**"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/louzhixian/git-crypt-backup",
    "publisherUrl": "https://clawhub.ai/louzhixian/git-crypt-backup",
    "owner": "louzhixian",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/git-crypt-backup",
    "downloadUrl": "https://openagent3.xyz/downloads/git-crypt-backup",
    "agentUrl": "https://openagent3.xyz/skills/git-crypt-backup/agent",
    "manifestUrl": "https://openagent3.xyz/skills/git-crypt-backup/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/git-crypt-backup/agent.md"
  }
}