motion-broll
БесплатноЗапускает вложенные скриптыНе проверенTurn a talking-head video and its transcript into motion-graphic B-roll timed to the speaker's words, in a continuous one-shape style (one element that morphs…
от Barty-Bart★ 1 635 звёзд на GitHubОб этом скилле
Motion B-roll
You make motion-graphic clips for a creator's video. Every clip is one shape that never cuts: it morphs its size, corners and colour from state to state while its content swaps with a short blur. A cursor drives the changes with real clicks and drags, and every change lands on a spoken word.
The output is a set of clips the creator drops into their editor. You also give them a preview render of their video with the clips cut in, and two HTML pages: one to step through the clips, one to compare before and after.
Everything you need is in this skill folder:
engine/: the motion engine (motion.js), the page shell (base.css),build.py(clip → self-contained HTML),render.js(frame-by-frame render with motion blur),beats.js(contact sheets of stills), fonts (Geist, OFL).scripts/:setup.sh,inspect_video.py,words.py,composite.py,make_pages.py.reference/engine-api.md: how to write a clip. Read it before writing your first clip.examples/opus-aoe2/: six finished clips for a real 54-second video. Use them as the quality bar and as starting points.
Below, $SKILL means this skill's folder. Work in a motion/ folder in the user's project.
1. Set up (first run only)
bash $SKILL/scripts/setup.sh ./motion
This checks for Node, Python 3 and ffmpeg, and installs Playwright + Chromium into motion/node_modules. Run every engine script with NODE_PATH=./motion/node_modules.
2. Interview
Use the AskUserQuestion tool; keep it to one round. You need:
- The video. A path. Copy or reference it as
motion/work/source.*. - The transcript. An SRT or VTT with timestamps is best. With plain text only, get word timestamps from the audio (
pip install faster-whisper) or ask for an SRT. - Density:
- Light: 2–4 clips per minute, only the strongest moments.
- Medium (default): 4–7 per minute.
- Heavy: most lines covered, with short gaps of face.
- Look:
- The default palette: warm gray canvas, black and white components, one orange accent.
- Or their brand: colours, and optionally a font. Ask them to drop a logo, screenshots or brand colours into
motion/inputs/, and read those.
- Anything to avoid or include. Lines to leave on their face, real numbers or names to show, product screenshots to recreate.
Skip any question the user already answered.
3. Inspect the footage
python3 $SKILL/scripts/inspect_video.py motion/work/source.mp4 motion/work
python3 $SKILL/scripts/words.py transcript.srt > motion/work/words.txt # .vtt works too
Look at motion/work/contact.png yourself. video.json gives resolution, fps and layout sections:
- full: the speaker fills the frame.
- pip: the speaker is in a box and the rest is empty. It includes the box position and a warning if the box changes size or moves.
- black: the whole frame is black (a fade, intro or outro).
Clips must match the video's resolution and fps. Word times from an SRT or VTT are estimates (±0.2s); treat them as such.
4. Plan, and get approval before any code
Show a table with one row per clip:
| # | In–Out | The line it covers | What the shape does, on which words | Treatment | Why |
Creative direction: decide how much of the frame each clip takes. This is the most important call; make it per clip and give the reason.
- Full-frame cutaway. The frame is all speaker, and the line describes something to see: a product, a process, a comparison, a number, a chapter change.
- Cut away for the length of the idea (3–10s), then give the face back.
- Don't cut away in the first second of the hook or on personal, emotional or opinion lines.
- Leave at least ~2s of face between cutaways.
- Panel in the empty space. The edit already leaves room: a PiP box, a split, a plain region.
- Render a transparent clip (
bg:null) centred in the empty area, sized to stay clear of the speaker's box at every moment. - It can run long (15s+) as one continuous morph, because the speaker stays on screen.
- If
inspect_video.pyreports the box changing, ask whether that's intended, then size for the largest box or split the panel at the change.
- Render a transparent clip (
- Nothing. The line is about the speaker, or it's too close to another clip.
Content rules:
- Show the subject's real objects: the folder, the terminal, the file, the product, the result. Pull them from the words. Map each idea onto an interaction from the vocabulary in
reference/engine-api.md(pill + click, progress, check, status island, card with a drag, slider, toggle, tabs, chart + tooltip, search/filter, file drag-and-drop, terminal typing, side-by-side comparison, chapter card). - Never invent numbers, quotes, prices or results. Use relative bars, skeleton text lines or labels taken from the transcript, and list what is illustrative. Put real figures in only when the user gives them.
- One idea per clip. A continuous stretch (a whole PiP section) can be one
Установить motion-broll в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл motion-broll?
Turn a talking-head video and its transcript into motion-graphic B-roll timed to the speaker's words, in a continuous one-shape style (one element that morphs and never cuts, driven by a cursor, spring motion). Use when someone gives a video (and ideally a transcript) and asks for motion graphics, B-roll, animated cutaways or overlays.
Как установить скилл motion-broll?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл motion-broll запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub