youtube-api

Upload videos and update metadata via the YouTube Data API v3.

154|9|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/swyxio/skills --skill youtube-api-swyxio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-api
Source: https://github.com/swyxio/skills/tree/main/youtube-api
Command: npx skills add https://github.com/swyxio/skills --skill youtube-api-swyxio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-api-python-client, google-auth-oauthlib, google-auth, and includes scripts (resource) components.

What problem does it solve?

YouTube Studio's browser UI is slow, unreliable for bulk operations, and tedious for repetitive tasks like uploading videos, setting custom thumbnails, or updating metadata across multiple videos, making manual content management inefficient.

Core Features & Use Cases

  • Direct Video Uploads: Upload local video files to YouTube with custom privacy settings (private, unlisted, public) without interacting with the browser UI.
  • Thumbnail Management: Set or batch-update custom thumbnails for single or multiple videos, with automatic validation for file size and format requirements.
  • Metadata Editing: Programmatically update video titles, descriptions, and tags in bulk, preserving all other existing video metadata.
  • Channel Video Listing: Query your authenticated channel's uploaded videos to build scripted batch update and management workflows.
  • Use Case: If you have 10 conference talk videos to upload as unlisted with matching custom thumbnails and consistent metadata tags, this skill automates the entire process without opening YouTube Studio.

Quick Start

Use the youtube-api skill to upload your local video file to YouTube as unlisted and set a custom thumbnail from a local image file in one workflow.

Frequently Asked Questions about youtube-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bulk update YouTube video titles, tags, and descriptions without using the browser UI?

You can batch-update YouTube video metadata through the YouTube Data API v3. This automates editing titles, descriptions, and tags in bulk, bypassing the slow YouTube Studio UI while preserving all other existing video metadata.

How do I upload local video files to YouTube with custom privacy settings via a script?

You can upload local video files programmatically using the YouTube Data API v3. This allows you to set custom privacy levels like private, unlisted, or public directly in your automation workflow without interacting with the browser UI.

Do I need Google OAuth 2.0 credentials to automate YouTube video uploads?

Yes, automating YouTube video uploads requires Google OAuth 2.0 Desktop credentials for the YouTube Data API v3. You also need Python 3.8+ and persistent token caching to enable use in headless and Cowork VM environments.

What is the best way to batch-update custom thumbnails for multiple YouTube videos?

The best way to batch-update custom thumbnails is using the YouTube Data API v3. It allows you to set custom thumbnails for multiple videos programmatically, including automatic validation for file size and format requirements.

Can I list my channel's uploaded videos to build a scripted YouTube automation workflow?

Yes, you can query your authenticated channel's uploaded videos using the YouTube Data API v3. Listing channel videos allows you to build scripted batch update and management workflows without manual browser interaction.

Why does YouTube Studio's browser UI fail for bulk video operations and how can I automate it?

YouTube Studio's browser UI is slow and unreliable for bulk operations. You can automate video management tasks using the YouTube Data API v3 with Python, eliminating manual work for uploads, thumbnails, and metadata edits.