agentleFS
jykimjykim/claude-obsidian-skills/youtube-transcript-summarizer/SKILL.md

youtube-transcript-summarizer

Skill49 starsChanged 10 months agoMITView on GitHub

Extract YouTube video transcripts and generate AI-powered summaries in any language. Converts videos to structured markdown documents with summaries, key points, and timelines.

  • Reads credentials
  • Installs packages

The file

Files
SKILL.md

YouTube Transcript Summarizer

Extract transcripts from YouTube videos and generate AI-powered summaries. Supports any source language and can output summaries in your preferred language.

Requirements

pip install -r requirements.txt
# or: pip install youtube-transcript-api anthropic
  • ANTHROPIC_API_KEY env var required for AI summarization
  • yt-dlp (optional) for automatic video title fetching
  • Python 3.7+

Cost depends on transcript length and current Claude API pricing.

Usage

# Single video (default: English -> Korean)
python youtube_transcript_summarizer.py "https://www.youtube.com/watch?v=VIDEO_ID"

# Transcript only (no AI summary)
python youtube_transcript_summarizer.py "VIDEO_URL" --no-summary

# Japanese video with English summary
python youtube_transcript_summarizer.py "VIDEO_URL" --source-lang ja --target-lang en

# Auto-detect source language
python youtube_transcript_summarizer.py "VIDEO_URL" --source-lang auto --target-lang fr

# Batch processing
python youtube_transcript_summarizer.py --batch "urls.txt" --output-dir "summaries"

# Custom model and transcript limit
python youtube_transcript_summarizer.py "VIDEO_URL" --model claude-sonnet-4-5-20250929 --max-transcript-chars 30000

CLI Options

OptionDescriptionDefault
--titleCustom video titleAuto-fetched via yt-dlp
--source-langSource transcript languageen
--target-langOutput summary languageko
--output-dirOutput directoryoutputs/summaries
--batch FILEProcess multiple URLs from file-
--timeline-intervalTimeline interval (minutes)5
--no-summarySkip AI summaryfalse
--api-keyClaude API keyANTHROPIC_API_KEY env
--modelClaude model nameclaude-sonnet-4-5-20250929
--max-transcript-charsMax chars sent to Claude15000

Supported Languages

en, ko, ja, zh, es, fr, de, pt, ru, ar, hi, auto

Output Format

Files are named YYYY-MM-DD VideoTitle.md with YAML frontmatter:

---
title: "Video Title"
source: "https://www.youtube.com/watch?v=ID"
created: YYYY-MM-DD HH:MM:SS
tags:
  - youtube-transcript
video_id: "ID"
source_lang: "en"
target_lang: "ko"
---

Sections: Summary, Key Points, Main Content, Timeline, Full Transcript.

Claude Code Integration

Summarize this YouTube video: https://www.youtube.com/watch?v=VIDEO_ID

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.