Video Analyzer Skill banner
Ceeon Ceeon

Video Analyzer Skill

Communication community

Description

Claude Code Skill: 视频内容分析,支持 B站/YouTube,基于豆包视觉模型

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

video-analyzer

Claude Code Skill:给一个视频链接,自动下载、压缩、上传到豆包 API,返回带时间戳的详细内容笔记。

工作流程

视频 URL / 本地文件
    ↓
yt-dlp 下载(B站/YouTube/...)
    ↓
ffmpeg 压缩(720p, CRF 28)
    ↓
Files API 上传 → 拿到 file_id
    ↓
Responses API 分析(input_video + file_id)
    ↓
结构化笔记(含 [mm:ss] 时间戳)

安装

1. 安装依赖

brew install yt-dlp ffmpeg

2. 复制到 Claude Code skills 目录

cp -r . ~/.claude/skills/video-analyzer/

3. 配置 API Key

cp config/secrets.md.example config/secrets.md
# 编辑 config/secrets.md,填入你的火山引擎 API Key

API Key 从 [火山引擎控制台](https://console.volcengine.com/ark/) 获取。

使用

在 Claude Code 中直接说:

支持的模型

  • doubao-seed-2-0-pro-260215(默认,豆包视觉模型)

限制

  • 视频文件上传上限 512MB(Files API)
  • B站高清视频需要浏览器 Cookie(--cookies-from-browser chrome
  • 分析耗时取决于视频长度,一般 30-60 秒