Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

yt-whisper-skill

БесплатноЗапускает вложенные скриптыНе проверен

Locally transcribe YouTube videos with Whisper on CUDA and archive a URL/title-headed .txt under ~/Transcriptions/<Category>/ (auto model selection, category…

jagones84от jagones84350 установок в других каталогах

Об этом скилле

yt-whisper-skill

Transcribes YouTube videos with the local scripts/yt-transcribe.sh and a self-contained Whisper toolchain (its own .venv, created by scripts/install.sh). It can also turn a transcript (or any input document) into a structured AI summary and a compact research plan.

Features

  • Download YouTube audio and transcribe it with Whisper on CUDA
  • Auto-pick a faster model for long videos
  • Respect t= / start= / end= timestamps in YouTube URLs
  • Save to ~/Transcriptions/<Category>/ with a URL + title header
  • Infer the category from the title, or force one with --category
  • Support a single URL, several URLs, or bare 11-char video IDs
  • Optional language detection or forced language
  • Delete temporary media after transcription
  • Produce a structured *_AISUMMARY.md report from a transcript
  • Produce a compact *_AISEARCHPLAN.md research plan from ANY input file

Quick Start

# One-time setup (creates the local venv and installs yt-dlp + whisper)
bash {baseDir}/scripts/install.sh

# Transcribe a single video
{baseDir}/scripts/yt-transcribe.sh "https://youtu.be/VIDEO_ID"

# Several videos in one run
{baseDir}/scripts/yt-transcribe.sh "https://youtu.be/ID1" "https://youtu.be/ID2"

# Force a language, or force a category
{baseDir}/scripts/yt-transcribe.sh "https://youtu.be/VIDEO_ID" --language it
{baseDir}/scripts/yt-transcribe.sh "https://youtu.be/VIDEO_ID" --category Philosophy

# Live URL with a timestamp is normalized, the time range is preserved
{baseDir}/scripts/yt-transcribe.sh "https://www.youtube.com/live/VIDEO_ID?t=276s"

If install.sh has been run, the same script is also available on PATH as yt-transcribe.

Requirements

  • ffmpeg on PATH
  • the local venv at {baseDir}/.venv (created by scripts/install.sh; holds yt-dlp and openai-whisper)
  • a JavaScript runtime for yt-dlp (node, deno, bun or quickjs)
    • YouTube requires one; the script auto-resolves it from PATH and the usual install locations (~/.local/bin, ~/.nvm/versions/node/*, ~/.deno/bin, /usr/bin, ...) and passes the concrete path as --js-runtimes <name>:<path>
    • symptom when missing: HTTP Error 403: Forbidden — this is NOT a YouTube block and NOT a yt-dlp bug, it means no JS runtime was found

Output Format

Each transcription is saved as ~/Transcriptions/<Category>/<safe_title>_<video_id>.txt and starts with:

URL: https://youtube.com/watch?v=...
Title: <Video Title>

[Full transcript content...]

Temporary media is deleted right after transcription.

Operating Rules

Hard rules for agents:

  • MUST invoke exactly {baseDir}/scripts/yt-transcribe.sh (or the installed yt-transcribe)
  • MUST pass each requested video as a quoted positional argument to that script
  • MUST prefer the full YouTube URL when the user provides one
  • MUST NOT strip a provided YouTube URL down to a bare video ID before execution
  • youtube.com/live/<id>, youtube.com/shorts/<id>, youtu.be/<id>, and bare 11-char IDs are acceptable; the script normalizes them internally
  • MUST preserve t=, start=, and end= query params when using the user URL
  • MUST use timeout >= 7200 for normal full-video transcriptions unless the user explicitly wants a short clip
  • MUST NOT use timeout: 300 for a normal transcription request
  • If the user gives a live URL, pass it through directly; do not invent a partial command from just the ID
  • If the user gives multiple URLs, pass them all in one command when feasible
  • On failure with Unknown option, treat it as an invocation contract bug first, not a Whisper failure
  • On failure with HTTP Error 403: Forbidden, suspect a missing JavaScript runtime before anything else: check the JS runtime: line the script prints, and verify with command -v node deno bun qjs
  • Treat exitCode != 0 as failure, and also treat the run as failure if the output contains Error:, Video unavailable, Unknown option, or Audio download failed
  • After a successful transcription, report the saved path first
  • Do not claim success just because other transcript files already exist in ~/Transcriptions
  • Never launch a second run for the same URL while another run for it is still in progress
  • If --category is omitted, infer it from the title (falling back to Unsorted); use --category <Category> only to force a different bucket
  • Do not read the whole transcript back into the LLM by default; read only a short excerpt if needed
  • After a successful transcription, if the user asks for a summary/report, follow the ## Detailed AI Summary section and save ~/Transcriptions/.agent/summaries/<Category>/<same-name>_AISUMMARY.md
  • When the user asks for a research plan / NotebookLM input, produce <same-name>_AISEARCHPLAN.md (for ANY input file, not only transcriptions) following the ### Research plan subsection, staying under ~4,600 characters
  • MUST NOT write secrets into any
Полный SKILL.md на ClawHub

Установить yt-whisper-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл yt-whisper-skill?

Locally transcribe YouTube videos with Whisper on CUDA and archive a URL/title-headed .txt under ~/Transcriptions/<Category>/ (auto model selection, category inference, timestamp handling, temp cleanup). Also generates a structured *_AISUMMARY.md report and a compact *_AISEARCHPLAN.md research plan from any input file. Use for transcription, summary, or research-plan requests.

Как установить скилл yt-whisper-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл yt-whisper-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить yt-whisper-skill с