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★ 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:
- references/shorts-codes.md: format, safe zones, hook and pace
- references/design-system.md: palette, motion, paper, what is forbidden
- references/scene-library.md: every scene and item, every parameter, the time keys
- references/music.md: the 8 beds, which fits which hook, where to start it
- references/style.md: the house rules of the edit
- examples/: real shorts made with this engine (spec, components, contact sheets). Open the one closest to the request before planning: it is the quality bar.
How to run it
- Talk in the creator's language (
creator.langof the style, elsevideo-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 stopsinit, so listvideo-agent/styles/instead). Without it,inittakes the default one (video-agent/style.jsonnames it). No style at all: first writevideo-agent/styles/default/style.json={"version": 1, "name": "default"}plus thestyleof thedefaultlook of<skill>/assets/looks.json(system font, camera full width, mono caps captions on a black band), andvideo-agent/style.json={"default": "default"}, then say once that/studio-setup stylemakes it theirs in 2 minutes. initmakesassets/ files/ source/ output/ stills/, copies the take toassets/source.mp4, framescamon the face, writes the startersource/spec.jsand snapshots the style intosource/style.json(engine defaults < style < spec: the spec only sets what differs for this one short). The style'sassets/(logos, images) are copied into the project.- Format:
9:16by 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: 'clics cloud', 'skills Claude', 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
Установить short-editing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(node *)Bash(ffmpeg *)Bash(ffprobe *)Bash(open video-agent/edits/*)Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic