Youtubeのロゴ

Youtube

組織
unifapi-agent
youtube

When a workflow needs public YouTube data through UnifAPI — channel, video, and playlist metadata, subscriber/view/like counts, video comments, caption tracks, channel community posts, related and trending videos, hashtag videos, and search across videos, channels, and playlists. Also use on "who owns this topic on YouTube," "pull this channel's videos," "YouTube view counts," "what are commenters saying," "get this video's captions/transcript," "this channel's playlists," or when another skill (creator vetting, competitor reception, content demand) needs the deterministic YouTube read path. Connect via the `unifapi` skill first. Read-only research, never uploads.

概要

公開者unifapi-agent
リポジトリagents
スキル名youtube
スター
590
フォーク
115
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

youtube

The deterministic read path for public YouTube data through UnifAPI. This is a Data Skill: it does not run a marketing job on its own — it names the concrete youtube/... operations, response shapes, and the real coverage limits so any channel- or content-first workflow (creator vetting, competitor reception, content demand) reads from one known recipe instead of rediscovering the surface each time.

Read-only — eyes, not hands. It researches public YouTube data and returns cited records; it never uploads, comments, or subscribes, and UnifAPI never holds YouTube credentials.

Use the unifapi skill for live evidence

Connect once through the shared unifapi skill (OAuth MCP), then call the operations below. Channels are keyed by {channel_id} and videos by {video_id} — resolve a handle or URL to a channel id first (see Gotchas). Keep any billing metadata so the output can state record cost.

Response contract

Single-entity endpoints return the object in data:

json
{
  "request_id": "unif_...",
  "data": {},
  "billing": { "records_charged": 1, "balance_remaining": 99 }
}

List endpoints return an array in data plus pagination:

json
{
  "request_id": "unif_...",
  "data": [],
  "pagination": { "has_more": false, "next_cursor": null },
  "billing": { "records_charged": 1 }
}

When pagination.has_more is true, pass pagination.next_cursor as the next request's cursor. Always preserve billing when reporting cost.

Core operations

NeedOperation
Search videosyoutube/search (?q=..., optional sort_by/upload_date/duration/region/language)
Search channels / playlistsyoutube/search/channels · youtube/search/playlists (?q=...)
Trendingyoutube/trending (optional type = now/music/gaming/movies)
Hashtag videosyoutube/hashtags/{tag}/videos
Resolve handle/URL → idyoutube/resolve/channel-id (?url=...)
Channel pageyoutube/channels/{channel_id}
Channel videos / shortsyoutube/channels/{channel_id}/videos · .../shorts
Channel playlistsyoutube/channels/{channel_id}/playlists
Channel community postsyoutube/channels/{channel_id}/community
Search within a channelyoutube/channels/{channel_id}/search (?q=...)
Video metadatayoutube/videos/{video_id}
Related videosyoutube/videos/{video_id}/related
Video commentsyoutube/videos/{video_id}/comments (optional sort_by = top/newest)
Video captions / transcriptyoutube/videos/{video_id}/captions
Playlist page / videosyoutube/playlists/{playlist_id} · .../videos

Need a field not listed here? Use the unifapi skill's get_operation to read the exact schema before calling — but pick the operation from this table, don't discover blind.

Workflow

The deterministic recipes. Pick the one that matches the job; each names exactly what to call.

  1. Frame the query. Call youtube/search?q=... for who owns a topic, or youtube/trending for what's surging now.
  2. Resolve a channel. Call youtube/resolve/channel-id?url=... to get the channel_id, then youtube/channels/{channel_id} for subscriber_count, video_count, and view_count.
  3. Read a channel's output. Call youtube/channels/{channel_id}/videos (and .../shorts); each video's view_count is the demand signal. Page via next_cursor. youtube/channels/{channel_id}/playlists maps how the catalog is organized; youtube/channels/{channel_id}/community reads announcements and engagement outside videos; youtube/channels/{channel_id}/search?q=... finds a creator's coverage of one topic without scanning the whole catalog.
  4. Read a video and its neighborhood. Call youtube/videos/{video_id} for metadata (now including like_count, category, published_at, has_captions), then youtube/videos/{video_id}/related to map adjacent demand and competing content.
  5. Read audience and transcript. Call youtube/videos/{video_id}/comments (sort_by top/newest) for what the audience says — raw comment text, like and reply counts; any sentiment or FAQ grouping is yours to compute, the API returns text only. Call youtube/videos/{video_id}/captions for caption tracks (timed-text url per language) to read or analyze the transcript.
  6. Walk a playlist or hashtag. Call youtube/playlists/{playlist_id} then .../videos to ingest a curated series in order; youtube/hashtags/{tag}/videos tracks a campaign or trend across creators.
  7. Size topic demand. Aggregate view_count across the search and related results for a topic; title, description, and keywords show how the topic is framed.
  8. Cite everything. Every figure ties back to the video or channel it came from; report billing.records_charged (or estimate when billing metadata is absent).

Shape notes

  • YouTubeChannel — keyed by {channel_id}. subscriber_count, video_count, view_count, handle, keywords, links, country, created_at. is_verified is not populated by the upstream and is always false — don't report verification you can't read.
  • YouTubeVideo — keyed by {video_id}. view_count, like_count (best-effort; 0 when the creator hides it), category, channel_id, author, duration_seconds, keywords, published_at, has_captions, is_live, is_private.
  • YouTubeVideoPreview — search/related/list rows: adds published_time. category is part of the shape but empty on list rows (only YouTubeVideo detail carries it).
  • YouTubeComment — text, author, author_channel_id, like_count, reply_count, published_time, is_verified, is_creator. Text only — no sentiment field.
  • YouTubeCaptions — video_id, tracks[] (language_code, timed-text url, is_translatable), translation_languages[]. Single object, billed as one record. Track urls are time-limited.
  • YouTubePlaylist / YouTubePlaylistPreview — playlist title, channel_id, author, video_count (detail adds view_count, last_updated; preview adds first_video_id).
  • YouTubeChannelPreview — search-channels rows: title, handle, description, subscriber_count, video_count.
  • YouTubeCommunityPost — text, author, vote_count, reply_count, attachment_type, image_url.

Gotchas

  • Resolve only goes to channel ids. youtube/resolve/channel-id?url=... resolves a handle or URL to a {channel_id} — call it before any youtube/channels/{channel_id}/... call. There is no video- or playlist-id resolver; pass a known {video_id} / {playlist_id} (parse it from the URL yourself).
  • Comments are raw text. youtube/videos/{video_id}/comments returns comment text plus like/reply counts — no sentiment, no FAQ grouping. Compute those yourself from the text; don't claim a sentiment field the API doesn't return.
  • like_count is best-effort. YouTubeVideo.like_count is 0 when the creator hides likes — treat 0 as "hidden or none," not authoritative.
  • is_verified is always false for channels (upstream doesn't expose it) — don't report channel verification.
  • Captions can be empty. A video with captions disabled returns tracks: []; check before promising a transcript. Track urls are time-limited.
  • Hashtags take the tag with or without a leading # (youtube/hashtags/lofi/videos).
  • A low balance can silently truncate list pages: check billing.truncated_due_to_balance — when true the page is partial.

Output

Return the records the calling workflow needs, each cited to its video or channel, plus a one-line cost note (records_charged). When this skill is used directly, a compact demand brief is the default:

markdown
**{Channel}** — {subscribers} subscribers, {videos} videos, {totalViews} views. Top videos for {topic}: {title} ({views} views). Related/competitors: {channels}. Evidence: {URLs}. Records: ~{N}.

Related skills

  • kol-pricing, creator-shortlist, audience-fit-check (Influencer Marketing) — price and vet YouTube channels on top of this read path.
  • competitor-profiling (Competitive Intelligence), content-opportunity-brief (Content Strategy) — reception and content-demand work that reads YouTube first.
  • unifapi — the shared data skill: connect MCP and look up exact schemas with get_operation.

よくある質問

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

When a workflow needs public YouTube data through UnifAPI — channel, video, and playlist metadata, subscriber/view/like counts, video comments, caption tracks, channel community posts, related and trending videos, hashtag videos, and search across videos, channels, and playlists. Also use on "who owns this topic on YouTube," "pull this channel's videos," "YouTube view counts," "what are commenters saying," "get this video's captions/transcript," "this channel's playlists," or when another skill (creator vetting, competitor reception, content demand) needs the deterministic YouTube read path...

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

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

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

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

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

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

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

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

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

はい。unifapi-agentがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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