Cs Code Story Video logo

Cs Code Story Video

Community
ChenShuo2004
cs-code-story-video

把中文口播、角色和参考素材制作成可验收的 16:9 代码叙事视频:A-roll 角色讲述、全屏场景 B-roll、真实音频时码、Remotion 样片与成片、3:4/4:3 杂志风封面。仅用于代码驱动的叙事视频,不替代 ChatCut 剪辑、数字人产品片或电商复刻。

Overview

PublisherChenShuo2004
Repositorycs-skills
Skill namecs-code-story-video
Stars
204
Forks
21
Bundled files
17
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 17 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ChenShuo2004 on GitHub. Read the source before you install it.

Installation

Install the Cs Code Story Video AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ChenShuo2004/cs-skills/tree/main/cs-code-story-video
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ChenShuo2004/cs-skills.git /tmp/cs-skills
mkdir -p .claude/skills
cp -r /tmp/cs-skills/cs-code-story-video .claude/skills/cs-code-story-video
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cs Code Story Video in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cs Code Story Video on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cs Code Story Video is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CS 代码叙事视频

把一条故事做成可重复渲染的画面。角色在 A-roll 讲述;B-roll 用独立的全屏场景演出事件,而不是把信息面板放大或换字。默认 KAI 像素角色、1920×1080、30fps、无 BGM、无烧录口播字幕。角色、配色和场景可随项目替换;不能把《人生意义》的七章、台词和镜头当成通用模板。

何时使用

  • 用户要把自己的主题、口播或录音做成代码渲染的叙事短片,并希望交付视频、字幕时间文件和封面。
  • 只要写真实项目的个人 IP 口播,优先 $cs-personal-ip-script;只要最终音频的短语时码,使用 $cs-narration-phrase-timeline;要 ChatCut 策划或产品数字人视频,使用各自专用 Skill。当前 Skill 在完整制作过程中按实际需要使用这些能力,不强迫所有项目经过它们。

输入与工作目录

从用户给出的主题、稿件、原声、人物和参考资料中提取信息;不把参考画面、录音或未经核实的数据复制到新片中。已有工程就继续原工程;新工程默认建在当前工作区 video/<项目名>/。原素材保持只读,复制工作副本并记录 SHA-256。Skill 仓库只存可复用的代码、KAI 默认像素角色与测试,不收录用户项目的原声、稿件或导出视频。

先读 项目与镜头合同。可用 scripts/scaffold.mjs 从 assets/starter/ 建工程;只在新目录运行它,不覆盖已有工程。

从内容到成片

  1. 内容与证据。 明确受众、核心问题、故事推进与可展示的事件。参考素材只分析节奏、动效和构图。用户只有主题时,完成可朗读口播、章节逻辑和场景方案,然后等待其最终录音;不编造时码或替用户生成声音。真实项目经历适用时可调用 $cs-personal-ip-script。
  2. 锁定音频。 拿到最终音频后,用 FFprobe 测时长、SHA-256 锁来源。需要短语级字幕时,必须有与录音一致的逐字稿,再调用 $cs-narration-phrase-timeline。只有自动转写稿时先标为待校对;不得把 ASR 猜测、按字数估时或超出音频长度的时间戳当成准确对齐。有效时间表可用 scripts/phrases-to-srt.mjs 转为后期 SRT。
  3. 编排镜头。 以帧为整数写 story.json:章节卡约 21 帧,章首必须有主题 B-roll,章内关键句按内容切换 A-roll 与 B-roll。A-roll 可左、右或中站位;B-roll 必须是独立全屏场景。人物轻微呼吸或眨眼,组件分段进退场;每个场景物件承担具体叙事任务。给后期字幕留清晰区域,文字只保留必要的章节词与物件关键词。
  4. 代码制作。 用 starter 的时间轴、场景注册、角色层、像素动效原语和封面组件作为工程起点。每条片子的事件场景在 src/scenes.tsx 中重新设计;色彩或风格可更换,不通过重命名旧场景假装创作。用 scripts/validate-story.mjs 检查素材、哈希、章节、镜头和音频实际时长,再渲染。
  5. 样片与完整版。 先导出覆盖开头两章的样片,查看章节卡、A/B-roll 差异、角色身份、文字和组件进退场。修正明显问题后继续完整渲染;只有用户明确设了审批点才暂停。样片与全片使用同一音频和镜头数据,不能为凑时长拉伸原声。
  6. 封面与验收。 同一视频制作 1200×1600 和 1600×1200 两张旧纸、黑白主体、红色大字的杂志风封面;文字由代码排版,标题与主体在缩略图下仍需可读。按 成片验收 检查视频、音频、镜头、封面和尾句。没有实际人耳听审时明确记录,不能写成已听审。

交付

在项目目录保留 story.json、原稿及来源记录、镜头表、有效的 phrase-timeline.json/SRT(若满足真实对齐条件)、开头样片、完整版 MP4、两张封面和 QA 报告。若因缺最终录音或准确朗读稿而不能进入后续阶段,交付已完成的脚本与场景方案,准确说明待补输入。

默认不发布、不上传素材、不推送仓库。用户指定新的画幅、封面风格、字幕或音乐时,以该项目要求为准,并在验收中检查这些新条件。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cs Code Story Video AI skill do?

把中文口播、角色和参考素材制作成可验收的 16:9 代码叙事视频:A-roll 角色讲述、全屏场景 B-roll、真实音频时码、Remotion 样片与成片、3:4/4:3 杂志风封面。仅用于代码驱动的叙事视频,不替代 ChatCut 剪辑、数字人产品片或电商复刻。

Why use Cs Code Story Video on TypingMind?

Because you install it once and use it with any model. Cs Code Story Video is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cs Code Story Video in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ChenShuo2004/cs-skills/tree/main/cs-code-story-video. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cs Code Story Video?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cs Code Story Video?

As many as you like. As long as a model supports skills, you can use Cs Code Story Video with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cs Code Story Video AI skill free?

Yes. It is published on GitHub by ChenShuo2004 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇