Aller au contenu
Skillpedia
Motion design et animation6.0k · #14458

sn-code-video

Ce qu’il fait

Cette skill crée de courtes vidéos à partir de code, comme des explications, des graphismes animés ou des films synchronisés sur la musique. Elle s'adresse aux créateurs qui veulent un mouvement précis et reproductible plutôt que des images issues d'un modèle vidéo.

Quand l’utiliser

  • ✓Quand vous voulez une vidéo explicative ou un graphisme animé construit à partir de code.
  • ✓Quand vous voulez une animation procédurale ou un film synchronisé sur la musique, réalisé par code.
  • ✓Quand vous voulez que la vidéo finale soit vérifiée sous forme de fichier MP4.

Lien du skill

https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-code-video/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-code-video/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Réalise une vidéo explicative animée de 30 secondes sur le fonctionnement des panneaux solaires, au format MP4.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent écrit un programme qui dessine chaque image à un instant fixe, capture les images, les relit, puis encode le MP4 final avec l'audio éventuel.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Génère-t-elle des images avec des modèles vidéo IA ?

Non. Elle sert aux vidéos générées par code, et non aux images issues de modèles de génération vidéo.

De quels outils a-t-elle besoin ?

Elle a besoin de Node.js, Python et FFmpeg, ainsi que d'un outil de capture de navigateur et des polices de la langue utilisée.

Est-elle destinée aux apps web classiques ?

Non. Elle sert aux vidéos rendues, et non aux apps web générales ni aux récits au défilement.

Détails

Description originale de l’auteur

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.

repo: OpenSenseNova/SenseNova-Skills

Popularité

Étoiles GitHub
6.0k
Position au classement
#14458
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires