skills/krillinai-cli/SKILL.md
Use this as the top-level routing skill for KrillinAI command-line work.
Prefer the repo-local binary:
./build/krillinai-cli <command> [flags]
If it does not exist, build it first:
go build -o build/krillinai-cli ./cmd/cli
For common JSON, manifest, outputs, and error semantics, read:
skills/krillinai-cli/references/cli-contract.md
| 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 |
pipeline, cover, and status are planned/reserved surfaces in the current CLI. Use their skills for planning or dry-run documentation only unless the implementation has been wired in.
--workdir; do not scatter outputs in the repo root.--dry-run when validating command shape or planning a run.krillinai_manifest.json; do not parse normal logs.error.kind: usage, retryable, dependency, or internal../build/krillinai-cli subtitle "https://www.youtube.com/watch?v=VIDEO_ID" \
--origin-lang en \
--target-lang zh_cn \
--workdir tasks/demo \
--caption-source any
./build/krillinai-cli render-vertical \
--workdir tasks/demo \
--video tasks/demo/origin_video.mp4 \
--subtitle tasks/demo/short_origin_mixed_srt.srt