← 返回 Skills 市场
redisread

r2-uploader

作者 Alex Redisread · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
195
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install r2-uploader
功能描述
使用 wrangler CLI 上传文件到 Cloudflare R2 对象存储,返回公开访问 URL。支持单文件上传、从远程 URL 直接上传、批量上传。当用户说"上传到 R2"、"传到 Cloudflare"、"存到 R2"、"上传图片/文件/附件"并提到 R2 或 wrangler 时使用。触发词:上传、R...
安全使用建议
This skill appears to do what it says (upload files to Cloudflare R2 via wrangler), but review and tighten it before trusting it with your system: - Confirm wrangler is installed and authenticated on the environment the agent will run in. The skill expects wrangler use (wrangler whoami / login) and Cloudflare credentials, but the registry entry does not declare those requirements. - Be cautious about the 'find ~ -name ...' step: it scans the entire home directory. If you install/use this skill, prefer restricting the search path (ask the skill to only look in a specific folder) or require explicit file paths to avoid accidental discovery/upload of sensitive files. - Note batch and concurrent upload examples can send many files at once — ensure the R2 bucket and upload rules are correct and that you won’t accidentally publish private data. - Because env vars (R2_BUCKET, R2_DOMAIN) and authentication needs are not declared in metadata, the agent UI may not prompt you to provide tokens or warn about secrets. Consider providing Cloudflare credentials via the standard secure mechanism used by your platform rather than relying on the skill to prompt. If you need to proceed safely: test the skill in a disposable/sandbox account and/or modify the SKILL.md to limit filesystem search paths and to explicitly declare the required environment variables/credentials (and any expected wrangler binary).
功能分析
Type: OpenClaw Skill Name: r2-uploader Version: 1.0.3 The skill bundle provides legitimate functionality for managing Cloudflare R2 storage using the wrangler CLI. It includes standard operations for finding, uploading, and batch-processing files, as well as diagnostic steps for authentication and error handling. No evidence of data exfiltration, malicious persistence, or obfuscation was found; the use of shell commands like 'find' and 'curl' is directly aligned with the stated purpose of file management and remote uploads.
能力评估
Purpose & Capability
The skill claims to upload to Cloudflare R2 via the wrangler CLI, which matches the instructions; however the registry metadata declares no required env vars or binaries while the SKILL.md repeatedly references $R2_BUCKET, $R2_DOMAIN and implicitly requires the wrangler CLI to be installed and authenticated. That mismatch (declared requirements vs actual instructions) is inconsistent.
Instruction Scope
Runtime instructions tell the agent to run broad filesystem commands (find ~ -name ...) and ls -la on discovered paths. While locating files is reasonable for an uploader, searching the entire home directory can expose unrelated files and metadata. The skill also supports batch/concurrent uploads which can upload many files without per-file confirmation.
Install Mechanism
Instruction-only skill with no install spec or code files; nothing is written to disk by an installer. This is the lowest install risk.
Credentials
SKILL.md expects $R2_BUCKET and optionally $R2_DOMAIN and also relies on wrangler authentication (wrangler whoami / wrangler login) but the registry lists no required environment variables or primary credential. The skill does not declare Cloudflare-related credentials (e.g., CF_API_TOKEN) even though they are typically needed; this under-declaration is misleading and prevents reviewers from seeing what secrets are required.
Persistence & Privilege
The skill is not always-enabled and does not request long‑lived platform privileges or attempt to modify other skills or system-wide config. Autonomous invocation is allowed (platform default) but not combined with other high-privilege requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install r2-uploader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /r2-uploader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Removed the internal file _meta.json. - Updated documentation to clarify supported usage scenarios and triggers. - Improved descriptions of environment variables and common commands. - Enhanced instructions for uploading directly from remote URLs. - Added details for object deletion and clarified default/custom domain URL responses.
v1.0.2
Version 1.0.2 - Initial release of the r2-uploader skill. - Added full git tracking and project metadata. - Included step-by-step documentation for using wrangler to upload files to Cloudflare R2, including handling paths with spaces or Chinese characters. - Provided best practices, troubleshooting, and URL generation rules. - Added advanced usage and error-handling guides.
v1.0.1
update name
v1.0.0
r2-uploader 1.0.0 – Initial release - Upload files to Cloudflare R2 using the wrangler CLI. - Supports batch uploads, uploads via URL, and auto-generates public URLs. - Handles file paths with spaces or non-ASCII characters by using temporary files if necessary. - Provides troubleshooting steps for common errors and best practices for file organization. - Allows configuration of default bucket and custom domain via environment variables.
元数据
Slug r2-uploader
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

r2-uploader 是什么?

使用 wrangler CLI 上传文件到 Cloudflare R2 对象存储,返回公开访问 URL。支持单文件上传、从远程 URL 直接上传、批量上传。当用户说"上传到 R2"、"传到 Cloudflare"、"存到 R2"、"上传图片/文件/附件"并提到 R2 或 wrangler 时使用。触发词:上传、R... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 195 次。

如何安装 r2-uploader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install r2-uploader」即可一键安装,无需额外配置。

r2-uploader 是免费的吗?

是的,r2-uploader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

r2-uploader 支持哪些平台?

r2-uploader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 r2-uploader?

由 Alex Redisread(@redisread)开发并维护,当前版本 v1.0.3。

💬 留言讨论