agentsclimarketplace

Mk html video

Skill ngocsangyem/MeowKit/packages/mewkit/src/migrate/modules/cursor/root/.cursor/skills/mk-html-video

Production ready. AI Agent Workflow System for Claude Code

Install
npx -y skills add ngocsangyem/MeowKit --skill mk-html-video

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Render an HTML/CSS/JS template to local MP4 via headless Chromium (Playwright) + ffmpeg. NOT live browser recording, screen recording, or AI video gen (mk:multimodal).

SKILL.md

2.1 KB, 442 tokens by cl100k_base, as published. Nobody here has run it

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 .cursor/skills/html-video/scripts/capture-frames.mjs <html-file> <frame-dir> <fps> <duration-seconds> <width> <height> [background-color].
  • Render a complete MP4: execute bash .cursor/skills/html-video/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 .cursor/skills/html-video/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, screen recording, or AI video generation.
  • See troubleshooting for cleanup and file-origin limitations.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.