figma
Qué hace
Esta skill conecta diseños de Figma con videos de HyperFrames. Es para diseñadores y creadores de video que quieren sus recursos de Figma, colores de marca o marcos dentro de un video.
Cuándo usarla
- ✓Cuando pegas un enlace de Figma y quieres usar ese diseño en un video.
- ✓Cuando quieres colores de marca, logos o componentes de Figma en tu video.
- ✓Cuando quieres convertir un guion gráfico de Figma en escenas animadas.
Link de la skill
https://github.com/heygen-com/hyperframes/blob/main/skills/figma/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Usa el logo y los colores de marca de este enlace de Figma en mi video.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente descarga los recursos, colores y componentes de Figma elegidos a archivos locales durante la construcción, así que el video no llama a Figma al renderizarse. Necesita un token de acceso personal que tú configuras.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
Figma → HyperFrames
Every import happens at build time and freezes a local file with its source recorded under .media/, so renders never call Figma and re-running a command re-imports only what changed. Assets, tokens and components go over REST with a token; motion and shader data need a Figma connector, or a native export from the person.
Access
FIGMA_TOKEN in the shell or the project .env. Check it exists before the first command; if not, tell the person how to make one and stop: figma.com → Settings → Security → Personal access tokens, read-only File content and File metadata, plus Library content for tokens on non-Enterprise plans. They set it themselves; never ask them to paste it into the chat.
| Error | Meaning |
|---|---|
BAD_TOKEN (401) |
Expired or revoked: make a new one |
FORBIDDEN (403) |
The message names the missing scope, or the file isn't visible to the account |
REQUIRES_ENTERPRISE (403, variables) |
Not a failure: the published-styles fallback already ran |
RATE_LIMITED (429) |
Already retried with backoff; wait a minute or import fewer nodes per call |
Commands
- A layer, logo or image:
npx hyperframes figma asset '<url or fileKey:nodeId>' [more refs] --format svg|png --scale 2 --description "<what it is>" [--entity "<brand mark>"]. SVG for vectors and logos, PNG at 2x for raster. Several nodes of one file in one call render in a single request;--entitylets/media-usefind a brand mark later. - Brand colours and type:
npx hyperframes figma tokens <fileKey>. Run it beforecomponentand paste the printed entries intodata-composition-variables. Without Enterprise it falls back to published styles. A connector can supply variables there instead: cache its raw response in.media/figma-cache/and write the bindings to.media/figma-bindings.jsonl({kind:"binding", figmaId, sourceFileKey, compositionVariableId:"figma:<name>", version}). - A frame as editable HTML at exact geometry:
npx hyperframes figma component '<url or fileKey:nodeId>', packaged undercompositions/components/<name>/. A fill bound to an imported token comes out asvar(--slug, #literal), so one variable re-brands every import; an unknown token stays a literal markeddata-figma-unresolved: import that library's tokens and re-import. Ask once which file a library is; never match by hex. - Check hero components against Figma's pixels (
figma asset <same node> --format png). Text drift is the usual cause; report drift you can't fix instead of hand-tweaking the import.
Motion (connector)
Usage beacon: these phases have no CLI touchpoint, so run npx hyperframes events --skill=figma-motion when you begin and npx hyperframes events --skill=figma-motion --event=skill_completed --outcome=success|error when done. Same for shaders (figma-shaders) and storyboards (figma-storyboard).
- Fetch motion context for the parent frame in one recursive request; cache the raw JSON in
.media/figma-cache/. - Normalise with
motionContextToDocs(raw, { selectorFor, repeat })from@hyperframes/core/figma, never by transcribing keyframes. It reads the motion.dev snippets (the CSS snippets stretch durations), drops loop-wrap tail keyframes and keeps bezier eases.selectorForreturns the ids from the component import. motionToGsap(doc)→emitTimelineScript(spec), injected after the GSAP and CustomEase tags: paused, finite, a literalwindow.__timelineskey. Named eases outside the mapped set fall back to linear; say so.- Verify against Figma's own export:
node <SKILL_DIR>/scripts/verify-motion.mjs --reference <export.mp4> --render <render.mp4> --crop WxH+X+Y. It compares motion between samples, so static drift cancels out, and fails under 15 dB (faithful ≈ 20+, diverging ≈ 5). Measure--cropfrom the render's card edges. A fail means fix the translation, not the threshold. - A track that won't translate: export it, freeze the MP4 and place it as
<video class="clip">.
Shaders
Figma's export path flattens shaders to their base colour, and shader source is only reachable for library-published styles. Ask the person for a native export of that frame (PNG or MP4) and place it as an asset or clip.
Storyboards: frames are KEYFRAMES, not slides
Two frames hold
Preguntas frecuentes
¿Necesito un token de Figma?
Sí. Creas un token de solo lectura en tu configuración de Figma y lo guardas como FIGMA_TOKEN. El agente no te pedirá pegarlo en el chat.
¿El video llama a Figma al renderizarse?
No. Cada importación congela una copia local, así que los renderizados nunca llaman a Figma.
¿Las animaciones se toman directamente de Figma?
No siempre. Los datos de movimiento y de shaders necesitan un conector de Figma o una exportación nativa tuya.
Detalles
Descripción original del autor
Bring Figma into a HyperFrames video - rendered assets, brand tokens, components, storyboard frames as reconstructed motion (frames read as states, not slides), shaders and connector-assisted motion. Use when the person pastes a figma.com link or asks to use a Figma design, frame, logo or brand.
repo: heygen-com/hyperframes
Popularidad
- Estrellas en GitHub
- 78 mil
- Posición en el ranking
- #1739
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
captions-overlay
78 milGuía a tu agente para agregar subtítulos a un video como superposición, decidiendo qué frases habladas eliminar, mostrar en una franja o resaltar.
cut-the-curve
78 milEnseña a tu agente las transiciones que se usan en videos de HyperFrames, como cortes suaves entre escenas, zoom de paso y entradas de texto escalonadas.
motion-doctrine
78 milDa a tu agente las reglas básicas para que un video de varias escenas se sienta como un solo movimiento de cámara continuo, no como diapositivas separadas.
oversized-cursor
78 milEnseña a tu agente a agregar un puntero animado y grande a un video que guíe la mirada del espectador y haga que los clics parezcan causar la acción siguiente.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.