yt
Pobiera transkrypcję z YouTube i umożliwia analizę/pytania o film.
Profile →npx skills add majiayu000/claude-skill-registry --skill yt-kmylpenter-kfg-ccv2-installer-s-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
--- name: yt description: Pobranie i analiza transkrypcji YouTube. Triggers: youtube, yt, transkrypcja, transcript allowed-tools: Bash, Read, Write, Grep, Task, Glob --- # Komenda /yt - YouTube Transcript Pobiera transkrypcję z YouTube i umożliwia analizę/pytania o film. ## Ścieżka tymczasowa: `C:\Users\kamil\AppData\Local\Temp\yt-transcripts\` ## Workflow: ### 1. Przygotuj folder (Bash): ```bash mkdir -p "C:\Users\kamil\AppData\Local\Temp\yt-transcripts" ``` ### 2. Pobierz transkrypcję (Bash): ```bash python -m yt_dlp --write-auto-sub --sub-lang en,pl --skip-download --sub-format vtt -o "C:\Users\kamil\AppData\Local\Temp\yt-transcripts\%(id)s" "$url" 2>&1 ``` **Możliwe błędy:** - `429 Too Many Requests` → Spróbuj tylko `--sub-lang en` - `No subtitles` → Film nie ma napisów, poinformuj użytkownika ### 3. Znajdź plik VTT: ```bash dir "C:\Users\kamil\AppData\Local\Temp\yt-transcripts\*.vtt" /b 2>nul ``` ### 4. Wyczyść VTT do czystego tekstu (Bash): Usuń timestampy i duplikaty - stwórz czysty plik .txt: ```bash python -c " import re import sys with open(sys.argv[1], 'r', encoding='utf-8') as f: content = f.read() # Usuń nagłówek WEBVTT content = re.sub(r'^WEBVTT.*?\n\n', '', content,
- Ścieżka tymczasowa:
- Workflow:
- 1. Przygotuj folder (Bash):
- 2. Pobierz transkrypcję (Bash):
- 3. Znajdź plik VTT:
- 4. Wyczyść VTT do czystego tekstu (Bash):
- 5. Deleguj agenta do analizy (Task tool):
- 6. Pokaż wynik użytkownikowi:
- Późniejsze pytania:
- Cleanup (opcjonalnie):
- Obsługa błędów:
- WAŻNE:
mkdir -p "C:\Users\kamil\AppData\Local\Temp\yt-transcripts"
python -m yt_dlp --write-auto-sub --sub-lang en,pl --skip-download --sub-format vtt -o "C:\Users\kamil\AppData\Local\Temp\yt-transcripts\%(id)s" "$url" 2>&1
dir "C:\Users\kamil\AppData\Local\Temp\yt-transcripts\*.vtt" /b 2>nul
python -c "
import re
import sys
with open(sys.argv[1], 'r', encoding='utf-8') as f:
content = f.read()
content = re.sub(r'^WEBVTT.*?\n\n', '', content, flags=re.DOTALL)
content = re.sub(r'\d{2}:\d{2}:\d{2}\.\d{3} --> \d{2}:\d{2}:\d{2}\.\d{3}.*?\n', '', content)What does the yt skill do?
Pobiera transkrypcję z YouTube i umożliwia analizę/pytania o film.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill yt-kmylpenter-kfg-ccv2-installer-s-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.