Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

youtube-video-transcriptYouTube 视频文字记录

Agent Skill

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

总安装

17,921

周安装

718

GitHub Stars

1

下载量

5,801
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:youtube-video-transcript(YouTube 视频文字记录)
来源仓库:https://github.com/ivangdavila/youtube-video-transcript
安装命令:
openclaw skills install youtube-video-transcript
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install youtube-video-transcript

简介

通过时间戳导航、章节检测和可搜索内容获取 YouTube 记录。

  • 适用于 OpenClaw 中的视频分析与内容提取。
  • 支持文字记录保存与结构化处理。
  • 安装命令:openclaw skills install youtube-video-transcript。
  • 使用前请确认权限范围、维护状态及是否触发联网或文件读写。

SKILL.md

name
YouTube Video Transcript
slug
youtube-video-transcript
version
1.0.0
homepage
https://clawic.com/skills/youtube-video-transcript
description
Fetch, summarize, and save YouTube transcripts with timestamp navigation, chapter detection, and searchable content.
changelog
Initial release with transcript extraction, timestamp navigation, chapter detection, and multi-format export.
metadata
{"clawdbot":{"emoji":"📺","requires":{"bins":["yt-dlp"]},"install":[{"id":"brew","kind":"brew","formula":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (Homebrew)"},{"id":"pip","kind":"pip","package":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (pip)"}],"os":["linux","darwin","win32"]}}

Most YouTube transcript tools either require paid APIs, use suspicious proxies, or just dump raw text without structure. This skill extracts transcripts locally using yt-dlp, preserves timestamps for navigation, detects chapters automatically, and exports to any format you need.

When to Use

User shares a YouTube link and wants to read instead of watch. User asks what someone says about a topic at a specific moment. User needs to extract quotes with timestamps for research or content creation. User wants to summarize a video or search within its content.

How It Works

         ┌──────────────────────────────────────────────┐
         │           YOUTUBE TRANSCRIPT FLOW            │
         └──────────────────────────────────────────────┘
                              │
         ┌────────────────────┼────────────────────┐
         ▼                    ▼                    ▼
    ┌─────────┐         ┌──────────┐         ┌─────────┐
    │  VIDEO  │         │ METADATA │         │SUBTITLES│
    │   URL   │         │  FETCH   │         │  CHECK  │
    └────┬────┘         └────┬─────┘         └────┬────┘
         │                   │                    │
         │  youtube.com/     │  Title, duration,  │  Manual first,
         │  watch?v=...      │  chapters, lang    │  auto fallback
         │                   │                    │
         └───────────────────┴────────────────────┘
                              │
                              ▼
                    ┌─────────────────┐
                    │ EXTRACT + CLEAN │
                    │ VTT → Markdown  │
                    │ with timestamps │
                    └────────┬────────┘
                              │
              ┌───────────────┼───────────────┐
              ▼               ▼               ▼
        ┌──────────┐   ┌───────────┐   ┌──────────┐
        │ CHAPTERS │   │  SEARCH   │   │  EXPORT  │
        │ detected │   │ by topic  │   │ MD/SRT/  │
        │ or smart │   │ timestamp │   │ TXT/JSON │
        └──────────┘   └───────────┘   └──────────┘

The Extraction Process

1. 📋 Get Metadata First

Always fetch video info before extracting subtitles:

yt-dlp -j "VIDEO_URL"

This gives you title, duration, official chapters, and available languages. Use it to confirm the right video and check what subtitles exist.

2. 📝 Prefer Manual Subtitles

Manual (uploaded) subtitles are higher quality than auto-generated:

# Try manual first
yt-dlp --write-sub --sub-lang en --skip-download "VIDEO_URL"

# Fall back to auto-generated if manual unavailable
yt-dlp --write-auto-sub --sub-lang en --skip-download "VIDEO_URL"

Auto-generated transcripts often have errors, missing punctuation, and wrong word boundaries. Manual subtitles are human-verified.

3. 🕐 Preserve Timestamps Always

Every segment must include timestamps. Format: [HH:MM:SS] or [MM:SS] for videos under 1 hour.

Why this matters: Users need to jump to specific moments. "Take me to where they discuss pricing" requires knowing the timestamp.

Output format:

[00:00] Welcome to this video about machine learning
[00:15] Today we'll cover three main topics
[00:30] First, let's talk about neural networks

Chapter Detection

From Video Markers

Many videos have chapter markers embedded. Extract from metadata:

yt-dlp -j "VIDEO_URL" | jq '.chapters'

Smart Detection (No Markers)

When video lacks chapters, detect natural breaks from transcript:

  • Topic changes (semantic shift in content)
  • Speaker changes (different voice patterns)
  • Explicit transitions ("Now let's talk about...", "Moving on...")
  • Long pauses between segments

Search Within Transcripts

When user asks "where do they talk about X":

  1. Search transcript for keywords and semantic matches
  2. Return segments with timestamps
  3. Include surrounding context (10-15 seconds before/after)

Response format:

Found 3 mentions of "machine learning":

[05:23] "...this is where machine learning really shines..."
Context: Discussing data processing approaches

[12:45] "...traditional methods vs machine learning..."
Context: Comparison section

Generate clickable links: https://youtube.com/watch?v=VIDEO_ID&t=323

Architecture

Memory lives in ~/youtube-video-transcript/. See memory-template.md for structure.

~/youtube-video-transcript/
├── memory.md          # Preferences + recent videos
├── videos/            # Cached transcripts (with consent)
│   └── {video_id}.md  # Individual video data
└── exports/           # Exported files

Quick Reference

TopicFile
Setup processsetup.md
Memory templatememory-template.md
Advanced patternspatterns.md

Core Rules

1. Metadata Before Extraction

Always run yt-dlp -j URL first. This confirms the video, shows available languages, and reveals official chapters. Never extract blind.

2. Manual Over Auto

Subtitle TypeQualityWhen to Use
ManualHighAlways try first
Auto-generatedMediumFallback only

Check with yt-dlp --list-subs URL for unfamiliar channels.

3. Timestamps Are Sacred

Never strip timestamps during any operation. They enable navigation, citation, and deep linking into the video.

4. Cache With Consent

User ResponseAction
"Yes, save it"Cache to ~/youtube-video-transcript/videos/
"No thanks"Don't cache, show once
Not asked yetAsk after first extraction

Always tell user where files are saved and offer to show or delete them.

5. Handle Multiple Languages

If user doesn't specify:

  1. Check available languages
  2. Prefer manual over auto
  3. Default to English
  4. Report which language was used
yt-dlp --list-subs "VIDEO_URL"

6. Quote Extraction Includes Context

When extracting quotes for research:

  • 10-15 seconds before/after for context
  • Exact timestamp for the quote start
  • Speaker identification if multiple speakers

7. Transparency on Quality

Subtitle TypeTell User
Manual"Using official subtitles"
Auto-generated"Using auto-generated (may have errors)"
None available"No subtitles found for this video"

Export Formats

FormatUse CaseCommand
MarkdownReading, notesDefault
SRTVideo editors--sub-format srt
Plain textSearch, grepStrip timestamps
JSONProgrammatic--write-info-json

Common Traps

TrapConsequencePrevention
Not checking subtitles firstWasted time on unavailable videoAlways --list-subs first
Ignoring auto-generated qualityGarbage text with errorsPrefer manual, warn about auto
Losing timestampsCan't navigate videoNever strip in any operation
Extracting without metadataMissing title, chaptersAlways fetch -j first
Caching without consentPrivacy violationAsk before saving

Quick Commands

User SaysAction
"Transcribe this video"Extract + display
"What do they say about X?"Search + timestamps
"Save this transcript"Cache with confirmation
"Export as SRT"Convert format
"Show saved videos"List ~/youtube-video-transcript/videos/
"Delete video X"Remove from cache

Security & Privacy

Data that stays local (with your consent):

  • Transcripts cached in ~/youtube-video-transcript/ (only if you agree)
  • Preferences stored locally (only after confirmation)
  • No external API calls beyond YouTube's public subtitle endpoints

Transparency guarantees:

  • Always asks before saving transcripts locally
  • Tells you where files are saved
  • Offers to show or delete saved data anytime

This skill does NOT:

  • Use proxy services or third-party APIs
  • Send your queries to external services
  • Store credentials or authentication
  • Save anything without your explicit consent

Related Skills

Install with clawhub install <slug> if user confirms:

  • summarizer — create summaries from any content
  • video-captions — generate and edit video subtitles
  • ffmpeg — advanced video and audio processing

Feedback

  • If useful: clawhub star youtube-video-transcript
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.75%
按下载量换算4,510

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills