youtube-uploader
由 nachx639 提供
Coding Agents & IDEs简介
Upload videos and custom thumbnails to YouTube.
描述
该技能的功能
Uploads videos and custom thumbnails to YouTube using OAuth2 authentication. Supports full metadata including title, description, tags, category, privacy settings, and scheduled publishing. Multiple YouTube channels can be authenticated and managed.
Handles the full upload flow including OAuth2 token management and thumbnail attachment in a single automated step, avoiding manual browser uploads.
何时使用
- Uploading a finished video to a YouTube channel
- Scheduling a video to go public at a specific time
- Setting a custom thumbnail after uploading
- Publishing to one of several authenticated channels
- Uploading a video as private first to review before making it public
示例工作流
User asks: Upload my video at /videos/tutorial.mp4 with the thumbnail /images/thumb.jpg, title 'How to Bake Bread', tags 'baking,bread,tutorial', scheduled for tomorrow at noon
- 1
Authenticate with YouTube OAuth2 if credentials not already saved
- 2
Run upload command with --file, --title, --tags, --privacy private, and --publish-at set to the ISO 8601 scheduled time
- 3
Capture the returned videoId from the upload response
- 4
Run thumbnail upload command with the videoId and --file pointing to the thumbnail image
Video uploaded with id dQw4w9WgXcQ, scheduled to publish at 2026-03-17T12:00:00Z, thumbnail set successfully
前置要求
- Google Cloud project with YouTube Data API v3 enabled
- OAuth2 client ID of type Desktop app from Google Cloud Console
- client_secret.json file downloaded from Google Cloud Console
- YouTube channel verified for custom thumbnail uploads
安装
clawhub install nachx639/youtube-uploader运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。