video-content-analyzer について
video-content-analyzer は、Instagram、TikTok、YouTube の動画を調べるクリエイターやマーケター向けのスキルです。Gemini AI でフック、構成、話し方、CTA 戦略を分析し、JSON で出力します。
主な機能
- 01Gemini AI による短尺動画分析
- 02フックの手法を特定
- 03コンテンツ構成と形式を分類
- 04話し方と CTA 戦略を分析
- 05分析結果を JSON で出力
活用シーン
- 01動画ごとの冒頭手法の比較
- 02短尺動画の構成整理
- 03動画内の行動喚起の調査
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ bradautomates/ head-of-content --skill video-content-analyzerインストール後、Claude Code で/video-content-analyzerを入力して読み込まれたか確認します。
同梱ファイルscripts/analyze_videos.py
詳細
動画コンテンツアナライザー
Gemini AI でショート動画を分析し、フック、コンテンツ構成、話し方、CTA 戦略を抽出します。
前提条件
GEMINI_API_KEY環境変数google-genaiおよびrequestsPython パッケージ
使い方
python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \
--input outliers.json \
--output video-analysis.json \
--platform instagram \
--max-videos 5
パラメーター
| Arg | 説明 |
|---|---|
--input, -i | 外れ値投稿を含む入力 JSON ファイル(必須) |
--output, -o | 結果を保存する出力 JSON ファイル(必須) |
--platform, -p | プラットフォーム:instagram、tiktok、または youtube(デフォルト:instagram) |
--max-videos, -n | 分析する動画の最大数(デフォルト:5) |
入力形式
プラットフォーム固有のリサーチスキルが出力する外れ値 JSON を受け付けます。次の両方の形式に対応しています:
- 直接リスト:
[{post1}, {post2}, ...] - ラップ形式:
{"outliers": [{post1}, {post2}, ...]}
スクリプトはプラットフォーム固有のフィールドを自動的にマッピングします:
| プラットフォーム | 動画 URL フィールド | キャプション | ユーザー名 |
|---|---|---|---|
videoUrl | caption | ownerUsername | |
| TikTok | videoUrl、video_url、webVideoUrl | text、desc | authorUsername |
| YouTube | videoUrl、url | title | channelTitle |
TikTok に関する注意:Apify TikTok Scraper は、動画の直接ダウンロード URL ではなく、webVideoUrl(TikTok ページの URL)を返します。Gemini はこのページ URL からの分析を試みます。
出力
動画ごとの分析を含む JSON 配列を返します:
[
{
"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": "..."
}
}
]
フックのテクニック
アナライザーは次のフックタイプを識別します:
pattern-interrupt- 予想されるパターンを崩すquestion- 興味を引く質問から始めるbold-claim- 驚くような主張をするstory-tease- 魅力的なストーリーをほのめかすvisual-shock- 印象的な映像で始めるcuriosity-gap- 情報のギャップを生み出すdirect-address- 特定のオーディエンスに語りかけるcontroversial-take- 意見が分かれる見解を述べるrelatable-pain- よくある悩みに焦点を当てるtransformation-preview- ビフォー・アフターを見せる
コンテンツ形式
problem-solution- 問題を提示し、解決策を提案するlisticle- 番号付きのヒントや項目story- 物語の展開tutorial- 手順に沿った解説before-after- 変化を明かすday-in-life- ライフスタイルコンテンツreaction- 他のコンテンツへのリアクションhot-take- 意見を述べるコンテンツtool-demo- 製品やツールの紹介
コメント
Markdown 対応