demo-recorder
БесплатноЗапускает вложенные скриптыНе проверенUse when the user wants a scripted screen-recording demo video of a web app, a storyboard, narration script or text-to-speech voice-over for one, or a dubbed…
от sammcj★ 175 звёзд на GitHubОб этом скилле
Drives headless Chromium through a scripted walkthrough, encodes a silent 3K 60fps demo.mp4, then optionally voices the narration with Cloney, fits the recording to the voice and dubs it on. Below, $M means make -f <this-skill-dir>/Makefile and <out> means ~/Downloads/demo-recorder/<demo>/; run $M from the directory holding demos/. $M help lists the targets and variables; each script in scripts/ takes --help.
Workflow
- Create a task per step below, phrased with its completion criterion, then work them to completion.
- Write
demos/<demo>.mjsexportingoptions,setup(),run(h, ctx)andteardown(ctx), modelled onassets/examples/openspeccer.mjs; thehhelpers are inscripts/lib/recorder.mjs. - In
setup(), record against a throwaway copy of the target so on-camera edits leave the user's repo untouched. - Call
h.scene("<name>")at the start of each narrated section, and put anh.waitafter each thing the narration names. - Write
demos/<demo>.md: one## N. Titlesection per scene in recording order, an_On screen: ..._note, then the spoken text (example:assets/examples/openspeccer.md). Each sentence describes what is on screen while it is spoken. A section with no spoken text is a silent scene. - Run
$M record encode DEMO=demos/<demo>.mjs. Done when<out>/timings.tsvlists every scene and you have viewed every image in<out>/stills/. - Fix what the stills show (missed click, wrong tab, personal paths via
options.hide), then repeat step 6. - Spell-check the narration, run
$M storyboard DEMO=demos/<demo>.mjsand give the user the page it prints, which shows each scene's still with its narration as subtitles. Done when they approve the screens and the narration. Audio renders are slow and a reworded section re-renders, so no audio is rendered before this. - Ask which Cloney character and engine to use (offer
$M voices; defaults are inscripts/narrate.sh --help), unless the user records clips themselves asN.wavin<out>/audio/. If acloneyskill is available, activate it first; otherwisecloney --helpcovers the CLI. - Run
$M fitted DEMO=demos/<demo>.mjs VOICE=<character> ENGINE=<engine>. It renders the clips, scales each scene'sh.waitpauses so the scene ends just after its clip, records again and dubs. Done when the narrate table has no FAILED row, the fit table has no note asking for more or fewer actions, and the dub table has no "runs past scene" and no(no clip)row other than silent scenes. - View the new images in
<out>/stills/, then report<out>/demo-dubbed.mp4.
Storyboard first
When the story or the screens are unsettled (a pitch, mocked screens, several segments), get a storyboard approved before writing any .mjs:
- Write the
.mdscripts, and each screen as a local HTML page with one URL per state (page.html?step=2); storyboard shots cannot be clicked. - Under each section's
_On screen:_note add_Shots: ../mocks/page.html, ../mocks/page.html?step=2_, and write one paragraph of narration per shot. - Run
$M storyboard DEMOS='demos/*.md' CAP=<target seconds> PREVIEWS=1unsandboxed. Done when it reports no missing shot, the estimate is under the cap, and you have viewed every PNG in the previews folder it prints. - Fix what the previews show, then give the user the page path. They step through with the arrow keys, type notes per beat and paste back what "Copy my notes" gives them.
- Apply their notes and rebuild. Done when they approve; then continue the workflow at step 2, opening the same pages in the demo.
scripts/storyboard.mjs --help lists where shots come from and the estimate's settings. To change the page itself, copy assets/storyboard.html beside the demos, edit the copy and pass it as TEMPLATE.
Longer videos and more voices
- Segments: write one demo per segment so each re-records alone.
$M each DO="record encode" DEMOS="demos/*.mjs"runs targets for every demo;$M join DEMOS="demos/*.mjs"joins the cuts in filename order without re-encoding. - Another voice: add
TAKE=<label>to every command. A take has its own recording, clips and cut in<out>-<label>/, because a fitted recording suits one voice. - Unattended runs: one
$M each DO=fitted ...per take is one command to approve. A chain of separate commands stalls at the first unanswered prompt.
Gotchas
- Chromium needs its own sandbox and Cloney needs Metal; both fail inside the agent sandbox, so run
record,narrateandfittedunsandboxed. recordinstalls Playwright into the skill directory on first run; that needs network access.- Check clips with
ffprobeandffmpeg -af volumedetect; never play audio, leave listening to the user. - Voices speak at 2 to 3.5 words per second, so a scene's length comes from
fit, measured from the rendered clip.fitscalesh.waitonly; a scene with noh.waitcannot be fitted. - A re-take of one scene: edit its text and run `$M fitte
Установить demo-recorder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл demo-recorder?
Use when the user wants a scripted screen-recording demo video of a web app, a storyboard, narration script or text-to-speech voice-over for one, or a dubbed cut.
Как установить скилл demo-recorder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл demo-recorder запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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