jpskill.com
💼 ビジネス コミュニティ

youtube-transcript-analysis-api-skill

YouTube動画の文字起こしを取得し、競合のコンテンツ戦略、ターゲット層、メッセージングなどを分析することで、マーケティング戦略やコンテンツ改善に役立つ洞察を得るSkill。

📜 元の英語説明(参考)

This skill helps users extract YouTube video transcripts and perform deep competitive analysis on the content. Agent should proactively apply this skill when users express needs like analyze YouTube video content strategy, perform competitive video content analysis, extract and analyze YouTube subtitles for marketing insights, understand competitor value propositions from their videos, identify target audience from YouTube video content, analyze pain points and needs mentioned in YouTube videos, evaluate competitor CTA strategies in video content, find content gaps in competitor YouTube videos, analyze video narrative structure and hooks, extract key messaging and positioning from YouTube content, benchmark competitor video content quality, research competitor marketing angles through video analysis, identify audience signals and terminology level in videos, analyze emotional tone and persuasion techniques in YouTube content.

🇯🇵 日本人クリエイター向け解説

一言でいうと

YouTube動画の文字起こしを取得し、競合のコンテンツ戦略、ターゲット層、メッセージングなどを分析することで、マーケティング戦略やコンテンツ改善に役立つ洞察を得るSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o youtube-transcript-analysis-api-skill.zip https://jpskill.com/download/17643.zip && unzip -o youtube-transcript-analysis-api-skill.zip && rm youtube-transcript-analysis-api-skill.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17643.zip -OutFile "$d\youtube-transcript-analysis-api-skill.zip"; Expand-Archive "$d\youtube-transcript-analysis-api-skill.zip" -DestinationPath $d -Force; ri "$d\youtube-transcript-analysis-api-skill.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して youtube-transcript-analysis-api-skill.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → youtube-transcript-analysis-api-skill フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

YouTube Transcript Analysis API Skill

📖 概要

この Skill は、YouTube動画のトランスクリプト抽出と詳細なコンテンツ分析のエンドツーエンドのサービスを提供します。動画のトランスクリプトを抽出し、体系的に分析することで、ユーザーは競合他社のコアとなる価値提案、ターゲットオーディエンスのプロファイル、課題戦略、コンテンツのギャップを、何時間も手動で動画を視聴することなく理解できます。

この Skill は2つのフェーズで動作します。

  1. フェーズ1 — トランスクリプト抽出: BrowserAct API を使用して、生のトランスクリプトデータを抽出します(単一動画およびバッチモードをサポート)。
  2. フェーズ2 — 詳細分析: Agent は、抽出されたトランスクリプトに対して、構造化された8次元分析を実行します。

✨ 特徴

  1. ハルシネーションがなく、安定した正確なデータ抽出を保証: 事前設定されたワークフローにより、AIによる生成的なハルシネーションを回避します。
  2. CAPTCHA の問題なし: reCAPTCHA やその他の検証課題に対処する必要はありません。
  3. IP制限やジオブロッキングなし: 地域的なIP制限やジオフェンシングに対処する必要はありません。
  4. より高速な実行: タスクは、純粋なAI駆動のブラウザ自動化ソリューションと比較して、より高速に実行されます。
  5. 非常に高い費用対効果: 大量のトークンを消費するAIソリューションと比較して、データ取得コストを大幅に削減します。

🔑 APIキーガイド

実行する前に、BROWSERACT_API_KEY 環境変数が設定されているか確認する必要があります。設定されていない場合は、まず他のアクションを実行せず、ユーザーに尋ねて提供されるのを待つ必要があります。 Agent はユーザーに次のことを伝える必要があります:

「BrowserAct APIキーがまだ設定されていないため、BrowserAct Console にアクセスしてキーを取得してください。」

🛠️ 入力パラメータ

Agent は、ユーザーのニーズに基づいて抽出モードを決定する必要があります。

モードA:単一動画分析

ユーザーが特定のYouTube動画のURLを提供する場合に使用します。

  1. TargetURL
    • : string
    • 説明: 抽出および分析するYouTube動画のURL。
    • : https://www.youtube.com/watch?v=st534T7-mdE
    • 必須: はい

モードB:バッチ動画分析

ユーザーがキーワードで複数の動画を検索して分析したい場合に使用します。

  1. KeyWords

    • : string
    • 説明: YouTubeで検索するキーワード。
    • : AI Automation, SaaS Marketing
    • 必須: はい
  2. Upload_date

    • : string
    • 説明: 動画のアップロード日でフィルタリングします。
    • : This week
    • デフォルト: This week
  3. Datelimit

    • : number
    • 説明: 抽出および分析する動画の数。
    • : 3
    • デフォルト: 3

オプションの分析パラメータ

これらのパラメータは、スクリプトの引数ではなく、ユーザーの意図によって設定されます。

  1. Analysis Language

    • : string
    • 説明: 分析レポートを作成する言語。デフォルトでは、ユーザーのリクエストと同じ言語になります。
    • : Chinese, English
  2. Analysis Focus

    • : string
    • 説明: ユーザーは分析の焦点を指定できます。Agent は、この焦点に基づいて、特定の次元の深さを動的に調整する必要があります。例:
      • Competitor Analysis -> Dim 7 (Business Model) と Dim 8 (Gaps) を深く掘り下げます。
      • Viral Deconstruction -> Dim 1 (Hook), Dim 4 (Emotional Arc), Dim 5 (Viral Drivers) を深く掘り下げます。
      • Audience Research -> Dim 3 (Persona & Intent) と Dim 4 (Pain Points) を深く掘り下げます。
    • デフォルト: 8次元すべてがバランスが取れています。
    • : Competitor Analysis, Viral Deconstruction, Audience Research

🚀 呼び出し方法

Agent は、モードに基づいて統合された抽出スクリプトを実行する必要があります。

モードA — 単一動画:

python -u ./scripts/youtube_transcript_analysis_api.py single "TargetURL"

モードB — バッチ動画:

python -u ./scripts/youtube_transcript_analysis_api.py batch "keywords" "Upload_date" Datelimit

⏳ 実行状況の監視

このタスクには自動化されたブラウザ操作が含まれるため、時間がかかる場合があります(数分)。スクリプトは、実行中にタイムスタンプ付きのステータスログを継続的に出力します(例:[14:30:05] Task Status: running)。 Agent のガイドライン:

  • スクリプトが結果を返すのを待っている間、ターミナル出力を監視してください。
  • ターミナルが新しいステータスログを出力し続けている限り、タスクは正常に実行されていることを意味します。デッドロックまたは無応答と誤って判断しないでください。
  • ステータスが長時間変わらない場合、またはスクリプトが結果を返さずに停止した場合は、その場合にのみ再試行メカニズムのトリガーを検討してください。

抽出後のワークフロー

スクリプトが完了してトランスクリプトデータを返した後、Agent はさらに2つのステップを実行する必要があります。

ステップ1:動画メタデータの提示 — 抽出されたメタデータをユーザーに表示します。 (注:応答に完全な生のトランスクリプトテキストを出力しないでください。長すぎます。分析のために内部的に使用してください。)

ステップ2:簡潔な8次元分析の実行 — 8つの次元にわたってトランスクリプトを分析します。⚠️ 重要:分析は非常に簡潔で、箇条書き形式で、不要な言葉がないようにする必要があります。 長々とした説明なしに、事実、証拠、および実行可能な洞察を直接述べてください。ユーザーのリクエストと同じ言語を使用してください。

📊 データ出力

正常に実行されると、出力には2つの部分が含まれます。

パート1:動画メタデータ

スクリプトは、各動画について次のフィールドを返します。

  • video_title: YouTube動画のタイトル
  • video_url: 元の動画への直接リンク
  • publisher: 動画を公開しているチャンネルの名前
  • channel_link: パブリッシャーのYouTubeチャンネルのURL
  • video_likes_count: 動画が受け取った「いいね!」の数
  • transcript: 動画の完全な抽出されたトランスクリプト/字幕(分析のために内部的に使用され、全文は表示されません)

パート2:8次元分析

生データを提示した後、Agent は以下を実行する必要があります。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

YouTube Transcript Analysis API Skill

📖 Brief

This skill provides an end-to-end YouTube video transcript extraction and deep content analysis service. By extracting video transcripts and then systematically analyzing them, users can understand competitors' core value propositions, target audience profiles, pain point strategies, and content gaps — all without manually watching hours of video.

This skill works in two phases:

  1. Phase 1 — Transcript Extraction: Uses BrowserAct API to extract raw transcript data (supports single video and batch modes).
  2. Phase 2 — Deep Analysis: The Agent performs structured 8-dimension analysis on the extracted transcripts.

✨ Features

  1. No hallucinations, ensuring stable and accurate data extraction: Pre-set workflows avoid AI generative hallucinations.
  2. No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP restrictions or geo-blocking: No need to handle regional IP restrictions or geofencing.
  4. Faster execution: Tasks execute faster compared to purely AI-driven browser automation solutions.
  5. Extremely high cost-efficiency: Significantly reduces data acquisition costs compared to AI solutions that consume massive amounts of tokens.

🔑 API Key Guide

Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take other actions first; you should ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key yet, please go to the BrowserAct Console to get your Key."

🛠️ Input Parameters

The Agent should determine the extraction mode based on the user's needs:

Mode A: Single Video Analysis

Use when the user provides a specific YouTube video URL.

  1. TargetURL
    • Type: string
    • Description: The URL of the YouTube video to extract and analyze.
    • Example: https://www.youtube.com/watch?v=st534T7-mdE
    • Required: Yes

Mode B: Batch Video Analysis

Use when the user wants to search and analyze multiple videos by keyword.

  1. KeyWords

    • Type: string
    • Description: The keyword to search for on YouTube.
    • Example: AI Automation, SaaS Marketing
    • Required: Yes
  2. Upload_date

    • Type: string
    • Description: Filter for the upload date of the videos.
    • Example: This week
    • Default: This week
  3. Datelimit

    • Type: number
    • Description: The number of videos to extract and analyze.
    • Example: 3
    • Default: 3

Optional Analysis Parameters

These parameters are set by the user's intent, not script arguments:

  1. Analysis Language

    • Type: string
    • Description: The language the analysis report should be written in. Defaults to the same language as the user's request.
    • Example: Chinese, English
  2. Analysis Focus

    • Type: string
    • Description: The user may specify an analysis focus. The Agent must dynamically adjust the depth of specific dimensions based on this focus. For example:
      • Competitor Analysis -> Deep dive into Dim 7 (Business Model) and Dim 8 (Gaps).
      • Viral Deconstruction -> Deep dive into Dim 1 (Hook), Dim 4 (Emotional Arc), and Dim 5 (Viral Drivers).
      • Audience Research -> Deep dive into Dim 3 (Persona & Intent) and Dim 4 (Pain Points).
    • Default: All 8 dimensions balanced.
    • Example: Competitor Analysis, Viral Deconstruction, Audience Research

🚀 Invocation Method

The Agent should execute the unified extraction script based on the mode:

Mode A — Single Video:

python -u ./scripts/youtube_transcript_analysis_api.py single "TargetURL"

Mode B — Batch Videos:

python -u ./scripts/youtube_transcript_analysis_api.py batch "keywords" "Upload_date" Datelimit

⏳ Running Status Monitoring

Since this task involves automated browser operations, it may take a long time (several minutes). The script will continuously output status logs with timestamps while running (e.g., [14:30:05] Task Status: running). Agent guidelines:

  • While waiting for the script to return results, please keep an eye on the terminal output.
  • As long as the terminal continues to output new status logs, it means the task is running normally. Do not misjudge it as a deadlock or unresponsiveness.
  • If the status remains unchanged for a long time or the script stops outputting without returning a result, only then consider triggering the retry mechanism.

Post-Extraction Workflow

After the script completes and returns transcript data, the Agent must proceed with two additional steps:

Step 1: Present Video Metadata — Display the extracted metadata to the user. (Note: Do NOT output the full raw transcript text in your response, as it is too long. Use it internally for your analysis.)

Step 2: Perform Concise 8-Dimension Analysis — Analyze the transcript across the 8 dimensions. ⚠️ CRITICAL: The analysis MUST be extremely concise, bullet-point driven, and free of filler words. Directly state the facts, evidence, and actionable insights without verbose explanations. Use the same language as the user's request.

📊 Data Output

After successful execution, the output includes two parts:

Part 1: Video Metadata

The script returns the following fields for each video:

  • video_title: The title of the YouTube video
  • video_url: The direct link to the original video
  • publisher: The name of the channel publishing the video
  • channel_link: The URL of the publisher's YouTube channel
  • video_likes_count: The number of likes the video has received
  • transcript: The complete extracted transcript/subtitles of the video (used internally for analysis, do not display full text)

Part 2: 8-Dimension Analysis

After presenting raw data, the Agent must produce structured analysis on the transcript content across the following 8 dimensions:

Dimension 1: Content Structure & Hook

Analyze the video's narrative architecture:

  • Opening Hook: What is the core hook in the first 30 seconds? Quote it and explain the hook logic (e.g., curiosity gap, bold claim).
  • Narrative Framework: Identify the overall structure (e.g., Problem-Agitate-Solve, Hero's Journey, Listicle).
  • Pacing & Time Allocation: Proportion of intro vs. core content vs. pitch/CTA.

Dimension 2: Core Messaging

Extract the central message:

  • Single Core Viewpoint: What is the ONE key thesis the video conveys?
  • Supporting Arguments: How is the viewpoint supported? (Data, analogies, personal experience).
  • Conclusion Clarity: Is the conclusion clear and memorable?

Dimension 3: Audience Persona & Intent

Identify the intended viewer and their mindset:

  • Target Viewer Profile & Level: Who is this for? (Beginner, Expert) What prior knowledge is assumed?
  • Viewer Intent: Why are they watching? (To learn a skill, be entertained, make a buying decision, or validate existing beliefs?)

Dimension 4: Pain Points & Emotional Arc

Map the emotional journey and problems addressed:

  • Explicit & Implicit Pain Points: What specific problems are stated or implied? Quote exact words.
  • Emotional Arc: How does the content shift the viewer's emotion? (e.g., from anxiety/confusion to clarity/relief/empowerment). This emotional shift drives retention and sharing.

Dimension 5: Viral & Engagement Drivers

Analyze the spreading mechanism:

  • Shareability Factors: Why is this video shared? (Controversial takes, highly relatable scenarios, title/thumbnail alignment inferred from script).
  • Memorable/Quotable Phrasing: Extract unique expressions, catchy concepts, or "aha" moments that stick in the mind.

Dimension 6: Evidence & Credibility

Evaluate trust-building elements:

  • Authority Signals: Data cited, expert references, or professional background mentioned.
  • Social Proof & Empathy: Real user stories, case studies, or the creator sharing their own past struggles to build rapport.

Dimension 7: Business Model & Conversion

Deconstruct the monetization and CTA strategy:

  • Primary Monetization Goal: What is the underlying business purpose? (Ad revenue, selling a course, affiliate marketing, brand sponsorship, lead generation).
  • CTA Strategy: What actions are requested? How is urgency or value constructed to drive this action?

Dimension 8: Categorized Content Gaps

Identify strategic opportunities by splitting gaps into three layers:

  • Creator's Weaknesses: Arguments that lack evidence, logical flaws, or poorly explained concepts.
  • Unresolved Viewer Questions: What specific questions would the audience still have after watching?
  • Industry Whitespace: What related angles or broader perspectives did the video entirely miss that you could cover?

Output Format

For Single Video Analysis:

## Video Metadata
[Present video metadata. DO NOT print full transcript]

## Concise Deep Analysis
*(Output in extremely brief bullet points, max 1-2 short sentences per point)*

### 1. Content Structure & Hook
[Concise bullets]

### 2. Core Messaging
[Concise bullets]

### 3. Audience Persona & Intent
[Concise bullets]

### 4. Pain Points & Emotional Arc
[Concise bullets]

### 5. Viral & Engagement Drivers
[Concise bullets]

### 6. Evidence & Credibility
[Concise bullets]

### 7. Business Model & Conversion
[Concise bullets]

### 8. Categorized Content Gaps
[Concise bullets]

### Key Takeaways
[3 short, actionable strategic insights]

For Batch Video Analysis:

## Video Metadata
[Present all video metadata. DO NOT print full transcripts]

## Concise Individual Analysis
[Repeat the concise 8-dimension analysis for EACH video using brief bullet points]

## Cross-Video Comparative Analysis
[After analyzing all videos individually, provide a comparative summary]:
- Common value propositions: What themes appear across multiple videos?
- Shared target audience: Is there a consistent audience profile?
- Recurring pain points: Which problems are mentioned most frequently?
- Dominant content strategies: What narrative structures and CTA patterns are most common?
- Competitive differentiation: How do different creators/brands position themselves differently?
- Industry content gaps: What topics are consistently missing across all analyzed videos?

⚠️ Error Handling & Retry

During script execution, if errors occur (such as network fluctuations or task failure), the Agent should follow this logic:

  1. Check the output content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. At this point, do not retry, but guide the user to recheck and provide the correct API Key.
    • If the output contains "concurrent" or "too many running tasks" or similar concurrency limit messages, it means the concurrent task limit for the current subscription plan has been reached. Do not retry; guide the user to upgrade their plan. Agent must inform the user:

      "The current task cannot be executed because your BrowserAct account has reached the limit of concurrent tasks. Please go to the BrowserAct Plan Upgrade Page to upgrade your subscription plan and enjoy more concurrent task benefits."

    • If the output does not contain the above error keywords but the task fails (e.g., output starts with Error: or returns empty results), the Agent should automatically try to run the script once more.
  2. Retry limit:

    • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.
  3. Analysis phase notes:

    • If the transcript is too short (fewer than 50 words), note this and provide analysis only on available content.
    • If the transcript appears to be auto-generated and contains many errors, note this caveat at the beginning of the analysis.

🌟 Typical Use Cases

  1. Competitive content strategy analysis: Analyze competitors' top-performing videos to understand their messaging and positioning.
  2. Target audience research: Identify who competitors are targeting and how they speak to them.
  3. Pain point discovery: Extract customer pain points mentioned in competitor videos for product development insights.
  4. Content gap identification: Find topics competitors haven't covered well to create differentiated content.
  5. CTA strategy benchmarking: Understand how competitors drive conversions through their video content.
  6. Value proposition mapping: Map out what value propositions competitors emphasize most.
  7. Messaging framework extraction: Learn from competitors' narrative structures and persuasion techniques.
  8. Market trend analysis: Batch analyze recent videos in a niche to identify emerging themes and shifts.
  9. Content quality benchmarking: Evaluate the depth and credibility of competitor content.
  10. Marketing copy inspiration: Extract memorable phrases and emotional hooks for your own content creation.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。