cs-knowledge-film

cs-knowledge-film is a skill for Codex from ChenShuo2004/cs-skills. It costs 105 tokens per session (1,807 once invoked), scanned A, original, MIT.

A workflow for making 1080p educational videos in a specified dark, starry style, with narration, scenes, music or sound effects, and Chinese-English subtitles.

In plain words
What is it for?
Use it to create the script, visual metaphors, scene specification, voice track, subtitles, and rendered video for a knowledge explainer.
Why use it?
It turns an abstract idea into a planned short film instead of leaving the script, visuals, timing, and subtitle files to be assembled separately.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it to create the script, visual metaphors, scene specification, voice track, subtitles, and rendered video for a knowledge explainer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenshuo2004/cs-skills/cs-knowledge-film
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ChenShuo2004/cs-skills --skill cs-knowledge-film
Clone the repo
git clone --depth 1 https://github.com/ChenShuo2004/cs-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cs-knowledge-film

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-knowledge-film/github.svg)](https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-knowledge-film)
Your own site
<a href="https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-knowledge-film"><img src="https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-knowledge-film/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cs-knowledge-film

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-knowledge-film"><img src="https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-knowledge-film.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.01807
Opus 5.5 $0.00042 $0.00723
Sonnet 5.5 $0.00021 $0.00361
Haiku 4.5 $0.00011 $0.00181

Measured 18d ago against content hash ca375522cfdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cs-knowledge-film scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/render.mjs, scripts/score.py, scripts/timeline.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cs-knowledge-film/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CS 暗夜知识片

把一个抽象概念讲成一部安静、克制、有电影感的知识短片。本 skill 的暗夜星空视觉是用户选择这一风格时使用的实现,不是所有知识视频的默认视觉。先找到选题的核心问题与可见的动作,再决定使用现有场景、扩展场景,或为该题材另做画面。

交付

  • 一个项目目录:spec.json(唯一需要手写的文件)、audio/、timeline.json、subtitles.srt、preview.jpg、video.mp4。
  • 视频默认 1920×1080、30fps、H.264 + AAC;可选中文配音(edge-tts)+ score.py 生成的配乐与音效(参照原片:A 小调低音长音、温暖和弦铺底、玻璃钟琴、与画面事件逐一对齐的打字/转轮/呼啸/撞击声,-16 LUFS);画面内置中英双语字幕,同时导出 subtitles.srt。
  • 不上传、不发布。BGM 只用用户提供的文件(spec.bgm)。

风格速查(细节见 references/style.md)

  • 底色近黑带一点藏蓝,慢速闪烁的星空,暗角 + 轻微颗粒。
  • 字体:中文宋体/衬线(Noto Serif SC),英文 Lora 斜体;不用黑体。
  • 颜色只有三种语义:金=重点/惊奇/答案,冰蓝=结构/线条/已知,绯红=噪声/错误/被排除。
  • 左上角章节标签 01 猜 THE GUESS;底部中文字幕 + 英文斜体小字。
  • 动效慢:淡入 0.6–1s、缓出曲线;光点有辉光和呼吸感;不要弹跳、不要转场特效。

工作流

1. 先定三件事

缺了才问,能自己判断就不问:

  1. 主题与一句话结论(这支片子最后让观众记住哪一句)
  2. 时长(默认 2–3 分钟;每分钟约 220–250 字口播)
  3. 是否需要英文字幕(默认要,和参考片一致)

2. 写口播稿(见 references/script.md)

先提炼一句话结论、主要误解和适合这个题目的画面隐喻,再设计钩子与章节。可参考“体验式钩子 → 标题 → 3–5 章 → 回到开头收束”,但故事结构由内容决定,不必重复参考片的章节或结尾。

每句 8–25 字,一句一个意思,适合被逐句打在字幕上。数字和史实要核对,不编造。

3. 拆场景写 spec.json(见 references/spec.md)

把 assets/example-spec.json 当作格式示例,不复制其中的场景顺序或视觉隐喻。先列出每章要让观众看见的变化,再选现有场景类型;现有类型表达不了时,按 references/spec.md 的扩展说明新增场景。

概念形态 场景类型
预期 / 猜下一个字 / 填空 typewriter
候选词概率、采样、温度 probs
片名 title
二分、度量、量化 numberline
罕见事件、时间、希望、灯火 landscape(烽火、时间条、弧线、灯)
日常 vs 罕见新闻 city(夜景、下雪、头条)
公式、定义 formula
语言、冗余、噪声、压缩 textplay
传输、编码、信道 signal / probe
同样数据不同意义 compare
信息茧房、同质化 cards
名人原话 quote
真实图片(星图、照片) image
停顿、提问 orb / blank

事件时间用 "L2"(本场第 2 句开始)、"L2e"(第 2 句结束)、"L2+0.5" 锚定到口播,配音变长变短都不会错位。

4. 配音 → 时间轴 → 预览 → 渲染

把 scripts/ 下 4 个文件放在任意位置,项目目录里只放 spec.json:

python scripts/tts.py  <项目目录>          # 逐句配音 audio/line_XXX.mp3(需联网,免费)
node   scripts/timeline.mjs <项目目录>     # 按真实音频长度排时间轴,拼 narration.wav + subtitles.srt
python scripts/score.py <项目目录>         # 按场景和事件生成配乐 + 音效 score.wav(改了 spec 就重跑)
node   scripts/render.mjs <项目目录> --preview   # 每场 2 帧拼成 preview.jpg —— 必须先看
node   scripts/render.mjs <项目目录> --still 42  # 单帧排查
node   scripts/render.mjs <项目目录>              # 全量渲染 video.mp4
node   scripts/render.mjs <项目目录> --remux      # 只换声音:复用已渲染画面重新混音

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · -5 lines ca375522cfdd
  2. 23d ago First seen · 95 lines · 105 tokens per session scan A 4a122afe7c23

Subscribe to this mod's changes

cs-knowledge-film is a skill published in the GitHub repository ChenShuo2004/cs-skills (204 stars, last pushed 18d ago), licensed MIT. It adds 105 tokens to every session and 1,807 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens