Duyi Koubo Lite logo

Duyi Koubo Lite

Community
duyi2076
duyi-koubo-lite

把一镜到底的中文竖屏口播 MP4/MOV 剪成可发布成片。用 word_id 锁定删改与断句,对删除词残音、孤立单字字幕、输出帧率、音画时长和标题标点实施硬门禁;成片从真实音轨重新转写,必要时由第二模型复核。横屏素材改用 duyi-koubo-wide。

Overview

Publisherduyi2076
Repositoryduyi-scripted-video-edit
Skill nameduyi-koubo-lite
Stars
39
Forks
5
Bundled files
19
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.

  • 19 bundled files

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

  • Open source

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

Installation

Install the Duyi Koubo Lite 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/duyi2076/duyi-scripted-video-edit/tree/main/duyi-koubo-lite
  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/duyi2076/duyi-scripted-video-edit.git /tmp/duyi-scripted-video-edit
mkdir -p .claude/skills
cp -r /tmp/duyi-scripted-video-edit/duyi-koubo-lite .claude/skills/duyi-koubo-lite
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Duyi Koubo Lite 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 Duyi Koubo Lite 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 Duyi Koubo Lite 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.

竖屏口播轻剪

一条一镜到底的竖屏口播,删掉废话和口误,配上字幕,出成片。默认不打断人,出片后他只看成片。

本 Skill 只负责竖屏,拥有自己的入口、字体、字幕、钩子与测试。检测到横屏会直接停止并提示改用 duyi-koubo-wide;不会借用 Wide 的样式,也不会因 Wide 改版而变化。底层转写、切点和时间轴算法来自内部共用引擎。

判断由你(运行本 skill 的 AI)做,算术由脚本做。分工是固定的:凡是差一毫秒就出错的交给脚本,凡是要理解语义的你自己判断。

八步

步做什么谁干详细规则
1探测画幅、真实帧时间、音轨起始脚本—
2豆包逐词转写脚本references/02-转写.md
3判定删哪些、纠哪些、断在哪你references/03-判定.md
4序号铺成时间戳与最终稿脚本—
5读最终稿,写顶部钩子你references/05-钩子.md
6切点、拼接、烧字幕、响度脚本references/06-样式.md
7成片复转,与最终稿逐字比对脚本—
8验收,交数字你references/08-验收.md

走到哪一步再读哪一份,不要一次全读完。

脚本那几步也要盯着看输出——它们会打对账数字、门禁结果、被并回的删除词,出了问题当场就报在屏幕上。看见异常先停下来查清楚,不要往下走。

第 3 步和第 5 步分开是有原因的。第 3 步是贴着 3088 个词抠细节,第 5 步是跳出来看全片讲了什么——钩子要从删干净之后的两千字最终稿里挑,不是从带着一堆重录废话的原始转写里挑。在同一遍里写,钩子会被刚扫过的细节拖住,从「上一句刚看到的话」里找,而不是从全片最有张力的地方找。

环境

bash
export DUYI_ASR_TOOL=/路径/到/豆包 ASR 调用脚本
export DUYI_ASR_ENV=/路径/到/凭据文件
export DUYI_ASR_PYTHON=/隔离环境/bin/python  # 可选,系统 Python 缺依赖时设置

凭据文件需要 AGENT_PLAN_ASR_API_KEY、AGENT_PLAN_ASR_WS_URL、AGENT_PLAN_ASR_RESOURCE_ID、AGENT_PLAN_ASR_MODEL。

跑法

所有命令都在 skill 目录下执行(plan.py 与 verify.py 会 from cut import,在别处跑会 ImportError)。工作目录用绝对路径传进去,每条片子一个新目录,不要复用。

bash
cd /path/to/duyi-koubo-lite
W=~/Videos/duyi-koubo/current/work

# 1 探测
python3 cut.py probe --source 原片.mov

# 2 转写 → $W/transcript.json     先读 references/02-转写.md
python3 asr.py --source 原片.mov --work "$W"

# 3 你判定 → $W/edits.json        先读 references/03-判定.md
#   (删哪些、纠哪些、断在哪、哪一处关键词标蓝,一遍读完一起给出)
#   cue_highlights 每条字幕最多一处;没有明确重点就不标
#   不使用数字下标;cues.py dump/marks 全程输出 word_id

# 4 铺开 → decisions.json + 最终稿.md
python3 plan.py --transcript "$W/transcript.json" --edits "$W/edits.json" \
  --out "$W/decisions.json" --md "$W/最终稿.md"

# 5 读最终稿写钩子                 先读 references/05-钩子.md
#   钩子写进 $W/edits.json 的 "hook" 字段,然后重跑一次第 4 步——
#   cut.py 读的是 decisions.json 里的 hook,不重跑钩子不会进成片
python3 plan.py --transcript "$W/transcript.json" --edits "$W/edits.json" \
  --out "$W/decisions.json" --md "$W/最终稿.md"

# 6 剪辑出片                       样式规格见 references/06-样式.md
#   成片文件名不叫「成片」,要能在文件夹里一眼认出哪条是哪条:
#   竖屏用顶部钩子(换行转空格);横屏没有钩子,读最终稿起 6-12 字主题短名
python3 cut.py cut --source 原片.mov --decisions "$W/decisions.json" --out "$W/成片.mp4"

# 7 成片复转逐字比对(--work 用新目录,不要跟上一版成片共用)
#   cut-report.json 由 cut.py 写在成片同目录,--report 跟着成片位置走
python3 verify.py --final "$W/成片.mp4" --script "$W/最终稿.md" \
  --decisions "$W/decisions.json" --work "$W/verify" \
  --report "$W/cut-report.json" --spread   # 缺 --report 时 --spread 不生效,拿不到偏差数字

# 8 验收交数字                     先读 references/08-验收.md

硬边界

  • 只删不改。不替使用者换句子、补观点、润色。纠错只纠 ASR 听错,不动他真实说过的话
  • 逐词稿必须来自豆包 ASR 且绑定当前源片,不用其他模型、不复用别的视频的转写
  • 决定一旦落盘,逐字稿锁定,下游不得静默改字
  • 只接受竖屏素材;横屏一律交给 duyi-koubo-wide
  • 不做动画卡片、不做调色、不做变速、不做配乐、不做多机位、不自动找 B-roll

跑的时候不许做的事

  • 不许为了跑通而放宽阈值、注释掉校验、加 try/except 吞异常。门禁拦住说明有真问题
  • 不许改业务逻辑去迁就流程。接口对不上就报出来,不要重写算法
  • 不许伪造数字。没跑的项目写「没跑」,不要填一个看起来合理的值

中间产物都能打开看

work/ 下每一步都落盘:transcript.json(逐词稿)、逐词稿.txt 与 分条稿.txt(判断时的工作稿)、edits.json(你的判断)、decisions.json(铺开后的决定)、最终稿.md(删完的完整文本)。出问题时打开对应那份,肉眼就能看出哪一步歪了。这比层层校验实用。

跑完写项目记忆

通用模板见 references/项目记忆.md。每位使用者把自己的偏好写在工作目录里;仓库不预置任何人的私人偏好。

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 Duyi Koubo Lite AI skill do?

把一镜到底的中文竖屏口播 MP4/MOV 剪成可发布成片。用 word_id 锁定删改与断句,对删除词残音、孤立单字字幕、输出帧率、音画时长和标题标点实施硬门禁;成片从真实音轨重新转写,必要时由第二模型复核。横屏素材改用 duyi-koubo-wide。

Why use Duyi Koubo Lite on TypingMind?

Because you install it once and use it with any model. Duyi Koubo Lite 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 Duyi Koubo Lite in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/duyi2076/duyi-scripted-video-edit/tree/main/duyi-koubo-lite. 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 Duyi Koubo Lite?

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 Duyi Koubo Lite?

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

Is the Duyi Koubo Lite AI skill free?

It is published on GitHub by duyi2076. Check the repository for licensing terms. 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 👇