SkillsGrove
SkillsGrove/Short video & creators/jykim/claude-obsidian-skills/youtube-transcript-summarizer

youtube-transcript-summarizer

Installation

$npx skills add https://github.com/jykim/claude-obsidian-skills --skill youtube-transcript-summarizer
$git clone --depth 1 https://github.com/jykim/claude-obsidian-skills.git /tmp/claude-obsidian-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-obsidian-skills/youtube-transcript-summarizer ~/.claude/skills/youtube-transcript-summarizer
Please install this Agent Skill for me: https://github.com/jykim/claude-obsidian-skills/tree/e5b61b4d395a1075d051234aed181940901b9870/youtube-transcript-summarizer — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITExtract YouTube video transcripts and generate AI-powered summaries in any language. Converts videos to structured markdown documents with summaries, key points, and timelines.
The SKILL.md below is reproduced from jykim/claude-obsidian-skills (commit e5b61b4) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2025 AI4PKM Contributors. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

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

Option Description Default
--title Custom video title Auto-fetched via yt-dlp
--source-lang Source transcript language en
--target-lang Output summary language ko
--output-dir Output directory outputs/summaries
--batch FILE Process multiple URLs from file -
--timeline-interval Timeline interval (minutes) 5
--no-summary Skip AI summary false
--api-key Claude API key ANTHROPIC_API_KEY env
--model Claude model name claude-sonnet-4-5-20250929
--max-transcript-chars Max chars sent to Claude 15000

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
View full license text (MIT)
MIT License

Copyright (c) 2025 AI4PKM Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.