cloudflare-r2

Configure Cloudflare R2 buckets and manage S3-compatible storage operations.

1|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/alex-tgk/saasquatch --skill cloudflare-r2-alex-tgk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudflare-r2
Source: https://github.com/alex-tgk/saasquatch/tree/main/.claude/skills/cloudflare-r2
Command: npx skills add https://github.com/alex-tgk/saasquatch --skill cloudflare-r2-alex-tgk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Cloudflare R2 provides a zero-egress, S3-compatible object storage on Cloudflare's global network, enabling cost-effective, scalable storage for modern apps and workflows.

Core Features & Use Cases

  • S3-compatible API with Cloudflare R2 endpoints and Wrangler integration for bucket creation, uploads, and migrations
  • Global durability and zero egress fees, enabling edge-friendly delivery and storage
  • Ideal for file storage, data migrations, bucket configuration, and Worker integrations

Quick Start

Set up an R2 bucket with Wrangler, obtain access keys, and start storing and serving files.

Frequently Asked Questions about cloudflare-r2

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

FAQPage Schema
How do I set up a Cloudflare R2 bucket using Wrangler?

Set up a Cloudflare R2 bucket using Wrangler by configuring your environment, creating the bucket, and obtaining access keys. This enables file storage, uploads, and migrations through S3-compatible API endpoints.

Can I use the S3 API with Cloudflare R2 for data migrations?

Yes, you can use the S3 API with Cloudflare R2 for data migrations. R2 provides an S3-compatible API that supports standard operations, bucket management, and cross-service patterns across multiple languages and SDKs.

Does Cloudflare R2 charge egress fees for serving files at the edge?

Cloudflare R2 does not charge egress fees for serving files at the edge. It provides zero-egress, S3-compatible object storage on Cloudflare's global network, enabling cost-effective and edge-friendly delivery.

How do I generate presigned URLs for R2 object storage?

Generate presigned URLs for R2 object storage by applying standard S3 API operations through detailed references and examples. This allows secure, time-limited access to files stored in your R2 buckets.

What is the best way to integrate R2 storage with Cloudflare Workers?

The best way to integrate R2 storage with Cloudflare Workers is by using Wrangler for bucket configuration and cross-service patterns. This enables edge-friendly file delivery and scalable storage workflows.

What languages and SDKs are supported for R2 bucket configuration?

R2 bucket configuration supports standard S3 API operations across various languages and SDKs. This compatibility enables integrations with Cloudflare Workers and facilitates seamless data migrations.