sn-code-video
Qué hace
Esta skill crea vídeos cortos a partir de código, como explicativos, gráficos animados y películas sincronizadas con música. Está pensada para creadores que quieren un movimiento preciso y repetible, en lugar de imágenes de un modelo de vídeo.
Cuándo usarla
- ✓Cuando quieres un vídeo explicativo o una pieza gráfica animada hecha con código.
- ✓Cuando quieres una animación procedimental o una película sincronizada con música creada con código.
- ✓Cuando necesitas que el vídeo terminado se revise como archivo MP4.
Link de la skill
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-code-video/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
“Crea un vídeo explicativo animado de 30 segundos sobre cómo funcionan los paneles solares, renderizado como MP4.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente escribe un programa que dibuja cada fotograma en un momento fijo, captura los fotogramas, los revisa y codifica el MP4 final con el audio que haya.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
SN Code Video
A code video is a program frame(t) → image, sampled at t = i / fps and encoded. Almost every failure in this kind of work is one of four things: the film is never finished, the picture depends on wall-clock time, nobody looked at the frames, or the file does not match the brief. This skill prevents those four.
Setup and paths
Use a separate project folder for the video source, SPEC.md, build files, and outputs. Resolve SKILL_DIR to the absolute directory containing this SKILL.md, whether installed in the agent's skills directory or used from this repository. Run project commands from the video project folder; invoke bundled scripts through "$SKILL_DIR/scripts/..." so they do not depend on the current working directory. Set SKILL_DIR again in each shell session if needed.
Requirements: Node.js 18+ for browser capture, Python 3, FFmpeg/ffprobe with libx264 and AAC, and fonts covering the requested language. Install Playwright (with Chromium) or Puppeteer in the video project; the capture helper resolves its packages there first. Python audio dependencies are listed in requirements.txt; edge-tts needs network access, and faster-whisper needs downloaded model weights for transcription checks. Install only the tools required by the chosen renderer and audio workflow. Setup and invocation examples: English guide / 中文指南 in the source repository; these repository guides are not required when the skill folder is installed on its own.
Deliver the playable MP4, source code and reproduction commands, SPEC.md, VERIFY.md, and a contact sheet. Audio stems and timing data belong in the project when sound is used.
0. Read the craft guides you need
Reference paths are relative to this skill folder; output and input paths in commands are relative to the video project. Besides this file it holds craft guides in references/ and helper scripts in scripts/ (audio packages in requirements.txt). Read every guide that matches the request before writing SPEC.md; most videos need two or three.
| Guide | Read when the request has… |
|---|---|
references/explainer-diagrams.md |
anything to teach or explain: math, science, history, processes, data |
references/stylized-looks.md |
a named style, medium or artist (ink wash, pixel art, cut paper, vaporwave, watercolour, …) |
references/simulations-and-generative.md |
particles, flocks, cellular automata, physics, fields, shaders, generative patterns |
references/character-and-creature-motion.md |
people, animals or creatures that move or act |
references/threejs-scenes-and-cameras.md |
a 3D scene, product or camera move |
references/motion-graphics-and-promos.md |
kinetic type, UI, logos, product or brand promos |
references/sound-design-and-narration.md |
any audio: narration, music, effects, ambience |
references/music-and-beat-sync.md |
music-led films, beat-cut picture, supplied tracks or lyrics |
A request that names a style always needs references/stylized-looks.md, and a film with any audio always needs references/sound-design-and-narration.md.
1. Finish the film
- The deliverable is a playable video that meets the brief. Code, stills, a plan or a preview are intermediate results. Keep working until the final file exists and has passed section 6.
- Decide composition, palette, easing and implementation details yourself and note the choices in
SPEC.md. Ask the user only about the few open choices that would change the whole film (for example language, aspect ratio, length, or whether there is a voice), and only when you can ask; otherwise choose a sensible default and say which. - Budget the time. Get a rough full-length render early (even ugly), then improve it. A finished, slightly plain film beats an unfinished ambitious one.
- Timebox sub-problems. If one problem (recalling an exact pattern or constant, tuning one effect, chasing one bug) has taken about 30 minutes without visible progress, change approach: simplify the effect
Preguntas frecuentes
¿Genera imágenes con modelos de vídeo de IA?
No. Es para vídeos creados con código, no para imágenes de modelos de generación de vídeo.
¿Qué herramientas necesita?
Necesita Node.js, Python y FFmpeg, además de una herramienta de captura del navegador y las fuentes del idioma usado.
¿Sirve para aplicaciones web normales?
No. Es para vídeos renderizados, no para aplicaciones web generales ni historias basadas en scroll.
Detalles
Descripción original del autor
Create and revise code-driven videos with Canvas, SVG, HTML/CSS, Three.js, Remotion, Manim, or p5.js, including sound, deterministic frame capture, visual review, and MP4 verification. Use for rendered explainers, procedural animations, motion graphics, promos, and music-synchronized films; not for general web apps, scroll-driven HTML stories, or footage generation with video models.
Popularidad
- Estrellas en GitHub
- 6,0 mil
- Posición en el ranking
- #14458
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
sn-image-base
6,0 milOfrece a otras skills herramientas básicas para generar imágenes, reconocer el contenido de fotos y optimizar textos usando los servicios de SenseNova.
sn-image-doctor
6,0 milComprueba que tu configuración de SenseNova-Skills está instalada, tiene sus paquetes de Python y las claves de API necesarias, y guarda en un archivo las que falten.
sn-image-imitate
6,0 milAyuda a tu agente a crear una imagen nueva que copie el estilo de una foto de referencia, cambiando su contenido para que coincida con tu petición.
sn-image-resume
6,0 milAyuda a tu agente a convertir el texto de tu currículum en una imagen de currículum diseñada, estilo portafolio, con opciones de estilo si quieres.
Skills parecidas
blender-motion-state-inspection
280 milPermite inspeccionar detalles de animaciones 3D. Es útil para revisar poses, movimientos y la alineación de los personajes en las animaciones.
manim-video
280 milPermite a tu agente crear vídeos animados explicativos. Usa Manim para generar gráficos y diagramas claros de conceptos técnicos.
remotion-video-creation
280 milGuía a tu agente para crear vídeos con React usando la biblioteca Remotion. Cubre buenas prácticas para animaciones, audio, subtítulos y otros elementos visuales.