skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
melvynx/video-agent-skills141 installs

youtube-editing

Edits a full YouTube video from its two rushes (the screen recording and the camera recording, as separate files) into a simple, clean, efficient 1080p edit on a white background. Silences cut from the sound itself, filler words, retakes, mistakes and dead moments removed, then three views picked by what is said - the screen big with the face in a small rounded square, split screen, the face big - rounded cards with a soft shadow and smooth eased moves between views, voice at -14 LUFS. No captions, no text, no music. Use when the user says YouTube video, long video, tutorial, demo, screen recording, "edit my YouTube video", "montage YouTube", a Tella video, or gives a screen file and a camera file.

How do I install this agent skill?

npx skills add https://github.com/melvynx/video-agent-skills --skill youtube-editing
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill edits YouTube videos by coordinating local tools like Node.js and FFmpeg. It can access transcription APIs using stored credentials and automates browser tasks to generate visual assets.

  • Socketpass

    No alerts

  • Snykfail

    Risk: CRITICAL · 2 issues

What does this agent skill do?

YouTube Editing (simple)

Two rushes in, one finished YouTube video out: video-agent/edits/youtube-<slug>/output/youtube-<slug>.mp4, 1920x1080, 30 fps.

The goal is a simple video that is good to watch: nothing left that wastes the viewer's time (silences, "euh", retakes, asides), and the right picture for what is said. The look is fixed on purpose: a white background, the screen and the face as rounded cards with a soft shadow, three views only:

viewwhat it showswhen
screenthe screen big, the face in a small rounded square bottom leftthey show something: a demo, a click, a result on screen
splitthe screen on the left, the face on the rightthe screen still matters but they talk about it: explaining what we see, reacting to a result, telling how it was made
camthe face bignothing useful on screen: the intro, the outro, a new part or a new idea told out loud, a story, an opinion, a call to action

The full views (screen, cam) fill the frame edge to edge, square corners, no white border; the white background and the rounded corners only show in split and around the small face square. Each change glides (size, position and corners eased over 0.6 s). No captions, no music, no zoom. On top, visuals (step 5b): four modes (float, side, board, bottom) showing the real things they talk about, each arriving on its word with a light sound. The whole look and its rules: STYLE.md.

Everything runs on their computer with Node 20+ and ffmpeg. The words come from ElevenLabs Scribe when they have a key (ELEVENLABS_API_KEY in video-agent/.env: it hears every retake and false start), else from the short-editing skill's whisper.cpp (free, offline), so that skill must be installed next to this one. <skill> below = this skill's folder, <skills> = the folder that holds both.

Talk to the creator in their language. Every command runs from the project root (the folder that holds video-agent/). Say in one line what each long step does and how long it takes.

1. The two rushes (always two separate files)

This mode needs the screen and the face as two separate recordings of the same take, never one file where the face is already stuck on the screen: the edit moves each one on its own, that is what makes it look good.

  • Tella: open the video in the editor and download its raw recordings, the screen AND the camera (two files, same length).
  • OBS: record the webcam as its own file (the Source Record plugin), or two recordings started together.
  • Screen Studio, Riverside, Descript, Loom Business: export the camera and the screen as separate files.
  • QuickTime + a camera app: start both, then clap once on camera so the two can be lined up.

Put them in video-agent/takes/ (<slug>-screen.mp4, <slug>-cam.mp4). Ask for both files if they give only one. A single file where the face is already in the screen: say this mode needs the two rushes, and offer /short-editing <file> 16:9 instead.

ffprobe -v error -show_entries format=duration:stream=codec_type,width,height -of compact "<screen>"
ffprobe -v error -show_entries format=duration:stream=codec_type,width,height -of compact "<camera>"

The voice is taken from the camera file (else from the screen file). The two files must start together (same length = they did); if not, pass --offset <s> (screen time = camera time + offset: find it from the clap, or from the same sound in both).

2. Setup and project

node <skills>/short-editing/engine/setup.mjs --check || node <skills>/short-editing/engine/setup.mjs
node <skill>/scripts/youtube.mjs init video-agent/edits/youtube-<slug> --screen "<screen>" --cam "<camera>" [--offset <s>]

<slug>: lowercase, dashes, no dots or spaces. init writes project.json (the two sources, the offset, camFocus).

Face in the middle. Look at one frame of the camera (ffmpeg -ss 30 -i "<camera>" -frames:v 1 video-agent/.tmp/cam.png) and set camFocus in project.json to [nose x / width, 0.4]: the small square and the split card crop around that point, so the face is always centred.

3. Words

node <skill>/scripts/youtube.mjs words video-agent/edits/youtube-<slug> [lang]

Scribe: about 20 s for 15 min of video. whisper.cpp: about 10 s per minute (its 0.5 GB model downloads once). --whisper forces whisper.cpp.

4. The cut (the most important step)

node <skill>/scripts/youtube.mjs plan video-agent/edits/youtube-<slug>

It measures the sound and the screen (about 1 min for 15 min), then writes files/plan.json and files/transcript.md (one line per sentence with its time and its view). What it cuts on its own:

  • Before the first word and after the last one: fixing the mic, sitting down, reaching for the stop button. A sound with no word in it (a bump, a clap, the chair) is never kept, anywhere.
  • Silences, from the sound itself (not from the word timings, which smear over pauses): the voice regions with 0.07 s before and 0.12 s after, so no pause longer than about 0.3 s stays. pause in plan.json (default 0.15) = the gap under which two voice regions stay joined.
  • Filler words said alone ("euh", "heu", "um", "uh"...), with the breath around them. "fillers": false keeps them.
  • Silent demos (the screen moves, nobody talks: typing, a page loading, an AI generating): kept up to 3 s, longer ones keep their first and last 1.5 s.

Then you clean what only a reader can see. Read files/transcript.md from top to bottom and add to cut in plan.json ([[start, end], ...], camera time):

  1. Retakes: a sentence said twice, or started again ("non attends", "je recommence", a stumble then the same words): cut the bad tries, keep the last good one.
  2. False starts and stumbles mid-sentence ("si vous avez-- si vous savez", "un travail, un travail avec"): cut the broken piece so the sentence reads clean.
  3. Repeated words that are not on purpose ("Générer une image. Générer une image.").
  4. Asides that lead nowhere: thinking out loud, "je me demande où est ce texte", "je pars un peu du coq à l'âne", "ça n'a aucun sens", talking to themselves while searching.
  5. Dead moments said out loud: "bam bam bam" while scrolling, "hop", "poupe", "voilà voilà".
  6. Never cut the content: the explanations, the demos, the results, the calls to action (links under the video), even when they repeat an idea on purpose.

Get exact times with find (it prints where a sentence is said, camera time):

node <skill>/scripts/youtube.mjs find video-agent/edits/youtube-<slug> si vous avez

A cut starts at the first bad word (minus 0.03 s) and ends just before the first good word (minus 0.04 s). Run plan again after editing cut: it prints the new length (expect 10 to 20 % shorter than the rush on a talky video).

5. The views

The draft views come from what moves on the screen. Fix them by hand in views ([[time, "cam" | "screen" | "split"], ...], camera time), sentence by sentence, with these rules:

  1. Open on the face (cam) for the hook, end on the face for the call to action.
  2. screen as soon as they show something ("regardez", "ici", "je clique", a result appears) and for the whole demo.
  3. split when they talk about what is on screen without doing anything on it: explaining, reacting, telling how it was made, listing what the screen shows.
  4. cam for a new part or a new idea told out loud ("la deuxième étape", "alors comment on fait ça"), a story, an opinion, a call to action, 8 s or more with nothing new on screen.
  5. A change sits on the first word of the sentence that triggers it. No shot under 4 s. Every video with screen content uses all three views; a cam stretch of a minute or more gets a split in the middle when the screen shows something related.

Look at the screen before deciding (ffmpeg -i "<screen>" -vf "fps=1/15,scale=320:180,tile=8x8" -frames:v 1 video-agent/.tmp/screen.png): a static or empty screen is never worth screen.

5b. Visuals (the system: four modes, one per beat)

A YouTube video needs something to look at from the first seconds: the hook shows the real thing they name (the tool, the page, the post), and every idea said out loud with nothing on screen gets a visual. Add them to motion in plan.json (camera times), each with a mode: float (one thing over the blurred camera), side (the visual on the left, the face on the right), board (a full-screen illustration on white) or bottom (a frosted band of steps). What each mode is for: STYLE.md.

What goes in it (kind): title (title, sub + subAt), list (title, items), number (value, label), image (img, title, sub), logos (items: [{ img, at }], sub), flow (items: [{ img | code, text, at }], the arrows come alone), steps (bottom, items: [{ text, at }]). *word* = the word in the accent color ("accent" in plan.json, blue by default).

"motion": [
  { "at": 4.2, "to": 7.3, "mode": "float", "kind": "logos", "items": [{ "img": "assets/images/claude.svg", "at": 4.25 }, { "img": "assets/images/canva.svg", "at": 6.55 }] },
  { "at": 7.3, "to": 13.6, "mode": "board", "kind": "image", "img": "assets/images/canva-home.png", "sub": "le logiciel le plus *populaire*", "subAt": 9.45 },
  { "at": 32.3, "to": 38.1, "mode": "bottom", "items": [{ "text": "Menus", "at": 32.45 }, { "text": "Carrousels", "at": 33.75 }] },
  { "at": 48.8, "to": 56.3, "mode": "board", "kind": "flow", "items": [{ "img": "assets/images/slide.png", "text": "Une image", "at": 50.45 }, { "code": "<div class=\"titre\">…</div>", "text": "Du code", "at": 53.75 }] }
]

The look, the four modes and their rules are in STYLE.md (next to this file): read it before placing the first visual, and follow its rules (real things first, a lively hook, one thing at a time, back to the face between two, never the same mode twice in a row, each thing on its word, never over a demo). The real things:

  • Logos: curl -s "https://api.svgl.app?search=<name>" gives the SVG route, download it to assets/images/<name>.svg.
  • A web page as it looks: node <skill>/scripts/youtube.mjs shot <dir> <url> <name> [--crop x,y,w,h]. Look at the PNG: crop away a cookie banner (never click it).
  • A frame of the recording: node <skill>/scripts/youtube.mjs grab <dir> <camera s> <name> [--crop x,y,w,h] [--cam].

A real example, a whole video: examples/canva/plan.json (24 visuals over 15 min), examples/canva/sheet.jpg and the finished video on Tella: https://www.tella.com/video/vid_cmx7a2ksg016i08lad2y6goeu/view

render captures each visual from templates/card.html with the short-editing engine (Chrome, transparent, only the visuals that changed), lays it over the frame, blurs the camera under a float and under the bottom band, and forces the view (float/bottom = face, side = face on the right).

6. Render

node <skill>/scripts/youtube.mjs render video-agent/edits/youtube-<slug> --draft --to 90
node <skill>/scripts/youtube.mjs render video-agent/edits/youtube-<slug>
  • Always 1920x1080 (--draft = 960x540, to check fast). --from <s> --to <s> = only a window of the finished video.
  • The video is cut into segments rendered side by side (a few cores each), with the Apple hardware encoder when ffmpeg has it (VideoToolbox), else x264, then joined without re-encoding. About 2 to 3 times faster than real time on a recent Mac (15 min of video in about 6 min); slower machines take longer: run it in the background and say how long.
  • The voice is cut on the same keeps, with tiny fades at each join, then brought to -14 LUFS with a limiter (peaks under -1.5 dBTP).

7. Review, then hand over

node <skill>/scripts/youtube.mjs review video-agent/edits/youtube-<slug>
node <skill>/scripts/youtube.mjs stills video-agent/edits/youtube-<slug>
node <skill>/scripts/youtube.mjs stills video-agent/edits/youtube-<slug> --visuals
  • review lists the pauses over 0.6 s still in the video (a silent demo is normal, a pause while talking is a missed cut), the keeps under 0.3 s (can sound choppy: widen the cut around them), the share of each view and the shots under 4 s. Fix plan.json, render again.
  • stills makes stills/sheet.jpg (the middle of every shot, of every change and every visual once all its things are in): the face centred in the square and in the split card, no black card, the right view for what is said, every visual centred in its zone with nothing cut or overlapping (STYLE.md, rule 8). --visuals makes stills/visuals.jpg, every visual alone: read it twice, once for the spacing (centred, big enough, no clipped text, the bottom band hugging its steps), once for the words (few, said, the right accent word, readable on the blurred camera).
  • ffprobe says h264 1920 1080 and a duration equal to the plan's cut length.

Then give them the file (open video-agent/edits/youtube-<slug>/output/youtube-<slug>.mp4) and say in two lines how long it is, how much was cut (silences, fillers, retakes) and how many view changes it has. Ask for their changes in words ("put the split at 3:20", "cut the part about pricing"), change plan.json, render again.

Changing the look

Everything is at the top of scripts/youtube.mjs: LOOK (background color, corner radius, shadow strength, length of a change) and VIEWS (where each card sits in each view, in 1920x1080 pixels). Change it there only if they ask.

Captions, motion design on the talking parts, music, thumbnails and titles are not in this free mode: they are in the paid version (/pourquoi-acheter-editing-ia-pro). Shorts from this video: /clips.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/melvynx/video-agent-skills/youtube-editing">View youtube-editing on skillZs</a>