krillinai-pipeline
它能做什么
这项技能检查 KrillinAI 的多步骤视频计划,例如先生成字幕,再配音和渲染。适合希望在动手之前确认计划步骤有效的创作者。
适用场景
- ✓当你想在开始之前检查一组计划中的视频输出是否有效的时候。
- ✓当你需要为视频规划要运行哪些阶段以及运行顺序的时候。
- ✓当一个较长的视频任务中途失败,你需要决定重新运行哪些步骤的时候。
技能链接
https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-pipeline/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我开始之前检查:字幕、配音和双语竖屏视频对我的视频来说是否是有效的计划?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在不做任何实际工作的情况下检查计划中的输出名称。然后它使用同一个工作文件夹,通过各自的命令运行每个阶段,并读取已保存的结果,以决定需要重新运行哪些步骤。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
KrillinAI Pipeline
Use this skill to validate a requested stage plan. Run real work through the individual stage commands because non-dry-run pipeline execution returns unsupported_command.
Plan Validation
(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" pipeline \
--outputs "subtitle,tts,vertical-bilingual" \
--dry-run)
Outputs Values
| Output | Stage |
|---|---|
subtitle |
Generate subtitle files |
tts |
Generate dubbing |
horizontal-bilingual |
Render landscape bilingual video |
horizontal-dubbed |
Render landscape dubbed video |
vertical-bilingual |
Render portrait bilingual video |
vertical-dubbed |
Render portrait dubbed video |
cover |
Generate cover |
The dry-run validates output names and returns a successful pipeline-stage JSON response. It does not execute stages or write a task manifest.
Execute The Plan
Map the validated outputs to subtitle, tts, render-horizontal, render-vertical, and cover. Run each required command independently and use the same absolute --workdir.
Recovery Strategy
- If
subtitlesucceeds and render fails, rerun only render with the same--workdir. - If TTS fails, keep subtitle outputs and rerun
ttsafter fixing provider config. - Read
krillinai_manifest.jsonbefore rerunning to avoid repeating expensive work.
Verification
- Require terminal JSON with
"ok": truefor dry-run validation. - For real work, confirm every independently executed stage succeeded.
- Confirm manifest stages and requested output files, not just the plan response.
- Inspect final requested media/cover files, not only intermediate outputs.
- For shared CLI details, read
skills/krillinai-cli/references/cli-contract.md.
常见问题
计划命令会执行视频处理吗?
不会。不支持实际运行计划,因此每个阶段都必须单独运行。
哪些输出可以被计划?
字幕、配音、横屏和竖屏版本(双语或配音形式),以及封面。
如果某一步失败了怎么办?
之前的结果可以保留,只需在找出原因并修复后重新运行失败的步骤。
详情
作者的原始描述
Use when validating or documenting a multi-stage KrillinAI CLI output plan; the current pipeline command supports dry-run planning only, not end-to-end execution.
repo: krillinai/OpenCreator
热度
- GitHub 星标
- 14k
- 排名
- #11254
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
krillinai-cli
14k帮你的智能体使用 KrillinAI 命令行工具,从一段视频中生成字幕、配音、渲染视频和封面图。
krillinai-cover
14k帮你的智能体根据文字提示为视频生成封面图,然后检查图片和保存的提示词。
krillinai-render-horizontal
14k让你的智能体使用 KrillinAI 渲染带双语字幕的横屏视频,或带目标语言字幕的配音版本。
krillinai-render-vertical
14k让你的智能体把视频转换为竖屏版本,配上简短的双语字幕或配音音频,并检查字幕是否易于阅读。