Youtube transcript

From ferologics/pi-skills · View interactive version

Youtube transcript is an AI agent skill from the GitHub repository ferologics/pi-skills. Fetch transcripts from YouTube videos using yt-dlp. Supports any language with auto-generated or manual captions. Use for summarization, analysis, or translation tasks.

How to use this skill

Skill file

YouTube Transcript

Fetch transcripts from YouTube videos using yt-dlp.

Requirements

brew install yt-dlp jq

Usage

{baseDir}/transcript.sh <video-url-or-id> [language]

Examples

# English (default)
{baseDir}/transcript.sh "https://youtu.be/dQw4w9WgXcQ"

# Polish
{baseDir}/transcript.sh "https://youtu.be/ksWAT3uqlWA" pl

# German
{baseDir}/transcript.sh "https://www.youtube.com/watch?v=VIDEO_ID" de

# Just video ID works too
{baseDir}/transcript.sh dQw4w9WgXcQ

Output

Timestamped transcript:

[0:00] [Music]
[0:18] We're no strangers to
[0:21] love. You know the rules...
[1:23] Never gonna give you up

Supported Languages

Any language code: en, pl, de, es, ja, pt, fr, it, etc.

Use yt-dlp --list-subs <url> to see available languages for a video.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.