video-content-analyzer▌
bradautomates/head-of-content · updated Apr 8, 2026
Analyze short-form videos with Gemini AI to extract hooks, content structure, delivery style, and CTA strategies.
Video Content Analyzer
Analyze short-form videos with Gemini AI to extract hooks, content structure, delivery style, and CTA strategies.
Prerequisites
GEMINI_API_KEYenvironment variablegoogle-genaiandrequestsPython packages
Usage
python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \
--input outliers.json \
--output video-analysis.json \
--platform instagram \
--max-videos 5
Parameters
| Arg | Description |
|---|---|
--input, -i |
Input JSON file with outlier posts (required) |
--output, -o |
Output JSON file for results (required) |
--platform, -p |
Platform: instagram, tiktok, or youtube (default: instagram) |
--max-videos, -n |
Max videos to analyze (default: 5) |
Input Format
Accepts outlier JSON from platform-specific research skills. Handles both formats:
- Direct list:
[{post1}, {post2}, ...] - Wrapped:
{"outliers": [{post1}, {post2}, ...]}
The script automatically maps platform-specific fields:
| Platform | Video URL Fields | Caption | Username |
|---|---|---|---|
videoUrl |
caption |
ownerUsername |
|
| TikTok | videoUrl, video_url, webVideoUrl |
text, desc |
authorUsername |
| YouTube | videoUrl, url |
title |
channelTitle |
TikTok Note: The Apify TikTok Scraper returns webVideoUrl (the TikTok page URL) rather than a direct video download URL. Gemini will attempt to analyze from this page URL.
Output
Returns JSON array with analysis for each video:
[
{
"post_id": "ABC123",
"username": "creator",
"url": "https://...",
"platform": "instagram",
"likes": 50000,
"comments": 1200,
"views": 500000,
"analysis": {
"hook": {
"technique": "pattern-interrupt",
"opening_line": "Stop scrolling if you...",
"attention_grab": "Creates urgency and targets specific audience",
"replicable_formula": "Stop scrolling if you [pain point]"
},
"content_structure": {
"format": "problem-solution",
"sections": [...],
"pacing": "fast",
"retention_techniques": ["pattern interrupts", "text overlays"]
},
"delivery_style": {
"speaking": "direct-to-camera",
"energy": "high-energy",
"text_overlays": true,
"visual_style": "quick cuts with b-roll"
},
"cta_strategy": {
"type": "follow",
"cta_text": "Follow for more tips",
"placement": "end"
},
"why_it_works": "..."
}
}
]
Hook Techniques
The analyzer identifies these hook types:
pattern-interrupt- Breaks expected patternsquestion- Opens with engaging questionbold-claim- Makes surprising statementstory-tease- Hints at compelling narrativevisual-shock- Striking visual openingcuriosity-gap- Creates information gapdirect-address- Speaks to specific audiencecontroversial-take- Polarizing opinionrelatable-pain- Targets common struggletransformation-preview- Shows before/after
Content Formats
problem-solution- Present problem, offer fixlisticle- Numbered tips/itemsstory- Narrative arctutorial- Step-by-step how-tobefore-after- Transformation revealday-in-life- Lifestyle contentreaction- Response to other contenthot-take- Opinion piecetool-demo- Product/tool showcase
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★27 reviews- ★★★★★Nikhil Gonzalez· Dec 28, 2024
video-content-analyzer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Yuki White· Nov 19, 2024
Registry listing for video-content-analyzer matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Kabir Dixit· Nov 11, 2024
Useful defaults in video-content-analyzer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Kabir Taylor· Oct 10, 2024
video-content-analyzer reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Kabir Martin· Oct 2, 2024
I recommend video-content-analyzer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Piyush G· Sep 25, 2024
We added video-content-analyzer from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aisha Sharma· Sep 21, 2024
Keeps context tight: video-content-analyzer is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Mia Kim· Aug 20, 2024
Keeps context tight: video-content-analyzer is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Shikha Mishra· Aug 16, 2024
video-content-analyzer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Kabir Sethi· Aug 12, 2024
video-content-analyzer is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 27