Official agent skill

Upload R2

by remotion-dev in remotion-dev/remotion

Upload large Remotion repository assets to the Cloudflare R2 bucket behind remotion.media and replace local public/ assets with hosted URLs.

OfficialCustom licenceAuto-check: notesMedia & Creative

Install Upload R2

skills CLI
$ npx skills add remotion-dev/remotion --skill upload-r2 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install remotion-dev/remotion upload-r2 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/remotion-dev/remotion.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/upload-r2 .claude/skills/upload-r2 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
upload-r2
GitHub stars
62k
Token cost
~535 tokens
SKILL.md length
118 words
Files
1
Skills in repo
71
Repo updated
First seen
Licence
Custom licence

At a glance

Upload large Remotion repository assets to the Cloudflare R2 bucket behind remotion.media and replace local public/ assets with hosted URLs.

  • Works in 6 steps: Find the main worktree → Load R2 credentials from the main worktree → Upload the file to the parser-media… → …
  • A file is too large for Git
  • Calls git, bun and curl; reaches remotion.media and 2fe488b3b0f4deee223aef7464784c46.r2.cloudflarestorage.com; needs AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • A PR should avoid committing media binaries by hosting them on remotion.media

What it does

Upload R2 is an agent skill from remotion-dev/remotion, published by the product's own GitHub organization. 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.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Video production. It works with Remotion, Git and Cloudflare R2. The repository describes itself as: 🎥 Make videos programmatically with React.

When your agent uses it

  • A file is too large for Git
  • A PR should avoid committing media binaries by hosting them on remotion.media

Example prompts

  • “/upload-r2”

Requirements

  • A credential in AWS_SECRET_ACCESS_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Find the main worktree
  2. Load R2 credentials from the main worktree
  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.
  6. Run the focused lint or stylecheck for touched packages, then commit and push.

What it can do on your machine

Read from SKILL.md and the folder at commit 1e4c5de. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • bun
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • remotion.media
    • 2fe488b3b0f4deee223aef7464784c46.r2.cloudflarestorage.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Upload R2 loads about 535 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~535

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:21
    nburger/remotion/packages/remotion-media/.env
  • NoteMentions a .env fileSKILL.md:27
    nburger/remotion/packages/remotion-media/.env -e "import {S3Client} from 'bun'; const filePath='<local-file>'; const key

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 118 words (~535 tokens).

“Use this for large media assets that should be hosted on https://remotion.media/ instead of committed to Git.”

— opening of SKILL.md by remotion-dev, Custom licence
name
upload-r2

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/upload-r2 of remotion-dev/remotion.

Open the folder on GitHubat commit 1e4c5de

Compare with similar skills

Upload R2 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Upload R2 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Upload R2 this skillremotion-dev/remotion62k—~535Automated safety check: NotesCustom licence
Procedural Fish Rendervibe-motion/skills1.3k—~419Automated safety check: PassNone
Remotion Best Practiceslyonjs/shortvid.io14732 repos~1kAutomated safety check: PassMIT
Making Demo Videosnukeop/nuclear19k—~892Automated safety check: PassAGPL-3.0
HyperFrames Video Entry Pointheygen-com/hyperframes58k3 repos~5.2kAutomated safety check: PassApache-2.0
Avatar Videocalesthio/OpenMontage65k—~1.6kAutomated safety check: PassAGPL-3.0

Similar skills

  • Procedural Fish Render

    vibe-motion/skills

    Clone or update https://github.com/vibe-motion/procedural-fish and render procedural-fish animation to a video using the project's own render command.

    1.3k GitHub stars~419 tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Remotion Best Practices

    lyonjs/shortvid.io

    Best practices for Remotion - Video creation in React. An agent skill from lyonjs/shortvid.io.

    147 GitHub starsUsed in 32 repos~1k tokens
    Media & CreativeAuto-check passed
  • Making Demo Videos

    nukeop/nuclear

    A skill your agent uses when making a demo, tutorial, or feature video of Nuclear.

    19k GitHub stars~892 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • HyperFrames Video Entry Point

    heygen-com/hyperframes

    Entry point for making, editing and rendering videos from HTML compositions with HyperFrames, routing each request to the right workflow.

    58k GitHub starsUsed in 3 repos~5.2k tokens
    Media & CreativeAuto-check passed
  • Avatar Video

    calesthio/OpenMontage

    Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API.

    65k GitHub stars~1.6k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Video Podcast Maker

    Agents365-ai/video-podcast-maker

    A skill your agent uses when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat…

    1.7k GitHub stars~4.9k tokensUpdated 6 days ago
    Media & CreativeAuto-check passed

More from remotion-dev/remotion

All 71 skills in this repo
  • Gh Stack

    remotion-dev/remotion

    Official

    Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack.

    62k GitHub starsUsed in 6 repos~2.4k tokens
    Auto-check passed
  • Canvas Capture Extension

    remotion-dev/remotion

    Official

    Rebuild, install, and reload the private Remotion Canvas Capture unpacked Chrome extension.

    62k GitHub stars~868 tokensUpdated today
    Auto-check passed
  • Nullable New Params

    remotion-dev/remotion

    Official

    Fix newly added optional parameters, optional React props, and optional type/interface members in Remotion monorepo diffs by converting internal APIs to required nullable values and updating call…

    62k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Vercel

    remotion-dev/remotion

    Official

    Set up a Codex monitor for Vercel deployments and preview URLs.

    62k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Writing Docs

    remotion-dev/remotion

    Official

    Guides for writing and editing Remotion documentation. An agent skill from remotion-dev/remotion.

    62k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Find Unplanned Issues

    remotion-dev/remotion

    Official

    Audit and clean the Remotion GitHub masterplan hierarchy. An agent skill from remotion-dev/remotion.

    62k GitHub stars~673 tokensUpdated today
    Auto-check passed

Questions about Upload R2

What does Upload R2 do?

Upload large Remotion repository assets to the Cloudflare R2 bucket behind remotion.media and replace local public/ assets with hosted URLs. Upload R2 is an agent skill from remotion-dev/remotion, published by the product's own GitHub organization.media and replace local public/ assets with hosted URLs.

When should I use Upload R2?

Upload R2 fits situations like: A file is too large for Git; A PR should avoid committing media binaries by hosting them on remotion.media.

How do I install Upload R2 in Claude Code?

Run `npx skills add remotion-dev/remotion --skill upload-r2 -a claude-code`. Or copy the skill folder (.agents/skills/upload-r2 in remotion-dev/remotion) into .claude/skills/upload-r2 in your project. Claude Code loads it when a task matches its description.

How do I install Upload R2 in Codex?

Run `npx skills add remotion-dev/remotion --skill upload-r2 -a codex`. Or copy the skill folder (.agents/skills/upload-r2 in remotion-dev/remotion) into .agents/skills/upload-r2 in your project. Codex loads it when a task matches its description.

Can I use Upload R2 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add remotion-dev/remotion --skill upload-r2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upload-r2, .gemini/skills/upload-r2, .github/skills/upload-r2 and .opencode/skills/upload-r2 in your project.

What does Upload R2 need to run?

Going by SKILL.md and its folder, Upload R2 needs the command-line tools its instructions call (git, bun and curl) and credentials named AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Our summary lists: A credential in AWS_SECRET_ACCESS_KEY.

Does Upload R2 access the network?

SKILL.md names 2 domains. In commands or code: remotion.media and 2fe488b3b0f4deee223aef7464784c46.r2.cloudflarestorage.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Upload R2 safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Upload R2 use?

Upload R2 has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Upload R2 use?

About 535 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Upload R2?

Skills that share tags, products or a category with Upload R2: Procedural Fish Render (vibe-motion/skills, 1.3k stars), Remotion Best Practices (lyonjs/shortvid.io, 147 stars), Making Demo Videos (nukeop/nuclear, 19k stars) and HyperFrames Video Entry Point (heygen-com/hyperframes, 58k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Upload R2?

remotion-dev (a GitHub organization, an official publisher) maintains it in remotion-dev/remotion, which has 62,235 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 7, 2026.

Source: remotion-dev/remotion on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.