html-motion-cards

Generate animated HTML/CSS title and data cards rendered to vertical video via storyboard.json.

Updated Aug 9, 2026
Ready to run
npx skills add https://github.com/ChenJiangxi/auramate-video --skill html-motion-cards-chenjiangxi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: html-motion-cards
Source: https://github.com/ChenJiangxi/auramate-video/tree/main/skills/html-motion-cards
Command: npx skills add https://github.com/ChenJiangxi/auramate-video --skill html-motion-cards-chenjiangxi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve? Creating consistent, readable animated text cards (hooks, rankings, comparisons, brand outros) for vertical short videos is slow and error-prone when done by hand, and cards often clash with subtitles or drift out of sync with voiceover. ## Core Features & Use Cases - Five ready templates: hook-slam, question, bar-rank, stat-compare, and cta-brand, all 1080x1920 and sharing a common design system in _base.css (colors, font scale, atmosphere layers, animations). - storyboard.json-driven rendering: fill templates, render with Playwright, and emit shots.tsv in one command, with durations automatically derived from per-beat audio files so cards stay aligned with voiceover. - Guardrails from real failures: rules for subtitle overlap (--skip beats with large card text), safe zones, recordVideo/viewport sizing, and a symptom-to-fix troubleshooting table. - Use Case: You are producing a vertical ranking video comparing AI model scores. Write a storyboard.json with a bar-rank beat containing the real measured values, run the storyboard script, and get a rendered card clip plus shots.tsv ready for the build pipeline. ## Quick Start Create a storyboard.json describing your beats with template names and data fields, then ask the agent to render the motion cards and produce shots.tsv for the vertical video build.

Frequently Asked Questions about html-motion-cards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render HTML animations to video for short-form content?▼

Define beats in a storyboard.json with template names and data fields, then run the storyboard script which fills the templates, records them with Playwright's recordVideo, and writes a shots.tsv. Durations default to the matching audio file length per beat.

What templates are available for vertical video text cards?▼

Five templates are included: hook-slam for opening hooks, question for resonance cards, bar-rank for ranking charts with reference lines, stat-compare for A versus B numbers, and cta-brand for closing brand cards. All are 1080x1920 and share a common base stylesheet.

Why does my Playwright recording only fill the top-left corner?▼

This happens when recordVideo.size does not exactly match the browser viewport. Both must be set to identical dimensions, and you must call context.close() rather than only page.close() to flush the webm file.

How do I prevent subtitles from overlapping card text?▼

Keep bottom card elements above the subtitle band using the provided --above-subs offset, and add beats whose cards already contain large text to the subtitle generator's skip list, for example gen-subs.py --skip c02,c03.

When should I not use HTML motion cards in a video?▼

Cards must not pretend to be real footage, evidence, or B-roll, and a video made entirely of cards reads as artificial. Use them for titles, hooks, data with real measured numbers, and covers; use real captured material for content scenes.