youtube-transcript
Download and process YouTube video transcripts using yt-dlp. Use this when extracting subtitles, creating summaries from videos, or processing video content.
npx skills add majiayu000/claude-skill-registry --skill youtube-transcript-doyajin174-myskills-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.
# YouTube Transcript Downloader 유튜브 영상에서 자막을 추출하고 처리하는 스킬입니다. ## Priority Order ``` 1. yt-dlp 설치 확인 2. 사용 가능한 자막 목록 확인 3. 수동 자막 우선 시도 4. 자동 생성 자막 폴백 5. 최후 수단: Whisper 변환 ``` ## Requirements ```bash # macOS brew install yt-dlp # Linux sudo apt install yt-dlp # Universal pip install yt-dlp ``` ## Workflow ### Step 1: 자막 목록 확인 ```bash yt-dlp --list-subs "VIDEO_URL" ``` ### Step 2: 수동 자막 다운로드 (권장) ```bash # 한국어 자막 yt-dlp --write-sub --sub-lang ko --skip-download "VIDEO_URL" # 영어 자막 yt-dlp --write-sub --sub-lang en --skip-download "VIDEO_URL" ``` ### Step 3: 자동 생성 자막 (폴백) ```bash yt-dlp --write-auto-sub --sub-lang ko --skip-download "VIDEO_URL" ``` ### Step 4: VTT → 텍스트 변환 ```bash # VTT 파일에서 타임스탬프 제거 sed '/^[0-9]/d; /^$/d; /-->/d' subtitle.ko.vtt > transcript.txt ``` ## Output Processing ### 중복 제거 자동 생성 자막은 progressive 캡션으로 인해 중복이 많음: ```python # 중복 라인 제거 seen = set() unique_lines = [] for line in lines: if line not in seen: seen.add(line) unique_lines.append(line) ``` ### 요약 생성 추출된 자막으로: - 핵심 내용 요약 - 타임스탬프별 챕터 생성 - 주요 키워드 추출 ## Examples ### Example 1: 강의 영상 요약 ``` User: 이 유튜브 강의 요약해줘 - https://youtube.com/watch?v=xxx Claude: 1. yt-dlp로 자막 다운로드 2. VTT → 텍스트 변환 3. 핵심 내용 요약 생성 4. 타임스탬프별 목
- Priority Order
- Requirements
- Workflow
- Step 1: 자막 목록 확인
- Step 2: 수동 자막 다운로드 (권장)
- Step 3: 자동 생성 자막 (폴백)
- Step 4: VTT → 텍스트 변환
- Output Processing
- 중복 제거
- 요약 생성
- Examples
- Example 1: 강의 영상 요약
- Example 2: 다국어 자막 추출
- Error Handling
macOS brew install yt-dlp Linux sudo apt install yt-dlp Universal pip install yt-dlp yt-dlp --list-subs "VIDEO_URL" yt-dlp --write-sub --sub-lang ko --skip-download "VIDEO_URL" yt-dlp --write-sub --sub-lang en --skip-download "VIDEO_URL" yt-dlp --write-auto-sub --sub-lang ko --skip-download "VIDEO_URL"
What does the youtube-transcript skill do?
Download and process YouTube video transcripts using yt-dlp. Use this when extracting subtitles, creating summaries from videos, or processing video content.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill youtube-transcript-doyajin174-myskills-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.
