Communitygithub.com

demo-video

Make a narrated product demo, intro or promo video from a product, repo or URL with demo-video-kit (dvk). It writes a YAML storyboard covering title cards, a real browser session, terminal output, code and images; picks free neural TTS voices (Korean included), a style and a target length; then builds, checks and iterates. Use when asked for "데모 영상 만들어", "소개 영상", "홍보 영상", "튜토리얼 영상", "쇼츠 만들어", "demo video", "promo video", "product walkthrough video", "intro video", "explainer video", or a 30-second or 60-second cut.

What is demo-video?

demo-video is a Claude Code agent skill that make a narrated product demo, intro or promo video from a product, repo or URL with demo-video-kit (dvk). It writes a YAML storyboard covering title cards, a real browser session, terminal output, code and images; picks free neural TTS voices (Korean included), a style and a target length; then builds, checks and iterates. Use when asked for "데모 영상 만들어", "소개 영상", "홍보 영상", "튜토리얼 영상", "쇼츠 만들어", "demo video", "promo video", "product walkthrough video", "intro video", "explainer video", or a 30-second or 60-second cut.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sysilion/demo-video-kit/tree/HEAD/skill

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Demo videos with dvk

dvk turns a storyboard into an MP4. It synthesizes the narration first, records each scene to fit it, and adds captions, transitions, 9:16 and 1:1 cuts, a thumbnail, a GIF and chapters. It then checks the result for secrets and for expected text. Repo: https://github.com/sysilion/demo-video-kit

Setup (once)

command -v dvk || (git clone https://github.com/sysilion/demo-video-kit ~/demo-video-kit && cd ~/demo-video-kit \
  && npm install && npx playwright install chromium && npm link)
dvk doctor      # needs ffmpeg; optional: brew install tesseract tesseract-lang uv vhs

Workflow

  1. Understand the product. Read its README and landing page, or the app itself. Decide which 3 to 5 things the video should prove. One idea per scene.

  2. Scaffold. Run dvk init <dir> [--lang ko] [--style clean], then edit <dir>/storyboard.yaml. Use references/storyboard-cheatsheet.md for the syntax.

    • Use real UI: a browser scene with url and actions, plus a terminal scene whose steps really run (vhs: true gives a real terminal).
    • Make every build start from the same state with setup: and teardown:: start the app (start: + wait: health URL), reset or seed data (run:, http:), and generate fixtures (creates: skips work that is already done).
    • Shape: hook or title card, then the core demo scene (priority: 9, required: true), then 1 to 3 supporting scenes, then an outro card with the URL.
    • Write narration as short spoken sentences, one claim each. Use cue: n so actions happen as the line is spoken. Mark the money shot with key: true.
    • Add pronounce: for acronyms and domains. Put secrets in mask:, banned words in check.forbid, and must-see text in check.expect.
  3. Choose voice, style and length. Use the "which style when" table in references/voices-styles-length.md:

    styleuse it for
    clean / dev / promo / tutorial / shortsSaaS demos / devtools / launches / how-tos / plain 9:16
    dev-explainer-krfast, funny Korean dev explainers: keyword pops, highlighter, punchlines, SFX
    whiteboardconcept and architecture explainers; diagrams draw themselves
    keynoteproduct reveals: big quiet type, slow fades, centred shots
    news-briefchangelogs and release notes: headline bar, ticker
    retro-terminalfun CLI tools: CRT green, scanlines, typewriter
    meme-shortsmeme-y vertical cuts: top bar, outlined captions, zoom punches

    The newer styles add scene types and props. Use diagram (boxes and arrows revealed per cue) for "how it works", punchline (one big line plus a pause) for a joke, pops: for 2–6-character keyword pop-ups or emoji reactions, and focus: [{lines, mark: token}] to highlight code. For casual Korean narration, follow references/narration-casual-ko.md. Motion is handled by the style; references/motion-rules.md has the rules for any custom html:.

  4. Dry run. dvk check --dry-run runs every browser action in seconds. It fails with the scene, the step and the selector for a missing element, a failed navigation or a console error. Fix these first. dvk build also runs it.

  5. Review sheet, then fix, before the full render. Run dvk review [--style X] [--duration N] (seconds, no TTS playback). Open each review-N.png it prints and look at it. For every scene it shows the first frame after the cut, the key frame and the last frame before the next cut, plus 9:16 and 1:1 mock-ups with the TikTok, Reels and Shorts UI areas in red. Check for:

    • empty or half-loaded screens, a wrong page, or a key frame that doesn't show the point of its narration
    • UI text too small to read at 1080p (fix with zoomPage: 1.3), and highlights or zooms on the wrong element
    • jarring cuts: two very different frames side by side with no reason
    • text, highlights or captions under the red safe zones (move them, change fit/focus, or narrow platforms:)
    • estimated timing that runs too long or too short

    Fix the storyboard and re-run dvk review until the sheet is clean. Only then render.

  6. Preview fast if motion needs checking: dvk preview <scene-id> renders at half resolution.

  7. Build. Run dvk build [--lang all] [--style X] [--duration 30 | --variants 15,30,60]. The order is: pre-flight, then narration, then recording, then assembly, then the check. Outputs go to out/<name>/<lang>[-style][-Ns]/: <name>.mp4, -9x16.mp4, -1x1.mp4, .srt/.vtt, .thumbnail.png, .preview.gif, .chapters.txt, report.json.

  8. Check. The build fails on a secret, a forbidden word, missing expected text, or text or captions inside a short-form safe zone. To re-run the check alone: dvk check. Never ship a video that failed the check.

  9. Report. Give the absolute paths of the MP4s and the review sheet, the per-scene table and the total from the build log, and anything in report.json under length.notes or safeZones.

Iterating

  • Narration finishes before the actions do, leaving long silence: add narration, or use pause: less. Actions are cut off: add a cue: or a later line.
  • Wrong word sounds: add a pronounce: entry, or give the line as {text: ..., say: ...}.
  • The page is too small at 1080p: set zoomPage: 1.4 on the scene. To focus on a detail: zoom: "#selector" and later zoom: out.
  • A selector isn't found: dvk check --dry-run names the scene, step and selector. Use text=Visible label, {role: tab, name: "/Chat/"}, or optional: true for elements that only sometimes appear.
  • Screens differ between builds: move the state into setup: (fresh DB, seed calls), so the pre-flight, the review and the build each start from scratch.
  • Real terminal: brew install vhs, then set vhs: true on terminal scenes. It falls back to the HTML terminal when vhs is missing.
  • edge-tts is offline: the build falls back to macOS say for the whole video. Rebuild when the network is back. TTS is cached in .dvk-cache/.
  • OCR misses Korean text: brew install tesseract-lang. Page text is checked even without OCR.

Related Skills