Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Inicia sesión con Google para escribir reseñas.Prototipo · se actualiza cada 30 min
PopNx MCPServidores MCP para quienes usan IA · en palabras sencillas

What it does

Skills for coding agents: rebuild a motion design video as looping SVG + GSAP code, checked frame by frame against the source

  • Connects Instruction files the AI reads; connects to nothing
  • Account or key No key needed
  • Category Diseño y web
Para autores: añade una insignia a tu README

Si lo creaste tú, pega este código en tu README. La insignia enlaza a esta página.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/lovisdotio-motion2code.svg)](https://mcp.popnx.com/en/skills/lovisdotio-motion2code)

Úsalo junto con

Servidores MCP que conectan la IA a servicios para el mismo trabajo

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

de GLipsMuy usado↓ 152,1 mil/sem★ 16,2 milActualizado hace 5 meses

MCP · Conecta un servicioSe ejecuta en tu computadora

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

de DayuanJiangMuy usado↓ 21,7 mil/sem★ 37 mil Estrellas de todo el repositorioActualizado anteayer

MCP · Conecta un servicioSe ejecuta en tu computadora

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

de pascalorgMuy usado↓ 1 mil/sem★ 25,5 mil Estrellas de todo el repositorioActualizado hace 3 días

MCP · Conecta un servicioComputadora o nube✓ del servicio · pascal.app

Skills parecidas

Mismo tipo de trabajo, ordenadas como la lista de Skills

Comparado con otros parecidos
Este
motion2code
impeccablediagram-designfrontend-slidesguizang-ppt-skill
Autorlovisdotiopbakauscathrynlaveryzarazhangruiop7418
Skills1111–
Estrellas de GitHub354111.13167.54432.39929.871
Último cambio de código20 oct 202616 nov 202613 nov 202624 jun 202630 oct 2026
LicenciaMITApache-2.0MITMITAGPL-3.0

1 skills (conjuntos de instrucciones) de lovisdotio que la IA lee y sigue · no es un MCP server

En qué se diferencia un Skill de MCP

MCP = las manos

Conecta la IA a un servicio o dato externo, como leer Notion o crear una factura. Necesita un programa o servidor en marcha.

Skill = el manual

Un archivo de texto que enseña a la IA cómo hacer una tarea. No se conecta a nada.

A veces se parecen: algunas Skills ejecutan scripts que llaman herramientas y algunos MCP solo envían conocimiento. Empieza por la tarea que quieres hacer.

Funciona con

Claude CodeClaude (เว็บ/แอป)CodexCursorGemini CLIGitHub Copilot

Según el README del autor y las carpetas del repo

Instalar

Is it safe?

  • Who made it

    GitHub account lovisdotio (person), 2 years old

  • Use and upkeep

    ★ 354 stars, few users so far · code last changed 20 oct 2026

  • Any scripts?

    7 scripts that can run on a computer: scripts/_m2c.py, scripts/check_anim.py, scripts/frame_diff.py, scripts/palette.py and 3 more

  • Uses the internet?

    No internet calls found in the scripts

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 0f00328 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

Primero: ¿qué IA usas?

Elige tu app y esta página mostrará solo cómo instalarlo en ella

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (827). Use "Let the AI install it" instead

Option 1Deja que Claude Code lo instale

Copia esta frase y pégala en un chat de Claude Code

Where to install

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Vuelve a abrir Claude Code y escribe /motion2code, o pide una tarea relacionada y Claude lo usará

Checked against official docs 12 nov 2026 · Source: code.claude.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

La forma que recomienda el autor

Instala Node.js (si no lo tienes)

¿Ya está instalado? Compruébalo primero · Abre la Terminal, escribe este comando y pulsa Enter

node -v
  • Aparece un número de versión, p. ej. v26.13.1 = ya está instalado, sáltate este paso
  • Aparece "command not found" (en Windows, "is not recognized") = aún no está instalado, o acabas de instalarlo y debes cerrar y volver a abrir la Terminal
Cómo abrir la Terminal

Mac: pulsa ⌘ + Espacio, escribe Terminal y pulsa Enter

Windows: abre Inicio, escribe Windows PowerShell y elige Abrir

Si no está instalado: Abre la página oficial de descargas, elige la versión LTS y el instalador de clics: .pkg en Mac · .msi en Windows. Haz doble clic y sigue hasta el final. No necesitas ningún comando curl

Abrir la página de descarga de Node.js ↗

Al terminar, cierra la Terminal, ábrela de nuevo y ejecuta el mismo comando. Debe aparecer un número de versión: node -v

Se instala una vez y sirve para todo lo que usa Node.js

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Copiado del README del autor; descarga y ejecuta su código

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.claude/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

  3. Vuelve a abrir Claude Code y escribe /motion2code, o pide una tarea relacionada y Claude lo usará

Las skills que instalas tú funcionan en la app de escritorio de ChatGPT, en Codex CLI y en la extensión de Codex para el IDE · ChatGPT en la web y el móvil no puede usar skills instaladas por ti, solo las que vienen con un plugin del directorio

App de escritorio de ChatGPT

La app de escritorio de ChatGPT incluye Codex, y Codex lee las skills de la carpeta ~/.agents/skills

Option 1Deja que ChatGPT lo instale

Abre Codex en la app de escritorio de ChatGPT y pega esta frase en el chat

Where to install

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2Coloca la carpeta tú mismo

Coloca la carpeta motion2code en ~/.agents/skills/motion2code

~ es tu carpeta de inicio ($HOME)

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Después de instalar

  • App de escritorio de ChatGPT: abre Skills en la barra lateral para ver que la skill está
  • Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill
  • Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

ChatGPT en la web y el móvil

Las skills que instalas tú no funcionan aquí; solo las que vienen con un plugin del directorio

Para usar esta skill con ChatGPT, usa la app de escritorio de ChatGPT como se indica arriba

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

Option 1Deja que Codex lo instale

Copia esta frase y pégala en un chat de Codex · Sirve en Codex dentro de la app de escritorio de ChatGPT, en Codex CLI y en la extensión del IDE

Where to install

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex detecta solo las skills recién instaladas; si una no aparece, reinicia Codex · Para usarla: en ChatGPT escribe @ y elige la skill · en Codex CLI o la extensión del IDE ejecuta /skills o escribe $ y el nombre de la skill

Checked against official docs 15 nov 2026 · Source: learn.chatgpt.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.agents/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

  3. Vuelve a abrir Codex y pide una tarea relacionada; Codex mostrará el skill

Option 1Deja que Cursor lo instale

Copia esta frase y pégala en un chat de Cursor

Where to install

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

En el chat Agent de Cursor escribe / y elige motion2code

Checked against official docs 12 nov 2026 · Source: cursor.com

For Terminal users

Un Skill son instrucciones que la IA seguirá. Lee los archivos antes de instalar e instala solo de autores de confianza.

  1. Abre la Terminal

    Mac: pulsa Command+Espacio y escribe Terminal · Windows: el comando no funciona en PowerShell; usa «Que la IA lo instale» arriba

  2. Copia la carpeta del skill a ~/.cursor/skills

    Descarga el repo a una carpeta temporal y copia solo las carpetas con SKILL.md

    Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

  3. En el chat Agent de Cursor escribe / y elige motion2code

Option 1Let the AI install it

Para otras apps que leen skills. La frase incluye las rutas de Claude Code, Codex y Cursor para que la IA elija la de tu app · Copy this sentence into the app’s chat

Where to install

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

Revisando los comandos · los botones de copiar aparecen cuando pasan la revisión

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 12 nov 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Otras apps con Agent Skills (como Gemini CLI o GitHub Copilot) usan otras carpetas. Mira la guía de esa app y copia allí la carpeta con el SKILL.md.

Ver en GitHub ↗

Carpetas de skills comprobadas con las guías oficiales de Claude Code, Codex y Cursor el 11 nov 2026

Ver el SKILL.md original

El texto siguiente viene del repo del autor, no de PopNx MCP

7456 caracteres · Abrir el archivo completo en GitHub

---
name: motion2code
description: >-
  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.
license: MIT
metadata:
  hermes:
    tags:
      - svg
      - gsap
      - motion-design
      - animation
      - video-to-code
      - scrolltrigger
    category: development
---

# Motion2Code

The video is the spec, and you cannot watch it. Treat the job as reconstruction: turn the clip into images you can
look at, write down what happens and when, build the shapes, drive them with one clock, then prove every moment
against the source with images side by side. Never animate from a memory of the video.

## Workflow

1. **Study the source.** `python3 scripts/study_video.py source.mp4 -o study/` saves a frame every 0.25 s, the
   frames around every cut, a contact sheet, the exact flat palette and whether the source already loops. Open the
   sheet, then the frames. Read the prompt file next to the video if there is one: it holds the exact words.
2. **Write the shot list.** One line per beat: time range, what each shape does, how it eases, what it becomes
   next. Note the stage size (1920x1080 or 1080x1920) and the real duration (ffprobe, e.g. 15.10 s means a 15 s
   loop). See `references/study-the-source.md`.
3. **Build the stage** from `templates/index.html`: one inline SVG at the source resolution, every shape drawn
   around its own origin, flat fills from the sampled palette, the closest Google Font subset to the exact letters.
4. **Animate on one GSAP timeline.** Tweens for the shots, plus a pure `draw(t)` for procedural parts (particles,
   morphs, physics) called from the same clock. Match the timing of the frames, not your idea of it.
   See `references/animation-architecture.md` and `references/motion-vocabulary.md`.
5. **Close the loop in code.** The last moment returns to the exact opening frame, even when the source does not.
   See `references/seamless-loop.md`.
6. **Verify, fix, repeat.**
   `python3 scripts/frame_diff.py source.mp4 index.html -o diff/` writes source|code pairs and a score per time;
   open the pairs, fix the worst first, then zoom on transitions with `--every 1/24 --start a --end b`.
   `python3 scripts/check_anim.py index.html --runtime` checks the contract, the loop seam, determinism, console
   errors and network. Ship only when both are clean. See `references/verification.md`.
7. **Deliver:** `index.html`, `compare.html` (from `templates/compare.html`), and when asked the proof videos:
   `python3 scripts/render_anim.py index.html -o anim.mp4` then
   `python3 scripts/side_by_side.py source.mp4 anim.mp4 -o side_by_side.mp4 --html index.html`.
8. **Optional real site.** For an interface recording, after the faithful replay, build `site.html` from
   `templates/site.html`: scroll becomes ScrollTrigger, fake clicks become real buttons.
   See `references/interfaces-and-sites.md`.

Scripts need Python 3.9+, ffmpeg, and Playwright for anything that opens a browser
(`uv run --with playwright python scripts/...`, or `pip install playwright && python -m playwright install chromium`).
Run them from this skill's directory or with full paths.

## The page contract

```js
window.anim = { tl, duration, seek(t), play(from), pause() }   // seek(t) is a pure function of t
```

- `index.html?t=6.5` freezes at 6.5 s; `?external=1` does not autoplay (compare.html and the scripts drive it);
  with no parameter it plays by itself and loops forever.
- `<html data-ready="1">` once fonts are loaded and frame 0 is drawn. Renderers wait for it.
- `frame(duration)` equals `frame(0)`; `frame(duration - 1/24)` is one step away from it.
- Self-contained: inline SVG, GSAP 3 from cdnjs, flubber from jsdelivr only when a morph needs it, Google Fonts.
  Nothing else is loaded.

## Hard rules

- **Use only the given source video.** Never regenerate it, never fetch "a better version", never trace a frame
  into the page. No `<img>`, `<video>`, SVG `<image>`, canvas `drawImage` or raster data URI in the animation.
- **Words exactly as in the source prompt** (or the video if there is no prompt), even when the video misspells
  them. Invented gibberish words in UI recordings become flat bars or are removed.
- **Flat shapes as SVG.** Solid fills, the sampled hex colors, no gradients, shadows or filters the source does not
  have. Strokes with `stroke-linecap="round"` for sticker outlines.
- **GSAP timeline is the single clock.** No `requestAnimationFrame` loops, `setTimeout` choreography, CSS
  animations or `Date.now()` driving visuals. Randomness is seeded and precomputed.
- **The loop is done in code.** If the source does not return to its opening frame, add a short clean transition
  back to it. The seam is checked numerically.
- **Every moment is checked against the source side by side**, at least every 0.5 s and frame by frame around
  every transition and the loop seam. "Looks right" without a pair image is not a check.
- **Same timing as the source.** Measure from the frames; do not compress, pad or reorder beats.

## Reference routing

Read only what the task needs:

| File | Read when |
|---|---|
| `references/study-the-source.md` | starting: frames, cuts, palette, shot list, words, duration, aspect |
| `references/animation-architecture.md` | building: stage, shape origins, timeline vs draw(t), keyframe helper, morphs, fonts, determinism |
| `references/motion-vocabulary.md` | matching the feel: snaps, squash and stretch, smears, elastic settles, iris wipes, morph chains |
| `references/seamless-loop.md` | the source does not loop, or the seam jumps |
| `references/verification.md` | checking and proof videos: frame_diff, compare.html, check_anim, render, side by side |
| `references/interfaces-and-sites.md` | the source is a website/app recording, or a real `site.html` is wanted |

Templates: `templates/index.html` (the contract, a tiny looping example), `templates/compare.html` (video and code
side by side, synced to the video clock, frame stepping, onion skin), `templates/site.html` (ScrollTrigger pin and
scrub, menu, tabs, flip card, draggable slider, cart counter, keyboard, reduced motion).

## Output expectations

- Deliver `index.html` (+ `compare.html`, + `site.html` for interfaces) and say what was checked and how:
  frame_diff times, worst scores and what they were, `check_anim.py --runtime` result, page size.
- List honestly what differs from the source (a simplified texture, a merged beat), never "pixel perfect".
- Keep names readable: one group per character or object, ids that say what they are, the palette as constants,
  shots commented with their time range, so a designer can retime or recolor without reading everything.

Conversación

Pregunta, comparte un consejo o avisa de que no funciona. Ordenado por lo que la gente marcó como útil.

Aún no hay publicaciones. Sé la primera persona en preguntar o compartir.

Lo publicado aquí lo escriben usuarios, no el equipo de PopNx.

Inicia sesión para publicar

Desde GitHub

Estrellas en GitHub
354
Autor
lovisdotio
Licencia
MIT
Último cambio de código
20 oct 2026
Archivos SKILL.md del repo (con traducciones y plantillas)
1
Temas
agent-skills, animation, claude-code, gsap, motion-design, svg, video-to-code