Agent skill

cloudflare-r2

Manage Cloudflare R2 buckets, lifecycle, and signed URLs. Use for low-egress object storage and media delivery.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/cloudflare-r2-bagelhole-devops-security-agen

Metadata

Additional technical details for this skill

author
devops-skills
version
1.0

SKILL.md

Cloudflare R2

Use S3-compatible object storage without egress fees.

Setup

bash
# Create bucket
npx wrangler r2 bucket create app-assets

# List buckets
npx wrangler r2 bucket list

# Upload object
npx wrangler r2 object put app-assets/logo.png --file ./logo.png

S3-Compatible Access

  • Generate R2 API tokens with least privilege.
  • Use endpoint format: https://<accountid>.r2.cloudflarestorage.com.
  • Configure lifecycle rules for archive/delete.

Best Practices

  • Use short-lived signed URLs for private content.
  • Store user uploads in tenant-specific prefixes.
  • Enable object versioning for recovery-critical buckets.

Related Skills

  • cloudflare-workers - Signed URL generation
  • object-storage - Storage patterns

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results