# Cloudflare R2 object storage (/networking--cloudflare-r2)

/networking--cloudflare-r2 is a Claude Code skill in the Code section. Sets up Cloudflare R2 storage with upload and download code, S3-compatible access, presigned URLs, CORS and security guidance.

- Web version: https://skills.sgomez.dev/en/s/networking--cloudflare-r2
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/networking/cloudflare-r2.md
- Updated 2 Apr 2026

## How to ask for it

- `/networking--cloudflare-r2 set up an R2 bucket for image uploads`
- `/networking--cloudflare-r2 migrate my files from S3 to R2`
- `/networking--cloudflare-r2 connect R2 to my Worker to serve files`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install networking-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Set up Cloudflare R2 object storage with S3-compatible access

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
