cloudflare-r2

Guide Cloudflare R2 storage implementation with S3-compatible API and zero egress charges.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/liamtran96/msm-car-booking --skill cloudflare-r2-liamtran96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-r2
Source: https://github.com/liamtran96/msm-car-booking/tree/main/.claude/skills/cloudflare-r2
Command: npx skills add https://github.com/liamtran96/msm-car-booking --skill cloudflare-r2-liamtran96

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured guide to implementing Cloudflare R2, a fast, S3-compatible object storage with zero egress fees, enabling cost-efficient storage and seamless integration with modern apps.

Core Features & Use Cases

  • S3-compatible API access to simplify integration across SDKs and tools.
  • Zero egress fees and edge-optimized access for high-traffic workflows including uploads, downloads, and migrations.
  • Use Case: rapidly migrate existing data to R2, configure buckets, and bind R2 to Cloudflare Workers for serverless workflows.

Quick Start

Use the cloudflare-r2 skill to initialize a bucket, configure Wrangler bindings, and perform a sample upload via the R2 endpoint (account.r2.cloudflarestorage.com).

Frequently Asked Questions about cloudflare-r2

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

FAQPage Schema
How do I configure Cloudflare R2 buckets and bind them to Workers?

Configure Cloudflare R2 buckets by initializing storage via the account endpoint and setting up Wrangler bindings to bind R2 to Cloudflare Workers for serverless workflows. This enables edge-optimized object storage access with zero egress fees.

Is Cloudflare R2 S3-compatible for migrating existing data?

Yes, Cloudflare R2 is an S3-compatible object storage service. It simplifies integration across SDKs and tools, allowing you to rapidly migrate existing data to R2 buckets without changing your application's storage logic.

Does Cloudflare R2 charge egress fees for high-traffic downloads?

No, Cloudflare R2 provides zero egress fees. It is edge-optimized for high-traffic workflows including uploads, downloads, and migrations, enabling cost-efficient storage without data transfer charges.

Can I use standard S3 SDKs to perform uploads and downloads with R2?

Yes, Cloudflare R2 supports S3-compatible API access. You can use standard S3 SDKs and tools to perform uploads, downloads, and manage bucket configurations directly through the R2 endpoint.

What is the best way to migrate data to Cloudflare R2 object storage?

The best way to migrate data to Cloudflare R2 is using its S3-compatible API to transfer existing datasets directly. This approach ensures rapid migration while leveraging R2's zero egress fees and edge-optimized access.