adobe/spectrum-design-data/demo-video
Claude Code and agent skill by adobe/spectrum-design-data
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Creates narrated terminal demo videos for the design-data CLI and TUI using VHS (terminal recording) plus ffmpeg (audio sync), AND live presentation decks using asciinema casts embedded in Slidev with pause-on-marker pacing. For videos: authors a beat-based manifest, renders silent clips, guides the user through recording their own voiceover, then syncs and stitches a narrated MP4 with captions and silent GIF/WebM doc assets. For presentations: records asciinema casts with per-beat markers and embeds them in a Slidev deck that auto-pauses so the presenter narrates live while screen-sharing. Use when asked to make a demo video, screencast, narrated recording, or a live presentation/slide deck of a CLI/TUI, or to edit assets under tools/demo/videos/ or tools/demo/presentation/.
Install
npx vskill@latest install adobe/spectrum-design-data/demo-videoSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as adobe/spectrum-design-data/demo-video.
Demo video pipeline (VHS + recorded voiceover)
Turn a demo script into a narrated MP4 (the user's voiceover synced to a terminal recording) plus silent GIF/WebM assets for docs. The pipeline lives in `tools/demo/videos/` and is driven by a single manifest.
Core idea — the beat is the unit of sync
VHS has no audio, and human narration timing varies per take. So each demo is split into beats: a chunk of on-screen action + one line of narration. Each beat is rendered to its own silent clip and recorded to its own audio clip; at build time the video's last frame is frozen to match the audio length (plus a short tail). This guarantees the video never outpaces the voice and lets any single beat be re-recorded independently.
Prerequisites
vhs(brew install vhs) andffmpeg/ffprobe(brew install ffmpeg) on PATH.- For CLI/TUI demos the binary must build; the manifest's
prebuildhandles this
(mirrors tools/demo/verify-demo.sh).
1. Author or edit a manifest
Manifests are zero-dependency ES modules: tools/demo/videos/<slug>.demo.mjs. Start from `cli-quickstart.demo.mjs`. The full schema is documented in `lib/tape.mjs`:
Authoring guidance:
- Source the script. For the CLI use `tools/demo/scenarios.md`
(commands + "Say:" lines). For the TUI use `sdk/tui/DEMO.md` (keystroke tables → VHS Type/Enter/Tab/arrow commands; : opens the palette).
- One idea per beat. Keep narration to \~1–2 sentences; the build pads the clip to fit.
- Keep the punchline on screen. If a command floods the terminal (e.g.
validate
prints the whole corpus), filter it so the key line stays visible: ... 2>&1 | grep -A1 SPEC-001.
- Pacing (VHS 3-2-1 rule). End each beat's actions with
WaitthenSleep(≈3s after
a key result, 2s between actions). Type@30ms "..." overrides typing speed inline.
- Setup stays hidden. Put build/PATH/
clearinprebuild(run once, outside VHS) and
setup (run in a hidden block at the start of every beat).
2. Render the silent assets
Produces out/<slug>-<beat>.mp4 (per beat) and out/<slug>.gif + out/<slug>.webm. Verify a frame before recording: ffmpeg -sseof -1 -i out/<slug>-<beat>.mp4 -frames:v 1 /tmp/f.png.
3. Record the voiceover (the user, not TTS)
This step is interactive and belongs to the user. Tell them to run:
For pipeline testing only (do NOT ship as the user's voice), you may synthesize placeholder audio: node tools/demo/videos/record.mjs --say. The user can also hand-drop their own out/<slug>-<beat>.wav files instead of using the recorder.
4. Build the narrated video
Outputs out/<slug>.narrated.mp4 plus out/<slug>.srt and out/<slug>.vtt. To re-record one beat: rerun record.mjs --beat <id> --force, then build.mjs again.
Moon tasks
moon run demo:videos-render, demo:videos-record, demo:videos-build wrap the scripts (see `tools/demo/moon.yml`). Pass a manifest with -- <path>.
Conventions
- New
.mjsfiles need the Adobe Apache-2.0 header with the current year (see existing
files in tools/demo/videos/).
- Outputs in
tools/demo/videos/out/are gitignored (re-buildable). Commit only curated,
published assets, and only if explicitly asked.
- This is the video workflow; the asciinema notes in
sdk/tui/DEMO.mdpredate it. VHS is
preferred here because it outputs MP4 directly for muxing.
Gotchas
- VHS can fail with
could not open ttyd … ERR_CONNECTION_REFUSEDon a cold start right
after a long build — render.mjs already retries; just re-run if it slips through.
- Keep audio as PCM until mux;
padAudioTowritespcm_s16lewav, andmuxencodes AAC. - Output paths in VHS
Outputare relative to the working directory (repo root here).
Live presentation deck (asciinema casts + Slidev)
When the goal is a live demo while screen-sharing (not a pre-narrated MP4), use the Slidev deck under `tools/demo/presentation/` instead of the VHS pipeline. The presenter narrates each beat in person; the embedded terminal pauses at every beat marker and resumes on click.
Core idea — markers drive the pauses
asciinema records the full TUI (alternate screen) losslessly into a tiny text .cast. Drop a marker at each beat boundary while recording (Ctrl+\, or Ctrl+i on older builds). `slidev-addon-asciinema` embeds a cast as <Asciinema src="casts/x.cast" :playerProps="{ pauseOnMarkers: true }"/>; pauseOnMarkers makes the player stop at each marker so the presenter talks, then resumes.
Prerequisites
asciinema(brew install asciinema); optionalagg(brew install agg) to preview a
cast as GIF. Pre-build the CLI so compile time never leaks into a recording.
- The deck is a standalone project (deliberately not in the pnpm workspace, to keep the
root lockfile clean): pnpm install --ignore-workspace --dir tools/demo/presentation once (the --ignore-workspace flag is required — otherwise pnpm resolves to the monorepo root).
1. Record the casts (the user drives the terminal live)
This is interactive and belongs to the user. Tell them to run, dropping a marker at each beat boundary (see `presentation/RECORDING.md` for the per-beat keystroke cheat-sheet and the clean-env checklist):
Committed *.cast files are placeholders so the deck renders out of the box — re-record to replace them. If recording markers live is awkward, record straight through and post-edit the .cast to insert [t, "m", "label"] lines, or pass markers timestamps in playerProps.
2. Record the agent cast (Claude Code + design-data MCP)
The agent beat (Demo D) is now an asciinema cast like A/B/C — all four movements are terminal recordings:
Before recording: add the design-data MCP server to .mcp.json, pre-warm with npx -y @adobe/design-data-agent-mcp --help, then launch Claude Code once to approve the connection. See `presentation/RECORDING.md` (Demo D section) for the full checklist, D1–D4 beat table, and non-determinism guidance. The verbatim prompt is in `tools/demo/agent-questions.md`.
.mcp.json config to add:
3. Author / edit the deck and present
Edit `slides.md`: one section per demo (find → name → AI), each beat slide embeds a cast with pauseOnMarkers: true and pins cols: 120, rows: 36; narration goes in <!-- ... --> presenter notes.
Presentation gotchas
pauseOnMarkersneeds markers actually present in the cast — verify with playback.- Slidev PDF/PPTX export bakes video as a poster frame; present from the live dev server or
the static build, not a PDF.
- Be honest on screen:
query/resolve/describe/validateandsuggestare
deterministic (Jaccard ranking), not a model. The agent in the recorded video is the only model layer. sdk/cli/README.md overstates suggest as "AI" — don't repeat that.
- The TUI
/fuzzy-find palette is not wired up yet — drive search with:query/:find.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.ai/skills/demo-video/SKILL.md
Popularity
- Repository stars
- 156
- Repository forks
- 36
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hookspluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adobe/spectrum-design-data/demo-video)