Agent skill

Videohub Youtube

by cacity in cacity/VideoHub

处理 YouTube、Twitter(X)、Bilibili 和本地音视频/文本的转写、字幕、翻译与总结。优先复用 src/youtubetranscriber.py 现有 CLI。

MITAuto-check passedMedia & Creative

Install Videohub Youtube

skills CLI
$ npx skills add cacity/VideoHub --skill videohub-youtube -a claude-code

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

GitHub CLI
$ gh skill install cacity/VideoHub videohub-youtube --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/cacity/VideoHub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/videohub-youtube .claude/skills/videohub-youtube && 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
videohub-youtube
GitHub stars
168
Token cost
~550 tokens
SKILL.md length
77 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

处理 YouTube、Twitter(X)、Bilibili 和本地音视频/文本的转写、字幕、翻译与总结。优先复用 src/youtubetranscriber.py 现有 CLI。

  • Tasks that involve Video production
  • SKILL.md covers 适用场景, 常用命令, 重要参数 and 注意
  • Calls python
  • Tasks that involve Transcription

What it does

Videohub Youtube is an agent skill from cacity/VideoHub. 处理 YouTube、Twitter(X)、Bilibili 和本地音视频/文本的转写、字幕、翻译与总结。优先复用 src/youtubetranscriber.py 现有 CLI。

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Video production and Transcription. It works with YouTube, Bilibili and X (Twitter). The repository describes itself as: VideoHub 是一款本地化多平台视频处理与智能剪辑工具,支持 YouTube、抖音/TikTok、Instagram、Bilibili 和 Twitter/X,提供视频下载、Whisper 转写、字幕翻译与润色、多模型 AI 配音、影视解说、故事剪辑、音乐卡点及剧集批量处理,并可通过 Codex、Claude Code… The licence is MIT.

When your agent uses it

  • Tasks that involve Video production
  • Tasks that involve Transcription

Example prompts

  • “/videohub-youtube”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash(python src/youtube_transcriber.py*)

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(python src/youtube_transcriber.py*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

    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

Videohub Youtube loads about 550 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 77 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~550

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 cacity/VideoHub at commit d1da59c, republished under its MIT licence (© cacity). 77 words, ~550 tokens.

Download SKILL.mdSave it as .claude/skills/videohub-youtube/SKILL.md (or your agent's skills folder).
name
videohub-youtube
description
处理 YouTube、Twitter(X)、Bilibili 和本地音视频/文本的转写、字幕、翻译与总结。优先复用 src/youtube_transcriber.py 现有 CLI。
allowed-tools
Bash(python src/youtube_transcriber.py*)

VideoHub Media Processing

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

适用场景

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

常用命令

bash
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-CN、zh-TW、en、ja、ko、ru、fr、de、es、it、pt、ar,默认 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。后续故事剪辑或 影视解说只需接收该目录并读取项目清单。

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

Files

Just SKILL.md in .agents/skills/videohub-youtube of cacity/VideoHub.

Open the folder on GitHubat commit d1da59c

Compare with similar skills

Videohub Youtube 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.

Videohub Youtube compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Videohub Youtube this skillcacity/VideoHub168—~550Automated safety check: PassMIT
Yt Dlp DownloaderMapleShaw/yt-dlp-downloader-skill2091 repos~1.5kAutomated safety check: PassNone
Video Downloaderisjiamu/jiamu-skills139—~1.2kAutomated safety check: PassMIT
Media Transformswyxio/skills175—~2.6kAutomated safety check: PassMIT
Video Clip Extractorlinzzzzzz/openclip569—~2.8kAutomated safety check: WarnMIT
Audio-Timed Subtitle GeneratorPluviobyte/rnskill1.6k—~1.1kAutomated safety check: NotesCustom licence

Similar skills

  • Yt Dlp Downloader

    MapleShaw/yt-dlp-downloader-skill

    Download videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp.

    209 GitHub starsUsed in 1 repo~1.5k tokens
    Media & CreativeAuto-check passed
  • Video Downloader

    isjiamu/jiamu-skills

    Download videos from 1000+ websites (YouTube, Bilibili, Twitter/X, TikTok, etc.) using yt-dlp.

    139 GitHub stars~1.2k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Media Transform

    swyxio/skills

    Generic media transformation orchestrator — download videos from any source (X/Twitter, Zoom, YouTube, web embeds), upload to YouTube, transcribe with timestamps, generate chapters, create…

    175 GitHub stars~2.6k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed
  • Video Clip Extractor

    linzzzzzz/openclip

    Processes videos to identify engaging moments, generate transcripts, and create highlight clips with artistic titles and custom cover images.

    569 GitHub stars~2.8k tokensUpdated 1 mo ago
    Media & CreativeAuto-check: warnings
  • Generates SRT, VTT and caption JSON for final narration audio or a merged video using Volcengine Doubao ASR word timestamps, with a quality gate before delivery.

    1.6k GitHub stars~1.1k tokensUpdated 18 days ago
    Media & CreativeAuto-check: notes
  • Watch

    mathiaschu/watch

    Watch a video from YouTube, Instagram, X/Twitter, Vimeo, TikTok or any of ~1800 yt-dlp sites (or a local path).

    142 GitHub stars~4k tokensUpdated 4 mo ago
    Media & CreativeAuto-check: warnings

More from cacity/VideoHub

All 12 skills in this repo
  • Videohub Beat Editor

    cacity/VideoHub

    根据一段音频、歌曲或参考视频的节拍,为一个长视频、多个视频或素材目录自动建立镜头候选库,生成卡点剪辑计划,并批量渲染 16:9、3:4、4:3、9:16 等多画幅成片。支持固定镜头数量、强拍切换、歌词字幕、镜头替换、封面、标题、caption、hashtags 和完整 QA。用于“按音乐卡点剪视频”“给音频和素材批量做卡点视频”“检测强拍并自动选镜头”“同一计划输出多个画幅”等任务。

    168 GitHub stars~626 tokensUpdated 7 days ago
    Auto-check passed
  • 为 VideoHub 的影视解说、连续剧、电影、卡点视频和短视频制作可在个人主页小缩略图中辨认的封面。输入剧照、视频帧或已有底图,突出剧名、集数和简短看点,统一生成 9:16、3:4、4:3、16:9 封面与缩略图预览。用于“做封面”“修改封面”“加大集数”“生成横版和竖版封面”“沿用上一集封面模板”“制作抖音或视频号缩略图”等任务。

    168 GitHub stars~453 tokensUpdated 7 days ago
    Auto-check passed
  • 把电影、电视剧或短剧素材制作成第三者旁白主导、关键影视原声点睛的中文解说视频,并生成抖音竖版封面、标题候选、50-100 字文案、话题和完整发布包。复用 videohub-story-editor 的证据提取、剧情理解、剪辑、后置翻译、TTS…

    168 GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Videohub Story Editor

    cacity/VideoHub

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

    168 GitHub stars~2.3k tokensUpdated 7 days ago
    Auto-check: notes
  • Browser Use

    cacity/VideoHub

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    168 GitHub starsUsed in 3 repos~2.2k tokens
    Auto-check: warnings
  • Videohub Douyin

    cacity/VideoHub

    下载抖音单视频或用户主页作品,复用 src/douyincli.py。适合处理抖音分享链接、短链接、标准视频链接和用户主页链接。

    168 GitHub stars~213 tokensUpdated 7 days ago
    Auto-check passed

Questions about Videohub Youtube

What does Videohub Youtube do?

处理 YouTube、Twitter(X)、Bilibili 和本地音视频/文本的转写、字幕、翻译与总结。优先复用 src/youtubetranscriber.py 现有 CLI。. Videohub Youtube is an agent skill from cacity/VideoHub.

When should I use Videohub Youtube?

Videohub Youtube fits situations like: tasks that involve Video production; tasks that involve Transcription.

How do I install Videohub Youtube in Claude Code?

Run `npx skills add cacity/VideoHub --skill videohub-youtube -a claude-code`. Or copy the skill folder (.agents/skills/videohub-youtube in cacity/VideoHub) into .claude/skills/videohub-youtube in your project. Claude Code loads it when a task matches its description.

How do I install Videohub Youtube in Codex?

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

Can I use Videohub Youtube 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 cacity/VideoHub --skill videohub-youtube -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/videohub-youtube, .gemini/skills/videohub-youtube, .github/skills/videohub-youtube and .opencode/skills/videohub-youtube in your project.

What does Videohub Youtube need to run?

Going by SKILL.md and its folder, Videohub Youtube needs the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(python src/youtube_transcriber.py*).

Does Videohub Youtube access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Videohub Youtube 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 Videohub Youtube use?

Videohub Youtube is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Videohub Youtube use?

About 550 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Videohub Youtube?

Skills that share tags, products or a category with Videohub Youtube: Yt Dlp Downloader (MapleShaw/yt-dlp-downloader-skill, 209 stars), Video Downloader (isjiamu/jiamu-skills, 139 stars), Media Transform (swyxio/skills, 175 stars) and Video Clip Extractor (linzzzzzz/openclip, 569 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Videohub Youtube?

cacity (a GitHub user) maintains it in cacity/VideoHub, which has 168 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 2, 2026.

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