Lumos-789 / delivery-video
Turn a feature that actually runs into a trustworthy delivery demo video, or a defect into a traceable feedback video: real screen recordings, edge-tts narration, word-synced subtitles and a deterministic quality gate (ffmpeg-based, self-contained pipeline).
About this plugin
Written by the registry from verified metadata, not from the README.
delivery-video is a DSH plugin published from the Lumos-789/delivery-video-plugin repository.
Capabilities and topics
delivery-video
A skill plugin that turns a feature that actually runs into a trustworthy delivery demo video — real screen recordings, synthesized narration, word-synced subtitles, and a deterministic quality gate that refuses to pass a fake or broken demo.
Most "AI demo videos" are stitched from static screenshots, mock pages or stale recordings. This plugin enforces the opposite discipline: every segment must point at a real recording with a traceable time range, the last shot must end on a verified result state, and the artifact must pass hard checks for resolution/FPS/codec, audio presence, loudness, black frames and freeze frames before anything is posted. Bitrate density is reported as an informational notice; text still needs a 1:1 visual check. The uploaded file is always the gated file, bound by SHA256.
In DeepSeek Harness, the skill is registered in both the Host and each live Agent scope. That lets the installed plugin win over an older same-name copy in ~/.agents/skills, even when an Agent preset mounts the filesystem skill provider in a nearer layer.
What it does
- Verify first, record second — the workflow requires evidence that the current version really runs (git SHA, tickets, request IDs) before any recording.
- Case-driven structure (recommended) — for multi-case deliveries the skill suggests listing the acceptance cases first, recording one real run per case, then assembling segments in execution order with a result shot per case. Optional, not a gate.
- episode.json recipe — each segment binds one real take + time range + one narration line + optional crop/case chip.
Set
intent: "feedback"with anissueblock to produce a defect report instead of a delivery: severity and phase chips, a repro-steps overlay, and bothfeedback.jsonand a ticket-readyfeedback.generated.md. The gate report binds the artifact SHA256, a normalized hash of thefeedback.jsonfields and the exact markdown bytes, soverify_delivery.pyfails when the report was edited after rendering, or the markdown is missing or was edited after rendering. Copyexamples/feedback-episode.example.jsonas a starting point. The same quality gate applies. - Self-contained renderer —
render.pysynthesizes narration via edge-tts (word-boundary clocks), times each segment to its narration (0.3x–3x speed is hard-checked, never clamped — out of range fails), draws the label chip and word-synced subtitles, concatenates, loudness-normalizes to −14 LUFS, and runs the built-in quality gate. Output:screen_demo.mp4(1920×1080, 30fps, h264 with AAC audio — a non-AAC track is a gate warningE102, not a failure),timeline.json, cover/preview frames,quality_gate/report.json. - Fail-loud checks —
preflight.pyvalidates the recipe before rendering (structure, intervals, crops, browser-recording evidence, TTS cache contracts, narration red lines);verify_delivery.pyverifies the finished artifact, gate binding and optional independent visual review afterwards. - Attachment gate —
render.py gateruns the same hard checks on any mp4 before it goes into a ticket, chat or customer channel.
Prerequisites
python33.9+ffmpegandffprobeon PATHpip install "edge-tts>=7.3.1" Pillow
edge-tts 7.2.8 and older can return HTTP 403 from the upstream endpoint. Use 7.3.1 or newer; the renderer fails early with an upgrade command when the installed version is too old.
Run preflight.py, render.py and verify_delivery.py with the same Python interpreter. Preflight fails early when ffmpeg/ffprobe, Pillow, a supported edge-tts version or a CJK font is missing.
Platform setup:
- macOS:
brew install ffmpeg, thenpython3 -m pip install "edge-tts>=7.3.1" Pillow - Windows: install FFmpeg with
winget install --id Gyan.FFmpeg -e(orchoco install ffmpeg). Ifpython3is not available, usepy -3consistently and runpy -3 -m pip install "edge-tts>=7.3.1" Pillow - Linux: install
ffmpegand a CJK font such asfonts-noto-cjkwith your package manager, then install the Python packages
The renderer needs a CJK font for Chinese labels and subtitles. macOS and Windows normally provide one; minimal Linux images often do not, and preflight reports the missing font before rendering.
Side effects (disclosed for review)
- Network: narration synthesis calls the public edge-tts (Microsoft Cognitive Services) endpoint; no other network access.
- Files: writes only inside the build directory you pass in (
tts/cache, per-segment clips, final mp4, gate reports). - Commands: runs
ffmpeg/ffprobelocally; the skill never uploads, publishes or deletes anything by itself.
Quick start
Install: dsh plugin add /path/to/delivery-video-plugin (DSH bundle). It exposes the skill in skills/delivery-video/.
- Record real takes of the feature with your usual tool (macOS
Cmd+Shift+5, OBS, or a scripted browser screencast — see the skill's recording reference). For two or more acceptance cases, list them first usingexamples/cases.example.mdas a template, then record one real run per case. - Create
build/screen_demo-<slug>/episode.json(copyexamples/episode.example.json). - Run the three scripts (use
py -3instead ofpython3on Windows when needed):
python3 <skill>/scripts/preflight.py build/screen_demo-myfeature
python3 <skill>/scripts/render.py render build/screen_demo-myfeature
python3 <skill>/scripts/verify_delivery.py build/screen_demo-myfeature
Run the unit tests with:
python3 -m unittest discover -s tests -v
Suggested trial prompt after install: "用 delivery-video 把这个项目刚完成的功能录成一段 90 秒交付演示视频" — the skill will walk verification, storyboard, recording guidance, recipe assembly, render and gating.
Same-name skill copies
ZCode 0.17.x can keep a user-level skill and a plugin skill with the same name. If an older ~/.agents/skills/delivery-video still exists, the unqualified /skill delivery-video command may select that copy. Select delivery-video:delivery-video in the composer, or use /skill delivery-video:delivery-video <task>, to run the installed plugin.
License
MIT © Lumos-789
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/Lumos-789/delivery-video-plugin)