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

youtube-full

YouTube: video management, transcript extraction, channel analytics, comments, playlists, upload

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して youtube-full.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → youtube-full フォルダができる
  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
同梱ファイル
1

📖 Skill本文(日本語訳)

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

youtube-full

目的

このスキルは、YouTube の API と連携して、動画管理、トランスクリプト抽出、チャンネル分析、コメント、プレイリスト、アップロードを処理するためのツールを提供し、スクリプトやアプリケーションでの自動化を可能にします。

使用場面

コンテンツ分析での動画トランスクリプトの取得、ユーザー生成動画のアップロード、レポート作成のためのチャンネルパフォーマンス分析、メディアアプリでのプレイリスト管理など、YouTube データに関わるタスクにこのスキルを使用してください。Google API へのアクセスが可能で、リアルタイムのデータ抽出や操作が必要なタスクに適用します。

主な機能

  • 動画管理: /youtube/v3/videos などの YouTube Data API v3 エンドポイントを使用して、動画の取得、検索、または削除を行います。
  • トランスクリプト抽出: /youtube/v3/captions エンドポイントを介して動画のキャプションを取得し、英語や自動生成されたトランスクリプトなどの言語をサポートします。
  • チャンネル分析: /youtube/v3/channels から、再生回数や登録者データなどの指標にアクセスし、日付範囲のパラメーターを含めます。
  • コメント: /youtube/v3/commentThreads を使用してスレッドコメントを読み取りまたは投稿し、スパム処理のためのモデレーションフラグを含めます。
  • プレイリスト: /youtube/v3/playlists を介してプレイリストを作成、更新、または削除し、動画アイテムを追加します。
  • アップロード: /youtube/v3/videos へのマルチパート POST で動画アップロードを処理し、大容量ファイルには再開可能なセッションが必要です。

使用パターン

AI エージェントのコード内で関数呼び出しを介してこのスキルを呼び出し、動画 ID や API キーなどの必要なパラメーターを渡します。環境変数として $YOUTUBE_API_KEY を設定して、常に最初に認証を確認してください。たとえば、複数の動画トランスクリプトを処理するなど、バッチ操作のためにリクエストをループで構成します。POST リクエストには JSON ペイロードを、GET リクエストにはクエリパラメーターを使用します。API 呼び出しの間に遅延を追加することでレート制限を処理します。例として、10 回のリクエストごとに 1 秒間スリープします。

一般的なコマンド/API

統合に関する注意点

AI エージェントのコードベースにスキルをインポートし、OAuth または API キー認証のために $YOUTUBE_API_KEY が環境に設定されていることを確認して統合します。エンドポイントのデフォルトを保存するために、JSON などの設定ファイルを使用します。例として、{"base_url": "https://www.googleapis.com/youtube/v3"}。安全な処理のために、キーをハードコーディングすることは避け、Python の google-auth などのライブラリを使用してください。OAuth を使用する場合は、トークン交換のためにユーザーをリダイレクトしますが、単純な API アクセスには $YOUTUBE_API_KEY で十分です。クォータ超過を避けるために、サンドボックス環境で統合をテストしてください。

エラー処理

レスポンスの HTTP ステータスコードを確認してください。たとえば、status == 403 の場合、「Quota exceeded」をログに記録し、遅延後に再試行します。リクエスト前にインプットを検証することで、無効な動画 ID (エラーコード 404) などの特定の YouTube エラーを処理します。ネットワークの問題には、コードで try-except ブロックを使用します。

try:
    response = requests.get(url)
    response.raise_for_status()
except requests.exceptions.HTTPError as err:
    print(f"Error: {err} - Check API key or parameters")

レート制限エラー (例: クォータメッセージを含む 403) の場合は、指数バックオフを実装し、最大 3 回まで再試行する前に 2^x 秒待機します。API エンドポイントや使用されたパラメーターなどのコンテキストとともに、すべてのエラーをログに記録します。

使用例

  1. 特定の動画のトランスクリプトを抽出する: まず、$YOUTUBE_API_KEY を設定します。次に、GET https://www.googleapis.com/youtube/v3/captions?videoId=VIDEO_ID&key=$YOUTUBE_API_KEY で API を呼び出します。コードでは、レスポンスを解析してテキストを抽出します。import json; transcript = [item['text'] for item in response.json()['items']]。出力をファイルに保存して、さらに処理します。
  2. チャンネルに動画をアップロードする: $YOUTUBE_API_KEY が設定されており、アップロード権限があることを確認します。動画ファイルと {"snippet": {"title": "Uploaded Video"}} のような JSON メタデータを含むマルチパートデータで POST https://www.googleapis.com/upload/youtube/v3/videos を使用します。アップロード後、レスポンスから動画 ID を取得し、必要に応じてそのステータスを更新します。

グラフ関係

  • 関連: google-api (共有認証とエンドポイント用)
  • 依存: authentication-service ($YOUTUBE_API_KEY の処理用)
  • 接続: video-processing skills (抽出後の分析用)
  • 統合: storage-services (アップロードされたファイルの管理用)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

youtube-full

Purpose

This skill provides tools for interacting with YouTube's API to handle video management, transcript extraction, channel analytics, comments, playlists, and uploads, enabling automation in scripts or applications.

When to Use

Use this skill for tasks involving YouTube data, such as fetching video transcripts in content analysis, uploading user-generated videos, analyzing channel performance for reports, or managing playlists in media apps. Apply it when Google API access is available and tasks require real-time data extraction or manipulation.

Key Capabilities

  • Video management: Retrieve, search, or delete videos using YouTube Data API v3 endpoints like /youtube/v3/videos.
  • Transcript extraction: Fetch captions for videos via the /youtube/v3/captions endpoint, supporting languages like English or auto-generated transcripts.
  • Channel analytics: Access metrics such as view counts and subscriber data from /youtube/v3/channels, including parameters for date ranges.
  • Comments: Read or post thread comments using /youtube/v3/commentThreads, with moderation flags for spam handling.
  • Playlists: Create, update, or delete playlists via /youtube/v3/playlists, including adding video items.
  • Upload: Handle video uploads with multipart POST to /youtube/v3/videos, requiring resumable sessions for large files.

Usage Patterns

Invoke this skill via function calls in your AI agent's code, passing required parameters like video IDs or API keys. Always check for authentication first by setting $YOUTUBE_API_KEY as an environment variable. For example, structure requests in a loop for batch operations, like processing multiple video transcripts. Use JSON payloads for POST requests and query parameters for GET requests. Handle rate limits by adding delays between API calls, e.g., sleep for 1 second after every 10 requests.

Common Commands/API

Integration Notes

Integrate by importing the skill in your AI agent's codebase and ensuring $YOUTUBE_API_KEY is set in the environment for OAuth or API key authentication. Use a config file like JSON for storing endpoint defaults, e.g., {"base_url": "https://www.googleapis.com/youtube/v3"}. For secure handling, avoid hardcoding keys; instead, use libraries like google-auth in Python. If using OAuth, redirect users for token exchange, but for simple API access, $YOUTUBE_API_KEY suffices. Test integrations in a sandbox environment to avoid quota exceedance.

Error Handling

Check HTTP status codes in responses; for example, if status == 403, log "Quota exceeded" and retry after a delay. Handle specific YouTube errors like invalid video IDs (error code 404) by validating inputs before requests. Use try-except blocks in code for network issues:

try:
    response = requests.get(url)
    response.raise_for_status()
except requests.exceptions.HTTPError as err:
    print(f"Error: {err} - Check API key or parameters")

Implement exponential backoff for rate limit errors (e.g., 403 with quota message), waiting 2^x seconds before retrying up to 3 times. Log all errors with context, such as the API endpoint and parameters used.

Usage Examples

  1. Extract transcript for a specific video: First, set $YOUTUBE_API_KEY. Then, call the API with GET https://www.googleapis.com/youtube/v3/captions?videoId=VIDEO_ID&key=$YOUTUBE_API_KEY. In code, parse the response to extract text: import json; transcript = [item['text'] for item in response.json()['items']]. Save the output to a file for further processing.
  2. Upload a video to a channel: Ensure $YOUTUBE_API_KEY is set and you have upload permissions. Use POST https://www.googleapis.com/upload/youtube/v3/videos with multipart data including the video file and JSON metadata like {"snippet": {"title": "Uploaded Video"}}. After upload, retrieve the video ID from the response and update its status if needed.

Graph Relationships

  • Relates to: google-api (for shared authentication and endpoints)
  • Depends on: authentication-service (for handling $YOUTUBE_API_KEY)
  • Connects to: video-processing skills (for post-extraction analysis)
  • Integrates with: storage-services (for managing uploaded files)