gooseworks-ai/goose-skills / skills/video/render-myth-vs-fact
render-myth-vs-fact
VerifiedAssemble a myth-vs-fact kinetic-typography explainer video ad (≈29.5s, 9:16) from N myth/fact pairs + hook / turn / punch copy + palette + a brand end-card PNG + a VO track — a hook, 3 red-strike MYTH cards that flip to teal-check FACT cards (per-line strikethrough that crosses EVERY wrapped line), a "what actually works" turn, an optional proof reveal, a punch line, and a static end card. DETERMINISTIC assembly with ZERO AI-gen visuals — HTML hyperframes rendered frame-exact via Playwright (`window.renderAt(t)`, animation a pure function of beat-local time), Whisper beat-snap to VO word onsets, concat at a uniform fps, karaoke `.ass` captions burned last (suppressed on the proof + end-card beats), and a VO + optional music mix (music −20 dB, `amix normalize=0`, tail fade). FREE (Python + Playwright + ffmpeg); the recipe supplies the copy / palette / end-card / VO and gates the paid VO / music / Whisper calls to their own capabilities. Use for the myth-vs-fact format.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.6 KB |
| scripts/beat_snap.py | script | 5.4 KB |
| scripts/compose.py | script | 6.7 KB |
| scripts/config.example.json | config | 4.3 KB |
| scripts/hyperframes/_shared.css | other | 6.7 KB |
| scripts/hyperframes/_shared.js | script | 7.7 KB |
| scripts/hyperframes/beat-hook.html | other | 3.2 KB |
| scripts/hyperframes/beat-myth-fact.html | other | 4.1 KB |
| scripts/hyperframes/beat-proof.html | other | 2.9 KB |
| scripts/hyperframes/beat-punch.html | other | 1.2 KB |
| scripts/hyperframes/beat-turn.html | other | 1.9 KB |
| scripts/make_captions.py | script | 4.6 KB |
| scripts/media_proxy.py | script | 56.8 KB |
| scripts/render_beats.py | script | 7.2 KB |
| skill.meta.json | config | 229 B |
| tests/smoke-test.md | markdown | 5.5 KB |
scripts/hyperframes/beat-turn.html
View on GitHub<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8" />
<title>beat · The Turn</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="_shared.css">
<style>
.h-statement { opacity: 0; }
.sub { margin-top: 52px; max-width: 820px; opacity: 0; }
</style>
</head><body>
<div class="bg warm"></div>
<div class="stage"></div>
<div class="center">
<h1 class="h-statement" id="head"></h1>
<p class="sub" id="sub"></p>
</div>
<script id="beat-spec" type="application/json">
{ "duration": 4.44, "palette": {},
"turn_slate": "What actually works is [simple.]",
"turn_sub": "Habits with [real growers behind them.]",
"cues": { "head": [0.10, 0.70], "sub": [2.18, 2.78] } }
</script>
<script src="_shared.js"></script>
<script>
const BEAT = loadBeatSpec();
applyPalette(BEAT.palette);
const dur = BEAT.duration || 4.44;
const head = document.getElementById('head');
const sub = document.getElementById('sub');
// [square brackets] -> italic emphasis on the head, bold accent on the sub.
head.innerHTML = (BEAT.turn_slate || '').replace(/\[([^\]]+)\]/g, '<em>$1</em>');
if (BEAT.turn_sub) {
sub.innerHTML = BEAT.turn_sub.replace(/\[([^\]]+)\]/g, '<b>$1</b>');
} else {
sub.style.display = 'none';
}
const headWin = (BEAT.cues && BEAT.cues.head) || [0.10, 0.70];
const subWin = (BEAT.cues && BEAT.cues.sub) || [dur * 0.49, dur * 0.63];
initRenderer(dur, function (t) {
const h = tw(t, headWin[0], headWin[1]);
head.style.opacity = h;
head.style.transform = `scale(${0.96 + 0.04 * h})`;
const s = tw(t, subWin[0], subWin[1]);
sub.style.opacity = s;
sub.style.transform = `translateY(${(1 - s) * 26}px)`;
});
</script>
</body></html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |