From rn-bw-text-opener
Analyzes, recreates, aligns, and verifies reference-video motion with frame-by-frame breakdown, PSNR/SSIM metrics, and fidelity classification (pixel/visual/style).
How this skill is triggered — by the user, by Claude, or both
Slash command
/rn-bw-text-opener:rn-replica-qcThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Make reference-video work evidence-driven and reusable. First classify the
Make reference-video work evidence-driven and reusable. First classify the requested fidelity, then extract frames, describe the source timeline, compare the candidate, repair the implementation in small verified passes, and capture successful motion patterns as HyperFrames / Remotion components.
This skill is not only a final QC gate. It is also a replication loop for turning real video motion into a component library so future AI-generated videos can reuse proven animated patterns instead of defaulting to static slide-like layouts.
assets/showcases/presenton-replica-pixel-aligned-bitexact.mp4Read references/replica-levels.md before promising any fidelity level.
cmp, PSNR infinity, or SSIM 1.0.Never describe a HyperFrames/Remotion rebuild as pixel-level unless it passes the hard metrics.
Collect:
0.5s0.1s when motion is fast or misalignedIf the URL is private or expired, use the download skill or browser/source page to retrieve a fresh source before analysis.
When the environment has Goal mode, create or reuse a goal that states:
If Goal mode is unavailable, use alignment-report.md and patch-log.md as
the persistent objective. Do not rely on chat memory alone.
Use scripts/extract_halfsec_frames.py or equivalent ffmpeg commands to extract
frames at fixed timestamps. Start with 0.5s, then add 0.1s or explicit
timestamps around transitions, fast typography, cursor movement, model lists,
rail/line motion, or any failing window. Create contact sheets. Then write a
timeline report:
Do not build from memory. The extracted frames are the source of truth.
If a candidate exists, use scripts/compare_videos.py for hard metrics, then
create side-by-side contact sheets at the same timestamps.
Classify every mismatch:
For hand-authored HyperFrames/Remotion work, also run component-level checks instead of relying only on whole-frame metrics:
In replica-loop mode, pick the earliest or largest visible mismatch and make a targeted code change. Then regenerate frames for the same timestamps and update the evidence before touching the next mismatch.
Rules:
lint, validate, and inspect before final render.When a motion pattern is aligned well enough to reuse, write a component entry. Each component entry should include:
The goal is a growing library of proven video-language building blocks: title openers, model switch lists, vertical rails, floating cards, product panels, code reveals, CTA transitions, captions, and diagram motions.
Approve only if the candidate meets the requested level:
If it fails, produce a repair list ordered by timestamp. Say "not aligned" and name the first failing timestamp.
python3 scripts/extract_halfsec_frames.py reference.mp4 --out analysis/reference
python3 scripts/extract_halfsec_frames.py reference.mp4 --out analysis/reference-dense --interval 0.1 --start 18 --end 21 --contact
python3 scripts/compare_videos.py reference.mp4 candidate.mp4 --out analysis/compare
Use the workspace Python from load_workspace_dependencies when Pillow is
needed for labeled contact sheets.
Keep these artifacts near the video project:
alignment-report.mdpatch-log.mdcomponent-catalog.mdcomparison-report.mdFor content-creation projects, copy the final QC artifacts into the desktop
archive 质检/ folder.
npx claudepluginhub pluviobyte/rnskill --plugin rn-renhuaExtracts frames from videos/images, renders Remotion to MP4/stills/GIF, checks specs like resolution/fps/codec, and visually verifies quality via ffmpeg/ffprobe shell toolkit.
Translates Remotion (React) video compositions into HyperFrames HTML/GSAP. Refuses lossy patterns and recommends runtime interop. Use only on explicit migration requests.
Provides best practices for building videos programmatically with Remotion: scaffolding projects, animating with interpolate/spring, sequencing scenes, captions, audio, GIFs, Lottie, 3D, charts, effects, and dynamic duration.