Communitygithub.com

edit-talking-video

Edit a video of a person talking to camera with the UltraCut tools. Use when someone asks to shorten, tighten, clean up, reorder, caption, zoom, title, style, show a screenshot or an app with the speaker in a corner (picture-in-picture), or add music to a talking video, a short, a reel, or any clip where what is said matters. Covers the three passes of an edit (the cut, the look, corrections by frames), how to place footage, how to cut by words, how to make a designed reel with emphasized words and depth, how to draw arrows, underlines, cards, and small animated mock-ups, and how to check an edit you cannot watch with a contact sheet of stills.

What is edit-talking-video?

edit-talking-video is a Claude Code agent skill that edit a video of a person talking to camera with the UltraCut tools. Use when someone asks to shorten, tighten, clean up, reorder, caption, zoom, title, style, show a screenshot or an app with the speaker in a corner (picture-in-picture), or add music to a talking video, a short, a reel, or any clip where what is said matters. Covers the three passes of an edit (the cut, the look, corrections by frames), how to place footage, how to cut by words, how to make a designed reel with emphasized words and depth, how to draw arrows, underlines, cards, and small animated mock-ups, and how to check an edit you cannot watch with a contact sheet of stills.

Works with✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/DennisKo/ultracut-claude-plugin/tree/HEAD/skills/edit-talking-video

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Edit a talking video

You cannot watch or listen. You edit by reading the transcript, and you check your work by reading what the edit says afterwards and by looking at stills of it. Word numbers from get_transcript are how you point at the video. get_shots is how you see it: each video split at its cuts into numbered shots, each with its time, its frames, where it plays in the edit, and one sentence on what it shows.

Before you edit

  1. list_media. The footage must be ready. If the project has no footage, add_media adds a file that the person attached in the chat or gave as a link, whichever its input takes. Otherwise call open_video_workspace, ask the person to upload it there, and stop.

  2. get_transcript. Read all of it before you decide anything. When the project has other videos or images, or the footage has no speech, read get_shots too.

  3. The first video of a project is put on the timeline by itself, and a project made without a size takes that video's shape. For another frame, such as a vertical short from landscape footage, use set_size. If the transcript says some footage is not on the timeline, place it with one apply_operations call:

    {
      "operations": [
        { "op": "add_track", "id": "trk_main", "kind": "video" },
        {
          "op": "add_clip",
          "trackId": "trk_main",
          "clip": { "type": "media", "assetId": "ast_...", "start": 0 }
        }
      ]
    }
    

    Every operation is named by op. A clip is named by type: media, text, captions, drawing, or bleep. Leave out duration and fit: the clip then plays the whole file and fills the frame. fit: "contain" shows the whole picture on a blurred copy of itself: use it only when every part of a landscape picture matters, such as a screen recording. A landscape video of a person stays cover: punch_in then pans to the speaker's face.

Decide the edit from the text

  • Find what the video is about and which line says it best. That line, or the first strong line, opens the video.
  • Keep whole thoughts. Cut side stories, restarts, apologies, and sign-offs that add nothing.
  • When the transcript notes that a sentence starts like the one before it, it may be a second try. Keep the better one, usually the later one. When it names several tries of one line, keep the last and cut the others.
  • For a length, count words: people say about 2.5 to 3 words a second. One minute is about 160 words, 15 seconds about 40.
  • "Um", "uh", "mm", a word said twice, and the first try of a restart ("I went to the, I went to the airport") are safe to cut. "Like", "you know", "I mean", a laugh, or a sigh are often how the person talks: cut them only when asked, or when the sentence reads better without them.

Editors' words

People who edit use these words. Each one maps to a tool:

  • A-cut, rough cut, clean cut: the cut pass: cut_words (sentences, retakes, and fillers) and tighten_pauses.
  • B-roll, cutaway: add_picture with the preset full.
  • Picture-in-picture, face cam, a Loom-style walkthrough: add_picture with the preset facecam.
  • Motion plate, a zoom into a screenshot, a push-in on the UI: add_picture with a focus on that part of the picture.
  • Lower third, callout, title card: add_text, or a drawing.
  • Sound design, whoosh, riser, pop: get_sound, then add_sound.
  • Music bed, ducking: add_music. It sits under the voice and comes up where nobody speaks.
  • Contact sheet, storyboard, a look at the edit: get_stills.
  • J-cut, L-cut (the sound starts before or runs past the picture), speed ramps, and transitions are not possible: say so.

Work in three passes

  1. The cut, by words. Steps 1 to 3 below. Finish it first: everything else sits on the words that are left.
  2. The look, with the tools. Steps 4 to 8. Each tool places things on the words and on the face, and later cuts carry them along. One call does what dozens of clips by hand would.
  3. Corrections by frames, once, at the end. Only when something a tool placed needs a nudge, or the person asks for something no tool lays: call get_timeline once, then send every change in one apply_operations call. update_clip moves, resizes, recolors, or turns a clip that a tool made. See "Correct by frames" below.

Do not start with apply_operations, and do not rebuild by hand what a tool makes. It costs many more calls and tokens, and a clip placed by frame number knows nothing of the words. Most edits end after the second pass.

Make the edit, in this order

  1. cut_words: one call with every range you drop. To remove ums or filler, pass fillers: ["hesitation", "repeat"] and leave words for the sentences you drop. A word range names its first and last word: { "first": 22, "last": 27 }. The tool finds every um, uh, mm, hmm, and doubled word by itself; do not look them up and list their numbers.
  2. move_words: when a line should come earlier or later. With repeat: true the line plays at the new place and again where it was: use that for a teaser at the start.
  3. tighten_pauses: preset relaxed for "a little", tight for a normal short, rapid for "punchy" or "fast".
  4. add_captions: pick a preset. Captions follow every later cut. Pass emphasis with the words that carry the meaning, about one word in five: the noun or verb a sentence turns on, a number, the punchline. They take the emphasis style of the preset. Give ranges by word number, as everywhere: [{ "first": 9, "last": 9 }, { "first": 14, "last": 15 }]. style.followFace puts the captions under the speaker's chin in every shot; the preset editorial does that by itself.
  5. punch_in: after the cuts. Run it again if you cut more.
  6. add_text for a title, a label, or a callout, add_picture to show an uploaded picture while the person keeps talking: preset full covers the frame and hides a jump cut, facecam fills the frame with the picture and keeps the speaker in a rounded window in a bottom corner (picture-in-picture, as a screen recording with a webcam: use it for a screenshot, an app, or a page the person walks through, so their face stays in view; it needs no cut-out), card shows it beside the speaker (UltraCut finds the free space around the face), bubble puts it in a corner. An emoji is text: add_text with preset sticker and only the emoji, over the words it reacts to. split_screen puts the video in one half and another upload in the other, for the whole video. green_screen cuts the person out of the video and shows an upload behind them: preset corner makes the person small in a bottom corner over a screenshot or a clip to react to, full only changes what is behind them. Use it only when the person asks for a green screen or a new background, never as a touch of your own: the first use on a video makes its cut-out, about 6 minutes for each minute of that video, and the person must agree to that. On desktop and on the web UltraCut asks them in a form. Elsewhere the result tells you to ask: ask, and only after their yes call it again with confirmed: true. Then go on with other edits, and export when list_media shows the cut-out as ready. Presets: title for the hook over the first seconds, editorial for big lowercase lines with emphasized words, label for a headline or topic that stays to the end by itself, note for a small handwritten aside, typewriter, and credit for small print in a corner. Texts that overlap get their own layer. Text and captions take a font (bold, clean, condensed, typewriter, serif, elegant, handwriting), a weight, a position (an edge, a corner, or center), letterCase, letterSpacing, rotation, italic, an outlineColor, and a box (backgroundColor).
  7. Sounds, sparingly: get_sound gets a sound effect by a standard name (pop, click, whoosh, ding, boom, riser, shutter, cash, scratch, buzzer). Where its input also takes a description, you can ask for your own: name the sound by its common word and add one detail; short and plain works best. Sounds are shared by everyone, so a standard one is ready in seconds. Then list_media until it is ready, then add_sound on a word or a second; use align: "end" for a riser. One sound on a key moment does more than one on every cut. bleep_words censors a word with no sound asset: it mutes the speech, plays a tone, and masks the caption.
  8. Music last: get_music with a mood; the music repeats under a longer video by itself. Where its input takes only a mood, the music is premade and that is all it needs. Where it also takes seconds and a prompt, ask for 30 seconds or less and describe only the music, concretely: the genre, two to four instruments, how it is produced. UltraCut adds the rest by itself: that it plays under a voice in a short video, starts with no intro, holds one tempo, and loops. Give bpm only when the person asks for a tempo. It uses music the account already has for that mood; pass fresh: true only when the person wants different music. Then list_media until the new asset is ready, then add_music. Run add_music again if the length changes.

Every tool calls its named set of values preset, and every tool works with no options at all. Each result ends with what to do next.

Edit like an editor, not a form. When captions, zoom, a title, a cutaway, or music would make the video better for where it is going, add them, and say in your reply what you added so the person can ask for it back. Keep to what the person said outright: "just captions" means captions alone, and "keep everything else" means you cut nothing more.

To show a shot of another video while the person talks, call add_picture with that video as pictureAssetId and the shot's start as pictureStart. For footage without speech, build the edit from shots with apply_operations: add_clip with sourceStart at the shot's first frame and duration as its last frame minus its first. A description is read from three frames by a vision model: trust what it says is on screen, not names it might guess.

get_beats is how you hear rhythm: it gives the tempo and the frames where each beat falls, and says which sounds have a steady beat at all. When the transcript notes that a video's sound is music, its words are lyrics: do not cut it by words. For footage without speech, lay the clips, add_music, then cut_to_beat so the cuts land on the beat, then add_music again because the length changed.

Use apply_operations only for what these tools do not do. Do not cut by frame numbers: the word tools put each cut at a quiet moment, frame numbers do not.

A designed reel

When the person asks for a polished, designed, or "editorial" look, or shows a reel of that kind, these four things make it. All of them are options of the tools above.

  • Emphasized words. add_captions with the preset editorial and emphasis: one lowercase word at a time under the chin, the key words in a yellow italic serif. Keep the same emphasis style on the titles: the text preset editorial matches it.

  • A title that builds. For the hook or the one sentence that matters, write the spoken words out as a title: add_text with words for that sentence, the same words as text in short lines, reveal: true, and hideCaptions: true. Put asterisks around the words to emphasize. Each line then comes in as it is said, and the captions step aside:

    {
      "preset": "editorial",
      "words": { "first": 12, "last": 23 },
      "text": "we're gonna\nlearn how to\n*get claude*\n*to edit*\nour yaps\nfor us.",
      "reveal": true,
      "hideCaptions": true
    }
    

    The text must have exactly as many words as the range plays, fillers included; the result says whether the lines came in on the words.

  • Cards with life. add_picture with the preset card and a rotation of a few degrees, the next card leaning the other way, and exit: "pop". boxEnd moves a card while it shows; a wide box that moves sideways is a strip of pictures that scrolls past. Several small cards on the words of one sentence, each with its own box, make a scatter.

  • Depth. layer: "behind" on add_text or add_picture puts it behind the person, who stands in front of it. Use it for one or two moments, such as the building title or a card beside the head. It needs the cut-out of the video, as green_screen does, with the same question to the person and the same confirmed: true after their yes. Ask once, early, and say that it takes minutes; a video that has its cut-out needs no question again.

  • Drawings. An arrow from a note to the speaker, an underline under the key word, a ring around a detail, a small animated mock-up of the app being talked about. UltraCut draws these itself; see "Draw" below.

Sounds on two or three of these moments (pop on a card, whoosh on the title) finish it. Do not put all of this on a plain cleanup that nobody asked to style.

Correct by frames

The third pass. get_timeline lists every clip with its id, its frames, and what a tool set on it. Put all corrections in one apply_operations call:

{
  "expectedVersion": 14,
  "operations": [
    {
      "op": "update_clip",
      "clipId": "clp_...",
      "patch": { "style": { "y": 0.04, "fontSize": 150 } }
    },
    {
      "op": "update_clip",
      "clipId": "clp_...",
      "patch": {
        "rotation": -8,
        "box": { "x": 0.06, "y": 0.08, "width": 0.3, "height": 0.26 }
      }
    }
  ]
}

A patch names only what changes. Run this pass after the cut is final: frame numbers and positions that you read are stale after the next cut.

Keep text inside the area that phone apps leave free. A text at the top, bottom, or in a corner already sits at that edge of the free area, which is what "at the top" or "in the corner" means on a phone. Never move it nearer the edge of the frame with y or x: the apps' own controls cover it there. When a text cannot clear the speaker's head at the top, use position: "bottom" or layer: "behind", not a smaller y.

Draw

A drawing clip holds graphics that UltraCut draws itself, so nothing needs an upload. No tool lays one: add it in the third pass, on a text track. Its parts are drawn in order, the last on top. Each part has a kind: arrow, line, rectangle, ellipse, cursor (a mouse pointer), or text (one line, for a label or an emoji as an icon).

Places are shares of the frame, x from the left and y from the top. To aim at the speaker, call get_timeline with includeFaces: true: it says where the face is in each stretch of the edit. This points an arrow from a handwritten note at the head and underlines the note:

{
  "expectedVersion": 14,
  "operations": [
    { "op": "add_track", "id": "trk_drawings", "kind": "text" },
    {
      "op": "add_clip",
      "trackId": "trk_drawings",
      "clip": {
        "type": "drawing",
        "start": 132,
        "duration": 49,
        "exit": "fade",
        "parts": [
          {
            "kind": "line",
            "from": { "x": 0.07, "y": 0.124 },
            "to": { "x": 0.33, "y": 0.108 },
            "animation": "draw"
          },
          {
            "kind": "arrow",
            "from": { "x": 0.22, "y": 0.145 },
            "to": { "x": 0.57, "y": 0.42 },
            "curve": -0.22,
            "shadow": true,
            "animation": "draw",
            "start": 10
          }
        ]
      }
    }
  ]
}
  • Time it on the words. start of the clip is a frame of the edit: take it from the clip that a tool laid on the same words (the note above came from add_text and its frames are in get_timeline), or multiply the seconds of a word in get_transcript by the fps. start and end of a part are frames of the clip, so "start": 10 comes in a third of a second after the drawing does.
  • Keep it clear of the face and the captions. End an arrow a little outside the face, not on it. Captions sit at the bottom or under the chin.
  • A mock-up is one drawing with a box. Places inside are then shares of that box: a rectangle over 0, 0, 1, 1 is the card, and the bars, labels, and pointer sit on it. The clip's box, boxEnd, rotation, animation, and exit then move, turn, bring in, and take out all of it. Let parts come in one after the other with start and animation: "pop".
  • Motion. boxEnd on a part, or atEnd on a cursor, moves it at a steady speed while it shows. A move in several legs is one part for each leg: the next has start at the frame where the one before has end, and begins at the place where that one stopped. A pointer that drags a file is a pointer leg to the file, then a pointer and the file moving together.
  • A drawing is decoration. One or two in a video, on the moments that matter, do more than one on every sentence.

references/operations.md has every field and a whole mock-up.

Hit a length

Cut whole sentences and clauses with cut_words, then read the length in the result. If it is still too long, cut the weakest sentence that is left and look again. Land a little under the limit. Only chase an exact frame count when the person asks for an exact length.

Check before you answer

  • After any cut or move, call get_transcript with view: "edit". It shows only what the edit says now: each line is one stretch between cuts. Read across every join: if it does not read like a sentence, fix it.
  • When a tool says a cut is not at a quiet moment, widen the cut to the next word, or tell the person which spot to listen to.
  • After the look pass and after corrections by frames, call get_stills. It renders the edit as the export will and returns one contact sheet: a still of each look, numbered left to right and top to bottom, with a line for each that names the clips on screen by id. Look at it for text or a picture over the face, a caption cut off at an edge, texts on top of each other, a window or card in the wrong place, and an empty frame. Its list of flash frames names clips or gaps too short to be seen: fix those before you export. To look closer at a moment, pass seconds: fewer stills come out bigger. The first call takes up to a minute.
  • Fix only what a viewer would see as wrong. A label a little higher or lower than you would have put it is not wrong: leave it, and do not spend calls on it. To fix a clip that your last call placed, undo and make that call again with the option that changes it; add_text and add_picture add a new clip each time, so calling them again without undo doubles it. Use update_clip only when no option of the tool covers the fix.

Finish

Say what you kept and cut, the new length, and what the person should watch or listen for. Call export_video only when the person wants the file; it takes about three times the length of the video, and get_export gives the download link.

Editing costs no credits. An export costs 1 credit for each 6 seconds of video, every time, so look at get_stills before you export and do not export twice for one change. A cut-out, new music from a description, and a new sound from a description cost credits too; each tool says how many, and its result says what is left. get_account_usage shows the balance. When a tool says the credits do not cover a step, nothing changed: tell the person what it costs and what they have, and go on with what is free. You cannot buy credits or change the plan. On the free plan an export has a small "ultracut.app" in a top corner; say so when you give the link.

What UltraCut cannot do

It cannot change a voice, translate, change speed, add transitions, split the sound from the picture (J-cuts and L-cuts), or make pictures or video. A cutaway needs a picture that the person uploaded. What it draws itself is simple: lines, arrows, rectangles, ellipses, a pointer, and single lines of text. A logo, a photo, a chart with real data, or a screen recording comes in as an image or a video that the person uploads. When asked for something it cannot do, say so and change nothing for that part.

For every operation shape, read references/operations.md.

Related Skills