Agent skill

KrillinAI CLI Operator

by krillinai in krillinai/OpenCreator

Routes agents to the right KrillinAI command for subtitles, dubbing, video rendering, covers and speech, and explains how to read its JSON and manifest output.

Apache-2.0Auto-check passedMedia & Creative

Install KrillinAI CLI Operator

skills CLI
$ npx skills add krillinai/OpenCreator --skill krillinai-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install krillinai/OpenCreator krillinai-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/krillinai/OpenCreator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/krillinai-cli .claude/skills/krillinai-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
krillinai-cli
GitHub stars
13k
Token cost
~869 tokens
SKILL.md length
318 words
Files
2 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Routes agents to the right KrillinAI command for subtitles, dubbing, video rendering, covers and speech, and explains how to read its JSON and manifest output.

  • Choosing which KrillinAI command fits a subtitle, dubbing or render task
  • SKILL.md covers Build And Locate The Binary, Choose The Command, Operating Rules For Agents and Minimal Workflow
  • Calls node and pnpm; reaches youtube.com
  • Generating bilingual subtitles for a video with KrillinAI

What it does

This is the top-level routing skill for KrillinAI command-line work. It shows how to build both KrillinAI binaries with the repository script pnpm krillinai:build and how to locate the CLI for the current platform. The CLI loads config/config.toml relative to its working directory, so real runs from a source checkout use runtime/krillinai with a config copied from config-example.toml.

A table maps intent to command: subtitle for source, target, bilingual and short vertical subtitles; tts for dubbing from subtitles; render-horizontal and render-vertical for landscape and portrait videos; cover for a cover image; speech for plain text to speech; voices for Aliyun, OpenAI or MiniMax voice codes; and pipeline --dry-run for checking multi-stage plans. Running pipeline without dry-run returns unsupported_command, and status is reserved.

The operating rules ask the agent to use a dedicated --workdir, validate with --dry-run before external calls, parse stdout as JSON lines, and treat krillinai_manifest.json and the actual output files as the source of truth. Failures are classified by error.kind as usage, retryable, dependency or internal. Fuller detail lives in references/cli-contract.md.

When your agent uses it

  • Choosing which KrillinAI command fits a subtitle, dubbing or render task
  • Generating bilingual subtitles for a video with KrillinAI
  • Interpreting a KrillinAI manifest or JSON error result
  • Building the KrillinAI CLI from a source checkout

Example prompts

  • “Generate bilingual subtitles for talk.mp4 with KrillinAI.”
  • “Dry-run a pipeline that makes subtitles, dubbing and a vertical render.”
  • “The krillinai-cli call failed with a retryable error. What should I do next?”

Requirements

  • Node.js and pnpm to build the CLI
  • A config/config.toml created from config-example.toml

What it can do on your machine

Read from SKILL.md and the folder at commit b674f25. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • youtube.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

KrillinAI CLI Operator loads about 869 tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 52 tokens; SKILL.md has 318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~869
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from krillinai/OpenCreator at commit b674f25, republished under its Apache-2.0 licence (© krillinai). 318 words, ~869 tokens.

Download SKILL.mdSave it as .claude/skills/krillinai-cli/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
krillinai-cli
description
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.

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:

bash
pnpm krillinai:build

For the current machine, locate the CLI without assuming a platform or architecture:

bash
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:

text
skills/krillinai-cli/references/cli-contract.md

Choose The Command

User intentCommand / skill
Generate source, target, bilingual, and short vertical subtitlessubtitle; use krillinai-subtitle
Generate target-language dubbing from subtitlestts; use krillinai-tts
Create landscape videosrender-horizontal; use krillinai-render-horizontal
Create portrait/short-form videosrender-vertical; use krillinai-render-vertical
Generate a cover from a complete image promptcover; use krillinai-cover
Generate speech from plain textspeech
List provider voice codes for Aliyun, OpenAI, or MiniMaxvoices
Validate a requested multi-stage output planpipeline --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-run for 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.json and 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, or internal.
  • Avoid rerunning expensive stages if the manifest already has valid upstream outputs.
  • Do not claim that cover consumed a reference image: the current CLI accepts a complete text prompt and size only.
  • Do not request an Edge TTS voice catalog: voices currently supports aliyun, openai, and minimax.

Minimal Workflow

bash
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")

© krillinai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/krillinai-cli of krillinai/OpenCreator.

  • SKILL.md
  • references/cli-contract.md

Open the folder on GitHubat commit b674f25

Compare with similar skills

KrillinAI CLI Operator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

KrillinAI CLI Operator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
KrillinAI CLI Operator this skillkrillinai/OpenCreator13k—~869Automated safety check: PassApache-2.0
Vox ExplainerCK42BB/vox-explainer-skill109—~2.6kAutomated safety check: PassMIT
Web Video PresentationConardLi/garden-skills13k—~3.5kAutomated safety check: PassMIT
Videohub Story Editorcacity/VideoHub168—~2.3kAutomated safety check: NotesMIT
Tts SkillPluviobyte/rnskill1.6k—~1.3kAutomated safety check: NotesCustom licence
VideoCaptioner SubtitlesWEIFENG2333/VideoCaptioner16k—~1.7kAutomated safety check: PassGPL-3.0

Similar skills

  • Vox Explainer

    CK42BB/vox-explainer-skill

    End-to-end pipeline for producing Vox-style explainer videos from a single topic prompt.

    109 GitHub stars~2.6k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Web Video Presentation

    ConardLi/garden-skills

    Turns an article or spoken script into a click-through, full-screen 16:9 web presentation that looks like a video, with optional synthesized narration.

    13k GitHub stars~3.5k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Videohub Story Editor

    cacity/VideoHub

    把长视频或已有字幕转成有完整叙事的几分钟短片。先基于原文字幕和画面证据理解、选段与重排,再对最终时间轴重新翻译和可选润色;既可输出保留原声的双语字幕版,也可把原声降到 30% 并用 MiniMax 或豆包 TTS 生成影视解说、短剧混剪、播客串讲或知识解读版。已有项目可进入本地五轨时间线继续调整切点、旁白、原声窗口、字幕、音量和转场,并按修订版本渲染。用于“把长视频讲成短故事”“按字幕自动剪辑”…

    168 GitHub stars~2.3k tokensUpdated 7 days ago
    Media & CreativeAuto-check: notes
  • Tts Skill

    Pluviobyte/rnskill

    Generate cloned narration for the content workspace. An agent skill from Pluviobyte/rnskill.

    1.6k GitHub stars~1.3k tokensUpdated 18 days ago
    Media & CreativeAuto-check: notes
  • VideoCaptioner Subtitles

    WEIFENG2333/VideoCaptioner

    Adds subtitles to video with the videocaptioner CLI: transcribes speech, tidies and translates the text, and burns styled subtitles into the video or exports SRT and ASS files.

    16k GitHub stars~1.7k tokensUpdated 27 days ago
    Media & CreativeAuto-check passed
  • Anything2explainer

    Vincentwei1021/anything2explainer

    给一个主题,产出一条黑底 MG 风格(幕底可选星点或点阵波)、有配音字幕章节进度条的科普讲解视频(中文或英文;Remotion 代码动画;时长由用户定,常用 3–5 分钟)。内含可编译模板、图元库、配音/分镜/渲染工具、风格与动效规范、多 agent 分工协议与 QC 判据,以及一条完整样片(《RAG 与知识库》)作为质量标尺。Turn any topic into a narrated…

    2.4k GitHub stars~2.7k tokensUpdated 21 days ago
    Media & CreativeAuto-check passed

More from krillinai/OpenCreator

All 8 skills in this repo
  • KrillinAI Cover Image

    krillinai/OpenCreator

    Generates a cover image with the KrillinAI CLI from a finished image prompt, then checks the output files, the saved prompt and the manifest.

    13k GitHub stars~441 tokensUpdated 4 days ago
    Auto-check passed
  • KrillinAI Pipeline Planner

    krillinai/OpenCreator

    Validates a KrillinAI multi-stage output plan with the pipeline command's dry run, then maps it to the individual stage commands that do the real work.

    13k GitHub stars~488 tokensUpdated 4 days ago
    Auto-check passed
  • KrillinAI Render Vertical

    krillinai/OpenCreator

    Renders a source video as a portrait video with the KrillinAI CLI, with short bilingual subtitles or a dubbed audio track, then checks the result.

    13k GitHub stars~527 tokensUpdated 4 days ago
    Auto-check passed
  • KrillinAI Subtitle Generator

    krillinai/OpenCreator

    Generates subtitles with the KrillinAI CLI from a YouTube link, Bilibili link or local video, with platform captions, Whisper fallback, translation and bilingual SRT output.

    13k GitHub stars~613 tokensUpdated 4 days ago
    Auto-check passed
  • KrillinAI Dubbing

    krillinai/OpenCreator

    Generates target-language dubbing audio from an SRT subtitle file with the KrillinAI CLI, and optionally a dubbed video.

    13k GitHub stars~428 tokensUpdated 4 days ago
    Auto-check passed
  • Renders landscape videos with the KrillinAI CLI, either the original footage with bilingual subtitles or a dubbed video with target-language subtitles.

    13k GitHub stars~422 tokensUpdated 4 days ago
    Auto-check passed

Questions about KrillinAI CLI Operator

What does KrillinAI CLI Operator do?

Routes agents to the right KrillinAI command for subtitles, dubbing, video rendering, covers and speech, and explains how to read its JSON and manifest output. This is the top-level routing skill for KrillinAI command-line work. It shows how to build both KrillinAI binaries with the repository script pnpm krillinai:build and how to locate the CLI for the current platform.

When should I use KrillinAI CLI Operator?

KrillinAI CLI Operator fits situations like: choosing which KrillinAI command fits a subtitle, dubbing or render task; generating bilingual subtitles for a video with KrillinAI; interpreting a KrillinAI manifest or JSON error result; building the KrillinAI CLI from a source checkout.

How do I install KrillinAI CLI Operator in Claude Code?

Run `npx skills add krillinai/OpenCreator --skill krillinai-cli -a claude-code`. Or copy the skill folder (skills/krillinai-cli in krillinai/OpenCreator) into .claude/skills/krillinai-cli in your project. Claude Code loads it when a task matches its description.

How do I install KrillinAI CLI Operator in Codex?

Run `npx skills add krillinai/OpenCreator --skill krillinai-cli -a codex`. Or copy the skill folder (skills/krillinai-cli in krillinai/OpenCreator) into .agents/skills/krillinai-cli in your project. Codex loads it when a task matches its description.

Can I use KrillinAI CLI Operator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add krillinai/OpenCreator --skill krillinai-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/krillinai-cli, .gemini/skills/krillinai-cli, .github/skills/krillinai-cli and .opencode/skills/krillinai-cli in your project.

What does KrillinAI CLI Operator need to run?

Going by SKILL.md and its folder, KrillinAI CLI Operator needs the command-line tools its instructions call (node and pnpm). Our summary lists: Node.js and pnpm to build the CLI; A config/config.toml created from config-example.toml.

Does KrillinAI CLI Operator access the network?

SKILL.md names 1 domain. In commands or code: youtube.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is KrillinAI CLI Operator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does KrillinAI CLI Operator use?

KrillinAI CLI Operator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does KrillinAI CLI Operator use?

About 869 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to KrillinAI CLI Operator?

Skills that share tags, products or a category with KrillinAI CLI Operator: Vox Explainer (CK42BB/vox-explainer-skill, 109 stars), Web Video Presentation (ConardLi/garden-skills, 13k stars), Videohub Story Editor (cacity/VideoHub, 168 stars) and Tts Skill (Pluviobyte/rnskill, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains KrillinAI CLI Operator?

krillinai (a GitHub user) maintains it in krillinai/OpenCreator, which has 12,650 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 5, 2026.

Source: krillinai/OpenCreator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.