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.
npx skills add znlgis/my-opencode-deepseek-config --skill video-studiogit clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-configWrote 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.
[](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/video-studio)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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`——旧分块配新时间轴会拼出"画面对不上旁白"的片子。 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/里,按需读(见文末目录)。
铁律(违反任意一条,成片一定会出问题)
- 先分诊,再动手:用户给了素材 / 链接 / 网上下载得到画面 → 走 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。 - 先问诊,再提案(每个新成片任务的第一步):
intake.py固定 8 题一次问完,别一句一轮; 制作方式、题材、时长、气质、声线、配乐没答完,propose.py会拦。逃生口--no-intake会留痕。 - 先提案,再出片(不论用户是否要求):
propose.py现场采样 N 个候选 → 用户挑一个 →--confirm冻结work/design.json→ 才允许渲染。--confirm之前render.py的frames/all会被提案闸拦下(--require-proposal直接失败)。只有"纯修复/纯重渲"可跳过并说明原因。 - 音频先做,画面后做:时间轴必须由 TTS 实测时长反推,绝不按字数估算(第 20 句起就会漂)。
- 每帧是纯函数:
draw(t, frame) -> Image。禁random/time();要随机用filmkit.hash2/hash3/vnoise,同一帧号永远画同一张图。 - 字幕与大字落在安全区:正文
y ∈ [58, 974],字幕带y ∈ [872, 1030],永不超过 1030。 - 原始帧直通编码:PIL 帧 →
rawvideo管道 →libx264(默认 CRF18)。不要用cv2.VideoWriter做中间文件(慢 2 倍且二次有损)。 - 混音用 numpy 采样级叠加,不要一条 ffmpeg 命令喂上百个输入(Windows 上会非确定性静音);母带用两遍
loudnorm到 -16 LUFS / 真峰 ≤ -1 dBTP。 - 声音跟着画面走:该响的地方在场景代码里登记提示点(
scenes.py的cues()钩子 /film.json的sfx.cues),画面改了提示点自动跟着改。 - 没看清就加停留,别整片放慢:
film.json的hold(全局)或lines[].hold(单句)在语音结束后加停留;配乐bpm对齐小节。 - 偏移全靠指纹绑死:签核绑内容指纹(剧本 +
scenes.py+ 设计),改任一即失效;分块渲染按绝对起始帧命名并显式查缺口,改内容后--resume会拒绝复用旧分块。 - 交付前必须跑质检 + 亲眼看 3 张静帧(
read):"能出图"不等于"没问题"。skipped不等于通过,报告里要说明为什么没跑。 - 默认 PIL 引擎(
engine: pil):依赖少、确定性强。要"粒子形变/实时着色器质感"才上浏览器(--engine web,需 playwright + Chromium),换引擎要重做画面。 - 交付前跑一次独立终检(
--stage review):生成评审包(每段 enter/settle 两帧 +PACKET.md+ 门禁摘要),派干净上下文的 subagent 逐条给「✓/✗/无法验证」+ 帧号证据。制作者自查有确认偏差,"我以为我做了"的部分只有独立评审抓得到;评审包生成 ≠ 评审完成。
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.
- assets/design_fixture.json 1.8 KB
- assets/film.json 3.5 KB
- assets/footage/footage.template.json 1.4 KB
- assets/golden_frames_compose_portrait.json 2.7 KB
- assets/golden_frames_compose.json 2.7 KB
- assets/golden_frames_portrait.json 2.0 KB
- assets/golden_frames.json 2.0 KB
- assets/scenes_hybrid_template.py 5.8 KB runs code
- assets/scenes.py 138 KB runs code
- assets/voice_loudness.json 719 B
- assets/web/engine.js 23 KB runs code
- assets/web/film.js 21 KB runs code
- assets/web/index.html 2.6 KB
- assets/web/qa_text.js 7.4 KB runs code
- assets/web/style.css 560 B
- LICENSE 1.0 KB
- references/aesthetic-rules.md 9.5 KB
- references/appearance.md 19 KB
- references/audio-variation.md 11 KB
- references/audio.md 33 KB
- references/beat-sync.md 6.5 KB
- references/change-impact.md 5.1 KB
- references/delivery-gates.md 27 KB
- references/export-handoff.md 5.7 KB
- references/final-review.md 6.0 KB
- references/footage.md 26 KB
- references/frame-qa.md 46 KB
- references/hybrid-overlay.md 15 KB
- references/machine-facts.md 7.7 KB
- references/pipeline.md 23 KB
- references/pitfalls.md 13 KB
- references/portrait-and-motion.md 9.4 KB
- references/proposal.md 25 KB
- references/quality-gates.md 17 KB
- references/scene-authoring.md 8.8 KB
- references/scene-grammar.md 25 KB
- references/script-index.md 18 KB
- references/sfx-design.md 18 KB
- references/shot-cards.md 6.0 KB
- references/web-engine.md 17 KB
- references/word-timeline.md 12 KB
- requirements.txt 3.8 KB
- schemas/design.schema.json 21 KB
- schemas/film.schema.json 41 KB
- schemas/footage.schema.json 13 KB
- schemas/proposal.schema.json 4.3 KB
- scripts/beatgrid.py 14 KB runs code
- scripts/compose.py 30 KB runs code
- scripts/critic.py 18 KB runs code
- scripts/designkit.py 123 KB runs code
- scripts/editlist.py 5.8 KB runs code
- scripts/filmcheck.py 48 KB runs code
- scripts/filmkit.py 149 KB runs code
- scripts/footage.py 27 KB runs code
- scripts/footageedit.py 36 KB runs code
- scripts/footagekit.py 37 KB runs code
- scripts/footageqa.py 58 KB runs code
- scripts/gates.py 32 KB runs code
- scripts/grammar.py 27 KB runs code
- scripts/intake.py 42 KB runs code
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.
- yesterday Changed · -1,034 lines 8c22339dff74
- 7d ago Changed · +10 lines 25fe3d092513
- 11d ago Changed · +131 lines · +15 tokens per session a749cedb7922
- 12d ago First seen · 1,207 lines · 184 tokens per session scan C 753b6855f0c8
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.
video-studio compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| video-studioznlgis/my-opencode-deepseek-config | Skill | 65 | yesterday | MIT | C | 199 | Claude Code, Codex |
| orca-emulator-androidstablyai/orca | Skill | 147k | today | MIT | A | 102 | Claude Code, Codex |
| skill-creatorzhayujie/CowAgent | Skill | 48k | yesterday | MIT | A | 61 | Claude Code, Codex |
| ralplanYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 21 | Claude Code |
| create-verification-skillYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 45 | Claude Code |
| rememberYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 20 | Claude Code |
| python-engineering-guidelinesanywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 75 | Codex |