Skip to main content
skill CX Codex

motion-effects — Claude Code skill: 16 motion effects in HTML

Builds one of 16 motion effects in your own brand as a single 8-second looping HTML file that exports frame-exact to MP4 or GIF.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add charlie947/motion-graphics-skills --skill motion-effects -a claude-code
Open on GitHub

What motion-effects does

The skill takes a ready recipe for one effect and rebuilds it with your words, colours and typeface. There are 16 effects in four groups: interfaces (button into player, search into results, card into workspace, tabs into panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo).

Before building, the skill asks for four things: the effect by name or number, the real words and figures, the frame size (1080 x 1080, 1080 x 1350, 1080 x 1920 or 1920 x 1080), and whether it loops or holds on the last frame. Then it reads the recipe in references/effects.md — start state, end state, timing, and the one detail that makes the result look premium. The output is a self-contained effect.html with window.seek(seconds), no setTimeout, no unseeded randomness, so any frame can be drawn in any order.

One requirement trips people up: the skill expects brand.md and MOTION.md, and if those files are missing it wants brand-intake run first, or hex codes, a font and a logo file. Without them the result is not treated as on-brand. Before showing anything, the skill captures frames at 0, 1, 2.2, 4.4, 6.6, 7.9 and 8 seconds and checks that frames 0 and 8 match, that the still at 4.4 reads on its own, and that no text overflows its box.

What it helps with

  • build a looping clip for a post from real figures
  • turn a landing-page button into a video player
  • pull the one KPI that matters out of a dashboard
  • reveal a campaign headline with masked type
  • export the finished effect to MP4 and GIF

Example prompts for the agent

  • Build effect 05, chart morph, on my weekly numbers, 1080 x 1080, loop
  • Make effect 01, button to player, with my headline, 1920 x 1080, hold on the last frame
  • Take effect 16, particle logo, here is my logo and brand colours

How to install motion-effects

1Skills CLI (Vercel)

npx skills add charlie947/motion-graphics-skills --skill motion-effects -a claude-code

2Manually: put the files in place

~/.claude/skills/motion-effects/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/motion-effects/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about motion-effects

How do I install motion-effects in Claude?

Run npx skills add charlie947/motion-graphics-skills --skill motion-effects -a claude-code. The skill lands at ~/.claude/skills/motion-effects/SKILL.md.

What does motion-effects do?

It builds one of 16 motion effects from scratch in your colours and typeface as an 8-second looping HTML file with window.seek(seconds), so it exports frame-exact to MP4 or GIF.

What do I need before running the skill?

It reads brand.md and MOTION.md. If those are missing, run brand-intake first or supply hex codes, a font and a logo file.

Source text

SKILL.md · MIT
---
name: motion-effects
description: Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says "build the chart morph", "make a button that turns into a video player", "animate my logo with particles", "motion effect", "UI animation", "product animation", "animated dashboard", "kinetic type" or names any of the 16 effects.
---

# Motion effects, built in your brand

Sixteen effects that make a product, a number or a word move like it was made by a motion designer. Each one is a recipe: what it is, where it starts, where it ends, when each part moves inside an 8-second loop, and the one detail that makes it look premium. You pick the effect, give it your real words, and it gets built from scratch in your colours and type.

**Before you start:** read `brand.md` and `MOTION.md` if they exist. If not, run `brand-intake` first, or ask for hex codes, a font and a logo file. Never call a result on-brand without them.

## Step 1: Ask for four things, then wait

1. **The effect.** One of the 16 by name or number. If they describe a job instead ("show our pricing", "reveal the launch name"), suggest the two effects from the table below that fit best and let them pick.
2. **The real content.** The words, labels and numbers that go in it. Real figures, or say they are samples.
3. **The size.** 1080 x 1080 (square), 1080 x 1350 (LinkedIn portrait), 1080 x 1920 (Reel) or 1920 x 1080 (YouTube).
4. **Loop or hold.** Loop repeats forever (a post or a GIF). Hold plays once and stays on the finished frame (under a voiceover, so it never resets mid-sentence).

| # | Effect | Use it when you |
|---|---|---|
| 01 | Button → player | add a "watch the demo" moment to a landing page or launch email |
| 02 | Search → results | show what people find in your help centre or content library |
| 03 | Card → workspace | announce a feature, and one small card becomes the whole editor |
| 04 | Tabs → panels | compare plans, packages or channels without a wall of text |
| 05 | Chart morph | drop a weekly result into a client report or results post |
| 06 | Dashboard zoom | pull the one KPI that matters out of a dashboard |
| 07 | Spring stack | show three offers, case studies or testimonials in turn |
| 08 | Magnetic dock | show the tools you use, or a product's integrations |
| 09 | Masked type | reveal a campaign name, issue number or launch headline |
| 10 | Elastic type | open an event, webinar or podcast with a title card |
| 11 | Text → layout | turn a headline into a carousel cover or article teaser |
| 12 | Image reveal | tease a product drop, then swap in your own photo |
| 13 | Perspective shift | explain the layers of a service, brand system or stack |
| 14 | Glass focus | make people read the one line of a report that matters |
| 15 | Flowing paths | show one piece of content feeding several channels |
| 16 | Particle logo | close a video, reel or post on your mark |

## Step 2: Read the recipe

Open `references/effects.md` and read the chosen effect in full: start state, end state, timing, the premium detail. The recipe is the spec. Swap the demo words for the user's real ones, and map every colour role (ground, surface, ink, muted, accent, second accent) to a colour in MOTION.md.

## Step 3: Build it

Build one self-contained file, `effect.html`, to these rules:

1. **One clock.** Every frame is worked out from the time alone. Add `window.seek(seconds)` that draws the exact frame for that moment, in any order, as often as it is called. No `setTimeout`, no CSS animations running on their own, no randomness that is not seeded.
2. **One loop, 8 seconds.** Move from 0.0 to 2.2, hold to 6.6, return by 8.0. `seek(0)` and `seek(8)` must draw the same frame. In hold mode, play the move once and stay on the finished frame from 6.6 onwards.
3. **Back to the start.** The return eases every element back to exactly where it began. Nothing snaps home.
4. **Real content, never lorem.** The user's words and numbers. Sample numbers carry a visible "illustrative" or "example" label on every frame.
5. **Self-contained.** Fonts embedded, images inlined, no network requests, so it opens offline and renders the same every time.
6. **Autoplay unless told not to.** Play in real time when opened in a browser, and stop the clock when the URL ends in `?render`, so an exporter drives `window.seek()` itself.
7. **Scale the effect up.** It fills the frame at the chosen size, with margins from MOTION.md. It is not a small tile in a big empty canvas.

## Step 4: Check it before you show it

Capture frames at 0, 1, 2.2, 4.4, 6.6, 7.9 and 8 seconds and look at every one.

- **The loop:** frame 0 and frame 8 are identical.
- **The move:** frames 0, 1 and 2.2 are all different. If two match, part of the effect is not running.
- **The fit:** no text runs past its box, and nothing is cut off at any of the seven moments.
- **The still:** pause on 4.4. The point of the effect reads from that single frame.
- **The brand:** every colour and font on screen is in MOTION.md.

Fix what fails, capture again, and only then show the user the 2.2 and 4.4 frames with the file path.

## Step 5: Export it

```
Now turn effect.html into a video and a GIF I can post. Use tools already on this computer. If you need something that is not installed, stop and tell me what it is before you install anything. Load the page with ?render, call window.seek() for every frame at 30 frames per second (240 frames for 8 seconds), and encode an MP4 in H.264 at [SIZE]. Then make a GIF that loops forever. Show me three frames from the finished GIF so I can check it came out right.
```

HyperFrames (`npx skills add heygen-com/hyperframes`) does this in one step if it is installed.

## What I learned the hard way

- **"Make it premium" means one object changing shape.** Every one of the 16 effects is a thing turning into another thing: a button into a player, bars into a line, a card into a window. A fade from one picture to another looks cheap every time.
- **The hold is where people actually look.** 4.4 of the 8 seconds is the hold. If nothing moves in it, the loop feels dead. Each recipe keeps something small alive there: a progress bar, a cursor, a second wave of light.
- **A ghost of the start state sells the change.** A faint outline left where the button or card began lets the eye follow the move. Without it the end state looks like it appeared from nowhere.
- **Stagger by a beat, not all at once.** Rows, slats, letters and dots each start a fraction later than the last. Everything moving together reads as a slide transition.
- **Frame 0 drew in the wrong font.** An embedded font does not load until something uses it, so the first frame can paint in a fallback. Load every font explicitly before the first `seek(0)`.
- **Scale it up, do not redraw it.** An effect drawn with fixed coordinates ends up in one corner when you just change the canvas size. Scale the whole drawing to fill the frame instead.
- **A blank page is usually a name declared twice.** Copying helpers between files duplicated a colour constant and stopped the whole script. Declare each name once, and paste the red console error back to Claude if the page is empty.
- **Eight seconds is too slow for a Reel cut.** A full loop dropped into Instagram B-roll failed a motion check. Cut the active move (about 1.4 seconds of it) and use hold mode under narration.
- **Pick one unit for time and keep it.** The exporter and the page must agree on seconds or milliseconds. This pack uses seconds everywhere.
- **Label made-up numbers on the frame.** I made up every figure on my own board for the demo, so every effect carries an "example" label until real numbers go in.

## Hand off

Give the user `effect.html`, the MP4 and the GIF, with the three checked frames. Then offer the next step in one line: another effect from the same group, or `reel-export` to turn it into a vertical Reel with safe-zone text.

© charlie947 · MIT · charlie947/motion-graphics-skills

Similar skills

Everything for Design →

From the same set13

model-showdown Runs a fair motion graphics comparison across three AI models on one brief. Produces a 16:9 side-by-side or a 1080x1920 stacked reel. CX Codex +1 1,400installs newsletter-promo Turns one newsletter edition into a 12–20 second promo clip for LinkedIn, Instagram or X: a hook, three proof frames and an end card. CX Codex +1 1,400installs milestone-reveal Builds a 12-second looping clip where thousands of points drift, then pull together into your actual follower, revenue or customer count. CX Codex +1 1,400installs loop-cover Converts newsletter and blog covers into looping 896x640 GIFs across 180 frames. It animates a single chosen detail while keeping the loop jump-free. CX Codex +1 1,400installs apple-launch-film Builds an Apple-style Mac launch film entirely in code: menu bar, notch, widgets and gradient wallpapers. Useful when you need a launch video without screen recording or After Effects. CX Codex +1 1,500installs title-sequence-3d Creates cinematic 3D title sequences in code using Three.js and Claude Code. Best for scroll-stopping video intros, social hooks, or newsletter openers. CX Codex +1 1,500installs brand-intake A setup skill that interviews you and reads 3 to 5 reference frames, then writes brand.md and MOTION.md — the files every other skill in the pack pulls colours, type and timing from. CX Codex +1 1,500installs motion-brief-writer Turns a rough idea for an animated graphic into a precise build prompt for Claude. Asks for what's missing and never invents a number. CX Codex +1 1,500installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor