一键导入
r2-upload
Upload files (images, documents) to Cloudflare R2 and get a public URL. Use when you need to host/share an image or file publicly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Upload files (images, documents) to Cloudflare R2 and get a public URL. Use when you need to host/share an image or file publicly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Connect to multiple MCP servers via HTTP to query data, run tools, and get information. Use when asked to check platform data, analytics, or interact with external services.
Upload images to Imgur (free, no account needed) and get a public URL. Use as fallback when R2 is not configured.
Anti-detect stealth browser for scraping, automation and bypassing bot detection. Use when normal browser fails or gets blocked.
基于 SOC 职业分类
| name | r2-upload |
| description | Upload files (images, documents) to Cloudflare R2 and get a public URL. Use when you need to host/share an image or file publicly. |
| metadata | {"openclaw":{"emoji":"☁️","os":["linux","macos"],"requires":{"bins":["python3"]},"env":["R2_ACCESS_KEY_ID","R2_SECRET_ACCESS_KEY"]}} |
Upload images and files to Cloudflare R2 storage and get a permanent public URL.
| Variable | Description |
|---|---|
R2_ACCESS_KEY_ID | Cloudflare R2 access key |
R2_SECRET_ACCESS_KEY | Cloudflare R2 secret key |
R2_ACCOUNT_ID | Cloudflare account ID (default: 851741409acd69e96d6c480584a3c107) |
R2_BUCKET_NAME | R2 bucket name (default: openclaw-images) |
R2_PUBLIC_DOMAIN | Public domain (default: https://pub-406cc49bf2114c608757721fa88725fa.r2.dev) |
python3 /app/skills/r2-upload/scripts/upload.py /path/to/image.jpg
Upload with custom key:
python3 /app/skills/r2-upload/scripts/upload.py /path/to/photo.png --key "agents/my-photo.png"
Upload from URL:
python3 /app/skills/r2-upload/scripts/upload.py "https://example.com/image.jpg"
First install (one-time):
cd /app/skills/r2-upload/scripts && npm install @aws-sdk/client-s3
Then upload:
node /app/skills/r2-upload/scripts/upload.js /path/to/image.jpg
✅ Upload success!
URL: https://pub-406cc49bf2114c608757721fa88725fa.r2.dev/image.jpg
--key for unique pathsR2_BUCKET_NAME and R2_PUBLIC_DOMAIN env vars