Ask your agent for a video.
Get the MP4.

motion-kit is an agent-first framework for programmatic video. Your coding agent writes the scenes in React/TSX, looks at its own frames, and renders the MP4. Every video on this page was made with it.

$ npx skills add d-kimuson/motion-kit

Examples

Rendered by motion-kit, from the code in the repository

Each video is rendered from examples/ on every push to main, so what you see is what the current code produces. Open the source to see the React behind it.

teaser 1920×1080

Eight words, one at a time, each snapping in on a spring. Dense motion where every frame is still the same file however the frames are traversed.

examples/teaser →

slideshow 1080×1920

A vertical slideshow: full-bleed photos with a Ken Burns move, captions and crossfades. The same components also render at 16:9. The photos here are placeholders generated with FFmpeg.

examples/slideshow →

chart 1920×1080

An index chart that draws itself on and counts its final value up. The data is a validated prop, so another JSON file renders another chart with no layout change.

examples/chart →

explainer 1920×1080

What an index fund is, in 19 lines over 10 slides with subtitles and transitions. The voice here is a silent placeholder; the example also wires in a VOICEVOX narration.

examples/explainer →

How it works

Built for the agent's loop: write, look, fix, render

Every frame is a pure function of time, every command answers in JSON, and every failure is a Diagnostic with a stable code and a hint, so the agent can check its own work.

The agent writes React

A video is a Composition: a React component plus its size, frame rate and duration, on a deterministic timeline.

It checks its own frames

contact-sheet samples the timeline into one labelled PNG, so the agent sees the whole flow in a single image.

You review in the preview

preview plays it in the browser. Comment on an element and hand the comments back as Markdown.

It renders the MP4

render captures the frames in Chromium and encodes them with FFmpeg, the same pixels every time.

Get started

Add the skill, then ask for a video

The motion-kit skill tells your coding agent how to set up a project, run the CLI and read the guides that ship with the package.

# any agent that reads skills
npx skills add d-kimuson/motion-kit

# or as a Claude Code plugin
/plugin marketplace add d-kimuson/motion-kit
/plugin install motion-kit@motion-kit
# or try it without the skill: point the agent at it in your prompt
Make a 15-second launch video for my CLI tool with motion-kit.
Reference: https://raw.githubusercontent.com/d-kimuson/motion-kit/main/skills/motion-kit/SKILL.md