youtube-content
math-inc/OpenGauss/skills/media/youtube-content/SKILL.md
Fetch YouTube video transcripts and transform them into structured content (chapters, summaries, threads, blog posts).
Skill1.3k starsChanged 7 months ago
- Installs packages
What's in it
- YouTube Content Tool
- Setup
- Helper script
- URL formats supported
- Output formats
- Workflow
- Error handling
--- name: youtube-content description: Fetch YouTube video transcripts and transform them into structured content (chapters, summaries, threads, blog posts). --- # YouTube Content Tool Extract transcripts from YouTube videos and convert them into useful formats. ## Setup ```bash pip install youtube-transcript-api ``` ## Helper script This skill includes `fetch_transcript.py` — use it to fetch transcripts quickly: ```bash # JSON output with metadata python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" # With timestamps python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" --timestamps # Plain text output (good for piping into further processing) python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" --text-only # Specific language with fallback python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" --language tr,en # Timestamped plain text python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID" --text-only --timestamps ``` `SKILL_DIR` is the directory containing this SKILL.md file. ## URL formats supported The script accepts any of these formats (or a raw 11-character video ID): - `https://www.youtube.com/watch?v=VIDEO_ID` - `https://youtu.be/VIDEO_ID` - `https://youtube.com/shorts/VIDEO_ID` - `https://youtube.com/embed/VIDEO_ID` - `https://youtube.com/live/VIDEO_ID` ## Output formats After fetching the transcript, format it based on what the user asks for: - **Chapters**: Group by topic shifts, output timestamped chapter list (`00:00 Introduction`, `03:45 Main Topic`, etc.) - **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 article with title, sections, and key takeaways - **Quotes**: Notable quotes with timestamps ## Workflow 1. Fetch the transcript using the helper script 2. If the transcript is very long (>50K chars), summarize in chunks 3. Transform into the requested output format using your own reasoning ## Error handling - **Transcript disabled**: Some videos have transcripts turned off — tell the user - **Private/unavailable**: The API will raise an error — relay it clearly - **No matching language**: Try without specifying a language to get whatever's available - **Dependency missing**: Run `pip install youtube-transcript-api` first
More agent context in math-inc/OpenGauss
52 other files this repository gives its agents.
AGENTS.md
Skill
- apple-notesskills/apple/apple-notes/SKILL.md
- apple-remindersskills/apple/apple-reminders/SKILL.md
- findmyskills/apple/findmy/SKILL.md
- imessageskills/apple/imessage/SKILL.md
- claude-codeskills/autonomous-ai-agents/claude-code/SKILL.md
- codexskills/autonomous-ai-agents/codex/SKILL.md
- gauss-agent-spawningskills/autonomous-ai-agents/gauss-agent/SKILL.md
- opencodeskills/autonomous-ai-agents/opencode/SKILL.md
- ascii-artskills/creative/ascii-art/SKILL.md
- ascii-videoskills/creative/ascii-video/SKILL.md
- excalidrawskills/creative/excalidraw/SKILL.md
- jupyter-live-kernelskills/data-science/jupyter-live-kernel/SKILL.md
- dogfoodskills/dogfood/SKILL.md
- himalayaskills/email/himalaya/SKILL.md
- minecraft-modpack-serverskills/gaming/minecraft-modpack-server/SKILL.md
- pokemon-playerskills/gaming/pokemon-player/SKILL.md
- codebase-inspectionskills/github/codebase-inspection/SKILL.md
- github-authskills/github/github-auth/SKILL.md
- github-code-reviewskills/github/github-code-review/SKILL.md
- github-issuesskills/github/github-issues/SKILL.md
- github-pr-workflowskills/github/github-pr-workflow/SKILL.md
- github-repo-managementskills/github/github-repo-management/SKILL.md
- find-nearbyskills/leisure/find-nearby/SKILL.md
- mcporterskills/mcp/mcporter/SKILL.md
- native-mcpskills/mcp/native-mcp/SKILL.md
- gif-searchskills/media/gif-search/SKILL.md
- heartmulaskills/media/heartmula/SKILL.md
- songseeskills/media/songsee/SKILL.md
- obsidianskills/note-taking/obsidian/SKILL.md
- google-workspaceskills/productivity/google-workspace/SKILL.md
- linearskills/productivity/linear/SKILL.md
- nano-pdfskills/productivity/nano-pdf/SKILL.md
- notionskills/productivity/notion/SKILL.md
- ocr-and-documentsskills/productivity/ocr-and-documents/SKILL.md
- powerpointskills/productivity/powerpoint/SKILL.md
- arxivskills/research/arxiv/SKILL.md
- blogwatcherskills/research/blogwatcher/SKILL.md
- domain-intelskills/research/domain-intel/SKILL.md
- duckduckgo-searchskills/research/duckduckgo-search/SKILL.md
- ml-paper-writingskills/research/ml-paper-writing/SKILL.md
- parallel-cliskills/research/parallel-cli/SKILL.md
- polymarketskills/research/polymarket/SKILL.md
- openhueskills/smart-home/openhue/SKILL.md
- xitterskills/social-media/xitter/SKILL.md
- code-reviewskills/software-development/code-review/SKILL.md
- planskills/software-development/plan/SKILL.md
- requesting-code-reviewskills/software-development/requesting-code-review/SKILL.md
- subagent-driven-developmentskills/software-development/subagent-driven-development/SKILL.md
- systematic-debuggingskills/software-development/systematic-debugging/SKILL.md
- test-driven-developmentskills/software-development/test-driven-development/SKILL.md
- writing-plansskills/software-development/writing-plans/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

