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…
от remotion-dev★ 77 030 звёзд на GitHubОб этом скилле
Upload R2 Asset
Use this for large media assets that should be hosted on https://remotion.media/ instead of committed to Git.
Workflow
Find the main worktree:
git worktree list --porcelainPrefer the worktree on
refs/heads/main, usually/Users/jonathanburger/remotion.Load R2 credentials from the main worktree:
--env-file=/Users/jonathanburger/remotion/packages/remotion-media/.envDo not print secret values. The required variables are
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY.Upload the file to the
parser-mediabucket using Bun's S3-compatible client:bun --env-file=/Users/jonathanburger/remotion/packages/remotion-media/.env -e "import {S3Client} from 'bun'; const filePath='<local-file>'; const key='<remote-file-name>'; const client=new S3Client({accessKeyId:Bun.env.AWS_ACCESS_KEY_ID, secretAccessKey:Bun.env.AWS_SECRET_ACCESS_KEY, endpoint:'https://2fe488b3b0f4deee223aef7464784c46.r2.cloudflarestorage.com', bucket:'parser-media'}); const file=Bun.file(filePath); if (await client.exists(key)) { const stat=await client.stat(key); if (stat.size===file.size) { console.log('exists-same-size', key, file.size); process.exit(0); } } await client.write(key, file); const stat=await client.stat(key); console.log('uploaded', key, stat.size);"Verify the public URL:
curl -I --fail https://remotion.media/<remote-file-name>Replace local asset usage with the hosted URL and delete the local binary.
Do not wrap remote URLs in
staticFile():staticFile()rejectshttp://andhttps://URLs. Use the URL string directly, for example:<Video src="https://remotion.media/example.mp4" />Run the focused lint or stylecheck for touched packages, then commit and push.
Установить upload-r2 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл upload-r2?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл upload-r2 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic