demo-video

demo-video is a skill for Claude Code from alinaqi/maggy. It costs 32 tokens per session (1,463 once invoked), scanned C, original, MIT.

A tool for recording captioned walkthrough videos of web applications using Playwright, a browser-testing tool, and ffmpeg, a media-processing program. The videos show a real user flow from start to finish.

In plain words
What is it for?
Use it to make product demos, stakeholder proof videos, and visual evidence for bug fixes, then verify the recording frame by frame and deliver it as an MP4.
Why use it?
It provides visible evidence that a web flow works instead of relying only on a claim or a test result. The same walkthrough can also serve as an end-to-end test, meaning it checks the whole flow through the interface.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to make product demos, stakeholder proof videos, and visual evidence for bug fixes, then verify the recording frame by frame and deliver it as an MP4.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alinaqi/maggy/demo-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alinaqi/maggy --skill demo-video
Clone the repo
git clone --depth 1 https://github.com/alinaqi/maggy

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for demo-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/alinaqi/maggy/demo-video/github.svg)](https://agentmods.dev/skills/alinaqi/maggy/demo-video)
Your own site
<a href="https://agentmods.dev/skills/alinaqi/maggy/demo-video"><img src="https://agentmods.dev/badge/skills/alinaqi/maggy/demo-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for demo-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/alinaqi/maggy/demo-video"><img src="https://agentmods.dev/badge/skills/alinaqi/maggy/demo-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01463
Opus 5.5 $0.00013 $0.00585
Sonnet 5.5 $0.00006 $0.00293
Haiku 4.5 $0.00003 $0.00146

Measured 26d ago against content hash 6c5c379a5982, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

demo-video scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf test-results/zz-<name>* # stale videos have the same filename
skills/demo-video/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Demo Video Skill — visual validation for web apps

Record a captioned walkthrough video of a running web app, verify it frame-by-frame, convert to mp4, and deliver it. Battle-tested on real client-feedback proof videos.

This is the harness's default visual validation for web projects: a demo video walks a real user flow end-to-end and doubles as a passing E2E test, so "it works" is proven visually, not claimed. It complements [[visual-validation]] (autonomous screenshot-regression checks) and [[playwright-testing]] (the E2E suite): screenshots catch pixel regressions, the suite proves behavior, and a demo video proves the whole user-facing flow the way a person would see it.

The method

  1. Write a temporary Playwright spec (e2e/zz-<name>-video.spec.ts or scratchpad) that walks the real flows as one continuous test. One test = one video.
  2. Record via Playwright's built-in video, never external screen capture:
    test.use({ video: { mode: 'on', size: { width: 1280, height: 800 } }, viewport: { width: 1280, height: 800 } })
    test.setTimeout(240000)
    
  3. Narrate with an injected caption bar — the video must explain itself without audio. Call before each chapter; the pause gives viewers time to read:
    async function caption(page: Page, text: string) {
      await page.evaluate((t) => {
        let bar = document.getElementById('demo-caption')
        if (!bar) {
          bar = document.createElement('div')
          bar.id = 'demo-caption'
          bar.style.cssText =
            'position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#142b1e;color:#f7f5f0;' +
            'font:600 15px/1.4 Inter,system-ui,sans-serif;padding:12px 20px;letter-spacing:0.01em'
          document.body.appendChild(bar)
        }
        bar.textContent = t
      }, text)
      await page.waitForTimeout(2200)
    }
    
    The caption bar is re-injected automatically because caption() re-creates it after each page.goto (the element does not survive navigation — call caption AFTER navigating).
  4. Structure as chapters: caption → act → assert → caption the outcome. Keep real assertions in the spec so the video doubles as a passing test — a video of a broken flow must fail loudly, never ship silently.
  5. Reuse the project's e2e helpers (logins, seeded data, fixtures) instead of hand-rolling flows. Prefer fake/deterministic AI modes so runs are repeatable.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago First seen · 113 lines · 32 tokens per session scan C 6c5c379a5982

Subscribe to this mod's changes

demo-video is a skill published in the GitHub repository alinaqi/maggy (708 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 1,463 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.