← Back to Skills Marketplace
134
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install r2-storage
Description
Cloudflare R2 Storage management — setup, upload, download, sync via rclone
Usage Guidance
This skill appears to be a straightforward rclone-based helper for Cloudflare R2, but note three things before installing: (1) The package metadata omitted the declared R2_CONFIG env input that the SKILL.md and scripts expect — verify where you'll provide credentials and that the skill's declared requirements match your environment. (2) The setup runs a remote install script via curl | sudo bash from rclone.org; if you prefer less risk, install rclone manually from an official source and skip the remote installer. (3) The included show-creds.sh prints access keys in cleartext (including a --raw mode). Be careful that outputs are not captured by untrusted UIs/logs. Recommended steps: inspect the scripts (you already have them), manually install rclone if uncomfortable with piping a remote script to sudo, store credentials in a secure location, and avoid running show-creds in environments where output is logged to third parties.
Capability Analysis
Type: OpenClaw Skill
Name: r2-storage
Version: 1.0.0
The skill bundle uses a high-risk 'curl | sudo bash' pattern to install rclone in SKILL.md and setup.sh, which is a common vector for RCE if the source is compromised. Additionally, show-creds.sh is designed to output sensitive Cloudflare R2 API keys to the terminal, which could lead to accidental credential exposure through the AI agent's output logs or responses.
Capability Assessment
Purpose & Capability
Name/description align with provided scripts: setup, upload, download, sync and list via rclone. Required binary rclone is appropriate. However the registry metadata listed no required env vars while the SKILL.md metadata and scripts expect an R2_CONFIG JSON (and optional R2_* env vars) — a mismatch between declared requirements and runtime behavior.
Instruction Scope
SKILL.md and the scripts stay within the expected R2/rclone scope (writing ~/.config/r2 and ~/.config/rclone and calling rclone operations). One notable behavior: scripts (show-creds.sh) can print secret keys in cleartext (human and --raw machine-readable output), which is expected for a credentials helper but increases the chance of accidental secret leakage if outputs are captured or surfaced by a UI or logs.
Install Mechanism
There is no packaged install; SKILL.md and setup.sh install rclone by piping https://rclone.org/install.sh to sudo bash. rclone.org is a known upstream, but piping a remote script to sudo bash executes remote code with elevated privileges — a moderate operational risk. If you prefer, install rclone yourself from a vetted source before using the skill.
Credentials
The registry metadata claims no required env vars but SKILL.md metadata references R2_CONFIG and scripts look for R2_BUCKET, R2_REMOTE, and an env file (~/.config/r2/env) with R2_ACCESS_KEY_ID / R2_SECRET_ACCESS_KEY. This mismatch is concerning because the skill will read/write credential/config files and may rely on environment values that were not declared at publish time.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide agent settings. It writes config into the user's home (~/.config/r2 and ~/.config/rclone), which is expected for this kind of helper.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install r2-storage - After installation, invoke the skill by name or use
/r2-storage - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of r2: Cloudflare R2 Storage management skill using rclone.
- Supports setup, upload, download, list, sync, and delete operations via simple commands.
- Requires rclone and Cloudflare R2 credentials configured via R2_CONFIG.
- Includes troubleshooting tips and direct rclone usage examples.
- Provides setup scripts and helper commands for credentials and management.
Metadata
Frequently Asked Questions
What is R2 Storage?
Cloudflare R2 Storage management — setup, upload, download, sync via rclone. It is an AI Agent Skill for Claude Code / OpenClaw, with 134 downloads so far.
How do I install R2 Storage?
Run "/install r2-storage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is R2 Storage free?
Yes, R2 Storage is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does R2 Storage support?
R2 Storage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created R2 Storage?
It is built and maintained by junwatu (@junwatu); the current version is v1.0.0.
More Skills