Skip to content
Content
Skill

/krillinai-subtitle

Use when generating subtitles with KrillinAI CLI from a YouTube link, Bilibili/local video, or existing media, including platform caption download, Whisper fallback, translation, bilingual SRT, and short vertical subtitle output.

BOOST
From plugin
opencreator
13k7 skills
Install
$ npx -y skills add krillinai/opencreator --skill krillinai-subtitle --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/krillinai-subtitle

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when generating subtitles with KrillinAI CLI from a YouTube link, Bilibili/local video, or existing media, including platform caption download, Whisper fallback, translation, bilingual SRT, and short vertical subtitle output.

SKILL.md

krillinai-subtitle.SKILL.md
name: krillinai-subtitle
description: Use when generating subtitles with KrillinAI CLI from a YouTube link, Bilibili/local video, or existing media, including platform caption download, Whisper fallback, translation, bilingual SRT, and short vertical subtitle output.

KrillinAI Subtitle

Use this skill for the `subtitle` stage. Read `skills/krillinai-cli/references/cli-contract.md` first for binary location, execution working directory, configuration, and JSON behavior.

Command

(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" subtitle "<input>" \
  --origin-lang en \
  --target-lang zh_cn \
  --workdir "$WORKDIR" \
  --caption-source any \
  --prepare-video)

Inputs

  • YouTube URL: prefer `--caption-source any`; platform captions are used first, then Whisper fallback.
  • Local file: use `local:/abs/path/video.mp4` or a path accepted by the CLI.
  • Bilibili or other yt-dlp supported links: use when media download works; platform caption behavior may differ, so expect transcription fallback.

Important Flags

| Flag | Use | |---|---| | `--origin-lang` | Source language, such as `en`, `zh`, `ja` | | `--target-lang` | Target language, such as `zh_cn` | | `--workdir` | Dedicated task directory | | `--caption-source any` | Prefer platform captions, fallback to transcription | | `--caption-source whisper` | Force transcription | | `--prepare-video` | Require the original video for later render stages | | `--bilingual-top=true` | Put target language on top in bilingual SRT | | `--subtitle-style-file` | Merge a JSON subtitle-style override | | `--dry-run` | Validate without downloads or AI calls |

Outputs

After a real run, read paths from `krillinai_manifest.json`. Main files:

  • `origin_language_srt.srt`
  • `target_language_srt.srt`
  • `bilingual_srt.srt`
  • `short_origin_mixed_srt.srt`
  • `origin_video.mp4` when media preparation produced or required video
  • `origin_audio.mp3` when transcription preparation produced audio

`subtitle --dry-run` validates command shape but does not write a manifest or output files.

Verification

  • Require terminal JSON with `"ok": true`.
  • Confirm `krillinai_manifest.json` exists under `--workdir`.
  • Spot-check `bilingual_srt.srt` ordering and `short_origin_mixed_srt.srt` readability.
  • When `--prepare-video` was requested, require a non-empty `origin_video` output.
  • For Agent integration details, read `skills/krillinai-cli/references/cli-contract.md`.
Read more
Ships withopencreator

Formerly KrillinAI. Open-source AI workspace for creators, powered by Codex. Create videos, images, voice, avatars, video translation, and edits with Agents in one place.

Get the whole plugin
Stats
12,624
Stars
1,299
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
3d ago
Last commit
1y ago
Created
16h ago
Added

Repo: krillinai/opencreator

Other skills on opencreator.