Make short, silent explainer videos (MP4) that teach one Phoenix feature or concept, for docs pages and release notes. Ground the story in the actual code, storyboard it as a sequence of two-line headlines, build the scenes as one type-led HTML file, check frames as stills, and render matching black and white versions with the bundled Playwright + ffmpeg renderer. Use whenever someone wants an explainer video, animated walkthrough, feature clip, demo video, motion graphic, or looping animation for a Phoenix feature or concept, or asks to "make a video" for a docs page, changelog, or release note, even if they don't say "explainer".
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
This skill makes a 15–60 second, 16:9, silent MP4 that teaches one idea. Docs pages autoplay videos muted and looped, so the words on screen do all the teaching. The source is one HTML file that renders in two looks, black and white, so each reader sees the version that matches their docs theme. The source can be edited and re-rendered when the product changes.
Requirements: ffmpeg on PATH (macOS: brew install ffmpeg), the playwright package (resolved from js/app in this repo), and network access to Google Fonts for Geist.
Read the feature before you write a word: the PR or commits, the code, the docs page that will host the video, and the release note if one exists. Write down the exact strings that will appear on screen: UI labels, function and parameter names, CLI flags and output, field names, and version numbers.
Every claim, label, and line of code in the video must match the shipped code. A video is harder to correct than a docs page, and viewers copy code from frames. Check UI labels with git grep in js/app/src, and check signatures in packages/ or js/packages/. Run code and CLI commands when you can, and copy real output instead of writing it.
A viewer comes to the page with a question, such as "what is a span?" or "how do I turn this on?". The video answers that question, one part per scene.
write_reply 1.19 s better than "LLM spans record latency".Teach, don't announce. The video is a short lesson, not a promo. The viewer should finish it knowing why something happens, not only that it happens.
Each scene has one headline in two lines. The first line, in gray, gives context that the viewer already has. The second line, in bright text, states the new idea. Together they read as one sentence:
| Gray | Bright |
|---|---|
| Each step of a request | becomes a span. |
| Turn on tracing | with one call. |
Write storyboard.md in the video directory before you build, because changing a sentence costs less than changing an animation:
# <Video title>
Placement: docs page docs/phoenix/<path>.mdx | release note <date>
Length: ~25s · Loops: yes
| # | id | dur | Lead-in (gray) | Payoff (bright) | Visual | Motion |
|---|----|-----|----------------|-----------------|--------|--------|
| 1 | spans | 6s | Each step of a request | becomes a span. | Four spans with timing bars | Rows rise in order, bars grow |
| 2 | kinds | 5s | Every span has | a kind. | Same rows; kind labels appear | Labels fade in, one at a time |Show the storyboard to the user before you build, unless they asked for a finished video in one pass.
Words. Headlines follow the docs writing rules (Simplified Technical English; see the phoenix-docs skill):
Timing. A viewer reads the headline first, then looks at the visual. Give each scene at least 1.5s plus 0.3s per headline word, add time for the visual to finish, and then hold the finished frame for at least 1.5s. A docs video is 15–45s long, and a release-note video is 20–60s. A concept lesson that works through several cases can run to about 75s. If it runs longer, cut a case instead of cutting reading time.
Create a directory for the video. Use the location the user names, or else a temp or scratchpad directory, and tell the user the path. Keep the HTML, storyboard, assets, and output together so the video can be re-rendered later.
SKILL=.agents/skills/phoenix-explainer-video
mkdir -p <video-dir>/assets
cp $SKILL/assets/template.html <video-dir>/index.html
cp $SKILL/assets/phoenix-logo.svg <video-dir>/The template is a working 18-second example: a statement, a span timeline, code with one line in focus, a commented-out screenshot scene, and the Arize Phoenix end card. Replace its scenes with your storyboard. Each row becomes a <section class="scene" id="…" data-dur="…">, and scenes play in order. Inside a scene, give each element a timed class (in-up inside a .mask, in-fade, in-grow, dim, move) and a --at offset in seconds. Read references/animation.md before you write motion that the template does not show.
Design. The look is spare and type-led. Typography and one clean visual carry each scene.
.display (148px) for statement scenes, .title (80px) for headlines, .body (44px), and .label (32px). Nothing is smaller than 32px, because a docs page shows the frame at about 40% scale.--k-* tokens match Phoenix) or success and error states that the story is about..dim for code and rows, and .spot for screenshots. Do not draw boxes, rings, or highlight bars.references/screenshots.md). A drawn copy of a Phoenix screen drifts from the product. Diagrams may use Phoenix's vocabulary, such as span kinds, their colors, and real field names.--text, --text-2, --rule, --k-*) and never with literal colors, so both looks work..body text before the end card.Open index.html in a browser to preview it. Space plays and pauses, the arrow keys step by 1s (or by one frame with Shift), the look button switches between black and white, and ?t=12.5 opens the video paused at 12.5s.
node $SKILL/scripts/render.mjs <video-dir>/index.html --info # scene timings and warnings
node $SKILL/scripts/render.mjs <video-dir>/index.html --look dark,light --sheet 12 # out/sheet-dark.png, out/sheet-light.png
node $SKILL/scripts/render.mjs <video-dir>/index.html --look dark,light --stills 4.2,9.8Look at the sheets and stills with your image-reading tool. Take a still at the moment each scene is fully built, just before it fades out. Check:
--info shows the durations).--info reports no warnings. A font warning means Geist did not load.Fix problems and check again. A check takes seconds, and a full render takes about one second per second of video.
node $SKILL/scripts/render.mjs <video-dir>/index.html --look dark,light # out/<dir-name>-dark.mp4, out/<dir-name>-light.mp4
node $SKILL/scripts/render.mjs <video-dir>/index.html --look dark --from 8 --to 14 # part of one look, for a quick checkThe output is 1920×1080, 30 fps, H.264, BT.709, with no audio track and faststart enabled. A 30-second video is usually under 1 MB per look. Screenshot-heavy videos are larger. If a file is over about 10 MB, raise --crf (default 20; 23–26 is still clean).
Name the video directory in kebab-case for the feature and what it shows, for example session-turns-overview.
Do not commit MP4 files to the repo. Explainer videos live in one folder of the public arize-phoenix-assets bucket:
| Bucket path | gs://arize-phoenix-assets/assets/videos/explainers/ |
| Public URL | https://storage.googleapis.com/arize-phoenix-assets/assets/videos/explainers/<name>-{dark,light}.mp4 |
| File names | <name>-dark.mp4 and <name>-light.mp4, where <name> is the video directory name. Use no subfolders. |
Other files in assets/videos/ are screen recordings that docs pages link to. Do not move or rename them.
Before you upload, check that the name is not taken, because a copy to an existing name replaces that video on every page that uses it:
gcloud storage ls gs://arize-phoenix-assets/assets/videos/explainers/<name>-*
gcloud storage cp <video-dir>/out/<name>-dark.mp4 <video-dir>/out/<name>-light.mp4 \
gs://arize-phoenix-assets/assets/videos/explainers/ --content-type=video/mp4Uploading makes the files public, so ask the user before you upload. If they want to upload the files themselves, give them the command. To update a published video, re-render it under the same name and upload it again.
Embed both looks. The docs show the one that matches the reader's theme (the same classes switch light and dark images in docs/phoenix/integrations/evaluation-integrations/harbor.mdx):
<video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl block dark:hidden"
src="https://storage.googleapis.com/arize-phoenix-assets/assets/videos/explainers/<name>-light.mp4"></video>
<video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl hidden dark:block"
src="https://storage.googleapis.com/arize-phoenix-assets/assets/videos/explainers/<name>-dark.mp4"></video>For a release note where readers start playback themselves, replace autoPlay muted loop with controls.
When you finish, report the MP4 paths, the public URLs if you uploaded the files, their length and size, the contact sheet paths, and the source directory, and list any facts you could not check against the code.
Arize-ai/phoenix
a414063
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.