Wrangler R2 Guide

Community

Effortless R2 storage: upload, manage, publish.

AuthorCaptainCrouton89
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing cloud object storage can be a complex, manual process involving intricate CLI commands, public access configurations, and CORS settings. This Skill automates and simplifies all Cloudflare R2 operations, making file hosting straightforward and freeing you from tedious infrastructure management.

Core Features & Use Cases

  • Effortless File Management: Easily upload, download, and delete files from your R2 buckets with simple commands.
  • Automated Public Access: Quickly enable public URLs (r2.dev subdomains) and configure custom domains for your assets.
  • CORS Configuration: Set up Cross-Origin Resource Sharing rules to ensure seamless browser access to your R2 objects.
  • Use Case: Deploy static website assets, host AI reference images, or manage game resources with a few commands, knowing your files are globally distributed with zero egress fees.

Quick Start

Install Wrangler CLI and authenticate

npm install -g wrangler wrangler login

Create a new R2 bucket

wrangler r2 bucket create my-new-bucket

Upload a file to your bucket

wrangler r2 object put my-new-bucket/my-image.png --file=./local-image.png --remote

Dependency Matrix

Required Modules

wrangler

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Wrangler R2 Guide
Download link: https://github.com/CaptainCrouton89/new-mystica/archive/main.zip#wrangler-r2-guide

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.