All skills
heygen-com avatar

/remotion-to-hyperframes

@ff6e210
by HeyGenheygen-com/hyperframes55k stars
4,998

Port an existing Remotion (React) composition's source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

Use this Skill: https://skilld.dev/gh/heygen-com/hyperframes/remotion-to-hyperframes

This session only. Nothing lands on disk.

assetstest-corpustier-1-title-cardREADME.md

≈556 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Tier 1 — title-card-fade

What it tests

The simplest non-trivial Remotion → HyperFrames translation. A single text element fades in over the first 0.5 s, holds for 2.0 s, and fades out over the last 0.5 s. No audio, no media, no custom components.

If a translation can't pass T1, it's broken on table-stakes basics: AbsoluteFill, useCurrentFrame, interpolate with multi-segment input, and the timing offset between Remotion's frame-based driver and HF's paused-GSAP driver.

Translation walk-through

Remotion HyperFrames
<AbsoluteFill style={{ backgroundColor: "#0a0a0a" }}> <body style="background: #0a0a0a"> + a positioned root div
useCurrentFrame() dropped — HF seeks the timeline
interpolate(frame, [0, 15, 75, 90], [0, 1, 1, 0]) at fps=30 gsap.timeline({ paused: true }) with three .to() calls at offsets 0s/0.5s/2.5s, each ease: "none"
<div style={{ opacity }}>HELLO</div> static markup; opacity is animated by the timeline

The Remotion→HF time conversion is time = frame / fps. So [0, 15, 75, 90] at 30 fps becomes [0, 0.5, 2.5, 3.0] seconds.

How to render and evaluate

# Render Remotion baseline
cd remotion-src && npm install && npm run render
# Renders to remotion-src/out/baseline.mp4

# Render HyperFrames translation
cd ../hf-src && npx hyperframes render --output ../hf.mp4

# Compare with the eval harness (from skill scripts/)
../../../scripts/render_diff.sh ./remotion-src/out/baseline.mp4 ./hf.mp4 ./diff

expected.json documents the SSIM threshold (0.95) for this fixture; the calibrated mean against Remotion @ 4.0 with PNG/BT.709 output is 0.974.

Source: SKILL.md on GitHub

1 warning3d3 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    The skill is a specialized tool for migrating Remotion video compositions to HyperFrames HTML. It includes a security-conscious linter that identifies and blocks non-deterministic or side-effect-heavy React patterns (like useState or side-effects in useEffect) from being translated. It uses standard industry tools (ffmpeg, npm) and official vendor resources from trusted and well-known services.

  • Socket3d

    No alerts

  • Snyk3d

    Risk: MEDIUM · 1 issue

Signed by skilld at ff6e210. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 4 days ago

README badge

README badge for heygen-com/hyperframes/remotion-to-hyperframes