SkillsGrove
SkillsGrove/영상 제작/Changroro/code-video/code-video

code-video

설치

$npx skills add https://github.com/Changroro/code-video --skill code-video
$git clone --depth 1 https://github.com/Changroro/code-video.git /tmp/code-video && mkdir -p ~/.claude/skills && cp -r /tmp/code-video/. ~/.claude/skills/code-video
이 Agent Skill을 설치해 주세요: https://github.com/Changroro/code-video/tree/03da4e3ab149c4134a9a72eec499e1a2a41601ea/ — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITResearch a topic (a company, service, website, or product) and render a short promo video as an MP4 drawn entirely in code, in one of the bundled styles or any style the user describes or shows. The story is written from the research. Use for requests such as "make a promo video", "make an intro/launch video", "explainer video", "make a video about this company", or a named visual style. Not for live-action editing, subtitling, or sung vocals.
아래 SKILL.md는 Changroro/code-video(커밋 03da4e3)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Bae-ChangHyun. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Code Video

Make a short video drawn entirely in code from three inputs: a design (the style), the research on the topic, and the format. The story, scenes, pacing, and extras are yours.

<skill> is the folder that contains this SKILL.md. The engine is in <skill>/template/ (kit.js, render.mjs, a main.js skeleton); its API is references/kit-api.md. Helpers are in <skill>/scripts/: fetch_fonts.sh, clean_logo.py, audio.py (music and effects from audio.json), beats.py, contact_sheet.py, site_tokens.py.

Required tools: node/npm, ffmpeg with libx264, Google Chrome, and uv. If one is missing, stop and say which.

Ask first

Ask each with AskUserQuestion, skipping anything the user already gave.

  1. Topic. What the video is about: a company, service, website, or product, with a link if there is one.
  2. Design. A style, a look described in words or shown in a reference, or a path or link to a DESIGN.md. Match it against the style headers (grep '^# Style' <skill>/references/styles/*.md) and open that guide; a DESIGN.md uses brand.md, and anything else not listed uses free.md. If the user skips it, pick one of the listed styles at random.
  3. Video. Length, frame, on-screen language, and characters, with the recommended option first. Defaults: 30 s, 16:9 1920×1080, 30 fps, the conversation's language.

Then research about 10 facts with sources and the brand's real colours, fonts, and logo, show a short plan (story, palette, facts), and get approval before building.

Rules

  • Every number on screen has a source. No invented stats or UI readouts.
  • Wait for your own work: run renders in the foreground with a long Bash timeout (up to 600000 ms). In a non-interactive run nothing wakes you up again.

Build and render

cp -R <skill>/template <work-folder>/<name>-video && cd <work-folder>/<name>-video
chmod -R u+w . && npm i
bash <skill>/scripts/fetch_fonts.sh assets/fonts

Set size, fps, and length in window.VIDEO in index.html, declare the fonts (for Korean, pair each Latin face with a Hangul face through unicode-range), and write the scenes in main.js. For both languages, branch on one URL parameter and render each with QUERY=lang=ko node render.mjs video …. For sound, write audio.json and run uv run --with numpy --with scipy python <skill>/scripts/audio.py audio.json audio.wav; the render muxes it.

Look at a few stills (node render.mjs stills <times>, where a range such as 12-14 gives six frames across a moving shot, then uv run --with pillow python <skill>/scripts/contact_sheet.py stills <dir>), fix what looks wrong, and render with CRF=25 node render.mjs video <Name>.mp4.

Deliver

Send the MP4 and list the facts used with their sources.

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Bae-ChangHyun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.