{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-skill-r2-storage",
    "name": "R2 Storage",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/mrnsmh/openclaw-skill-r2-storage",
    "canonicalUrl": "https://clawhub.ai/mrnsmh/openclaw-skill-r2-storage",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-skill-r2-storage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-skill-r2-storage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/r2-api.md",
      "scripts/r2.py"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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-skill-r2-storage"
    },
    "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-skill-r2-storage",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/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": "r2-storage Skill",
        "body": "Manage Cloudflare R2 buckets and objects via the S3-compatible API. Uses boto3 under the hood."
      },
      {
        "title": "When to Use This Skill",
        "body": "Use this skill whenever Marouane needs to:\n\nUpload files to R2 (backups, assets, media)\nDownload files from R2\nList bucket contents\nDelete objects\nGenerate temporary pre-signed URLs for sharing"
      },
      {
        "title": "Credentials",
        "body": "Set via environment variables (defaults are pre-configured for Marouane's account):\n\nVariableDescriptionR2_ACCESS_KEY_IDR2 Access Key IDR2_SECRET_ACCESS_KEYR2 Secret Access KeyR2_ENDPOINTR2 endpoint URLR2_ACCOUNT_IDCloudflare Account ID"
      },
      {
        "title": "CLI Usage",
        "body": "# Upload\npython3 scripts/r2.py upload myfile.txt my-bucket\npython3 scripts/r2.py upload myfile.txt my-bucket --key folder/myfile.txt\n\n# Download\npython3 scripts/r2.py download my-bucket/folder/myfile.txt ./local-copy.txt\n\n# List\npython3 scripts/r2.py list my-bucket\npython3 scripts/r2.py list my-bucket --prefix folder/\n\n# Delete\npython3 scripts/r2.py delete my-bucket/folder/myfile.txt\n\n# Pre-signed URL (default 1h)\npython3 scripts/r2.py presign my-bucket/folder/myfile.txt\npython3 scripts/r2.py presign my-bucket/folder/myfile.txt --expires 86400"
      },
      {
        "title": "Python Import Usage",
        "body": "from scripts.r2 import upload, download, list_objects, delete, presign\n\n# Upload\nupload(\"local.txt\", \"my-bucket\", key=\"optional/key.txt\")\n\n# List\nobjects = list_objects(\"my-bucket\", prefix=\"folder/\")\nfor obj in objects:\n    print(obj[\"key\"], obj[\"size\"])\n\n# Pre-signed URL\nurl = presign(\"my-bucket\", \"folder/file.txt\", expires=3600)"
      },
      {
        "title": "Requirements",
        "body": "Python 3.8+\nboto3 (python3-boto3 on Ubuntu — already installed on vps118558)"
      },
      {
        "title": "Notes",
        "body": "Cloudflare R2 is S3-compatible; standard boto3 patterns apply.\nPre-signed URLs work for GET requests only (public download links).\nThe region_name=\"auto\" is required for R2 compatibility."
      }
    ],
    "body": "r2-storage Skill\n\nManage Cloudflare R2 buckets and objects via the S3-compatible API. Uses boto3 under the hood.\n\nWhen to Use This Skill\n\nUse this skill whenever Marouane needs to:\n\nUpload files to R2 (backups, assets, media)\nDownload files from R2\nList bucket contents\nDelete objects\nGenerate temporary pre-signed URLs for sharing\nCredentials\n\nSet via environment variables (defaults are pre-configured for Marouane's account):\n\nVariable\tDescription\nR2_ACCESS_KEY_ID\tR2 Access Key ID\nR2_SECRET_ACCESS_KEY\tR2 Secret Access Key\nR2_ENDPOINT\tR2 endpoint URL\nR2_ACCOUNT_ID\tCloudflare Account ID\nCLI Usage\n# Upload\npython3 scripts/r2.py upload myfile.txt my-bucket\npython3 scripts/r2.py upload myfile.txt my-bucket --key folder/myfile.txt\n\n# Download\npython3 scripts/r2.py download my-bucket/folder/myfile.txt ./local-copy.txt\n\n# List\npython3 scripts/r2.py list my-bucket\npython3 scripts/r2.py list my-bucket --prefix folder/\n\n# Delete\npython3 scripts/r2.py delete my-bucket/folder/myfile.txt\n\n# Pre-signed URL (default 1h)\npython3 scripts/r2.py presign my-bucket/folder/myfile.txt\npython3 scripts/r2.py presign my-bucket/folder/myfile.txt --expires 86400\n\nPython Import Usage\nfrom scripts.r2 import upload, download, list_objects, delete, presign\n\n# Upload\nupload(\"local.txt\", \"my-bucket\", key=\"optional/key.txt\")\n\n# List\nobjects = list_objects(\"my-bucket\", prefix=\"folder/\")\nfor obj in objects:\n    print(obj[\"key\"], obj[\"size\"])\n\n# Pre-signed URL\nurl = presign(\"my-bucket\", \"folder/file.txt\", expires=3600)\n\nRequirements\nPython 3.8+\nboto3 (python3-boto3 on Ubuntu — already installed on vps118558)\nNotes\nCloudflare R2 is S3-compatible; standard boto3 patterns apply.\nPre-signed URLs work for GET requests only (public download links).\nThe region_name=\"auto\" is required for R2 compatibility."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mrnsmh/openclaw-skill-r2-storage",
    "publisherUrl": "https://clawhub.ai/mrnsmh/openclaw-skill-r2-storage",
    "owner": "mrnsmh",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-skill-r2-storage",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-skill-r2-storage/agent.md"
  }
}