Skip to content
Skills Library
Marketing & content · Building & coding

package-edit

/package-edit

Composite the talking head onto a finished package animation. Cuts the speaker with the kept takes from beat-segment, removes the background, processes the voice, fits the animation to the head beat by beat, places the head by short-video safe-area rules, adds a visual follow call-to-action instead of a spoken one, burns in karaoke captions, mixes the accent stem under the voice, and checks the result by re-transcribing it. Also covers an optional looping teaser clip and post copy. Use when a package's animation and audio stem pass QA, or when the speaker sends a re-recorded line.

Licence
MIT
Last repository change
03.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Composite the talking head onto a finished package animation. Cuts the speaker with the kept takes from beat-segment, removes the background, processes the voice, fits the animation to the head beat by beat, places the head by short-video safe-area rules, adds a visual follow call-to-action instead of a spoken one, burns in karaoke captions, mixes the accent stem under the voice, and checks the result by re-transcribing it. Also covers an optional looping teaser clip and post copy. Use when a package's animation and audio stem pass QA, or when the speaker sends a re-recorded line.

Original author description

Composite the talking head onto a finished package animation. Cuts the speaker with the kept takes from beat-segment, removes the background, processes the voice, fits the animation to the head beat by beat, places the head by short-video safe-area rules, adds a visual follow call-to-action instead of a spoken one, burns in karaoke captions, mixes the accent stem under the voice, and checks the result by re-transcribing it. Also covers an optional looping teaser clip and post copy. Use when a package's animation and audio stem pass QA, or when the speaker sends a re-recorded line.

How it works

  1. edit.json (the decisions, one file per package)
  2. Steps
  3. Teaser clip (optional)
  4. Post copy
Original SKILL.md headings · 136 lines, 1,753 words
SKILL.md preview
---
name: package-edit
description: Composite the talking head onto a finished package animation. Cuts the speaker with the kept takes from beat-segment, removes the background, processes the voice, fits the animation to the head beat by beat, places the head by short-video safe-area rules, adds a visual follow call-to-action instead of a spoken one, burns in karaoke captions, mixes the accent stem under the voice, and checks the result by re-transcribing it. Also covers an optional looping teaser clip and post copy. Use when a package's animation and audio stem pass QA, or when the speaker sends a re-recorded line.
---

# Edit the talking head onto the package

The speaker's recording was ingested at the start (`talking-head-ingest`) and its keeper takes chosen
(`beat-segment`), so the animation is already built to the clean timeline. This step cuts the head the same way, lays
it over the animation, and delivers a composite ready to post. Decisions live in `edit/edit.json`; write a small
render script for the project (ffmpeg plus Python) that reads it, so every edit can be reproduced.

## edit.json (the decisions, one file per package)

```json
{
  "sources": ["<original video paths, in recording order>"],
  "head": "edit/head.mov",
  "voice": "edit/voice.wav",
  "animation": "<id>.mp4",
  "accent_stem": "audio/<id>.fx.wav",
  "manifest": "build/manifest.json",
  "words": "source/words.fixed.json",
  "chunks": [{"beat": 1, "takes": [[12.40, 17.95]], "pos": "TR"}, {"beat": 2, "takes": [[31.1, 36.02]], "pos": "BL"}],
  "inserts": [],
  "speed_mode": "per_beat",
  "final_speed": 1.0,
  "follow_cta": {"beat": 4, "offset": 1.0},
  "leans": [],
  "hard_edges": []
}
```

Takes are copied from `beats.json`. Re-recorded lines go in `inserts` (`video`, `audio`, `a`, `b`, `text`) and are
named in a chunk's takes as `"ins0"`; never concatenate them onto the main recording (that is a multi-GB rewrite).

## Steps

1. **Disk first.** Raw 4K footage and matted ProRes are each ~10 GB per 3.5 minutes; you need about 25 GB free. Delete
   nothing without asking. Never run two matting jobs at once.
2. **Matting.** Remove the background (a video matting model such as Robust Video Matting) to `edit/head.mov` with
   alpha (ProRes 4444 or similar). Phone ProRes is 4:2:2 10-bit: keep a 10-bit 4:2:2 pixel format through the pipe.
   Several parts: matte each to `head1.mov`, `head2.mov`, … and read them through a concat list, so the audio made
   from the same list keeps the same clock.
3. **Voice.** The `audio-engineer` agent runs its voice chain on `source/audio48k.wav` into `edit/voice.wav` at
   -16 LUFS (dual-mono measurement), peaks at or under -2 dBTP.
4. **Cut points follow the audio level.** Each kept take cuts in at the **sustained onset** nearest its start (where
   the denoised level rises and stays up for at least 0.5 s), unless voice rises between the take start and that
   onset. A short first word plus a pause ("Here, doubling…") is never sustained, so use the nearest rise of any
   length there. Take ends walk to where this recording's voice goes quiet (at least 0.12 s under its threshold, at
   most 0.4 s, plus a 0.05 s pad). Measure the threshold per file from its own noise floor and speech level, ignoring
   exact-zero samples a denoiser writes into long pauses (they make the floor read absurdly low). Pauses of 0.3 s or
   more inside kept text are cut, leaving 0.1 s each side, exactly as `beat-segment` assumed. Report the cut list
   with what was heard, the threshold, and each take start (planned, cut, rule used).
   - A false start inside one unit ("Many… One might…"): move the take start to the dip before the good word and
     list that time in `hard_edges` so it isn't snapped back.
5. **Fit the animation to the head.** The head keeps its natural speed; the animation (picture and accent stem) is
   re-timed.
   - **Per beat** (default): each picture beat is sped or slowed on its own so it starts when its head chunk starts.
     Clamp factors to 0.75-1.6x; spread what a beat can't absorb over neighbouring beats with slack, and report any
     residual drift per beat. Picture: one piecewise `setpts`. Stem: `atrim` + `atempo` per piece, each padded or
     trimmed to its exact length so accents stay within a frame. Head moves, equation detection and the CTA search all
     use the same time map.
   - **Uniform** (one factor for the whole animation) is acceptable when drift is already small.
   - An optional `final_speed` plays the finished composite slightly faster, voice included (setpts + atempo, pitch
     kept). Keep it modest (1.05-1.1x at most) and only when the user asks.
6. **Head placement** (one position per chunk, hard cuts between positions; no slides or eases):
   - **Bottom left / bottom right:** the head is 50 % of the screen height (960 px), flush with the bottom edge. This
     covers the maths band, so prefer top positions while an important equation is up.
   - **Hook in a top corner** when the thumbnail matters: profile grids often crop to 4:5 around the centre
     (y 285-1635), so a bottom head drops out of the thumbnail. Pick the corner whose head box covers the least
     subject on frame 1.
   - **First chunk:** frame 1 keeps the opening equation readable. A bottom head shrinks (24 px steps, down to ~360 px)
     until its silhouette clears every glyph shown during the chunk by 24 px, and holds that position at least 3 s.
   - **Top corners** often hold the account name: nothing above 10 % of the height (y at least 192). Top heads are
     about 300 px with the torso faded out; vary their height between chunks (y 192-660, at least 120 px apart),
     seeded so re-renders match.
   - **Bottom right** holds the like/comment/share buttons: a head there is at least 35 % of the height.
   - **No equation on screen** (at least 1 s with no bright glyphs in y 1150-1500): the head may go 2x and centred at
     the bottom.
   - **Beside equations:** a bottom-corner head on screen while equations are up for more than half its span moves a
     fifth of the screen width further toward its edge, partly off-screen.
   - **At least 2 s between head moves.** Every change of size or place counts. Drop any move that comes less than 2 s
     after the previous one or would last less than 2 s; the stretch between kept moves holds one position (a corner
     beats the big centred head; between two sides, the older one wins; chunk cuts outrank equation moves). Assert
     the rule in the render and list the moves in the report.
   - **Leans** (small top heads only): tilt 2.5° toward the animation on question lines and listed payoff words, ease
     in 0.25 s, out 0.4 s; at most 4 per package, at least 6 s apart and 1 s from any move.
7. **Follow call-to-action, never spoken.** Viewers drop off when the speaker says "follow me". Render a visual one: a
   cursor clicks a "Follow" pill (a crisp click sound on the press frame), a spring, a small confetti burst,
   "Following", a wiggle and a shrink-out in place, about 3 s, centred just under the captions. Start it at least 1 s
   after a head move, with no head move while it plays, at least 0.5 s from the animation's own camera moves, pops
   and beat cuts, preferably while no equation is up; search 25-75 % of the video for the slot nearest the target.
8. **Captions**, burned in with libass at PlayRes 1080x1920: up to 4 words / 18 characters per cue, each on screen at
   least 0.8 s (short cues join the next when they fit), centred at y 960 (between subject and maths band), white
   bold sans with a 9 px black border and a drop shadow offset 9 px.
   - **Karaoke:** the word being spoken turns yellow (#FFD84D) 60 ms before its onset until the next word lights.
     Change colour only; a bigger or bolder word would shift the centred line.
   - Snap word starts to the voice onset in the denoised audio within ±150 ms (speech-to-text times run up to ~170 ms
     off); words inside continuous speech keep theirs.
   - Maths words are spelled as said ("E nought", not "E0"). A caption fix from `package-script` (a slip the speaker
     made) is applied here and listed in the report.
9. **Audio mix:** the voice at -16 LUFS over the re-timed accent stem at about half volume (-6 dB), the CTA click
   unchanged. The user sets final levels in their editor if they want; report both stems' loudness.
10. **Render and check.** Outputs in `edit/`: the cut head with alpha and voice, the voice wav, the `.ass` captions, the
    composite mp4 and a report JSON (cuts, speed pieces, chunk vs beat times, head moves, leans, CTA time, caption
    onset snaps, composite length). Then:
    - **Re-transcribe the finished voice track** and read it against `SCRIPT.md`. A whole-file pass can merge a
      restart into its retake or skip a take entirely; when a line is missing or doubled, look at the voiced runs of
      the level in that window and re-transcribe the window alone.
    - Look at frames from every chunk and the CTA. Never overwrite a composite the user has shipped: copy it to
      `*.SHIPPED.mp4` first.
11. Show the composite to the user with the speed factors, the drift table, the cuts and any unsure caption line, and
    set the progress row to `waiting` at `edit`. Mark `approved` only when the user says so.

## Teaser clip (optional)

A ~16 s looping teaser to post alongside the package, with the speaker saying one short line ("What's going on
here?"), picked from the recording or recorded separately.
- **One continuous stretch of the animation, no cuts** (montages of several clips read as jarring and don't loop).
  Pick the best window after the opening tag is gone and before the last beat (score detail, motion and maths, and
  penalise held frames at playback speed), play it at about 1.5x, and dissolve its last 0.5 s into its opening so it
  loops. No historical figures.
- The head shows only while the line is spoken (bottom corner, 50 %), fading in 0.12 s and out 0.25 s. Captions for
  that line only.
- **Zoom in the render, not in post:** re-render the window with the camera zoomed so the animation fills the top
  ~65 % (y 0-1248) and the equations sit centred in the bottom band once the head has gone, easing back before the
  loop dissolve.
- A follow CTA about 3.9 s before the end, gone before the loop dissolve.
- QA: the biggest frame-to-frame jump must be the animation's own motion; the loop seam (last vs first frame, top
  44 %) about one frame of motion; no frozen run over ~1 s.

## Post copy

When the user asks for a caption to post with a package: one short paragraph on the problem and the key idea using the
package's technical terms, then optional context, then an optional closing question that invites comments. Phrase
claims exactly as the package does. No hashtags unless asked, no link in the post, a unique caption per post, and run
the de-slop check from `package-script`. For the teaser: a short first paragraph, then one line inviting people to
follow for the explanation.

Versions

The database has no other skills named package-edit.

Database snapshot: 13.11.2026 · package version 2c8319b50fdb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100package-build
    Produce one package end to end from a talking-head video: a ~60 to 120 s vertical (1080x1920, 60 fps) animation built to the speaker's beats that opens on a striking 3D image of the problem, carries the solution as on-screen maths over continuous lit 3D animation, loops back to…
  • 100package-script
    Fourth step of the package workflow. Turns the segmented talking-head beats into the package script, a table of Line (what the speaker says, maths in LaTeX), Visual (concrete, cinematic animation directions per beat) and Sources (fact IDs), then runs a de-slop pass and a…
  • 86captions
    Add captions to a video in the same style every time. Use when someone wants captions on a talking-head video.
  • 100talking-head-b-roll
    Add b-roll motion graphics to a talking-head video. Transcribes the recording with word timings, decides line by line when the speaker is shown, when a graphic is laid over them and when a full-frame graphic covers them, draws each graphic from what is actually said (numbers,…
  • 95talking-head-shorts
    Make 2 or 3 vertical Shorts, Reels or TikToks from a talking-head recording. Picks moments that stand alone, opens each on its hook, reframes 16:9 to 9:16 keeping the speaker's face in frame (OpenCV face finding, with fallbacks), and adds a headline in the speaker's own words…
  • 90reels-editor
    Use when the person wants to edit a video, reel, or raw footage: "edit this video", "make a reel", "cut this down", "add captions", "clean up my talking head video". Turns one talking-head clip into a finished vertical Reel with the Dandelion Studio tools, then offers to post it.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.