cs-code-video SKILL.md skillA
cs-code-video from chenshuo2004/cs-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chenshuo2004/cs-skills/cs-code-video@git:20261006.c2a8989Pins git:20261006.c2a8989 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chenshuo2004/cs-skills
- Path
cs-code-video/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261006.c2a8989, committed Oct 6, 2026
- First version recorded
- Oct 3, 2026
- Size
- 15,091 bytes
- Repository stars
- 204
- License
- MIT
用代码做动画视频:页面暴露 render(t),Playwright 逐帧截图 + FFmpeg 合成 mp4,可接合成配乐、出图和配音。通用模式先明确主题、规格、风格和声音,出风格卡、分镜与关键帧后逐镜制作;Vibe知识大赏模式额外查证来源、记录真实素材许可、先渲 10 秒样片。触发词包括 $cs-code-video、用代码做视频、知识解说动画、Vibe知识大赏、来源可核查的代码科普片、KAI 教程片、像素动画、片头。固定暗夜星空系列用 cs-knowledge-film,固定像素解说系列用 cs-pixel-explainer;真实网页演示、电商视频和 ChatCut 策划各用对应 skill。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- CS Skills · 陈硕 | portable skill entry | https://github.com/ChenShuo2004/cs-skills --> # CS 代码视频 模型不直接生成视频。它写一个网页,网页暴露 `window.render(t)` 画出第 t 秒,脚本逐帧截图,再用 FFmpeg 合成 mp4。配乐和音效用 numpy 合成,配音用 edge-tts。 一句话提示词做视频是抽卡,效果不可控,也复现不了。本 skill 的做法:**先把规划摆到用户面前,确认了再动手**。5 项输入 → 导演层 → 三张风格卡 → **分镜表(等确认)** → **3 张关键帧(等确认)** → `brief.md` → 逐镜头制作 → 自评 ≥8 分 → 交付。 用户明确要 **Vibe 知识大赏或来源可核查的代码科普片**时,按 [references/vibe-knowledge.md](references/vibe-knowledge.md) 的六步模式执行。它在研究、真实素材、输入默认值、KAI 角色和 10 秒样片上的规则优先于下文通用模式;渲染和 QA 仍用本 skill 的工具。 **管线固定,画面不固定。** 渲染、配音、混音、QA 每次一样;画面语言每次从选题里长出来,再套上陈硕的签名层。不要先拿模板再塞内容。 ## 交付边界 - 默认值(只在用户明确说「你定」或无人值守时才用,并写进风格卡让用户改):单个 HTML 工程 + 一支 mp4,1920×1080、30fps、30 秒、代码合成配乐、不配音。 - 通用模式的画面由代码生成,或由 GPT 按资产清单出图后代码做动画(见 hybrid.md);不从网上下载图片或视频素材。Vibe 知识模式可使用来源和许可可追溯的真实证据图,按对应参考文件记录。 - GPT 出图要花钱:真正出图前先 `gen_image.py --dry-run` 把张数和模型给用户看,确认后再出。 - 通用模式的事实来自用户给的原材料,不确定的不写;Vibe 知识模式必须主动联网核对,建立逐条来源表。 - 参考视频只学结构、节奏和手法,不照搬别人的素材、外观和文案;学到的手法记进 `signature.md` 的吸收清单。 - 不上传、不发布。 …
Read the whole file at its exact version.
How to install
mdr add chenshuo2004/cs-skills/cs-code-video@sha256:99cd5c31aba57c5aThe line at the top of this page pins the label git:20261006.c2a8989, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6ravhm47473kr4y2)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 3, 2026 and Oct 6, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261006.c2a8989 latest | 2026-10-06 | c2a8989 | 15,091 B | A | view · diff |
| git:20261004.afc95fa | 2026-10-04 | afc95fa | 15,477 B | A | view · diff |
| git:20261003.44a553d | 2026-10-03 | 44a553d | 15,321 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15091 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
chenshuo2004/cs-skills · 204 stars · license MIT · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6ravhm47473kr4y2 GET https://markdownregistry.com/api/v1/resolve?ref=chenshuo2004/cs-skills/cs-code-video GET https://markdownregistry.com/api/v1/blob/99cd5c31aba57c5a0880fe8321aa1018499173472de0218d744031bde3c30ba9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.