upload-element-previews
Upload a Remotion Element's preview assets to remotion.media and replace local preview URLs. Use when given an Element slug, or when exactly one Element's preview assets are present in the current worktree.
How do I install this agent skill?
npx skills add https://github.com/remotion-dev/remotion --skill upload-element-previewsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates the uploading of preview assets to the Remotion media server using local project scripts. While functional for development, it contains a potential command injection surface if the agent does not properly sanitize the user-provided slug and category inputs.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Upload Element Previews
- Identify the Element slug. Ask if it is ambiguous.
- Choose the source:
- Use
renderfor fresh files in.element-previews. - Use
submissionfor committed files instatic/elements.
- Use
- Upload the previews:
cd packages/docs
bun run upload-element-preview \
--element=<category>/<slug> \
--source=<render|submission>
Each upload uses a new random URL postfix, including when the Element already has hosted previews. This keeps previews from concurrent branches independent.
- Replace
image,posterUrl, andvideoUrlwith the newly printedremotion.mediaURLs. - If using
submission, delete the local review assets. If usingrender, leave.element-previewsuncommitted. - Commit and push when the work belongs on a branch.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/remotion-dev/remotion/upload-element-previews">View upload-element-previews on skillZs</a>