Search Youtubeのロゴ

Search Youtube

コミュニティ
gupsammy
search-youtube

ユーザーが「YouTubeを検索」「関連動画を探して」「文字起こしを取得」「字幕をダウンロード」「YouTubeから音声を抽出」「チャンネルを調査」「YouTubeでトピックを調査」「動画のメタデータを取得」「このテーマの動画はある?」「YouTubeの音声をダウンロード」「YouTubeで調査」「この動画を要約」「この動画の内容は?」「字幕を抜き出して」「音声を取り出して」と依頼した場合や、YouTube/Vimeo/動画のURLを提示して、その情報を抽出したい場合に使用します。「文字起こしをまとめてダウンロード」「チャンネルを分析」といった依頼や、複数の動画を対象とした調査ワークフローにも対応します。

Add to TypingMind

概要

公開者gupsammy
リポジトリClaudest
スキル名search-youtube
スター
275
フォーク
16
同梱ファイル
4
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    gupsammyがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Search Youtube」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/gupsammy/Claudest/tree/main/plugins/claude-research/skills/search-youtube
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gupsammy/Claudest.git /tmp/Claudest
mkdir -p .claude/skills
cp -r /tmp/Claudest/plugins/claude-research/skills/search-youtube .claude/skills/search-youtube
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSearch Youtubeを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSearch Youtubeを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Search Youtubeは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

YouTube Research

Multi-platform video research toolkit. Operates in two modes: toolkit (individual operations) and research (autonomous search-to-synthesis pipeline). All operations use a single CLI at ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py.

Run python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py <subcommand> --help for full flag reference on any subcommand.

Toolkit Mode

Invoke individual subcommands for targeted operations. Default mode when the user requests a specific action (transcript, search, metadata, audio, channel scan).

Search

Find videos matching a query. Returns structured results with metadata.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py search "<query>" --count 10

Add filters to narrow results: --min-duration 600 (seconds), --after 20250101 (YYYYMMDD), --min-views 50000. Filters are applied client-side after fetching, so the tool over-fetches automatically to compensate. Output is JSON by default; add -f text for human-readable.

Transcript

Download and clean subtitles to LLM-ready text.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript "<url>"

Outputs clean prose to stdout by default. Add --timestamps for SRT with timing cues. Add --save -t <topic> to persist to ~/youtube-research/<topic>/. Use --lang all to list available subtitle languages before downloading. Fallback chain: manual subs then auto-generated. Exit 4 if no subtitles exist in the requested language.

Metadata

Extract full video information without downloading.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py metadata "<url>"

Returns: title, description, channel, duration, chapters, view/like counts, tags, available subtitle languages, thumbnail URL. Add --playlist for playlist entry listings.

Audio

Download audio in the requested format.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py audio "<url>" --audio-format mp3 -t <topic>

Saves to ~/youtube-research/<topic>/audio/. Supported formats: mp3, m4a, opus, wav. Always saves to disk (audio cannot go to stdout). Prints the file path on success.

Channel

Scan a channel's content.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py channel "<url-or-@handle>" --limit 20

Supports tabs: --tab videos (default), shorts, streams, playlists. Filter with --after/--before (YYYYMMDD). Sort with --sort views for most-viewed-first.

Batch Processing

Any subcommand except search accepts --batch <file> (or --batch - for stdin) to process multiple URLs. One URL per line; lines starting with # or ; are skipped.

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript --batch urls.txt --save -t <topic>

Research Mode

Activate when the user asks to "research", "investigate", or "find out about" a topic using YouTube as a source. This is an adaptive multi-round discovery pipeline designed for niche and emerging topics where popular videos often under-serve.

Round 1: Divergent Search

Generate 4-6 query variants that cover different angles of the topic:

  • Exact tool/concept name (e.g., "openclaw")
  • Tool + ecosystem context (e.g., "openclaw claude code")
  • Problem the tool solves (e.g., "claude code documentation framework")
  • Workflow/demo framing (e.g., "openclaw walkthrough demo")
  • Alternative names, abbreviations, or common misspellings if applicable

Spawn one Task agent per query variant simultaneously, each running:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py search "<query-variant>" --count 15

Collect all results and deduplicate by video ID. Aim for 30-50 unique candidates across all threads.

Round 1 Evaluation: Niche-First Heuristics

For niche, emerging, or edge-of-tech topics, these signals predict quality:

Positive signals (use these):

  • Title specifically names the tool or concept (not "top AI tools 2025")
  • Small channel (< 50K subscribers) — for new tech, practitioners publish before educators discover the topic
  • Technical, specific description (mentions code, config, architecture, or commands)
  • Structured content: chapters, timestamps, or detailed description
  • Recent upload date

Negative signals (treat as red flags on niche topics):

  • View count > 100K — on a narrow topic this usually means beginner-level or clickbait
  • "Tutorial for beginners" / "complete guide" in the title for brand-new tools
  • Large generalist channel covering many unrelated topics

Select 6-10 candidates from the combined pool. Note which channels produced the strongest results — those are targets for Round 2.

Round 2: Channel Discovery and Refinement

For each channel that surfaced a strong Round 1 result, scan its recent videos:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py channel "<channel-url>" --limit 20

Also run 1-2 refined search queries using specific terminology that appeared in strong Round 1 titles or descriptions. Add any new candidates to the pool.

Quality gate: If Round 1 candidates are weak (generic titles, all high-view generalist content, nothing specifically about the topic), surface this to the user and run another search round with reformulated queries before proceeding to transcripts.

Round 3: Confirm and Transcribe

From the enriched candidate pool, select 4-7 videos using the Round 1 criteria. Extract metadata to confirm relevance before committing to downloads:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py metadata "<url>"

Download transcripts in parallel — always spawn one Task agent per video, even for 2:

bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/search-youtube/scripts/yt_research.py transcript "<url>" --save -t <topic>

Read each transcript and synthesize findings into a report. Use WebSearch or brave-cli to cross-reference claims or fill gaps when YouTube sources disagree or leave questions unanswered.

Research Report Format

Present the synthesis as a structured markdown report:

  • Title and one-paragraph summary of the research question
  • Key findings (3-7 bullet points of the most important takeaways across all sources)
  • Points of agreement between sources (what multiple videos confirm)
  • Points of disagreement (where sources contradict, with attribution)
  • Unique insights (notable points from individual videos not repeated elsewhere)
  • Gaps in coverage (what the sources collectively missed)
  • Sources table: video title, channel, duration, and URL for each video used

Attribute specific claims to their source video. Include timestamps when the transcript preserves them. Save all transcripts under the topic directory for future reference. See examples/research-report.md for a sample report structure.

Research Composability

See references/cli-reference.md for pipeline patterns that chain subcommands with standard Unix tools (search → jq → batch transcript).

Error Recovery

Exit CodeMeaningRecovery Action
0Success—
1Usage errorCheck --help for correct syntax
2yt-dlp not foundTell user to install: pip install yt-dlp
3Network/download errorCheck URL validity; try --cookies <browser> for private/restricted content
4No resultsFor transcripts: try --lang all to list available languages. For search: broaden query or remove filters

Platform Notes

Load references/platforms.md when processing a non-YouTube URL or when a yt-dlp command fails with exit code 3 on an unfamiliar platform. YouTube is the primary platform, but any yt-dlp-supported URL works (Vimeo, Twitter, Twitch, etc.).

After extracting a transcript, read the output and summarize key points for the user unless they asked for raw output only.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Search Youtube」では何ができますか?

ユーザーが「YouTubeを検索」「関連動画を探して」「文字起こしを取得」「字幕をダウンロード」「YouTubeから音声を抽出」「チャンネルを調査」「YouTubeでトピックを調査」「動画のメタデータを取得」「このテーマの動画はある?」「YouTubeの音声をダウンロード」「YouTubeで調査」「この動画を要約」「この動画の内容は?」「字幕を抜き出して」「音声を取り出して」と依頼した場合や、YouTube/Vimeo/動画のURLを提示して、その情報を抽出したい場合に使用します。「文字起こしをまとめてダウンロード」「チャンネルを分析」といった依頼や、複数の動画を対象とした調査ワークフローにも対応します。

TypingMindでSearch Youtubeを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Search Youtubeはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSearch Youtubeをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/gupsammy/Claudest/tree/main/plugins/claude-research/skills/search-youtubeを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Search Youtubeを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Search Youtubeで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSearch Youtubeを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Search Youtube」は無料ですか?

gupsammyがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇