youtube
YouTube Skill
Swiss army knife for YouTube using yt-dlp. Light scripts for the most common actions.
Prerequisites
- Python 3.10+
- yt-dlp (
pip install yt-dlporbrew install yt-dlp) - ffmpeg (for audio extraction:
brew install ffmpeg)
Scripts
All scripts are in skills/youtube/scripts/. Output goes to skills/youtube/output/.
transcript.py — Extract Subtitles
python transcript.py "URL" # Default: English
python transcript.py "URL" --lang es # Spanish
python transcript.py "URL" --timestamps # Keep timestamps
download.py — Download Video/Audio
# Video
python download.py "URL" # Best quality
python download.py "URL" --quality 720 # 720p max
# Audio only
python download.py "URL" --audio # Best audio → mp3
python download.py "URL" --audio --format m4a # Keep as m4a
info.py — Get Metadata
python info.py "URL" # Title, duration, channel
python info.py "URL" --json # Full JSON dump
python info.py "URL" --formats # Available formats
playlist.py — Playlist Operations
python playlist.py "URL" # List all videos
python playlist.py "URL" --download # Download all
python playlist.py "URL" --download --audio # Audio only
python playlist.py "URL" --range 1-5 # Videos 1-5 only
Common Workflows
Research a video:
python info.py "URL" # Check what we're working with
python transcript.py "URL" # Get transcript for AI analysis
Archive a podcast:
python download.py "URL" --audio # Just the audio as mp3
Download a course:
python playlist.py "URL" --download --quality 720
Output Structure
skills/youtube/output/
├── transcripts/ # .txt transcript files
├── videos/ # Downloaded videos
├── audio/ # Extracted audio files
└── info/ # JSON metadata dumps
Notes
- Video IDs work as well as full URLs
- Rate limiting: wait a few minutes between bulk operations
- Some videos have no subtitles available
More from aussiegingersnap/cursor-skills
api-rest
REST API conventions for Next.js App Router with Zod validation and standardized error handling. This skill should be used when creating API routes, implementing CRUD operations, or establishing API patterns for a project.
12ui-design-system
Complete design system with principles + living style guide. Enforces precise, crafted UI inspired by Linear, Notion, and Stripe. Includes boilerplate style-guide page template for Next.js/React projects. Use when building any UI that needs Jony Ive-level precision.
10tools-repo-review
Comprehensive GitHub repository analysis for engineering managers with contribution stats, code quality review, team health metrics, and actionable management outputs
9auth-better-auth
Better Auth integration for Next.js 16 with Drizzle adapter. This skill should be used when connecting to a Better Auth instance, configuring OAuth providers, or implementing protected routes with proxy.ts.
8ui-principles
Enforce a precise, minimal design system inspired by Linear, Notion, and Stripe. Use this skill when building dashboards, admin interfaces, or any UI that needs Jony Ive-level precision - clean, modern, minimalist with taste. Every pixel matters.
8ui-shadcn-studio
shadcn/studio component library with MCP integration, theme generation, and block patterns. This skill should be used when building UI with shadcn components, selecting dashboard layouts, or generating landing pages. Canonical source for all shadcn-based work.
7