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.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=moltis-org-moltis-crates-skills-src-assets-media-youtube-content-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name youtube-content description 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. origin {"source":"hermes-agent","url":"https://github.com/nousresearch/hermes-agent","version":"9f22977f"} requires {"bins":["python3"],"install":[{"kind":"uv","package":"youtube-transcript-api","label":"Install youtube-transcript-api"}]} YouTube Content Tool Extract transcripts from YouTube videos and convert them into useful formats. Setup pip install youtube-transcript-api Helper Script 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 Output Formats After fetching the transcript, format it based on what the user asks for: Chapters : Group by topic shifts, output timestamped chapter list 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 Example — Chapters Output 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 Workflow Fetch the transcript using the helper script with --text-only --timestamps . Validate : confirm the output is non-empty and in the expected language. If empty, retry without --language to get any available transcript. If still empty, tell the user the video likely has transcripts disabled. Chunk if needed : if the transcript exceeds ~50K characters, split into overlapping chunks (~40K with 2K overlap) and summarize each chunk before merging. Transform into the requested output format. If the user did not specify a format, default to a summary. Verify : re-read the transformed output to check for coherence, correct timestamps, and completeness before presenting. Error Handling Transcript disabled : tell the user; suggest they check if subtitles are available on the video page. Private/unavailable video : relay the error and ask the user to verify the URL. No matching language : retry without --language to fetch any available transcript, then note the actual language to the user. Dependency missing : run pip install youtube-transcript-api and retry.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |