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-proof.html
View on GitHub<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8" />
<title>beat · Proof Reveal</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>
.eyebrow { color: var(--fact-accent); }
.stack { position: absolute; top: 470px; left: var(--pad-x); right: var(--pad-x); display: flex; flex-direction: column; gap: 30px; }
.active-pill { opacity: 0; }
.footnote { position: absolute; bottom: 290px; left: var(--pad-x); right: var(--pad-x); text-align: center; opacity: 0; }
</style>
</head><body>
<div class="bg warm"></div>
<div class="stage">
<div class="eyebrow" id="eyebrow" style="opacity:0"></div>
<div class="stack" id="stack"></div>
<div class="footnote" id="foot"></div>
</div>
<script id="beat-spec" type="application/json">
{ "duration": 5.06, "palette": {},
"proof_eyebrow": "What works — season after season",
"proof_items": [
{ "name": "Soak-and-dry watering", "badge": "Root-safe" },
{ "name": "Chunky bark mix", "badge": "Root-safe" },
{ "name": "Bright, indirect light", "badge": "Root-safe" } ],
"proof_footnote": "Grower-tested — [matched to your plant by a real person.]",
"cues": { "items": [0.00, 0.92, 2.00], "footnote": [2.58, 3.10] } }
</script>
<script src="_shared.js"></script>
<script>
const BEAT = loadBeatSpec();
applyPalette(BEAT.palette);
const dur = BEAT.duration || 5.06;
const eyebrow = document.getElementById('eyebrow');
const stack = document.getElementById('stack');
const foot = document.getElementById('foot');
eyebrow.textContent = BEAT.proof_eyebrow || '';
const items = BEAT.proof_items || [];
stack.innerHTML = items.map((it, i) =>
`<div class="active-pill" data-i="${i}"><span class="name">${it.name || ''}</span>` +
(it.badge ? `<span class="rx">${it.badge}</span>` : '') + `</div>`).join('');
const pills = Array.from(stack.querySelectorAll('.active-pill'));
if (BEAT.proof_footnote) {
foot.innerHTML = BEAT.proof_footnote.replace(/\[([^\]]+)\]/g, '<b>$1</b>');
}
// one pill per VO word onset; even fallback across the first ~55% of the beat.
const pStarts = (BEAT.cues && BEAT.cues.items) ||
pills.map((_, i) => (i / Math.max(1, pills.length)) * dur * 0.55);
const footWin = (BEAT.cues && BEAT.cues.footnote) || [dur * 0.51, dur * 0.61];
initRenderer(dur, function (t) {
eyebrow.style.opacity = tw(t, 0.00, 0.35) * 0.9;
pills.forEach((el, i) => {
const p = popIn(t, pStarts[i], pStarts[i] + 0.42, 30);
el.style.opacity = p.opacity; el.style.transform = p.transform;
});
const f = tw(t, footWin[0], footWin[1]);
foot.style.opacity = f;
foot.style.transform = `translateY(${(1 - f) * 20}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 |