计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
youtube-content【效率与协作】Fetch YouTube video transcripts and transform them into structured content (chapters, summaries, threads, blog posts). 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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Extract transcripts from YouTube videos and convert them into useful formats.
pip install youtube-transcript-api
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.
# 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
After fetching the transcript, format it based on what the user asks for:
00:00 Introduction — host opens with the problem statement
03:45 Background — prior work and why existing solutions fall short
12:20 Core method — walkthrough of the proposed approach
24:10 Results — benchmark comparisons and key takeaways
31:55 Q&A — audience questions on scalability and next steps
--text-only --timestamps.--language to get any available transcript. If still empty, tell the user the video likely has transcripts disabled.--language to fetch any available transcript, then note the actual language to the user.pip install youtube-transcript-api and retry.