youtube-transcribe-skill
/youtube-transcribe-skill
Wyciąga napisy lub transkrypcję z adresu YouTube i zapisuje lokalnie znormalizowany tekst ze znacznikami czasu.
- Autor
- feiskyer ↗
- Repozytorium
- codex-settings ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/transcribe_youtube.py, tests/test_transcribe_youtube.py
Co robi i kiedy
Wyciąga napisy lub transkrypcję z adresu YouTube i zapisuje lokalnie znormalizowany tekst ze znacznikami czasu.
Oryginalny opis (EN)
Extract subtitles or a transcript from a YouTube URL and save normalized timestamped text locally. Use when the user wants the spoken content of a YouTube video as text.
Jak działa
- Requirements
- Primary workflow
- Cookie retry
- Browser fallback
- Completion report
Podgląd SKILL.md
--- name: youtube-transcribe-skill description: Extract subtitles or a transcript from a YouTube URL and save normalized timestamped text locally. Use when the user wants the spoken content of a YouTube video as text. --- # YouTube Transcript Extraction Use the bundled `scripts/transcribe_youtube.py` wrapper for the primary workflow. It downloads subtitles with `yt-dlp`, selects the preferred language, converts WebVTT cues into timestamped plain text, and reports the output path and line count. ## Requirements 1. Install `yt-dlp` and confirm `yt-dlp --version` succeeds. 2. Resolve the absolute directory containing this `SKILL.md`; refer to it as `<skill-dir>`. 3. Keep the output in the user's current working directory unless they request another location. The Python wrapper itself uses only the standard library. It can display `--help` without `yt-dlp` being installed. ## Primary workflow Run without browser cookies first: ```bash python3 "<skill-dir>/scripts/transcribe_youtube.py" \ "<youtube-url>" \ --output-dir "$PWD" ``` The default language preference is Simplified Chinese, Traditional Chinese, other Chinese variants, then English. Override it when the user requests another language: ```bash python3 "<skill-dir>/scripts/transcribe_youtube.py" \ "<youtube-url>" \ --languages "ja.*,en.*" \ --output-dir "$PWD" ``` The wrapper supports normal watch URLs plus `youtu.be`, Shorts, live, and embed URLs. A successful run writes one `.txt` file whose non-empty lines use this shape: ```text 00:03 Subtitle text 00:08 Next subtitle text ``` ## Cookie retry Do not read browser cookies by default. If the initial command fails specifically because the video requires sign-in, age verification, membership, or another authenticated session: 1. Explain that the retry will let `yt-dlp` read YouTube cookies from a local browser profile. 2. Ask the user which browser profile they approve using. 3. Retry only after approval: ```bash python3 "<skill-dir>/scripts/transcribe_youtube.py" \ "<youtube-url>" \ --cookies-from-browser chrome \ --output-dir "$PWD" ``` Never print, copy, or persist browser cookies in the transcript or logs. ## Browser fallback Use browser automation only when `yt-dlp` is unavailable or cannot obtain subtitles and an appropriate browser-control capability is available. 1. Inspect the tools available in the current session; do not assume fixed MCP server or tool names. 2. Open the video, reveal the transcript panel, and extract visible timestamp/text pairs. 3. Save the result as `<sanitized-video-title>.txt` in the requested directory. 4. Close pages or sessions opened solely for this task. If neither CLI extraction nor browser automation is available, report the missing capability instead of claiming success. ## Completion report Return: 1. Absolute transcript path 2. Selected subtitle language 3. Number of transcript lines 4. Whether browser cookies or browser automation were used
Pliki w paczce (4)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- scripts/transcribe_youtube.py 9 KB
- tests/test_transcribe_youtube.py 5 KB
Wersje
W bazie nie ma innych skilli o nazwie youtube-transcribe-skill.
Migawka bazy z 28.10.2026 · wersja paczki 471e37d15938 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100youtube-transcript
Pobiera transkrypcje filmów YouTube po podaniu adresu URL, także napisy do transkrypcji. - 100youtube-transcript
Wyciąga transkrypcję z panelu YouTube ze znacznikami czasu i przekształca ją w streszczenia, plany rozdziałów, wątki na X, wpisy blogowe lub cytaty. - 100transcribe-youtube
Pobiera filmy z YouTube, transkrybuje je przez yt-dlp i Whisper i zapisuje tekst w pliku markdown. - 100youtube-downloader
Pobiera transkrypcje filmów YouTube po podaniu adresu URL, także napisy do transkrypcji. - 100youtube-transcription
Transkrybuje filmy YouTube na tekst przez OpenAI Whisper i yt-dlp, w tym napisy SRT i VTT i wyciąganie mowy z adresów URL. - 90youtube-transcript
Wyciąga tekst i fragmenty z czasem z istniejących napisów YouTube, ręcznych lub automatycznych, bez transkrypcji audio.