# code-video

code-video is a Claude Code skill that turns code into video with sound and MP4 checks. It starts for animation, explainer, promo, and motion-graphics requests.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 755 repo stars
- Author: OpenSenseNova
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/OpenSenseNova/SenseNova-6.8-Code2Video/tree/HEAD/skills/code-video/SKILL.md
- Updated: 2026-10-27
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/code-video

## What it does

The code-video skill turns a video brief into a checkable spec, frame code, and a finished MP4. Each frame is derived from a time value, so rendering stays repeatable instead of depending on a live clock. The workflow includes sample-frame checks, contact sheets, and file verification.

Its folder contains guides for diagrams, visual styles, simulations, characters, Three.js scenes, motion graphics, audio, and music sync. Helper scripts capture a browser page and pipe frames to `ffmpeg`; audio packages are listed in `requirements.txt`. Browser capture needs headless Chromium plus Playwright or Puppeteer resolved from the project's `node_modules`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add OpenSenseNova/SenseNova-6.8-Code2Video --skill code-video -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/code-video/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/code-video/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add OpenSenseNova/SenseNova-6.8-Code2Video --skill code-video -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/code-video/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add OpenSenseNova/SenseNova-6.8-Code2Video --skill code-video -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/code-video/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install OpenSenseNova/SenseNova-6.8-Code2Video skills/code-video
```

2. **Manually: put the files in place**
- File: `.github/skills/code-video/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add OpenSenseNova/SenseNova-6.8-Code2Video --skill code-video -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/OpenSenseNova/SenseNova-6.8-Code2Video --path skills/code-video
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/code-video/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/OpenSenseNova/SenseNova-6.8-Code2Video/tree/HEAD/skills/code-video/SKILL.md

## When to use it
- turn Canvas, SVG, or HTML/CSS into a video
- make animation state reproducible at each time value
- render captured frames into an MP4 with `ffmpeg`
- inspect rendered scenes through contact sheets
- match sound and picture to a music track

## Example prompts
- Create an explainer video with diagrams and export it as an MP4.
- Build a Three.js scene with a camera move, then inspect the rendered frames.
- Make a kinetic-type promo with music and picture changes tied to the beat.

## Similar
- [launch-video](https://affpapa.org/en/nevibecode/skills/launch-video.md) — skill · 3400 installs
- [8-bit-orbit-video-template](https://affpapa.org/en/nevibecode/skills/8-bit-orbit-video-template.md) — skill · 3100 installs
- [swiss-user-research-video-template](https://affpapa.org/en/nevibecode/skills/swiss-user-research-video-template.md) — skill · 2900 installs
- [video-to-superprompt](https://affpapa.org/en/nevibecode/skills/video-to-superprompt.md) — skill · 2000 installs
- [browser-video-recording](https://affpapa.org/en/nevibecode/skills/browser-video-recording.md) — skill · 1800 installs
- [testimonial-video](https://affpapa.org/en/nevibecode/skills/testimonial-video.md) — skill · 1800 installs

From the same set: [opensensenova/sensenova-6.8-code2video](https://affpapa.org/en/nevibecode/by/opensensenova/sensenova-6.8-code2video.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
