CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

gamussa/reels-producer-skill

Write talking-head scripts and produce Instagram reels and YouTube shorts

1.07x
Quality

96%

Does it follow best practices?

Impact

98%

1.07x

Average score across 8 eval scenarios

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

fusion-titles.mdskills/reel-builder/references/

Fusion titles (the DaVinci Resolve twin of the Hyperframes title)

Two pipelines produce the same animated title + subtitle over the opening seconds of a reel. Pick by where the reel is being finished, not by look — the look is identical by construction.

Hyperframes (open-source path)Fusion (Resolve path)
Sourceassets/hyperframes-motion HTML + GSAP, render_hyperframes.pyfusion_title.py writes a .comp; resolve_title.py puts it on the timeline
Outputopaque 4 s clip, footage baked in; placed as a cut-plan segmentFusion comp with alpha on a track above the footage; renders with the master
Edit a wordedit HTML or spec, re-render clip (~3 min at 4K), re-render masterchange the Text+ node in the Inspector, or regenerate and re-apply; re-render master
NeedsNode 22+, project-local Hyperframes, ChromiumResolve Studio running, Pillow, the font installed on the Resolve host
Per-word emphasis and staggerCSS + GSAPone Text+ node per word

Both read the same spec: {"title": ..., "emph": ["word", ...], "sub": ...} per reel. Keep one titles.json per project (work/motion/titles.json) so the two paths cannot drift.

Design contract (what both must produce)

  • Design canvas 1080×1920 (scaled ×2 for 4K): title 92 px Instrument Serif Regular, line-height 1.0, letter-spacing −0.5 px, white; emphasised words inline in Italic, accent #F26B21; 120×8 px accent bar above; subtitle 40 px at 88 % white below; the block centred on the frame; a soft dark band (#080E16 at 0.88, feathered) behind it.
  • Timing at 30 fps: band fades in from 0.07 s; bar grows from 0.10 s; word i rises 42 px and fades in over 0.6 s starting at 0.22 s + 0.055 s·i; subtitle at 0.75 s; everything exits (up and out, 0.45 s) at 3.25 s; the clip is 4.0 s.
  • Captions stay a separate layer and are never under the band.

Generate

python3 scripts/fusion_title.py --spec work/motion/titles.json --id r04 --out work/motion/title_r04.comp
python3 scripts/fusion_title.py --title "Skills are not enough" --emph not,enough \
    --sub "Non-deterministic by design." --out work/motion/title_r04.comp --resolution 4k

No Resolve needed for this step. The script lays the words out itself from the TTF metrics (Pillow), wraps at the safe width, and refuses a subtitle that would not fit on one line rather than shrinking it. Fonts: it looks in --font-dir, ~/.fonts, ~/Library/Fonts, /Library/Fonts. The same family must be installed where Resolve runs — Text+ resolves Font = "Instrument Serif" by name at render time and silently substitutes if it is missing, so check the first render.

Apply and render

python3 scripts/resolve_title.py apply --timeline r04_master --comp work/motion/title_r04.comp --track 2 --captions-to 3
python3 scripts/resolve_render.py plan/cut_plan.json --out work/master.mp4      # or the project's own Deliver job

apply adds a 4 s host clip on the title track (a trim of the first V1 clip; its picture is never seen — the comp has no MediaIn) and imports the comp onto it. Re-running apply on a track that already has the title needs --replace.

The script reaches Resolve one of two ways, same code: from a shell through resolve_bridge.connect() (Resolve Studio running, external scripting = Local); or, inside a Resolve MCP session, with the pre-injected resolve object passed to apply(args, resolve=resolve) — see the docstring for the runpy call. Prefer the MCP when it is there (no scripting-module lookup, works while the UI is busy); the shell path is what CI, terminals and resolve_render.py use.

Resolve facts this depends on (measured on Resolve 21.1)

  • InsertFusionCompositionIntoTimeline() ripples every track at the playhead. Do not use it for overlays; append a host clip instead.
  • endFrame is exclusive and recordFrame includes the timeline start frame (01:00:00:00 = 108000 at 30 fps). Same as resolve_bridge.py.
  • ImportFusionComp on a clip that already has a comp adds nothing visible — delete the old comp by name first (resolve_title.py does).
  • Text+ Center is the centre of the em box regardless of HorizontalJustificationNew; the justification inputs did not move the text at all. Per-word placement therefore uses word centres. Because it is the em box, words with different ascenders/descenders share a baseline when given the same Center y.
  • Text+ Size 0.155 renders 204.8 px of glyph size on a 3840-px-high frame, i.e. Size = px × 0.155 / 204.8. Widths then match Pillow's getlength at that pixel size within a percent. Re-measure for other fonts.
  • Text+ ElementShape 2 is Border Fill: on shading element 2 at Level Line it draws a filled rectangle behind each Text+ node — a dark box per word — not a shadow. The soft shadow is ElementShape 0 (text fill) with Offset and Softness.
  • RectangleMask Height is a fraction of the image height here (the mask is at the frame's size via OutputSize = Custom); Width a fraction of the width. A mask wider than 1 is fine.
  • Comps built through the Fusion scripting API on a timeline item did not affect renders; a text .comp imported with ImportFusionComp does. Keep the generator writing files.
  • Animation: numeric inputs take BezierSpline keyframes with RH/LH handles (used here to emulate GSAP's power3.out / power2.in). Point inputs (Center) do not take a spline directly; the generator drives them with an Expression reading a keyframed channel of a hidden Background tool (Ctl0.TopLeftRed …, 16 channels per tool), which is what makes per-word rises cheap. XYPath written by hand did not load.
  • The Deliver queue can hang after a job with a partially written file (seen once in a 10-job batch): IsRenderingInProgress() stays true, GetCurrentPage() returns None, StopRendering() is ignored. Only a Resolve restart clears it; the project state survives. Verify every output with ffprobe (moov atom not found = the hung job) rather than trusting JobStatus.
  • A media pool clip keeps the frame count it had at import. If a source file is re-rendered longer afterwards, audio past the old length renders silent. MediaPoolItem.ReplaceClip(same_path) refreshes it.

When to use which

Use the Hyperframes path when the reel is finished with render_reel.py (no Resolve on the machine, CI, or a Linux box), or when the graphic needs things Text+ cannot do (charts, per-letter effects, SVG). Use the Fusion path when the reel is already being mastered in Resolve (resolve_render.py, captions composited there, the human keeps working the timeline) — it removes a 4 s re-encode of the footage, a Chromium dependency, and a three-minute render per revision. Offer both; do not switch a project silently.

skills

tile.json