Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

short-editing

БесплатноЗапускает вложенные скриптыНе проверен

Edits a talking-head take end to end into a paper-style motion design short (1080x1920, also 1:1 and 16:9) with its own render engine (Node + Chrome + ffmpeg…

Melvynxот Melvynx★ 239 звёзд на GitHub

Об этом скилле

Short Editing

One raw take in, one finished video out: video-agent/edits/short-<slug>/output/short-<slug>.mp4.

The engine ships in this skill folder (<skill> below): <skill>/engine/short.mjs. It is a deterministic canvas renderer driven by ONE file per short, source/spec.js. The design is a paper stage on top and the camera below, one accent color, springs that never overshoot, no pulse, no bounce. Everything runs on the creator's computer, macOS, Windows or Linux: Node 20+, ffmpeg, a Chrome (or the headless Chromium setup installs), whisper.cpp.

Read before writing a spec:

How to run it

  • Talk in the creator's language (creator.lang of the style, else video-agent/voice.md, else English). Say in one line what each long step does and how long it takes.
  • <slug>: lowercase, dashes, no dots or spaces.
  • Every command runs from the project root (the folder that holds video-agent/).

0. Setup (first time only, then a 1 s check)

node <skill>/engine/setup.mjs --check || node <skill>/engine/setup.mjs

It installs what is missing: the engine packages (15 MB), a Chromium when no Chrome is installed (100 MB), whisper.cpp and its speech model (0.5 GB, once), the 8 music beds and the icons (generated on this computer). Tell them the first run takes 3 to 6 minutes. ffmpeg missing: it prints the command to install it (brew install ffmpeg, winget install Gyan.FFmpeg); run it with their ok, then setup again.

1. The take

Use the file they name, else the newest file in video-agent/takes/. A URL (YouTube, X, Instagram, Loom, a direct mp4): yt-dlp -f "bv*+ba/b" --merge-output-format mp4 -o "video-agent/takes/<slug>.%(ext)s" "<url>" first.

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

No audio stream: stop and say so. Then create the project:

node <skill>/engine/short.mjs init video-agent/edits/short-<slug> --source "<take>" [--style <name>]
  • The style: style <name> in the request = video-agent/styles/<name>/style.json, passed as --style <name> (only when that folder exists: an unknown name stops init, so list video-agent/styles/ instead). Without it, init takes the default one (video-agent/style.json names it). No style at all: first write video-agent/styles/default/style.json = {"version": 1, "name": "default"} plus the style of the default look of <skill>/assets/looks.json (system font, camera full width, mono caps captions on a black band), and video-agent/style.json = {"default": "default"}, then say once that /studio-setup style makes it theirs in 2 minutes.
  • init makes assets/ files/ source/ output/ stills/, copies the take to assets/source.mp4, frames cam on the face, writes the starter source/spec.js and snapshots the style into source/style.json (engine defaults < style < spec: the spec only sets what differs for this one short). The style's assets/ (logos, images) are copied into the project.
  • Format: 9:16 by default. 1:1 = format: 'square' (X feed), 16:9 = format: 'wide' in the spec.

2. Words

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

whisper.cpp on this computer, about real time (a 60 s take, about a minute), free. With an ElevenLabs key (ELEVENLABS_API_KEY= or ELEVEN_KEY= in video-agent/.env, the project .env or the environment), ElevenLabs Scribe instead, on its own: it hears every retake and false start that whisper smooths over, and names; a few cents a take. Recommend it once when a take has retakes. Never ask for a key in chat, never print one.

Then prepare (step 4) once: it writes files/words.md, every word with its SOURCE time and the SHORT time it lands on after the cuts. Fix misheard words from the script with captions.replace: &#39;clics cloud&#39;, &#39;skills Claude&#39;, never by editing the times.

3. The spec

Author source/spec.js from files/words.md. All times are SOURCE seconds; the engine maps them onto the tightened cut. Start from the starter spec init wrote, and from the closest example.

Plan the beats first, in a comment block at the top of the spec:

  • Hook (first 2 s): readable on the first frame, never blank paper at t=0. It adds to the spoken hook, never repeats it.
  • **Something
Полный SKILL.md на GitHub

Установить short-editing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(node *)
Bash(ffmpeg *)
Bash(ffprobe *)
Bash(open video-agent/edits/*)

Вложенные файлы

assets/icons/build-icons.mjsassets/icons/svg/1st-place-medal.svgassets/icons/svg/adhesive-bandage.svgassets/icons/svg/airplane.svgassets/icons/svg/alien.svgassets/icons/svg/ambulance.svgassets/icons/svg/anatomical-heart.svgassets/icons/svg/angry-face-with-horns.svgassets/icons/svg/ant.svgassets/icons/svg/arrow-down.svgassets/icons/svg/arrowdown.svgassets/icons/svg/axe.svgassets/icons/svg/baby-chick.svgassets/icons/svg/backhand-index-pointing-right.svgassets/icons/svg/backpack.svgassets/icons/svg/balance-scale.svgassets/icons/svg/balloon.svgassets/icons/svg/ballot-box-with-ballot.svgassets/icons/svg/banana.svgassets/icons/svg/bank.svgassets/icons/svg/bar-chart.svgassets/icons/svg/basket.svgassets/icons/svg/battery.svgassets/icons/svg/bed.svgassets/icons/svg/beer-mug.svgassets/icons/svg/bell-with-slash.svgassets/icons/svg/bell.svgassets/icons/svg/birthday-cake.svgassets/icons/svg/bolt.svgassets/icons/svg/bomb.svgassets/icons/svg/bone.svgassets/icons/svg/bookmark.svgassets/icons/svg/books.svgassets/icons/svg/boomerang.svgassets/icons/svg/bottle-with-popping-cork.svgassets/icons/svg/bowling.svgassets/icons/svg/brain.svgassets/icons/svg/bread.svgassets/icons/svg/briefcase.svgassets/icons/svg/broken-heart.svg

FAQ

Что делает скилл short-editing?

Edits a talking-head take end to end into a paper-style motion design short (1080x1920, also 1:1 and 16:9) with its own render engine (Node + Chrome + ffmpeg, free, offline). Use when the user says edit, cut, captions, subtitles, motion design, montage, "make it a short", render, or gives a recording from video-agent/takes/. Transcribes locally with word timings (whisper.cpp, or ElevenLabs when a key is set), cuts every silence, lays the boards on a textured paper above the camera card (counters, terminals, logos, trees, real screens, HTML motion components), word-by-word captions, a calm music bed, a few designed hits, -14 LUFS, and writes the mp4, an .srt and the post copy.

Как установить скилл short-editing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл short-editing запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить short-editing с