VideoHub: Skill for Claude Code

.agents/skills/videohub-subtitles/SKILL.md

videohub-subtitles is a skill for Claude Code, Codex from cacity/VideoHub. It costs 37 tokens per session (393 once invoked), scanned A, original, MIT.

A tool for combining existing ASS subtitle files with videos, either by permanently drawing the subtitles onto the video or guiding the existing VideoHub workflow.

In plain words
What is it for?
Use it when you already have a video and ASS subtitles, need single- or bilingual subtitles embedded, or need to find the relevant style and font settings.
Why use it?
It clarifies the difference between creating subtitles and putting them into a finished video, which are separate steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is cacity/VideoHub's own configuration. It tells Claude Code and Codex how to work on VideoHub itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything VideoHub configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cacity/VideoHub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cacity/VideoHub/main/.agents/skills/videohub-subtitles/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cacity/VideoHub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for videohub-subtitles

README.md
[![agentmods](https://agentmods.dev/badge/skills/cacity/videohub/videohub-subtitles/github.svg)](https://agentmods.dev/skills/cacity/videohub/videohub-subtitles)
Your own site
<a href="https://agentmods.dev/skills/cacity/videohub/videohub-subtitles"><img src="https://agentmods.dev/badge/skills/cacity/videohub/videohub-subtitles/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for videohub-subtitles

Your own site · 80×15
<a href="https://agentmods.dev/skills/cacity/videohub/videohub-subtitles"><img src="https://agentmods.dev/badge/skills/cacity/videohub/videohub-subtitles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00393
Opus 5 $0.00018 $0.00197
Sonnet 5 $0.00007 $0.00079
Haiku 4.5 $0.00004 $0.00039

Measured 9d ago against content hash 475fb44daa84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

videohub-subtitles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/videohub-subtitles/SKILL.md · 30 lines

What it actually says

VideoHub Subtitles

当前字幕相关能力分两块:

  • 生成字幕、翻译字幕:F:/work/VideoHub/src/youtube_transcriber.py
  • 主流程字幕烧录函数:F:/work/VideoHub/src/youtube_transcriber.py 中的 embed_subtitles_to_video()
  • 独立字幕合成 GUI:F:/work/VideoHub/src/subtitle_merger.py

适用场景

  • 用户已经有视频和 ASS 字幕,想烧录
  • 用户在 YouTube/本地视频流程里勾选“将字幕嵌入到视频中”
  • 用户在配音流程里选择“压单语字幕”或“压双语字幕”
  • 用户想知道字幕样式和字体配置从哪里来
  • 用户需要区分“生成字幕”和“合成视频”两个阶段

当前实现边界

  • embed_subtitles_to_video(video_path, subtitle_path, output_dir=VIDEOS_WITH_SUBTITLES_DIR) 是主流程可复用函数。
  • subtitle_merger.py 是 PyQt GUI 工具,不是独立纯 CLI。
  • 主流程会优先使用同名 .ass 字幕;输出目录是 workspace/videos_with_subtitles/
  • 如果只是生成字幕,应优先走 videohub-youtube
  • 如果是现有字幕文件与视频合成,优先走字幕合成工具

注意

  • 这个 skill 目前以引导和正确分流为主
  • 后续如果需要,可再把字幕合成补成 CLI 友好的入口
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 30 lines · 37 tokens per session scan A 475fb44daa84

Subscribe to this mod's changes

videohub-subtitles is a skill published in the GitHub repository cacity/VideoHub (145 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 393 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

qiaomu-cut

A workflow for turning a brief video idea into a planned, sourced, edited, rendered, and checked video project.

joeseesun/qiaomu-cut-skill · 171 tokens

stage-compose

Authoring knowledge for Orkas/OVS HTML video compositions -- write an index.html, drive animation from a paused timeline, declare canvas + duration, then run the VideoStudio draft gate to render an mp4. Trigger for explainer / animation / motion-graphics / caption / lower-third / title-card work, or to build a compose…

Orkas-AI/Orkas-VideoStudio · 96 tokens

frontend-design

Aesthetic direction for OrkasVideoStudio HTML and motion-graphics compositions. Use before stage-compose writes composition-manifest.json artdirection and index.html to choose a subject-specific visual point of view, type, palette, layout signature, restrained motion, and anti-template checks.

Orkas-AI/Orkas-VideoStudio · 57 tokens

stage-edit

Intelligent editing of real user-supplied footage—understand it with transcript/OCR/scene/silence/quality/vision evidence, then choose deterministic timeline operations or a constrained semantic AI edit. Trigger for repurpose, montage, cleanup, localization, narration, or local content changes.

Orkas-AI/Orkas-VideoStudio · 62 tokens

stage-plan

The "ingest + plan" half of end-to-end video orchestration — ingest the user's material from evidence, then decompose intent into ONE cross-modal EDL (plan.json: edit/generate/compose/provided segments + narration/music/caption tracks + a delivery promise), validate it with ovs plan validate. Trigger when the…

Orkas-AI/Orkas-VideoStudio · 0 tokens

gate-control

Canonical VideoStudio review authorization and state-transition policy. Use after any Gate B/C/Preview/D decision, post-gate revision, resumed approval, or exhausted visual-QA result across COMPOSE/AUTO/GENERATE/EDIT; maps explicit user authority and durable artifact state to one next action with ovs gate transition.…

Orkas-AI/Orkas-VideoStudio · 81 tokens