analyze-video
Adds visual descriptions to transcripts by extracting and analyzing video frames with ffmpeg. Creates visual transcript with periodic visual descriptions of the video clip. Use when all files have audio transcripts present (transcript) but don't yet have visual transcripts created (visual_transcript).
npx skills add majiayu000/claude-skill-registry --skill analyze-video --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Skill: Analyze Video Add visual descriptions to audio transcripts by extracting JPG frames with ffmpeg and analyzing them. **Never read video files directly** - extract frames first. ## Prerequisites Videos must have audio transcripts. Run **transcribe-audio** skill first if needed. ## Workflow ### 1. Copy & Clean Audio Transcript Don't read the audio transcript, just copy it and then prepare it by using the prepare_visual_script.rb file. This removes word-level timing data and prettifies the JSON for easier editing: ```bash cp libraries/[library]/transcripts/video.json libraries/[library]/transcripts/visual_video.json ruby .claude/skills/analyze-video/prepare_visual_script.rb libraries/[library]/transcripts/visual_video.json ``` ### 2. Extract Frames (Binary Search) Create frame directory: `mkdir -p tmp/frames/[video_name]` **Videos ≤30s:** Extract one frame at 2s **Videos >30s:** Extract start (2s), middle (duration/2), end (duration-2s) ```bash ffmpeg -ss 00:00:02 -i video.mov -vframes 1 -vf "scale=1280:-1" tmp/frames/[video_name]/start.jpg ``` **Subdivide when:** Footage start, middle and end have different subjects, setting or angle changes **Stop when:** The footage no long
- Prerequisites
- Workflow
- 1. Copy & Clean Audio Transcript
- 2. Extract Frames (Binary Search)
- 3. Add Visual Descriptions
- 4. Cleanup & Return
cp libraries/[library]/transcripts/video.json libraries/[library]/transcripts/visual_video.json ruby .claude/skills/analyze-video/prepare_visual_script.rb libraries/[library]/transcripts/visual_video.json ffmpeg -ss 00:00:02 -i video.mov -vframes 1 -vf "scale=1280:-1" tmp/frames/[video_name]/start.jpg rm -rf tmp/frames/[video_name]
What does the analyze-video skill do?
Adds visual descriptions to transcripts by extracting and analyzing video frames with ffmpeg. Creates visual transcript with periodic visual descriptions of the video clip. Use when all files have audio transcripts present (transcript) but don't yet have visual transcripts created (visual_transcript).
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyze-video --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
