subtitle-craft
Create, translate, repair, and burn subtitles through the Subtitle Craft plugin.
Skill by LZM163126lzm
Chalk Labs
Need help deploying subtitle-craft?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lzm163126lzm-subtitle-craft
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/subtitle-craft
What's inside
- Skill name
subtitle-craft- Description
- Create, translate, repair, and burn subtitles through the Subtitle Craft plugin.
- License
- AGPL-3.0
- Instructions
- 234 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (45)
- CHANGELOG.md
- README.md
- SKILL.md
- VALIDATION.md
- __init__.py
- icon.svg
- plugin.json
- plugin.py
- subtitle_asr_client.py
- __init__.py · subtitle_craft_inline/
- llm_json_parser.py · subtitle_craft_inline/
- parallel_executor.py · subtitle_craft_inline/
- storage_stats.py · subtitle_craft_inline/
- system_deps.py · subtitle_craft_inline/
- upload_preview.py · subtitle_craft_inline/
- vendor_client.py · subtitle_craft_inline/
- subtitle_hook_picker.py
- subtitle_models.py
- subtitle_pipeline.py
- subtitle_renderer.py
- subtitle_task_manager.py
- __init__.py · tests/
- conftest.py · tests/
- sample_long.srt · tests/fixtures/
- sample_minimal.srt · tests/fixtures/
- sample_short.srt · tests/fixtures/
- __init__.py · tests/integration/
- conftest.py · tests/integration/
- test_paraformer_smoke.py · tests/integration/
- test_qwen_plus_hook_smoke.py · tests/integration/
- test_data_layer.py · tests/
- test_hook_picker.py · tests/
- test_pipeline.py · tests/
- test_pipeline_hook.py · tests/
- test_plugin.py · tests/
- test_renderer.py · tests/
- test_skeleton.py · tests/
- test_ui_smoke.py · tests/
- bootstrap.js · ui/dist/_assets/
- i18n.js · ui/dist/_assets/
- icons.js · ui/dist/_assets/
- markdown-mini.js · ui/dist/_assets/
- styles.css · ui/dist/_assets/
- icon.svg · ui/dist/
- index.html · ui/dist/
SKILL.md (first lines)
# Subtitle Craft Skill Definition
## 1. Trigger Scenarios
Use this skill when the user wants to:
- 自动给视频/音频生成字幕(听写)
- 把已有 SRT 翻译为另一种语言(单语 or 双语字幕)
- 修复时间轴对齐 / 断行重排 / 重叠问题
- 把字幕烧入视频(软字幕 sidecar 或硬烧 in-stream)
- 区分多说话人 / 把 SPEAKER_xx 自动映射成角色名
- 估算「这段视频做字幕大概要花多少 ¥」
Keywords (zh): 字幕, 听写, 转录, 翻译字幕, 字幕修复, 字幕烧制, 双语字幕, 角色识别, 说话人分离
Keywords (en): subtitle, caption, transcribe, translate srt, burn subtitle, diarization, speaker
## 2. Command Reference (4 tools)
| Tool | Purpose |
|------|---------|
| `subtitle_craft_create` | Create a subtitle task (mode = auto_subtitle / translate / repair / burn) |
| `subtitle_craft_status` | Inspect a single task's status, pipeline step, error_kind |
| `subtitle_craft_list` | List recent tasks (default 10) |
| `subtitle_craft_cancel` | Cooperative cancel of a running task |
> v1.0 explicitly does **NOT** declare any `subtitle_craft_handoff_*` tool —
> cross-plugin dispatch is deferred to v2.0 with schema reservation only.
## 3. Input Schema
### `subtitle_craft_create`
```json
{
"mode": "auto_subtitle | translate | repair | burn",
"source_path": "/abs/path/to/video.mp4", // for auto_subtitle / burn
"srt_path": "/abs/path/to/input.srt", // for translate / repair / burn
"source_lang": "", // empty = auto-detect (Paraformer language_hints)
"target_lang": "en", // for translate
"translation_model": "qwen-mt-flash", // qwen-mt-flash | qwen-mt-plus | qwen-mt-lite
"diarization_enabled": false, // auto_subtitle only
"speaker_count": 0, // 0 = auto
"character_identify_enabled": false, // requires diarization_enabled=true
"disfluency_removal_enabled": false, // remove um/uh/嗯/啊
"bilingual": false, // translate only — keep both lines
"subtitle_style": "default", // default | cinema | youtube | tiktok | tv | <custom_id>
"burn_engine": "ass", // ass | html
"burn_mode": "hard" // hard (in-stream) | soft (mp4 sidecar)
}
```
### `subtitle_craft_status`
```json
{ "task_id": "abc123def456" }
```
### `subtitle_craft_cancel`
```json
{ "task_id": "abc123def456" }
```
## 4. Output Schema
### Task envelope (returned by create / get / list elements)
```json
{
"id": "abc123def456",
"mode": "auto_subtitle",
"status": "pending|running|succeeded|failed|canceled",
"pipeline_step": "setup_environment|estimate_cost|prepare_assets|asr_or_load|identify_characters|translate_or_repair|render_output|burn_or_finalize",
"progress": 0.42,
"source_path": "...",
"output_srt_path": "...",
"output_vtt_path": "...",
"output_video_path": "...",
"error_kind": "network|timeout|auth|quota|moderation|dependency|format|duration|unknown",
"error_message": "...",
"error_hints": "..."
}
```
## 5. Mode Selection Heuristics (when the user is vague)
| User says | Choose mode | Notes |
|---|---|---|
| "给这段视频加字幕" / "transcribe video" | `auto_subtitle` | If the user mentions multiple people, also turn on `diarization_enabled` |
| "把字幕翻译成英文" / "translate srt to english" | `translate` | Default `translation_model=qwen-mt-flash` (best value) |
| "字幕重叠了" / "时间轴乱" / "fix overlap" | `repair` | No API cost — pure local rewrite |
| "烧制" / "硬字幕" / "burn subtitle" | `burn` | Default `burn_engine=ass` (FFmpeg native) — switch to `html` only when the user wants custom CSS |
| 提到 "区分谁在说话" / "speaker" | `auto_subtitle` + `diarization_enabled=true` | Add `character_identify_enabled=true` if the user wants character names instead of SPEAKER_xx |
## 6. Cost Hints (for setting expectations before invoking)
- Paraformer-v2: ¥0.00027 / second of audio (~¥1 / hour)
- Qwen-MT Flash: ¥0.000007 / token (~¥0.005 / 1k tokens)
- Qwen-MT Plus: ¥0.000016 / token
- Qwen-MT Lite: ¥0.000003 / token
- Qwen-VL Max (character ID): one call per task, ¥0.020 typical
- Local burn (FFmpeg/Playwright): free
A 30-min YouTube → English subtitles round-trip is usually ¥0.50–¥0.80.
## 7. Error Handling Contract (9 canonical kinds)
The `error_kind` field always falls into one of these 9 values, identical
to `clip-sense`'s taxonomy:
| `error_kind` | What to tell the user |
|---|---|
| `network` | Suggest checking VPN / DNS, then retry |
| `timeout` | Increase Paraformer timeout in Settings, then retry |
| `auth` | API key wrong / 4xx → open Settings |
| `quota` | Bailian balance / quota exhausted |
| `moderation` | Content flagged → ask the user to trim sensitive parts |
| `dependency` | FFmpeg / Playwright missing — HTML burn auto-falls back to ASS |
| `format` | Bad SRT encoding (must be UTF-8) / unsupported video container |
| `duration` | File >2 GB or audio >12 h — ask user to split first |
| `unknown` | Surface the raw `error_message` and link to logs |
## 8. SSE Live UpdatesFrom LZM163126lzm/openakita, AGPL-3.0.
More from LZM163126lzm/openakita
- 0.474score
avatar-studio
LZM163126lzm
DashScope-powered digital human studio — photo speak, video relip, video reface, avatar compose.
SkillCFreshness: CClaude Code +9 - 0.474score
omni-post
LZM163126lzm
Multi-platform, multi-account social publishing engine — Douyin, RedNote, Bilibili today, 10 platforms end of S2.
SkillCFreshness: CClaude Code +9 - 0.474score
happyhorse-video
LZM163126lzm
Bailian-powered unified creative studio — built-in Wan/Qwen image generation + HappyHorse 1.0 (text-to-video / image-to-video / reference-to-video /…
SkillCFreshness: CClaude Code +9 - 0.471score
word-maker
LZM163126lzm
Guided Word document generation for editable DOCX reports, proposals, minutes, contracts, SOPs, and enterprise templates.
SkillCFreshness: CClaude Code +9 - 0.471score
idea-research
LZM163126lzm
Trend research and viral content breakdown workspace for radar pulls, URL breakdowns, account comparison, subscriptions, and script remixing.
SkillCFreshness: CClaude Code +9 - 0.469score
clip-sense
LZM163126lzm
Guide AI-powered video editing, highlight extraction, silence removal, and talking-head polish through ClipSense.
SkillCFreshness: CClaude Code +9 - 0.469score
footage-gate
LZM163126lzm
Review source media, cut silence, auto color grade, and run cut-boundary QC through Footage Gate.
SkillCFreshness: CClaude Code +9 - 0.469score
excel-maker
LZM163126lzm
Create, organize, improve, audit, and export Excel report workbooks from CSV or XLSX data.
SkillCFreshness: CClaude Code +9 - 0.469score
fin-pulse
LZM163126lzm
Track finance headlines, daily market radar, and source-backed financial news through Fin Pulse.
SkillCFreshness: CClaude Code +9 - 0.469score
media-strategy
LZM163126lzm
Track RSS/news hotspots, verify source packs, and produce editorial plans through the Media Strategy plugin.
SkillCFreshness: CClaude Code +9 - 0.469score
media-post
LZM163126lzm
Prepare launch assets, cover picks, SEO packs, and publishing material through the Media Post plugin.
SkillCFreshness: CClaude Code +9 - 0.469score
ppt-maker
LZM163126lzm
Guided PPT generation for editable PowerPoint decks, table-driven reports, and enterprise-template presentations.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/LZM163126lzm/openakita
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LZM163126lzm
- 0.474score
avatar-studio
LZM163126lzm
DashScope-powered digital human studio — photo speak, video relip, video reface, avatar compose.
SkillCFreshness: CClaude Code +9 - 0.474score
omni-post
LZM163126lzm
Multi-platform, multi-account social publishing engine — Douyin, RedNote, Bilibili today, 10 platforms end of S2.
SkillCFreshness: CClaude Code +9 - 0.474score
happyhorse-video
LZM163126lzm
Bailian-powered unified creative studio — built-in Wan/Qwen image generation + HappyHorse 1.0 (text-to-video / image-to-video / reference-to-video /…
SkillCFreshness: CClaude Code +9 - 0.471score
word-maker
LZM163126lzm
Guided Word document generation for editable DOCX reports, proposals, minutes, contracts, SOPs, and enterprise templates.
SkillCFreshness: CClaude Code +9 - 0.471score
idea-research
LZM163126lzm
Trend research and viral content breakdown workspace for radar pulls, URL breakdowns, account comparison, subscriptions, and script remixing.
SkillCFreshness: CClaude Code +9 - 0.469score
footage-gate
LZM163126lzm
Review source media, cut silence, auto color grade, and run cut-boundary QC through Footage Gate.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get subtitle-craft running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
subtitle-craft skill. Agent Mart. https://agentmart.dev/skills/lzm163126lzm-subtitle-craft (last updated 2026-10-24)