# Motion2code

> Motion2code is an open-source agent skill for design and media. Rebuilds an AI-generated (or any) flat motion design video as clean, editable code: inline SVG shapes animated by one GSAP timeline, seekabl. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/lovisdotio/motion2code/tree/main/skills/motion2code
- **Repository:** https://github.com/lovisdotio/motion2code
- **GitHub stars:** 355
- **License:** MIT
- **Skill name:** motion2code
- **Collection:** https://github.com/lovisdotio/motion2code
- **Categories:** design and media
- **Listing updated:** 2026-11-17

## About

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.

## 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/lovisdotio/motion2code/tree/HEAD/skills/motion2code)
- [Network calls found in its scripts](https://github.com/lovisdotio/motion2code/tree/HEAD/skills/motion2code)
- [License: MIT](https://github.com/lovisdotio/motion2code/tree/HEAD/skills/motion2code)

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

### What are the best alternatives to Motion2code?

The closest alternatives to Motion2code are Rea tool design, Codebase design, Frontend design, Canvas design and Web design reviewer.

## Alternatives

- [Rea tool design](https://ai-powered.com/skills/rea-tool-design): Rea tool design is an open-source agent skill for design and media.
- [Codebase design](https://ai-powered.com/skills/codebase-design): Codebase design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design): Frontend design is an agent skill for design and media.
- [Canvas design](https://ai-powered.com/skills/canvas-design): Canvas design is an agent skill for design and media.
- [Web design reviewer](https://ai-powered.com/skills/web-design-reviewer): Web design reviewer is an open-source agent skill for design and media.
- [Nano banana pro openrouter](https://ai-powered.com/skills/nano-banana-pro-openrouter): Nano banana pro openrouter is an open-source agent skill for design and media.
- [Salesforce flow design](https://ai-powered.com/skills/salesforce-flow-design): Salesforce flow design is an open-source agent skill for sales and crm.
- [Generate image](https://ai-powered.com/skills/generate-image): Generate image is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/motion2code
