Skip to content
cccskills
FreePublished on GitHub

youtube

Extract transcripts from YouTube videos via the YouTube caption system

The English summary is being prepared. Showing the original description.

Works withYouTube
See how to install

Files included (4)

  • SKILL.md2.5 KB
  • requirements.txt104 B
  • scripts/__init__.py0 B
  • scripts/main.py6.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

YouTube Skill

Extracts the transcript (captions) from a YouTube video using the YouTube caption system — no API key or audio download required. Optionally uses a vision-capable LLM to produce a structured summary (Overview, Topics, Key takeaways) before the raw transcript.

Setup

pip install youtube-transcript-api

Standalone usage

Transcript only (no LLM required):

import asyncio
from synthadoc.skills.youtube.scripts.main import YoutubeSkill

skill = YoutubeSkill()          # no provider — returns raw timestamped transcript

async def main():
    result = await skill.extract("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    print(result.text)          # "[0:00] text [0:04] text ..."
    print(result.metadata)      # {"video_id": "...", "title": "...", "url": "..."}

asyncio.run(main())

With LLM summarization (pass any provider that implements complete()):

skill = YoutubeSkill(provider=my_provider)
result = await skill.extract(url)
# result.text contains:
#   ## Executive Summary
#   <Overview / Topics / Key takeaways>
#
#   ## Transcript
#   [0:00] ...

The provider must implement:

async def complete(messages, system=None, temperature=0.0, max_tokens=4096)
    -> object with .text (str), .input_tokens (int), .output_tokens (int)

Message (used to build the messages list) is importable from synthadoc.skills.base:

from synthadoc.skills.base import Message

When this skill is used

  • Source starts with https://www.youtube.com/, https://youtu.be/, or https://www.youtubekids.com/

To search YouTube by topic instead of ingesting a specific URL, use the web search skill — it filters Tavily results to YouTube domains automatically:

synthadoc ingest "youtube Moore's Law"
synthadoc ingest "youtube kids: Sesame Street"
synthadoc ingest "search for youtube: history of computing"

Limitations

  • Only works for videos that have captions (auto-generated or manually added). If no captions are available the source is skipped with a warning.
  • Private or deleted videos are skipped gracefully.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

docx

Free

Extract text from Microsoft Word documents

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

image

Free

Extract text from images using a vision LLM

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

Ingest Markdown and plain text files

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

pdf

Free

Extract text from PDF documents

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

pptx

Free

Extract text from Microsoft PowerPoint presentations

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

Extract conversation turns from AI session history files (.jsonl)

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 22, 2026

See all skills by axoviq-ai

Report a problem with this skill