youtube-uploader
Upload videos to YouTube with title, description, tags. Use for: youtube upload, publish video, share on youtube.
By aviz85 · 505 installs
npx skills add aviz85/claude-skills-library --skill youtube-uploader
Source repository · Upstream listing
YouTube Uploader
First time? If setup complete: false above, run ./SETUP.md first, then set setup complete: true .
Upload videos to YouTube with full metadata control.
Quick Start
Options
Option Short Description
video v Video file path (required)
title t Video title (required)
description d Video description
tags Comma separated tags
privacy p Privacy: public, unlisted, private (default: unlisted)
category c Category ID (default: 22 = People & Blogs)
thumbnail Custom thumbnail image path
playlist Add to playlist ID
short Mark as YouTube Short
auth Run OAuth2 authentication flow
dry run Preview without uploading
Category IDs
ID Category
1 Film & Animation
2 Autos & Vehicles
10 Music
15 Pets & Animals
17 Sports
19 Travel & Events
20 Gaming
22 People & Blogs
23 Comedy
24 Entertainment
25 News & Politics
26 Howto & Style
27 Education
28 Science & Technology
Authentication
First time setup requires OAuth2 authentication:
1. Run npx ts node youtube upload.ts auth
2. Browser opens Google login
3. Grant permissions to upload videos
4. Token is saved to .youtube token.json
Token refreshes automatically. Re run auth if expired.
Environment
Create scripts/.env :
Get credentials from Google Cloud Console:
1. Create project at console.cloud.google.com
2. Enable YouTube Data API v3
3. Create OAuth2 credentials (Desktop app)
4. Download and extract client id & client secret
Examples
Upload Tutorial Video
Upload YouTube Short
Upload to Playlist
Output
On success, returns:
Video ID
Video URL (https://youtu.be/VIDEO ID)
Status
Limitations
Max file size: 256GB (YouTube limit)
Supported formats: MP4, MOV, AVI, WMV, FLV, 3GP, MPEG
Daily upload quota: 10,000 units (typically ~6 videos/day)
Title max: 100 characters
Description max: 5,000 characters
Tags max: 500 characters total