VideoHub: Skill for Claude Code

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

videohub-youtube is a skill for Claude Code from cacity/VideoHub. It costs 49 tokens per session (786 once invoked), scanned A, original, MIT.

A tool for turning YouTube, X, Bilibili, and local audio or video into transcripts, subtitles, translations, or summaries.

In plain words
What is it for?
Use it to process one or many video links, transcribe local media, create or translate subtitles, add subtitles to video, or summarize a text file.
Why use it?
It avoids manually watching or listening through recordings when you need their text, translated captions, or a short summary.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is cacity/VideoHub's own configuration. It tells Claude Code 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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(python src/youtube_transcriber.py*).

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-youtube/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cacity/VideoHub

Made for: Claude Code.

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-youtube

README.md
[![agentmods](https://agentmods.dev/badge/skills/cacity/videohub/videohub-youtube/github.svg)](https://agentmods.dev/skills/cacity/videohub/videohub-youtube)
Your own site
<a href="https://agentmods.dev/skills/cacity/videohub/videohub-youtube"><img src="https://agentmods.dev/badge/skills/cacity/videohub/videohub-youtube/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-youtube

Your own site · 80×15
<a href="https://agentmods.dev/skills/cacity/videohub/videohub-youtube"><img src="https://agentmods.dev/badge/skills/cacity/videohub/videohub-youtube.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 786 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.00049 $0.00786
Opus 5 $0.00024 $0.00393
Sonnet 5 $0.00010 $0.00157
Haiku 4.5 $0.00005 $0.00079

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

Security

Grade A, and why

videohub-youtube 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-youtube/SKILL.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VideoHub Media Processing

复用 F:/work/VideoHub/src/youtube_transcriber.py 的 CLI;当前 CLI 入口在文件末尾的 if __name__ == "__main__"

适用场景

  • 处理 YouTube URL
  • 批量处理多个 URL
  • 转写本地音频 / 视频
  • 从文本直接生成总结
  • 生成字幕、翻译字幕、烧录字幕
  • 选择字幕目标语言
  • 查看模板、历史记录、清理工作目录

常用命令

python src/youtube_transcriber.py --youtube "<url>"
python src/youtube_transcriber.py --youtube "<url>" --generate-subtitles
python src/youtube_transcriber.py --youtube "<url>" --generate-subtitles --target-language ja
python src/youtube_transcriber.py --youtube "<url>" --download-video --embed-subtitles
python src/youtube_transcriber.py --audio "path/to/file.mp3"
python src/youtube_transcriber.py --video "path/to/file.mp4" --generate-subtitles
python src/youtube_transcriber.py --video "path/to/file.mp4" --generate-subtitles --target-language ko
python src/youtube_transcriber.py --video "path/to/series" --generate-subtitles
python src/youtube_transcriber.py --video "path/to/file.mp4" --generate-subtitles --series-project
python src/youtube_transcriber.py --text "path/to/file.txt"
python src/youtube_transcriber.py --urls "<url1>" "<url2>"
python src/youtube_transcriber.py --history
python src/youtube_transcriber.py --cleanup-preview

重要参数

  • --youtube / --audio / --video / --text / --batch / --urls
  • --generate-subtitles
  • --no-translate
  • --target-language:支持 zh-CNzh-TWenjakorufrdeesitptar,默认 zh-CN
  • --embed-subtitles
  • --download-video
  • --transcribe-only
  • --template / --create-template / --list-templates

注意

  • 这是当前最强的执行型 skill,优先走现有 CLI。
  • 对需要登录的 YouTube 内容,可使用 --cookies
  • 输出目录遵循 paths_config.py 下的 workspace 结构。
  • 字幕翻译默认使用 Google;Google 失败时会尝试 DeepSeek/OpenAI 备用翻译。中文目标语言可选 DeepSeek 润色。
  • 本地 GUI 里还有“提取本地视频音频到 songs 目录”的功能,对应 extract_audio_from_local_videos(),不属于当前 CLI 的主参数。
  • 本地目录输入会作为剧集项目处理,在视频目录内建立 subtitles/transcripts/summaries/audio/videos_with_subtitles/videohub_project.json。后续故事剪辑或 影视解说只需接收该目录并读取项目清单。

Read the full file on GitHub · 56 lines

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 · 56 lines · 49 tokens per session scan A 3bac2dea8497

Subscribe to this mod's changes

videohub-youtube is a skill published in the GitHub repository cacity/VideoHub (145 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 786 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