← ClaudeAtlas

youtube-contentlisted

Extract YouTube transcripts and reformat into summaries, chapters, threads, or blogs; use when given a YouTube URL or asked to summarize/transcribe a video.
aashutosh396/mindpalace · ★ 0 · AI & Automation · score 75
Install: claude install-skill aashutosh396/mindpalace
# YouTube Content Tool ## When to use Use when the user shares a YouTube URL or video link, asks to summarize a video, requests a transcript, or wants to extract and reformat content from any YouTube video. Transforms transcripts into structured content (chapters, summaries, threads, blog posts). Extract transcripts from YouTube videos and convert them into useful formats. ## Setup ```bash pip install youtube-transcript-api ``` ## Helper Script `SKILL_DIR` is the directory containing this SKILL.md file. The script accepts any standard YouTube URL format, short links (youtu.be), shorts, embeds, live links, or a raw 11-character video ID. ```bash # JSON output with metadata python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" # Plain text (good for piping into further processing) python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --text-only # With timestamps python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --timestamps # Specific language with fallback chain python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --language tr,en ``` ## Output Formats After fetching the transcript, format it based on what the user asks for: - **Chapters**: Group by topic shifts, output timestamped chapter list - **Summary**: Concise 5-10 sentence overview of the entire video - **Chapter summaries**: Chapters with a short paragraph summary for each - **Thread**: Twitter/X thread format — numbered posts, each under 280 chars - **Blog post**: Full art