mk:html-video

mk:html-video is a skill for Claude Code from ngocsangyem/MeowKit. It costs 27 tokens per session (634 once invoked), scanned A, original, MIT.

A rendering workflow that turns a local HTML, CSS, and JavaScript animation into an MP4 video. MP4 is a common video file format.

In plain words
What is it for?
Use it to capture deterministic HTML animations, canvas, WebGL, or GSAP scenes and encode them as H.264 MP4.
Why use it?
It lets you export web-based animations as shareable video files rather than viewing them only in a browser.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to capture deterministic HTML animations, canvas, WebGL, or GSAP scenes and encode them as H.264 MP4.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/html-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 ngocsangyem/MeowKit --skill html-video
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

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 mk:html-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/html-video/github.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/html-video)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/html-video"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/html-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 mk:html-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/html-video"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/html-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00027 $0.00634
Opus 5.5 $0.00011 $0.00254
Sonnet 5.5 $0.00005 $0.00127
Haiku 4.5 $0.00003 $0.00063

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

Security

Grade A, and why

mk:html-video scanned grade A with 0 findings 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/capture-frames.mjs, scripts/render-html-to-mp4.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/html-video/SKILL.md · 60 lines

How it starts

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

HTML → MP4 Render Pipeline

Render a local HTML/CSS/JS animation to MP4 with Playwright frame capture and ffmpeg encoding.

Route by Intent

  • Check dependencies or choose dimensions/fps: load render workflow.
  • Implement deterministic JavaScript, canvas, WebGL, or GSAP animation stepping: load template contract.
  • Capture frames directly: execute node ${CLAUDE_SKILL_DIR}/scripts/capture-frames.mjs <html-file> <frame-dir> <fps> <duration-seconds> <width> <height> [background-color].
  • Render a complete MP4: execute bash ${CLAUDE_SKILL_DIR}/scripts/render-html-to-mp4.sh <html-file> <output.mp4> [fps] [duration-seconds] [width] [height] [background-color].
  • Resolve module, file://, codec, cleanup, or dimension failures: load troubleshooting.

Quick Start

bash ${CLAUDE_SKILL_DIR}/scripts/render-html-to-mp4.sh template.html output.mp4 30 5 1920 1080

The final optional argument supplies a background colour. The script captures fps × duration PNG frames, encodes H.264 MP4 with yuv420p, cleans its temporary frame directory, and prints the output path.

Delivery

  1. Verify ffmpeg and Playwright before rendering; install Chromium only when missing and only with user approval.
  2. Use an even viewport width and height.
  3. Prefer a window.onFrame hook for fast deterministic animation; otherwise capture runs at real time.
  4. Verify the MP4 with the ffprobe command in render workflow.

Gotchas

  • This is a skill, not an npm package: execute its bundled scripts directly.
  • Do not use it for live browser recording or screen recording. For AI video generation use mk:multimodal.
  • After two failed renders, stop and report the error text and the troubleshooting entry you tried; do not loop.
  • See troubleshooting for cleanup and file-origin limitations.

Read the full file on GitHub · 60 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago Changed · +1 lines · +6 tokens per session dffbf47db936
  2. 12d ago Changed · -3 tokens per session ce79321b5afc
  3. 17d ago Changed · -13 tokens per session 99dad7ab5742
  4. 24d ago Changed · -69 tokens per session 4a43c44b67c3
  5. 3mo ago First seen · 59 lines · 106 tokens per session scan A 12f7ba99aada

Subscribe to this mod's changes

mk:html-video is a skill published in the GitHub repository ngocsangyem/MeowKit (18 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 634 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

mk:html-video compared with skills from other repositories

mk:html-video next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mk:html-videongocsangyem/MeowKitSkill182d agoMITA27Claude Code
gsap-webiart-ai/web-animation-skillsSkill13123d agoMITA146Claude Code
60fps-animationiart-ai/web-animation-skillsSkill13123d agoMITA79Claude Code
accessible-animationiart-ai/web-animation-skillsSkill13123d agoMITA98Claude Code
glassmorphismiart-ai/web-animation-skillsSkill13123d agoMITA122Claude Code
example-tailwind-animationBintzGavin/heliosSkill13823d agoApache-2.0A27Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code