youtube-full
YouTube: video management, transcript extraction, channel analytics, comments, playlists, upload
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
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
$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. 下の青いボタンを押して
youtube-full.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
youtube-fullフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(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
- To list videos: Use GET https://www.googleapis.com/youtube/v3/search?part=snippet&q=query&key=$YOUTUBE_API_KEY with query string parameters.
- For transcript extraction: GET https://www.googleapis.com/youtube/v3/captions?videoId=VIDEO_ID&key=$YOUTUBE_API_KEY, then parse the JSON response for text.
- Code snippet for fetching video details:
import requests; import os api_key = os.environ.get('YOUTUBE_API_KEY') response = requests.get(f'https://www.googleapis.com/youtube/v3/videos?part=snippet&id=VIDEO_ID&key={api_key}') data = response.json() - To upload a video: POST https://www.googleapis.com/upload/youtube/v3/videos?part=snippet,status with multipart/form-data, including fields like title and file.
- For channel analytics: GET https://www.googleapis.com/youtube/v3/channels?part=statistics&id=CHANNEL_ID&key=$YOUTUBE_API_KEY, returning JSON with metrics like viewCount.
- Playlist management: POST https://www.googleapis.com/youtube/v3/playlists?part=snippet with JSON body {"snippet": {"title": "New Playlist"}}.
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
- 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.
- 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)