Skip to content
Back to skills

Watch

ASecurity

视频分析与内容提取。处理 YouTube/TikTok/X/Instagram 等链接和本地视频文件(mp4/mov/mkv/webm),提取字幕/音频转录,生成带时间戳的视频内容分析报告。

  • 57 stars
  • 0 votes
  • 1 copy
  • 5 views
  • Added September 11, 2026
toolsbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add sunyifeisb-art/legalwork --skill watch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Watch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Watch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sunyifeisb-art-watch/badge)](https://www.skillsdirectory.com/skills/sunyifeisb-art-watch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 视频分析
description: 视频分析与内容提取。处理 YouTube/TikTok/X/Instagram 等链接和本地视频文件(mp4/mov/mkv/webm),提取字幕/音频转录,生成带时间戳的视频内容分析报告。
trigger_commands:
  - /watch
  - 视频
  - 分析视频
  - video analysis
  - watch video
---

# Watch — 视频分析 Skill

给 AI 一个视频链接或本地视频文件路径,即可提取完整内容并进行分析。

## 能力

- 支持 YouTube、TikTok、X、Instagram、Loom 等主流视频平台(依赖 yt-dlp)
- 支持本地视频文件(.mp4, .mov, .mkv, .webm)
- 优先抓取视频自带字幕(免费、最快)
- 无字幕时自动通过 Whisper 进行语音转录(需配置 API Key)
- 生成带时间戳的完整文字记录
- 基于文字内容进行总结、分析、问答

## DeepSeek 适配说明

> ⚠️ DeepSeek 模型不支持图片/视觉理解。本 Skill 在 DeepSeek 环境下**不提取视频帧**,仅使用字幕或音频转录生成文字分析。分析结果准确度取决于字幕质量和 Whisper 转录质量。

## 使用方法

```
# 分析 YouTube 视频
/watch https://youtu.be/xxx 总结这个视频的主要内容

# 分析本地视频文件
/watch ~/Desktop/演示视频.mp4 这个视频讲了什么

# 指定时间范围
/watch https://youtu.be/xxx --start 2:15 --end 5:00 这个片段在讲什么

# 不转录音频(仅使用已有字幕)
/watch https://youtu.be/xxx --no-whisper 总结
```

## 安装依赖

### 必需
```bash
# macOS
brew install ffmpeg yt-dlp

# Linux
sudo apt install ffmpeg yt-dlp

# Windows
winget install ffmpeg yt-dlp
```

### 可选 — Whisper 转录(无字幕时自动降级使用)
在 `~/.config/watch/.env` 中配置:
```
GROQ_API_KEY=your_groq_api_key
# 或
OPENAI_API_KEY=your_openai_api_key
```

## 使用流程

1. 用户提供视频链接或本地文件路径
2. 脚本调用 yt-dlp 获取视频元数据和字幕
3. 有字幕 → 解析为带时间戳的文字记录
4. 无字幕且未禁用 Whisper → 下载音频 → Whisper 转录
5. 无字幕且无 Whisper → 报告无法提取内容
6. 返回带时间戳的完整文字记录 + AI 分析

Files in this skill

  • SKILL.md2.1 KB
  • scripts/watch_video.py16.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.