Ui Motion logo

Ui Motion

Community
edotheDev
ui-motion

Make product UI motion (SaaS launch films, feature reels, app demos, animated interface moments) as HTML scenes driven by time and captured frame by frame in headless Chrome, then cut with music and sound like any film. Use for "UI animation", "product demo animation", "SaaS motion", "animate the interface", "feature video", or when a screen recording would look too raw.

Overview

PublisheredotheDev
Repositoryclaude-video-kit
Skill nameui-motion
Stars
31
Forks
6
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by edotheDev on GitHub. Read the source before you install it.

Installation

Install the Ui Motion AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/edotheDev/claude-video-kit/tree/main/.claude/skills/ui-motion
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/edotheDev/claude-video-kit.git /tmp/claude-video-kit
mkdir -p .claude/skills
cp -r /tmp/claude-video-kit/.claude/skills/ui-motion .claude/skills/ui-motion
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ui Motion in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ui Motion on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ui Motion is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

UI motion

The interface is rebuilt cleanly in HTML and CSS (or WebGL for a background), every element's state is a pure function of time, and scripts/capture.mjs renders it frame by frame. Nothing runs on a wall clock, so a still at 3.2 s and frame 96 of the master are the same picture, every time.

Read film-taste and motion-craft first. UI motion is where the template look is most common, so the tells there are the checklist here.

Setup

cd .claude/skills/ui-motion/scripts && npm install

Needs Google Chrome installed (or CHROME_PATH pointing at Chrome or Chromium) and ffmpeg.

The loop

  1. Copy the template. template/ holds scene.html (layout and styles), scene.js (render(t), the whole animation) and motion.js (the named eases, k() for eased progress, word by word text). Copy it to projects/<slug>/scene/.
  2. Real UI, rebuilt clean. Recreate the product's actual screens and labels, not an invented dashboard. Use the brand's real fonts (copy them into scene/fonts/ and declare them with @font-face) and its real icons and logo files.
  3. Write render(t). Every element's opacity, position, scale and text for second t. No CSS transitions, no setTimeout, no requestAnimationFrame loops. Set window.DURATION.
  4. Stills first: node capture.mjs stills <scene-dir> <out-dir> 0.5,1.2,3.0,5.5. Read them like a contact sheet: composition, safe areas, the midpoint of each move.
  5. Video: node capture.mjs video <scene-dir> picture.mp4 --fps 30 (--fps 60 for very smooth UI, --from/--to to render in chunks and join them with the concat demuxer).
  6. Sound and mix: voice, music and a few UI sounds, mixed with the music-and-mix rules, muxed onto the picture with ffmpeg.
  7. QA: video-qa checks plus a smoothness check (below).

Taste for UI motion

  • One continuous camera. The camera moves on eased curves and only stops at a turn on the beat. A stop start camera reads as lag.
  • Precise arrival, then stillness. Cards and panels land with Settle, presses hit with Punch and recover in a frame or two. No springs, no elastic.
  • Something always moves a little, but one thing leads at a time. A frame where nothing at all moves for more than about a second reads as a frozen render; a frame where everything moves reads as a template.
  • Backgrounds: a flat ground, or a slow field of colour that actually moves. Never the purple to blue AI gradient, never blurred blobs, never glassmorphism as decoration. Glass belongs on real controls only, if at all.
  • Type: one family, few weights, sizes on a scale. Words on screen appear as they are said, the same calm way as in every other film.
  • Real states, real copy. Labels, counts and messages a real product would show. Sample names and data are obviously sample, never real customers.
  • Vertical frames: keep key content inside the middle 3:4 box (y 240 to 1680 on 1080x1920) so a 3:4 crop for a feed still works.
  • Sound design matters as much as the picture: a calm instrumental bed, soft taps on presses and arrivals only, no whoosh on every move.

Smoothness check

Stills cannot show a jerk. Measure motion between frames: for every frame pair, estimate shift and zoom (ORB features or phase correlation with OpenCV) and flag any sudden change of speed inside a move, or a move that ends at speed and then holds. Fix the curve in render(t), not in the edit.

Traps

  • Fonts load late. The page sets <body data-ready="1"> only after document.fonts.ready; the capture waits for it. A frame captured before that uses a fallback face.
  • GPU contention. WebGL backgrounds render on the GPU by default; with another render running, add --no-gpu (software rendering, slower but steady).
  • Two animation frames after render(t) before each screenshot, so layout and paint have settled. capture.mjs does this.
  • Subpixel shimmer. Round large translations to whole pixels when an element is meant to be still, or it can shimmer at rest.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ui Motion AI skill do?

Make product UI motion (SaaS launch films, feature reels, app demos, animated interface moments) as HTML scenes driven by time and captured frame by frame in headless Chrome, then cut with music and sound like any film. Use for "UI animation", "product demo animation", "SaaS motion", "animate the interface", "feature video", or when a screen recording would look too raw.

Why use Ui Motion on TypingMind?

Because you install it once and use it with any model. Ui Motion is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ui Motion in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/edotheDev/claude-video-kit/tree/main/.claude/skills/ui-motion. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ui Motion?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ui Motion?

As many as you like. As long as a model supports skills, you can use Ui Motion with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ui Motion AI skill free?

Yes. It is published on GitHub by edotheDev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇