krillinai-cli
What it does
This skill guides the use of the KrillinAI command-line tool, which handles subtitles, dubbing, video rendering and cover images. It is for creators who want to localize or repurpose their videos.
When to use it
- ✓When you want subtitles in a second language for a video.
- ✓When you want dubbed audio in another language for a video.
- ✓When you need a vertical, portrait version of a landscape video.
Skill link
https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you make Chinese subtitles and a dubbed version for my English YouTube video, and then a vertical version?”
5 new skills a week. 1 minute to read.
How it works
The agent chooses the right KrillinAI command for your goal, such as subtitles, dubbing or rendering, and reads the result files to confirm each step worked. Each stage runs in its own work folder.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
KrillinAI CLI
Use this as the top-level routing skill for KrillinAI command-line work.
Build And Locate The Binary
Build both KrillinAI binaries through the repository script:
pnpm krillinai:build
For the current machine, locate the CLI without assuming a platform or architecture:
TARGET="$(node -p "process.platform + '-' + process.arch")"
SUFFIX="$(node -p "process.platform === 'win32' ? '.exe' : ''")"
KRILLINAI_CLI="$PWD/.runtime/build/krillinai/$TARGET/bin/krillinai-cli$SUFFIX"
test -f "$KRILLINAI_CLI"
The CLI loads config/config.toml relative to its process working directory. For real runs from a source checkout, use runtime/krillinai as the process working directory and create its ignored config/config.toml from config/config-example.toml without overwriting an existing file. A release archive should be run from its unpacked package root.
For build layout, configuration, JSON, manifest, output, and error details, read:
skills/krillinai-cli/references/cli-contract.md
Choose The Command
| User intent | Command / skill |
|---|---|
| Generate source, target, bilingual, and short vertical subtitles | subtitle; use krillinai-subtitle |
| Generate target-language dubbing from subtitles | tts; use krillinai-tts |
| Create landscape videos | render-horizontal; use krillinai-render-horizontal |
| Create portrait/short-form videos | render-vertical; use krillinai-render-vertical |
| Generate a cover from a complete image prompt | cover; use krillinai-cover |
| Generate speech from plain text | speech |
| List provider voice codes for Aliyun, OpenAI, or MiniMax | voices |
| Validate a requested multi-stage output plan | pipeline --dry-run; use krillinai-pipeline |
pipeline only validates plans in dry-run mode; non-dry-run execution returns unsupported_command. status is reserved and unsupported.
Operating Rules For Agents
- Use a dedicated
--workdir; do not scatter outputs in the repo root. - Use
--dry-runfor command-shape validation before external calls. - Parse stdout as JSON lines. The terminal response is the object containing
ok; OpenCreator mode may emit progress frames first. - Treat
krillinai_manifest.jsonand actual output files as the source of truth after a real stage. - Reuse manifest outputs for later stages instead of guessing filenames.
- If a command fails, classify by
error.kind:usage,retryable,dependency, orinternal. - Avoid rerunning expensive stages if the manifest already has valid upstream outputs.
- Do not claim that
coverconsumed a reference image: the current CLI accepts a complete text prompt and size only. - Do not request an Edge TTS voice catalog:
voicescurrently supportsaliyun,openai, andminimax.
Minimal Workflow
REPO_ROOT="$PWD"
WORKDIR="$REPO_ROOT/tasks/demo"
mkdir -p "$WORKDIR"
(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" subtitle \
"https://www.youtube.com/watch?v=VIDEO_ID" \
--origin-lang en \
--target-lang zh_cn \
--workdir "$WORKDIR" \
--caption-source any \
--prepare-video)
(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" render-vertical \
--workdir "$WORKDIR")
FAQ
Where does the tool read its settings?
From a configuration file in the folder it runs from, which must be set up with your provider details.
Can it work from a YouTube link?
Yes. The subtitle step can start from a link, using platform captions first and transcription if they are not available.
Are the steps run one at a time?
Each stage is run as its own command, and the results are kept in the same work folder.
Details
Original description by the author
Use when an agent needs to build or operate the embedded KrillinAI CLI, choose a supported command, or interpret its JSON, manifest, subtitle, dubbing, render, cover, speech, and voice outputs.
repo: krillinai/OpenCreator
Popularity
- GitHub stars
- 14k
- Ranking position
- #11252
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
krillinai-cover
14kHelps your agent generate a cover image for a video from a written prompt, then check the image and the saved prompt.
krillinai-pipeline
14kHelps your agent check a plan for several KrillinAI video stages, such as subtitles, dubbing and renders, before running each step.
krillinai-render-horizontal
14kLets your agent render a landscape video with bilingual subtitles, or a dubbed version with target-language subtitles, using KrillinAI.
krillinai-render-vertical
14kLets your agent turn a video into a portrait version with short bilingual subtitles or dubbed audio, and check the subtitles are readable.
Similar skills
taste-application
280kHelps your agent create videos in a specific style. It can copy the editing rhythm from a reference video, generate new scenes, adjust colors, and edit everything together with other footage.
taste-distillation
280kLets your agent analyze videos to create a style pack. This includes colors, cutting rhythm, and visual elements that can be reused to create new videos with the same look.
ui-demo
280kHas your agent record polished UI demo videos. Useful for creating tutorials or showing how a web app works.