host
Installation
SKILL.md
Host
Upload any file to Cloudflare R2 and get back a shareable public URL.
SCRIPTS below refers to the scripts/ directory next to this file.
Prerequisites
- Wrangler CLI — the Cloudflare developer CLI used for all R2 operations
- Cloudflare account with an R2 bucket that has public access enabled (r2.dev subdomain or custom domain)
- Wrangler authenticated via one of:
wrangler login(interactive OAuth — run once, token persists in~/.wrangler)CLOUDFLARE_API_TOKENenvironment variable
Step 1 — Check prerequisites
Wrangler installation
Check if wrangler is available: