Skip to main content
skill CX Codex

motion-assets — Claude Code skill: features and installation

The motion-assets skill for Claude Code plans and generates images and video clips for animated websites. It activates for requests to create site visuals, loop a background, or animate an image.

MIT ★ 448 updated 2026-11-09

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Moh4696/open-3d-skills
/plugin install open-3d-skills@open-3d-skills
Open on GitHub

What motion-assets does

The skill lays out the assets, prompts, and estimated spend before generation begins. It keeps a shared visual style across images, orders stills and clips so approved frames can guide later work, and records each prompt and job’s settings in prompts/asset-prompts.md and a JSONL log.

scripts/loop_check.py checks loop joins and can trim or cross-fade a clip. scripts/paste_back.py restores original pixels after an image is outpainted. The scripts need Python 3.9+, numpy, opencv-python-headless installed with pip install numpy opencv-python-headless, and ffmpeg. The loop tool can locate a better cut point.

What it helps with

  • plan site visuals with prompts and estimated generation costs
  • keep a consistent look across generated assets
  • find and repair a jump at a clip’s loop point
  • restore original image pixels after outpainting
  • save generation details for recreating an asset later

Example prompts for the agent

  • Plan the images and clips for this animated site, with prompts and estimated costs before generation.
  • Check this clip’s loop and fix the join.
  • Extend this image while keeping the original subject pixels.

How to install motion-assets

1Plugin marketplace

/plugin marketplace add Moh4696/open-3d-skills
/plugin install open-3d-skills@open-3d-skills

This installs the whole open-3d-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add Moh4696/open-3d-skills --skill motion-assets -a claude-code

3Manually: put the files in place

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

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

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

Questions about motion-assets

How do I install motion-assets in Claude Code?

Add the marketplace with /plugin marketplace add Moh4696/open-3d-skills, then install the skill with /plugin install open-3d-skills@open-3d-skills.

What does motion-assets do?

It plans image and video generation for animated websites, helps keep the assets visually consistent, and checks clips for loop problems. It also logs prompts and generation settings.

What does motion-assets need to run?

It requires Python 3.9+, numpy, opencv-python-headless, and ffmpeg. Install the Python packages with pip install numpy opencv-python-headless.

Source text

SKILL.md · MIT
---
name: motion-assets
description: Plans and generates the images and video clips an animated website needs with AI image and video models, without wasting money. Covers proposing the concept and asset list with exact prompts and costs before spending, keeping one style across every asset, start and end frames for clips that chain or loop, choosing a model by what it can do, calibrating cost, staying under rate limits, recovering failed jobs, fixing loops and outpaints, and logging every prompt so the project can be rebuilt. Use whenever a site needs generated heroes, characters, product shots, textures, background loops or camera-move clips, or when someone says "use Higgsfield", "use Runway", "use Kling", "use Veo", "generate the assets" or "animate this image".
---

# Motion assets

Generated assets make or break an animated site, and they cost real money per attempt. This skill is the production discipline around the models: decide everything that can be decided before spending, make every asset in one look, generate in the order that lets later assets anchor on earlier ones, check each one with numbers, and write it all down.

## Tools

| Script | What it does |
| --- | --- |
| `scripts/loop_check.py` | Scores how well a clip loops, finds the best loop point, trims and cross-fades it |
| `scripts/paste_back.py` | Puts the original pixels back into an outpainted image (outpainting re-renders the middle too) |

Related: `alpha-cutout` (clips that need transparency), `scroll-film` (`prep.py seams` scores joins between chained clips), `cursor-rig` (head-turn clips).

Needs Python 3.9+, `pip install numpy opencv-python-headless`, ffmpeg.

## Before spending anything

Write a short plan and show it to the person paying:

1. **The concept in two sentences**, and what moves on the page.
2. **The asset list**: every image and clip, its size and aspect, its role on the page, and its exact prompt.
3. **The model for each**, chosen by capability (table below), and **the cost** of each and in total. Calibrate first: run one still and one short clip, read what was charged, then estimate the rest from that. Plans and prices change; never quote a price from memory.
4. **What the visitor sees with reduced motion** and on a phone.

Get a yes, then generate.

## Choose models by capability

| You need | The model must support | Notes |
| --- | --- | --- |
| A clip that ends on a planned frame | Start frame **and** end frame | Essential for chained scroll films, head turns and loops |
| A seamless loop | Start = end frame | Then check with `loop_check.py`; models rarely land exactly |
| A pose or expression change on the same character | Image editing that holds framing | Compare to the source at full size: only the edited part may change |
| A transparent subject | Nothing special: shoot on a key plate | See `alpha-cutout`. A few image models return real alpha; video models do not |
| Wider artwork | Outpainting | It re-renders the original area: paste it back (`paste_back.py`) |
| Sharpness | Native resolution | Never upscale a clip and call it 1080p; encode what the model returned |

Observed while building with these models in 2026 (check current docs; behaviour changes):

- Video models drift a flat background colour within a single clip (pure magenta came back pale pink); key per frame.
- Models change small details mid-clip (a black cap turned green late in a serve). Watch the whole clip, not the first and last frames.
- Some higher resolutions and quality modes are gated by subscription plan. A rejected submission usually costs nothing: test the cheapest request that proves access.
- Rate limits are tight on many plans: two or three video jobs in flight. Submit in small batches and resubmit only the job that returned 429 once others finish.
- A "server not responding" error does not always mean no job was created. List recent jobs before resubmitting, or you pay twice.
- A request can come back as a suggested preset instead of a job; decline the preset and resubmit.

## One look across every asset

- Write a **style preamble** (medium, palette, light, lens, texture) once and prepend it byte-for-byte to every image prompt.
- Make one **hero still** first, approve it, then pass it as the style reference to every later image.
- Use **one video model for a whole chain** of clips. Each model has its own motion, colour and grain; switching mid-film shows as a style jump at the seam.

## Generation order

1. Stills: hero, then keyframes (every start and end frame of every clip), then supporting images. Review them side by side before any video.
2. Clips, each anchored on approved stills. For chains, anchor each clip's start on the **exact extracted last frame** of the previous clip, not on the still, so colour drift does not accumulate as a jump.
3. Check every clip: `loop_check.py` for loops, `scroll-film/scripts/prep.py seams` for chains, the whole clip by eye for detail drift.

Clip prompts that behave:

- Name the camera: "locked-off camera" or the exact move ("slow push in, no rotation").
- Name what must not move: "the body, background and lighting stay perfectly still".
- For loops: "constant, even motion; no slowing down at the end". Models ease to a stop by default, which hitches every loop. `loop_check.py` reports it.
- Repeat the plate colour for anything that will be keyed.

## Fixing instead of regenerating

| Problem | Fix |
| --- | --- |
| Loop jumps slightly | `loop_check.py clip.mp4 --fix loop.mp4` cuts at the best loop point; add `--blend 6` to cross-fade small drift |
| Loop jumps a lot (over ~8) | Regenerate with start = end frame and the constant-motion wording |
| Outpaint softened the subject | `paste_back.py original.png extended.png out.png` |
| Seam between chained clips | Regenerate the later clip from the extracted last frame of the earlier one |
| One detail changes colour mid-clip | Recolour that hue in post if it is isolated; otherwise regenerate |

## Log everything

Every generation goes in `prompts/asset-prompts.md` (and machine-readable in a JSONL log): the asset name, model, exact prompt, input images, settings, job id, cost, and which output was kept. It is the only way to regenerate one asset months later in the same style, and the honest record of what was AI-generated.

© exploraX · MIT · Moh4696/open-3d-skills

Similar skills

All skills for Design →

From the same set9

site-check The site-check Claude Code skill checks 3D and animated web pages in Chromium and WebKit. Run it after page changes to catch browser errors, mobile layout issues, and slow frames before publishing. CX Codex +1 ★ 448repo stars exploded-view The exploded-view Claude Code skill builds interactive three.js explainers for machines and products. It animates parts in stages, reveals the casing’s interior, and attaches labels to the model. CX Codex +1 ★ 448repo stars cursor-rig The cursor-rig Claude Code skill turns an illustration into a portrait that follows the cursor with its head. It’s for adding a reactive character to a page without a 3D model or face tracking. CX Codex +1 ★ 448repo stars alpha-cutout The alpha-cutout Claude Code skill removes a clip’s background and prepares transparent animation for the web. It runs on requests for alpha video or a subject layered over page content. CX Codex +1 ★ 448repo stars frame-capture The frame-capture skill for Claude Code records web pages to MP4 with frame-by-frame control of time. Use it to capture animations, page scrolls, or a comparison of two clips. CX Codex +1 ★ 448repo stars scroll-film The scroll-film Claude Code skill builds film-like page sections controlled by scrolling. It covers clip joins, caption pauses, frame loading and mobile versions. CX Codex +1 ★ 448repo stars threejs-scene This Claude Code skill builds interactive three.js scenes from code, without model files. It activates for 3D websites, WebGL hero sections and real-world objects rendered in 3D. CX Codex +1 ★ 448repo stars open-3d-skills The open-3d-skills Claude Code plugin adds skills for 3D scenes and animated websites. Its eight skills cover three.js builds, scroll-controlled films, and browser checks. CX Codex ★ 448repo stars

Project sponsors

Companies that keep this analytics open