r2

Automate Cloudflare R2 bucket and object management via Wrangler CLI.

Updated Oct 29, 2025
One-click install
npx skills add https://github.com/sapoepsilon/dotfiles --skill r2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r2
Source: https://github.com/sapoepsilon/dotfiles/tree/main/claude/skills/r2
Command: npx skills add https://github.com/sapoepsilon/dotfiles --skill r2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates Cloudflare R2 bucket and object management via Wrangler CLI, reducing manual CLI work and ensuring repeatable, auditable storage tasks.

Core Features & Use Cases

  • Bucket Operations: create, list, and delete buckets.
  • Object Operations: upload, download, and delete objects in buckets.
  • Advanced Configs: manage custom domains, CORS, and lifecycle rules for R2 storage.
  • Use Case: Quickly inventory all buckets, upload assets to a bucket, and enforce a CORS rule across your storage.

Quick Start

Install Wrangler CLI and authenticate, then list buckets with the command: wrangler r2 bucket list.