agentsclimarketplace

Youtube transcript

Skill ComeOnOliver/skillshub/skills/aiskillstore/marketplace/doyajin174/youtube-transcript

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill youtube-transcript

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Download and process YouTube video transcripts using yt-dlp. Use this when extracting subtitles, creating summaries from videos, or processing video content.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.9 KB, as published. Nobody here has run it

YouTube Transcript Downloader

유튜브 μ˜μƒμ—μ„œ μžλ§‰μ„ μΆ”μΆœν•˜κ³  μ²˜λ¦¬ν•˜λŠ” μŠ€ν‚¬μž…λ‹ˆλ‹€.

Priority Order

1. yt-dlp μ„€μΉ˜ 확인
2. μ‚¬μš© κ°€λŠ₯ν•œ μžλ§‰ λͺ©λ‘ 확인
3. μˆ˜λ™ μžλ§‰ μš°μ„  μ‹œλ„
4. μžλ™ 생성 μžλ§‰ 폴백
5. μ΅œν›„ μˆ˜λ‹¨: Whisper λ³€ν™˜

Requirements

# macOS
brew install yt-dlp

# Linux
sudo apt install yt-dlp

# Universal
pip install yt-dlp

Workflow

Step 1: μžλ§‰ λͺ©λ‘ 확인

yt-dlp --list-subs "VIDEO_URL"

Step 2: μˆ˜λ™ μžλ§‰ λ‹€μš΄λ‘œλ“œ (ꢌμž₯)

# ν•œκ΅­μ–΄ μžλ§‰
yt-dlp --write-sub --sub-lang ko --skip-download "VIDEO_URL"

# μ˜μ–΄ μžλ§‰
yt-dlp --write-sub --sub-lang en --skip-download "VIDEO_URL"

Step 3: μžλ™ 생성 μžλ§‰ (폴백)

yt-dlp --write-auto-sub --sub-lang ko --skip-download "VIDEO_URL"

Step 4: VTT β†’ ν…μŠ€νŠΈ λ³€ν™˜

# VTT νŒŒμΌμ—μ„œ νƒ€μž„μŠ€νƒ¬ν”„ 제거
sed '/^[0-9]/d; /^$/d; /-->/d' subtitle.ko.vtt > transcript.txt

Output Processing

쀑볡 제거

μžλ™ 생성 μžλ§‰μ€ progressive μΊ‘μ…˜μœΌλ‘œ 인해 쀑볡이 많음:

# 쀑볡 라인 제거
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. νƒ€μž„μŠ€νƒ¬ν”„λ³„ λͺ©μ°¨ 제곡

Example 2: λ‹€κ΅­μ–΄ μžλ§‰ μΆ”μΆœ

User: 이 μ˜μƒμ˜ μ˜μ–΄/ν•œκ΅­μ–΄ μžλ§‰ λ‘˜ λ‹€ μΆ”μΆœν•΄μ€˜

Claude:
1. --list-subs둜 κ°€μš© μ–Έμ–΄ 확인
2. 각 언어별 μžλ§‰ λ‹€μš΄λ‘œλ“œ
3. μ •λ¦¬λœ ν…μŠ€νŠΈ 파일 제곡

Error Handling

μ—λŸ¬μ›μΈν•΄κ²°μ±…
yt-dlp not foundλ―Έμ„€μΉ˜brew/apt/pip μ„€μΉ˜
No subtitles availableμžλ§‰ μ—†μŒWhisper μ‚¬μš© μ œμ•ˆ
Invalid URLURL 였λ₯˜URL ν˜•μ‹ 확인
Video unavailableλΉ„κ³΅κ°œ/μ‚­μ œμ‚¬μš©μžμ—κ²Œ μ•Œλ¦Ό

Whisper Fallback

μžλ§‰μ΄ μ „ν˜€ μ—†λŠ” 경우 (μ‚¬μš©μž 확인 ν•„μš”):

# 파일 크기 확인
yt-dlp --print filesize "VIDEO_URL"

# μ‚¬μš©μž 승인 ν›„ μ˜€λ””μ˜€ λ‹€μš΄λ‘œλ“œ
yt-dlp -x --audio-format mp3 "VIDEO_URL"

# Whisper둜 λ³€ν™˜
whisper audio.mp3 --language ko --model base

주의: λŒ€μ—­ν­/처리 μ‹œκ°„ μ†Œμš”λ‘œ μ‚¬μš©μž 확인 ν•„μˆ˜

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.