跳到正文
cccskills
免费在 GitHub 公开

video-transcript

Extract video transcripts: yt-dlp subtitles to clean paragraphs.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.3 KB
  • scripts/vtt_to_paragraph.py3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Video Transcript

Pull a video's transcript as readable paragraphs. Two paths, in order:

Path 1 — uploader subtitles (accurate, prefer when present):

yt-dlp --skip-download --write-subs --sub-langs en --sub-format vtt \
  -o '<work-dir>/%(id)s' '<URL>'

Path 2 — auto-generated captions (fallback when path 1 writes no file):

yt-dlp --skip-download --write-auto-subs --sub-langs en --sub-format vtt \
  -o '<work-dir>/%(id)s' '<URL>'

Then clean the VTT into paragraphs:

python3 skills/research/video-transcript/scripts/vtt_to_paragraph.py <work-dir>/<id>.en.vtt

Default output is plain paragraph text with [Music]-style cues stripped and the rolling duplicates of auto-captions deduplicated. Use --timestamps for [mm:ss] markers, --keep-brackets to keep cue tags, -o FILE to write to a file.

For other languages, change --sub-langs (e.g. de, en.*). List what a video offers with yt-dlp --list-subs '<URL>'.

Error handling

Both paths write no .vtt file

Cause: video has no subtitles or captions in the requested language. Solution: run yt-dlp --list-subs '<URL>' and pick an available language; if none exist, report that and offer audio transcription via the markdown-converter skill on a downloaded audio file.

HTTP 429 / "Sign in to confirm"

Cause: platform rate-limiting the host. Solution: wait and retry with --sleep-requests 2; keep request volume low.

Cleaner output repeats lines

Cause: VTT came from a third path (e.g. translated captions) with cue formats the dedupe misses. Solution: rerun the cleaner; if repeats remain, file the sample VTT alongside a fix to vtt_to_paragraph.py.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

accounts

免费

Manage multiple Claude Code accounts: add, list, check, launch, and install shell aliases for 10+ isolated CLAUDE_CONFIG_DIR profiles.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

Improve architecture across modules by deepening interfaces.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

Assessment: read-only inspection, codebase overview, value analysis, health checks, ADR consultation, decision analysis, multi-perspective critique.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

Background memory consolidation — overnight review, merge, and injection payload for memory files.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

Jev-driven browser automation: Jev picks operations, programs execute, a text model writes field values only when Jev cannot pick one from the goal.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

Write, compose, integrate, and improve programs that call Jev, TypeSafe's System One judgment model.

中文简介正在准备中。当前显示原文说明。

notque/vexjoy-agent4422026年10月17日 更新

查看 notque 的全部技能

报告此技能的问题