KrillinAI Subtitle
Turns a YouTube, Bilibili or local video into original, translated and bilingual SRT subtitle files using the KrillinAI command-line tool.
What it is
KrillinAI, now part of the open-source OpenCreator project, is a video translation and dubbing toolkit. This skill covers its first stage: subtitles. Give the agent a YouTube link, a Bilibili or other supported link, or a video on your computer, plus the source and target languages, and it runs the KrillinAI command-line tool to produce subtitle files. It is aimed at creators who localize or repost videos, for example turning an English talk into a Chinese-subtitled version, and who are comfortable with some technical setup.
Instead of having the AI guess at timings, the skill drives a dedicated tool. KrillinAI uses the platform's own captions when they exist, falls back to Whisper speech recognition when they do not, and uses a language model to split and translate the lines. The skill tells the agent which options to use, to keep every job in its own folder, to test the command with a dry run first, and to read results from the tool's manifest file instead of guessing filenames, then spot-check the bilingual output.
You get four SRT files (original language, translation, a bilingual file with your choice of language on top, and a short-line version for vertical videos), plus the downloaded video and audio for later dubbing or rendering. Quality depends on the captions, transcription service and language model you configure, and Bilibili links often need transcription because captions may not be available.
What it can do
- Downloads media from YouTube, Bilibili and other sites yt-dlp supports, or works from a video file on your computer.
- Uses the platform's existing captions first and falls back to Whisper transcription, or forces transcription if you prefer.
- Translates subtitles between languages such as English, Chinese and Japanese using the language model you configure.
- Produces original, translated and bilingual SRT files, with your choice of which language sits on top.
- Creates a short-line subtitle file suited to vertical, short-form videos.
- Keeps the original video and audio ready for dubbing and rendering, and accepts a custom subtitle style file.
When to use it
- You found an English YouTube interview and want accurate Chinese subtitles before sharing it with your audience.
- You recorded a lecture in Japanese and need bilingual Japanese and Chinese subtitles for your students.
- You want short subtitle lines for a vertical clip you plan to cut from a long video.
- You are preparing a video for dubbing and need clean target-language subtitles to serve as the script.
How it works
- 1The agent checks that the KrillinAI CLI is available and creates a dedicated working folder for the job.
- 2It can run the command as a dry run first, which checks the input, languages and options without downloading anything or calling AI services.
- 3It runs the subtitle command: KrillinAI downloads the video, takes the platform captions or transcribes the audio with Whisper, then splits and translates the lines with your language model.
- 4It reads the tool's JSON result and the krillinai_manifest.json file to find every subtitle, video and audio file it produced.
- 5It confirms the run succeeded and spot-checks the bilingual and short-line files for correct order and readability.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/krillinai/OpenCreator/tree/master/skills/krillinai-subtitle
pnpm dlx skills add https://github.com/krillinai/OpenCreator/tree/master/skills/krillinai-subtitle
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the krillinai-subtitle folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/krillinai/OpenCreator.git mkdir -p ~/.claude/skills cp -r OpenCreator/skills/krillinai-subtitle ~/.claude/skills/krillinai-subtitle
Then just ask in plain language, for example: “Generate Chinese subtitles for this YouTube video with KrillinAI: https://www.youtube.com/watch?v=...”
More Video & Audio skills
Manim Video
31kPlans, codes and renders 3Blue1Brown-style animated explainers for math, algorithms, data and technical ideas using Manim, a Python animation library.
Video Use
31kEdits raw footage into a finished video through conversation: cuts filler and retakes, grades color, adds subtitles and animated overlays.
Videocaptioner
16kTranscribes, translates and burns styled subtitles into your videos from one command, with free speech recognition for Chinese and English.