video-studio

video-studio is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 199 tokens per session (10,610 once invoked), scanned C, original, MIT.

A code-based video production procedure for making Chinese educational, documentary, promotional, or animated videos from scripts, generated speech, graphics, subtitles, music, and sound effects. It uses measured audio timing, frame-by-frame rendering, FFmpeg encoding, and quality checks.

In plain words
What is it for?
Use it to create a video from a report or script, add narration and subtitles, mix sound, or check and repair video timing and quality.
Why use it?
It addresses common problems such as audio and video drifting out of sync, blurry output, unsafe subtitle placement, and inconsistent rendering.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it to create a video from a report or script, add narration and subtitles, mix sound, or check and repair video timing and quality.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/my-opencode-deepseek-config/video-studio
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 znlgis/my-opencode-deepseek-config --skill video-studio
Clone the repo
git clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-config

Made for: Claude Code, 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 video-studio

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/video-studio/github.svg)](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/video-studio)
Your own site
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/video-studio"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/video-studio/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 video-studio

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/video-studio"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/video-studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,610 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00199 $0.10610
Opus 5.5 $0.00080 $0.04244
Sonnet 5.5 $0.00040 $0.02122
Haiku 4.5 $0.00020 $0.01061

Measured yesterday against content hash 8c22339dff74, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

video-studio scanned grade C with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 19 executable files (assets/scenes_hybrid_template.py, assets/scenes.py, assets/web/engine.js, …), 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

拼接前显式检测缺口)。**改台词 / 改 scenes.py / 改设计之后 `--resume` 会拒绝复用旧分块**(计划指纹对不上),并提示 `rm -rf work/segments`——旧分块配新时间轴会拼出"画面对不上旁白"的片子。
opencode/skills/video-studio/SKILL.md · 314 lines

How it starts

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

视频工作室(video-studio)

一句话:视频 = 剧本 + 音频实测时长 + 画面(素材或代码生成)+ ffmpeg 编码 + 自动质检。 两条生产线共用同一套底盘(TTS 实测时长、时间轴、采样级混音、loudnorm、门禁),区别只在"画面从哪来"。

本文件只放必须常驻上下文的东西:铁律、五步上手、目录。 八阶段规格、引擎选型、画质清单、声音设计、各模块细节都在 references/ 里,按需读(见文末目录)。

铁律(违反任意一条,成片一定会出问题)

  1. 先分诊,再动手:用户给了素材 / 链接 / 网上下载得到画面 → 走 footage 线(scripts/footage.py,契约是 footage.json); 都没有、且题材不该用现成画面(数据/抽象/品牌/动画)→ 走 零素材线(scripts/render.py + work/design.json)。 两边都占 → 默认 hybrid 形态 3(素材打底 + 小面积叠加,scripts/compose.py);按段拼接必须显式 --hybrid-form 1。 走错线整片返工;细则见 references/footage.md 与 references/hybrid-overlay.md。
  2. 先问诊,再提案(每个新成片任务的第一步):intake.py 固定 8 题一次问完,别一句一轮; 制作方式、题材、时长、气质、声线、配乐没答完,propose.py 会拦。逃生口 --no-intake 会留痕。
  3. 先提案,再出片(不论用户是否要求):propose.py 现场采样 N 个候选 → 用户挑一个 → --confirm 冻结 work/design.json → 才允许渲染。 --confirm 之前 render.py 的 frames/all 会被提案闸拦下(--require-proposal 直接失败)。只有"纯修复/纯重渲"可跳过并说明原因。
  4. 音频先做,画面后做:时间轴必须由 TTS 实测时长反推,绝不按字数估算(第 20 句起就会漂)。
  5. 每帧是纯函数:draw(t, frame) -> Image。禁 random/time();要随机用 filmkit.hash2/hash3/vnoise,同一帧号永远画同一张图。
  6. 字幕与大字落在安全区:正文 y ∈ [58, 974],字幕带 y ∈ [872, 1030],永不超过 1030。
  7. 原始帧直通编码:PIL 帧 → rawvideo 管道 → libx264(默认 CRF18)。不要用 cv2.VideoWriter 做中间文件(慢 2 倍且二次有损)。
  8. 混音用 numpy 采样级叠加,不要一条 ffmpeg 命令喂上百个输入(Windows 上会非确定性静音);母带用两遍 loudnorm 到 -16 LUFS / 真峰 ≤ -1 dBTP。
  9. 声音跟着画面走:该响的地方在场景代码里登记提示点(scenes.py 的 cues() 钩子 / film.json 的 sfx.cues),画面改了提示点自动跟着改。
  10. 没看清就加停留,别整片放慢:film.json 的 hold(全局)或 lines[].hold(单句)在语音结束后加停留;配乐 bpm 对齐小节。
  11. 偏移全靠指纹绑死:签核绑内容指纹(剧本 + scenes.py + 设计),改任一即失效;分块渲染按绝对起始帧命名并显式查缺口,改内容后 --resume 会拒绝复用旧分块。
  12. 交付前必须跑质检 + 亲眼看 3 张静帧(read):"能出图"不等于"没问题"。skipped 不等于通过,报告里要说明为什么没跑。
  13. 默认 PIL 引擎(engine: pil):依赖少、确定性强。要"粒子形变/实时着色器质感"才上浏览器(--engine web,需 playwright + Chromium),换引擎要重做画面。
  14. 交付前跑一次独立终检(--stage review):生成评审包(每段 enter/settle 两帧 + PACKET.md + 门禁摘要),派干净上下文的 subagent 逐条给「✓/✗/无法验证」+ 帧号证据。制作者自查有确认偏差,"我以为我做了"的部分只有独立评审抓得到;评审包生成 ≠ 评审完成。

Read the full file on GitHub · 314 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · -1,034 lines 8c22339dff74
  2. 7d ago Changed · +10 lines 25fe3d092513
  3. 11d ago Changed · +131 lines · +15 tokens per session a749cedb7922
  4. 12d ago First seen · 1,207 lines · 184 tokens per session scan C 753b6855f0c8

Subscribe to this mod's changes

video-studio is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (65 stars, last pushed yesterday), licensed MIT. It adds 199 tokens to every session and 10,610 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

video-studio compared with skills from other repositories

video-studio next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-studioznlgis/my-opencode-deepseek-configSkill65yesterdayMITC199Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill147ktodayMITA102Claude Code, Codex
skill-creatorzhayujie/CowAgentSkill48kyesterdayMITA61Claude Code, Codex
ralplanYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA21Claude Code
create-verification-skillYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA45Claude Code
rememberYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA20Claude Code
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.9kyesterdayApache-2.0A75Codex