# Send Send Me My Files - R2 upload with short lived signed urls to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "r2-upload",
    "name": "Send Me My Files - R2 upload with short lived signed urls",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/julianengel/r2-upload",
    "canonicalUrl": "https://clawhub.ai/julianengel/r2-upload",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/r2-upload",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=r2-upload",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CLAWDHUB.md",
      "README.md",
      "SECURITY.md",
      "SKILL.md",
      "example-config.yml",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "r2-upload",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T07:00:25.752Z",
      "expiresAt": "2026-05-08T07:00:25.752Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=r2-upload",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=r2-upload",
        "contentDisposition": "attachment; filename=\"r2-upload-1.0.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "r2-upload"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/r2-upload"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/r2-upload",
    "downloadUrl": "https://openagent3.xyz/downloads/r2-upload",
    "agentUrl": "https://openagent3.xyz/skills/r2-upload/agent",
    "manifestUrl": "https://openagent3.xyz/skills/r2-upload/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/r2-upload/agent.md"
  }
}
```
## Documentation

### Send Me My Files - R2 Upload with Short Lived Signed URLs

Upload files to Cloudflare R2 or any S3-compatible storage and generate presigned download links.

### Features

Upload files to R2/S3 buckets
Generate presigned download URLs (configurable expiration)
Support for any S3-compatible storage (R2, AWS S3, MinIO, etc.)
Multiple bucket configurations
Automatic content-type detection

### Configuration

Create ~/.r2-upload.yml (or set R2_UPLOAD_CONFIG env var):

# Default bucket (used when no bucket specified)
default: my-bucket

# Bucket configurations
buckets:
  my-bucket:
    endpoint: https://abc123.r2.cloudflarestorage.com
    access_key_id: your_access_key
    secret_access_key: your_secret_key
    bucket_name: my-bucket
    public_url: https://files.example.com  # Optional: custom domain
    region: auto  # For R2, use "auto"
    
  # Additional buckets
  personal:
    endpoint: https://xyz789.r2.cloudflarestorage.com
    access_key_id: ...
    secret_access_key: ...
    bucket_name: personal-files
    region: auto

### Cloudflare R2 Setup

Go to Cloudflare Dashboard → R2
Create a bucket
Go to R2 API Tokens: https://dash.cloudflare.com/<ACCOUNT_ID>/r2/api-tokens
Create a new API token

Important: Apply to specific bucket (select your bucket)
Permissions: Object Read & Write


Copy the Access Key ID and Secret Access Key
Use endpoint format: https://<account_id>.r2.cloudflarestorage.com
Set region: auto

### AWS S3 Setup

aws-bucket:
  endpoint: https://s3.us-east-1.amazonaws.com
  access_key_id: ...
  secret_access_key: ...
  bucket_name: my-aws-bucket
  region: us-east-1

### Upload a file

r2-upload /path/to/file.pdf
# Returns: https://files.example.com/abc123/file.pdf?signature=...

### Upload with custom path

r2-upload /path/to/file.pdf --key uploads/2026/file.pdf

### Upload to specific bucket

r2-upload /path/to/file.pdf --bucket personal

### Custom expiration (default: 5 minutes)

r2-upload /path/to/file.pdf --expires 24h
r2-upload /path/to/file.pdf --expires 1d
r2-upload /path/to/file.pdf --expires 300  # seconds

### Public URL (no signature)

r2-upload /path/to/file.pdf --public

### Tools

r2_upload - Upload file and get presigned URL
r2_list - List recent uploads
r2_delete - Delete a file

### Environment Variables

R2_UPLOAD_CONFIG - Path to config file (default: ~/.r2-upload.yml)
R2_DEFAULT_BUCKET - Override default bucket
R2_DEFAULT_EXPIRES - Default expiration in seconds (default: 300 = 5 minutes)

### Notes

Uploaded files are stored with their original filename unless --key is specified
Automatic UUID prefix added to prevent collisions (e.g., abc123/file.pdf)
Content-Type automatically detected from file extension
Presigned URLs expire after the configured duration
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: julianengel
- Version: 1.0.4
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T07:00:25.752Z
- Expires at: 2026-05-08T07:00:25.752Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/r2-upload)
- [Send to Agent page](https://openagent3.xyz/skills/r2-upload/agent)
- [JSON manifest](https://openagent3.xyz/skills/r2-upload/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/r2-upload/agent.md)
- [Download page](https://openagent3.xyz/downloads/r2-upload)