render-video

A command that turns an existing self-contained HTML slide deck or magazine into an MP4 video using Hyperframes. It also creates three keyframe images.

In plain words
What is it for?
Use it with an HTML deck that has already been generated, including slide decks, magazine layouts, or other HTML pages divided into scroll-snap sections.
Why use it?
It removes the need to manually convert scrollable HTML sections and their animations into a video file.

Command

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.

agentmods
npx agentmods add commands/theclaymethod/artifacture/render-video
Clone the repo
git clone --depth 1 https://github.com/theclaymethod/artifacture
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.01833
Opus 5 $0.00008 $0.00916
Sonnet 5 $0.00003 $0.00367
Haiku 4.5 $0.00002 $0.00183

Measured yesterday against content hash 3a67413109e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

render-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 yesterday.

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.

plugins/visual-explainer/commands/render-video.md · 140 lines

How it starts

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

/render-video

Take an existing HTML output — a slide deck from /generate-slides, a magazine from /generate-slides --magazine, or any self-contained HTML deck with scroll-snap sections — and render it as an MP4 via Hyperframes.

Input: a path to an HTML file already generated by this skill. Output: one MP4 in ~/.agent/videos/<slug>.mp4 plus 3 keyframe PNGs. Cost: medium — wall-clock dominated by per-slide entrance animations × slide count.

Source/artifact contract. Render generated HTML artifacts. If the user gives a .mdx or .tsx deck source, export it first with npm run ve:export. If the render requires a custom Hyperframes composition, write that composition as TSX and export static generated HTML with npm run ve:export-static -- <composition.tsx> --out ~/.agent/videos/<slug>/index.html. The generated HTML is the Hyperframes input artifact; the editable source remains MDX/TSX.

This is different from /generate-video:

  • /generate-video starts from a topic and builds a Hyperframes composition from scratch
  • /render-video starts from existing HTML and translates slides → compositions

Workflow

1. Clarify

Video is high-cost. Always confirm via AskUserQuestion unless the user passes --no-ask:

  • Style: long-form (16:9, scene-per-slide, slide dwell times) or reel (9:16, compress to 6–8 beats, hard cuts)
  • Narration: auto (TTS from slide copy), <script> (user-provided), none (silent)
  • Duration target if narration is none or auto — per-slide dwell in long-form mode

2. Check prerequisites

bash {{skill_dir}}/scripts/hyperframes-doctor.sh

The doctor also probes the upstream /hyperframes + /hyperframes-cli + /gsap skills and warns (non-fatal) if missing. When present, delegate vocab and plumbing to them. When absent, author directly from references/hyperframes.md, references/gsap-rules.md, and references/reel-patterns.md. See references/hyperframes.md → "Delegation boundary".

Read the full file on GitHub · 140 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. yesterday First seen · 140 lines · 16 tokens per session scan A 3a67413109e8

Subscribe to this mod's changes

render-video is a command published in the GitHub repository theclaymethod/artifacture (2 stars, last pushed 9d ago), licensed MIT. It adds 16 tokens to every session and 1,833 once invoked, about $0.0001 per session on Opus 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-08-31.