r2

Manage Cloudflare R2 buckets and objects via Wrangler and the S3-compatible API.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill r2-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r2
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/cloudflare/r2
Command: npx skills add https://github.com/theslashdojo/dojo --skill r2-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler, and includes scripts (resource) components.

What problem does it solve?

Cloudflare R2 provides a scalable, zero-egress, S3-compatible object store to simplify storing and serving large binary data for apps and workflows, removing bandwidth costs and enabling easy access through familiar tooling.

Core Features & Use Cases

  • Create and manage buckets with Wrangler or API bindings.
  • Upload, download, list, and delete objects using the S3-compatible API.
  • Integrate with Cloudflare Workers for edge-serving of assets, backups, media storage, and data lakes.

Quick Start

Create a bucket named my-files and upload a sample.txt to it using Wrangler.

Frequently Asked Questions about r2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Cloudflare R2 bucket and upload files using Wrangler?

Create a Cloudflare R2 bucket and upload files by executing Wrangler CLI commands to provision the storage and push objects. This Skill provides runnable scripts and CLI guidance to perform these object-storage operations end to end.

What is Cloudflare R2 object storage and when should I use it?

Cloudflare R2 object storage is a scalable, S3-compatible data store designed to simplify storing and serving large binary data. It is useful for web apps, media hosting, backups, and data lakes that require zero egress fees and easy integration with existing S3 tooling.

Can I use the S3-compatible API with Cloudflare R2 for uploads and downloads?

Yes, you can use the S3-compatible API with Cloudflare R2 to upload, download, list, and delete objects. The Skill provides R2 API token guidance and object metadata handling to ensure easy access through familiar S3 tooling.

Does this Skill require the Wrangler CLI to manage R2 buckets?

Yes, Wrangler is a required dependency to manage Cloudflare R2 operations using this Skill. It enables you to create and manage buckets, execute uploads, and integrate with Cloudflare Workers for edge-serving of assets.

How do I bind a Cloudflare R2 bucket to a Worker for edge-serving?

You bind a Cloudflare R2 bucket to a Worker using provided bucket binding examples and R2 API token guidance. This integration enables edge-serving of assets, backups, media storage, and data lakes directly from your web apps.

What are the limitations of using Wrangler for Cloudflare R2 object storage?

Wrangler manages Cloudflare R2 object storage by executing bucket creation, uploads, and metadata handling through CLI scripts. You should be aware of CLI environment prerequisites and token configuration limits when handling large binary data operations.