一键导入
video
Analyze video content — transcribe audio, extract key frames, answer questions about video. Supports local files and YouTube URLs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze video content — transcribe audio, extract key frames, answer questions about video. Supports local files and YouTube URLs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
View and manage Google Calendar events
Check and manage Gmail inbox
Create and manage notes in Notion
Search the web for information using Exa
Review code for bugs, security issues, performance problems, and style. Accepts a file path, diff, or inline code snippet.
Generate a conventional commit message from staged changes or a diff. Follows Conventional Commits spec (feat/fix/chore/refactor/docs/test/perf/ci).
| name | video |
| description | Analyze video content — transcribe audio, extract key frames, answer questions about video. Supports local files and YouTube URLs. |
| argument-hint | ["video path or YouTube URL"] |
| allowed-tools | bash, read_audio, read |
Analyze the video specified by: $ARGUMENTS
First, check if ffmpeg is available:
which ffmpeg || echo "MISSING: ffmpeg is required for video analysis. Install with: brew install ffmpeg"
Determine if the input is a YouTube URL or local file:
For YouTube URLs, check yt-dlp is available:
which yt-dlp || echo "MISSING: yt-dlp is required for YouTube downloads. Install with: brew install yt-dlp"
If the input is a YouTube URL, download the video:
mkdir -p /tmp/assistants-video
yt-dlp -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --merge-output-format mp4 -o "/tmp/assistants-video/%(id)s.%(ext)s" "URL_HERE"
Note the output filename for subsequent steps.
ffprobe -v quiet -print_format json -show_format -show_streams "/path/to/video" 2>/dev/null | head -100
This gives you duration, resolution, codec info.
Extract audio from the video:
ffmpeg -i "/path/to/video" -vn -acodec pcm_s16le -ar 16000 -ac 1 "/tmp/assistants-video/audio.wav" -y 2>/dev/null
Then transcribe using the read_audio tool:
read_audio with path /tmp/assistants-video/audio.wavIf the audio file is too large (>25MB), split it first:
ffmpeg -i "/tmp/assistants-video/audio.wav" -f segment -segment_time 300 -c copy "/tmp/assistants-video/audio_%03d.wav" -y 2>/dev/null
Then transcribe each segment separately.
Extract frames at regular intervals (every 10 seconds, or every 300 frames):
ffmpeg -i "/path/to/video" -vf "fps=1/10" -frames:v 20 "/tmp/assistants-video/frame_%04d.jpg" -y 2>/dev/null
Adjust the fps and frame count based on video length:
Use the read tool to view each extracted frame image. This sends the image to Claude's vision capability for analysis.
For each frame, note:
Combine the transcription and visual analysis into a comprehensive report:
Output Format:
rm -rf /tmp/assistants-video/