Token导航 LogoToken导航

Agent Skill · 开发

youtube-video-analyzer(YouTube 视频分析仪)

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

youtube-video-analyzer 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 17,510。

总安装 404周安装 17GitHub Stars 1下载 141核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/chenxplorer/youtube-video-analyzer-skill --skill youtube-video-analyzer

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

YouTube Video Analyzer 通过场景检测与字幕对齐实现专业级视频内容分析。自动划分镜头段落并提取关键帧,支持多轨道素材的时间轴精准定位。适用于教学切片制作、影视素材整理与广告创意拆解等视频加工场景。需提前安装 yt-dlp 与 ffmpeg 工具链以保证完整功能正常运作。

youtube-video-analyzer 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/youtube-video-analyzer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/chenxplorer/youtube-video-analyzer-skill --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

youtube-video-analyzer 怎么安装?

在终端执行 npx skills add https://github.com/chenxplorer/youtube-video-analyzer-skill --skill youtube…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

youtube-video-analyzer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

youtube-video-analyzer 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

youtube-video-analyzer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

youtube-video-analyzer 用的人多吗?

公开数据是累计安装 404 次,近一周安装 17 次,下载 141 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

youtube-video-analyzer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
youtube-video-analyzer

YouTube 视频分析仪 · 本页

4041操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

YouTube Video Analyzer

A professional YouTube video analysis assistant using scene detection + subtitle alignment + parallel analysis architecture.

Prerequisites

Before starting, ensure these tools are installed:

# Check installations
which yt-dlp    # Video/subtitle download
which ffmpeg    # Scene detection and frame extraction

# Install if missing (macOS)
brew install yt-dlp ffmpeg

# Or via pip
pip install yt-dlp

Complete Workflow

Phase 1: Setup and Download

# Create working directory
VIDEO_ID="[extract from URL]"
WORK_DIR="youtube_analysis_$VIDEO_ID"
mkdir -p $WORK_DIR/{video,subtitles,frames,output}

# Download video + subtitles + metadata in one call (fewer requests)
yt-dlp -f "worst[ext=mp4]/best[ext=mp4]" \
       --write-info-json \
       --write-auto-sub --write-sub \
       --sub-lang zh-Hans,zh,en \
       --convert-subs srt \
       --no-playlist \
       -o "$WORK_DIR/video/source.%(ext)s" \
       "YOUTUBE_URL"

# Move subtitles to subtitles/ and keep metadata.json
mv "$WORK_DIR/video/"*.srt "$WORK_DIR/subtitles/" 2>/dev/null || true
cp "$WORK_DIR/video/source.info.json" "$WORK_DIR/metadata.json" 2>/dev/null || true

Phase 2: Scene Detection and Frame Extraction

# Extract keyframes + timestamps in a single decode
ffmpeg -i $WORK_DIR/video/source.mp4 \
       -vf "select='gt(scene,0.3)',showinfo" \
       -vsync vfr \
       $WORK_DIR/frames/scene_%04d.jpg \
       2> $WORK_DIR/ffmpeg_scene.log

# Parse timestamps from log (no second decode)
grep "pts_time" $WORK_DIR/ffmpeg_scene.log | \
  sed 's/.*pts_time:\([0-9.]*\).*/\1/' > $WORK_DIR/frame_timestamps.txt

Scene threshold guidelines:

Video TypeThresholdDescription
Lectures/PPT0.2-0.3Fewer changes, capture slides
Technical tutorials0.25-0.35Code/UI changes
Vlogs/interviews0.3-0.4Moderate changes
Fast-paced/edited0.4-0.5Avoid too many frames

Phase 3: Subtitle Parsing and Alignment

Parse the SRT subtitle file and align with extracted frames:

  1. Read subtitle file from $WORK_DIR/subtitles/
  2. Parse timestamp format: 00:01:23,456 --> 00:01:25,789
  3. Match each frame timestamp to corresponding subtitle segment
  4. Create frame-subtitle pairs for analysis

Phase 4: Parallel Segment Analysis

Divide frames into segments (10-15 frames each) and analyze:

For each segment, use this prompt:

分析以下视频片段:

时间范围:{start_time} - {end_time}
帧图片:[Read the frame images]
字幕内容:
{subtitle_text}

请分析:
1. 每帧的视觉内容(图表、代码、流程图、UI等)
2. 结合字幕理解讲解要点
3. 提取关键概念和术语
4. 标注重要的视觉元素
5. 给出关键细节的解释或小结
6. 如果有步骤/代码,提炼可复现的操作点

输出格式:结构化笔记,标注时间戳

Parallel execution tips:

  • Cap concurrency (e.g., 3–5 segments at once) to avoid rate limits
  • Retry failed segments and merge results incrementally
  • Consider de-dup/contact-sheeting similar frames to reduce token use

Phase 5: Final Summary Generation

Merge all segment analyses and generate complete summary:

Use this prompt for final generation:

整合以下视频分析结果,生成完整的学习总结:

{all_segment_analyses}

**必须包含以下内容:**

1. 概览(中英双语)
2. 核心要点列表
3. 场景时间线表格
4. 关键视觉内容(引用帧图片)
5. 详细笔记(按章节组织)
6. 实践要点清单

**详细度要求:**
- 每个章节至少 3-5 条要点(包含解释、原因或影响)
- 对关键术语给出简短定义/释义
- 对关键步骤给出可复现的操作描述
- 重要结论尽量引用对应帧图(scene_XXXX.jpg)

**必须生成以下图表(Mermaid格式):**

1. **思维导图**(必须)- 展示知识结构
2. **时间线**(必须)- 展示内容分布
3. **流程图**(如有步骤/流程)
4. **概念关系图**(如有概念关联)

Phase 6: Final Deliverables (cleanup)

Keep only final artifacts:

  • Video file
  • Chinese/English subtitles (SRT)
  • Summary document
  • Frames referenced by the summary

Run:

./scripts/finalize.sh "$WORK_DIR" /path/to/summary.md

Use --keep-work to preserve intermediate files for debugging. When using this skill, always run finalize.sh after the summary is generated to remove intermediate artifacts.

Output Format Template

# [视频标题] 学习总结 / Learning Summary

## 概览 / Overview
[中英双语简介]

## 核心要点 / Key Takeaways
- 要点 1 / Point 1
- 要点 2 / Point 2
- 要点 3 / Point 3

## 知识结构图 / Knowledge Mind Map

mindmap root((视频主题)) 核心概念1 子概念A 子概念B 核心概念2 子概念C 实践要点 步骤1 步骤2


## 视频时间线 / Video Timeline

gantt title 视频内容时间线 dateFormat mm:ss section 引言 主题介绍 :00:00, 02:00 section 核心内容 概念讲解 :02:00, 15:00 section 总结 回顾要点 :15:00, 20:00


## 内容流程图 / Content Flowchart (如适用)

flowchart TD A[开始] --> B[步骤1] B --> C{判断条件} C -->|是| D[步骤2] C -->|否| E[步骤3] D --> F[结束] E --> F


## 概念关系图 / Concept Relationships (如适用)

graph LR A[概念A] --> B[概念B] A --> C[概念C] B --> D[概念D] C --> D


## 场景时间线 / Scene Timeline

| 时间 | 场景描述 | 关键内容 |
| --- | --- | --- |
| 00:15 | 标题页 | 主题介绍 |
| 02:30 | 代码演示 | 核心实现 |
| 05:45 | 架构图 | 系统设计 |

## 关键视觉内容 / Key Visuals

### [00:02:30] - 架构图

![架构图](/api/image-proxy?url=https%3A%2F%2Fgithub.com%2Fchenxplorer%2Fyoutube-video-analyzer-skill%2Fblob%2FHEAD%2F.%2Fframes%2Fscene_0005.jpg&s=4ab5235b703b9d9f) **分析 / Analysis**: [图片内容说明及重要性]

### [00:05:45] - 代码示例

![代码示例](/api/image-proxy?url=https%3A%2F%2Fgithub.com%2Fchenxplorer%2Fyoutube-video-analyzer-skill%2Fblob%2FHEAD%2F.%2Fframes%2Fscene_0012.jpg&s=4e90e0beed0d8c04) **分析 / Analysis**: [代码说明及要点]

## 详细笔记 / Detailed Notes

### 第一章:引言 [00:00 - 02:00]

[详细内容...]

### 第二章:核心概念 [02:00 - 10:00]

[详细内容...]

### 第三章:实践演示 [10:00 - 18:00]

[详细内容...]

### 第四章:总结 [18:00 - 20:00]

[详细内容...]

## 关键概念释义 / Key Terms

- 术语 1:解释
- 术语 2:解释

## 复现步骤 / Reproduction Steps

1. 步骤 1
2. 步骤 2
3. 步骤 3

## 常见误区 / Common Pitfalls

- 误区 1:说明
- 误区 2:说明

## 实践要点 / Action Items

- 实践项 1 / Action 1
- 实践项 2 / Action 2
- 实践项 3 / Action 3

## 相关资源 / Related Resources

- [链接1](https://github.com/chenxplorer/youtube-video-analyzer-skill/blob/HEAD/url) - 描述
- [链接2](https://github.com/chenxplorer/youtube-video-analyzer-skill/blob/HEAD/url) - 描述

Execution Tips

  1. Long videos (>30min): Increase scene threshold to 0.4-0.5 to reduce frame count
  2. No subtitles available: Use audio transcription or analyze frames only
  3. Too many frames: Manually select key frames or increase threshold
  4. Token limits: Process in smaller segments, summarize progressively
  5. Faster downloads: Use parallel fragments with yt-dlp (e.g., --concurrent-fragments 4)

Quick Start Script

Run the preprocessing script:

./scripts/preprocess.sh "YOUTUBE_URL"

Optional faster download (parallel fragments) and extra yt-dlp args:

YTDLP_CONCURRENT_FRAGMENTS=4 \
YTDLP_EXTRA_ARGS="--cookies-from-browser chrome" \
./scripts/preprocess.sh "YOUTUBE_URL"

Then analyze the extracted frames and subtitles using the prompts above, generate summary.md, and run finalize.sh to keep only deliverables.

Optional auto-finalize (if summary exists):

./scripts/preprocess.sh "YOUTUBE_URL" 0.3 /path/to/summary.md

平台分布

Codex

34.56%
按下载量换算49

Claude

28.35%
按下载量换算40

Cursor

19.92%
按下载量换算28

Gemini CLI

10.24%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills