Agent skill · software engineering · remotion-dev
upload-r2
Upload large Remotion repository assets to the Cloudflare R2 bucket behind remotion.media and replace local public/ assets with hosted URLs. Use when a file is too large for Git or when a PR should avoid committing media binaries by hosting them on remotion.media.
Why this skill is useful
Adds a specific workflow for uploading large media assets to Cloudflare R2, including niche commands and environment variable handling that the AI wouldn't reliably generate on its own.
What it needs
Requires bun installed locally. Requires cloudflare account access. About 1k tokens when loaded. Last updated 2026-08-06. 55,698 stars on the source repository.
What this skill does
Upload R2 Asset Use this for large media assets that should be hosted on https://remotion.media/ instead of committed to Git. Workflow 1. Find the main worktree: Prefer the worktree on refs/heads/main, usually /Users/jonathanburger/remotion. 2. Load R2 credentials from the main worktree: Do not print secret values. The required variables are AWSACCESSKEYID and AWSSECRETACCESSKEY. 3. Upload the file to the parser-media bucket using Bun's S3-compatible client: 4. Verify the public URL: 5. Replace local asset usage with the hosted URL and delete the local binary. Do not wrap remote URLs in staticFile(): staticFile() rejects http:// and https:// URLs. Use the URL string directly, for example: 6. Run the focused lint or stylecheck for touched packages, then commit and push.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills remotion-dev/upload-r2