Skip to content
Skill

Motion2code

Rebuilds an AI-generated (or any) flat motion design video as clean, editable code: inline SVG shapes animated by one GSAP timeline, seekabl

Install
Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
355
Last commit
28 days ago
License
MIT
Listing updated
today

When your agent uses it

Rebuilds an AI-generated (or any) flat motion design video as clean, editable code: inline SVG shapes animated by one GSAP timeline, seekable frame by frame, looping seamlessly, checked side by side against the source; and optionally turns an interface recording into a real interactive website (GSAP ScrollTrigger, real clicks). Ships scripts to study the video (frames, cuts, contact sheet, exact palette), render the code to mp4/GIF through anim.seek, compare it with the source frame by frame and check the loop seam and page contract. Use when the user wants a video, GIF, Lottie-like clip, motion design shot, animated logo, UI screen recording or AI video "recreated in code", "converted to SVG/GSAP", "made into an HTML animation" or "made into a real site". Not for photographic footage, 3D rendering or video editing.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 18 files (94 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

This skill ships in the motion2code plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add lovisdotio/motion2code
/plugin install motion2code@motion2code

Or copy only this skill to ~/.claude/skills/motion2code:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lovisdotio/motion2code.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/motion2code &&
cp -R "$tmp/skills/motion2code" ~/.claude/skills/motion2code &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/motion2code inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/motion2code to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lovisdotio/motion2code.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/motion2code &&
cp -R "$tmp/skills/motion2code" ~/.agents/skills/motion2code &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/motion2code inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/motion2code to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lovisdotio/motion2code.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/motion2code &&
cp -R "$tmp/skills/motion2code" ~/.cursor/skills/motion2code &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/motion2code inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/lovisdotio/motion2code.git --path skills/motion2code

Or copy the folder to ~/.gemini/skills/motion2code yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/motion2code:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lovisdotio/motion2code.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/motion2code &&
cp -R "$tmp/skills/motion2code" ~/.copilot/skills/motion2code &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/motion2code inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/lovisdotio/motion2code.git

Then copy motion2code/skills/motion2code into your agent's skills folder as motion2code. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Motion2code FAQ

How do I install Motion2code in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/motion2code to use it in all your projects, or to .claude/skills/motion2code in one project. Or install the motion2code plugin, which includes it: /plugin marketplace add lovisdotio/motion2code, then /plugin install motion2code@motion2code.

Does Motion2code run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Motion2code?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.