{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cloudflare-r2",
    "name": "Cloudflare R2",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/xiaoyaner0201/cloudflare-r2",
    "canonicalUrl": "https://clawhub.ai/xiaoyaner0201/cloudflare-r2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cloudflare-r2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cloudflare-r2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/r2-upload.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/cloudflare-r2"
    },
    "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/cloudflare-r2",
    "agentPageUrl": "https://openagent3.xyz/skills/cloudflare-r2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cloudflare-r2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cloudflare-r2/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": "Cloudflare R2",
        "body": "Upload and manage files in Cloudflare R2 storage buckets."
      },
      {
        "title": "Prerequisites",
        "body": "wrangler CLI: npm install -g wrangler\nR2 config at ~/.config/cloudflare/r2.json"
      },
      {
        "title": "Config Format",
        "body": "{\n  \"bucket\": \"your-bucket-name\",\n  \"accountId\": \"your-account-id\",\n  \"publicDomain\": \"pub-xxx.r2.dev\",\n  \"apiToken\": \"your-api-token\"\n}"
      },
      {
        "title": "Quick Upload",
        "body": "Single file:\n\nscripts/r2-upload.sh <local-file> [remote-path]\n\nBatch upload:\n\nscripts/r2-upload.sh <directory> <remote-prefix>"
      },
      {
        "title": "Manual Commands",
        "body": "# Set credentials\nexport CLOUDFLARE_ACCOUNT_ID=\"$(jq -r .accountId ~/.config/cloudflare/r2.json)\"\nexport CLOUDFLARE_API_TOKEN=\"$(jq -r .apiToken ~/.config/cloudflare/r2.json)\"\nBUCKET=$(jq -r .bucket ~/.config/cloudflare/r2.json)\n\n# Upload\nwrangler r2 object put \"$BUCKET/path/to/file.png\" --file local.png --remote\n\n# List objects\nwrangler r2 object list $BUCKET --prefix \"path/\" --remote\n\n# Delete\nwrangler r2 object delete \"$BUCKET/path/to/file.png\" --remote"
      },
      {
        "title": "Public URL",
        "body": "After upload, files are accessible at:\n\nhttps://<publicDomain>/<remote-path>\n\nExample: https://pub-xxx.r2.dev/article/image.png"
      }
    ],
    "body": "Cloudflare R2\n\nUpload and manage files in Cloudflare R2 storage buckets.\n\nPrerequisites\nwrangler CLI: npm install -g wrangler\nR2 config at ~/.config/cloudflare/r2.json\nConfig Format\n{\n  \"bucket\": \"your-bucket-name\",\n  \"accountId\": \"your-account-id\",\n  \"publicDomain\": \"pub-xxx.r2.dev\",\n  \"apiToken\": \"your-api-token\"\n}\n\nQuick Upload\n\nSingle file:\n\nscripts/r2-upload.sh <local-file> [remote-path]\n\n\nBatch upload:\n\nscripts/r2-upload.sh <directory> <remote-prefix>\n\nManual Commands\n# Set credentials\nexport CLOUDFLARE_ACCOUNT_ID=\"$(jq -r .accountId ~/.config/cloudflare/r2.json)\"\nexport CLOUDFLARE_API_TOKEN=\"$(jq -r .apiToken ~/.config/cloudflare/r2.json)\"\nBUCKET=$(jq -r .bucket ~/.config/cloudflare/r2.json)\n\n# Upload\nwrangler r2 object put \"$BUCKET/path/to/file.png\" --file local.png --remote\n\n# List objects\nwrangler r2 object list $BUCKET --prefix \"path/\" --remote\n\n# Delete\nwrangler r2 object delete \"$BUCKET/path/to/file.png\" --remote\n\nPublic URL\n\nAfter upload, files are accessible at:\n\nhttps://<publicDomain>/<remote-path>\n\n\nExample: https://pub-xxx.r2.dev/article/image.png"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xiaoyaner0201/cloudflare-r2",
    "publisherUrl": "https://clawhub.ai/xiaoyaner0201/cloudflare-r2",
    "owner": "xiaoyaner0201",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cloudflare-r2",
    "downloadUrl": "https://openagent3.xyz/downloads/cloudflare-r2",
    "agentUrl": "https://openagent3.xyz/skills/cloudflare-r2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cloudflare-r2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cloudflare-r2/agent.md"
  }
}