跳到正文
cccskills
免费在 GitHub 公开

youtube

Extract transcripts from YouTube videos via the YouTube caption system

中文简介正在准备中。当前显示原文说明。

集成工具YouTube

实测评分 未实测

查看安装方法

包含的文件(4)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

docx

免费

Extract text from Microsoft Word documents

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

image

免费

Extract text from images using a vision LLM

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

markdown

免费

Ingest Markdown and plain text files

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

pdf

免费

Extract text from PDF documents

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

pptx

免费

Extract text from Microsoft PowerPoint presentations

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

session

免费

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

中文简介正在准备中。当前显示原文说明。

axoviq-ai/synthadoc15942026年10月23日 更新

查看 axoviq-ai 的全部技能

报告此技能的问题