Home / Claude Code / YouTube
YouTube Skill for Claude Code

Claude Code + YouTube Upload Videos & Shorts with AI

Publish videos and Shorts to YouTube directly from your terminal using Claude Code. The Upload-Post skill handles authentication, metadata, tags, and privacy settings so you can focus on creating content. You don't attach the video to Claude: point Claude Code at a local file path or a public URL and the skill uploads it to your channel.

Install in Seconds

Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.

Terminal
$ npx skills add Upload-Post/upload-post-skill

What You Can Post to YouTube

Videos
Shorts

Features for YouTube

Everything you need to publish and automate YouTube content from your terminal.

Video Upload

Upload long-form videos up to 256 GB to your YouTube channel. The skill accepts any URL-accessible video file and handles the resumable upload protocol automatically, including retry logic for large files.

Shorts Support

Publish vertical Shorts (under 60 seconds) that appear in the YouTube Shorts feed. Simply provide a vertical video and the skill configures the correct aspect ratio and metadata for Shorts discovery.

Tags & Metadata

Set titles, descriptions, tags, categories, and default language for every upload. Well-optimized metadata is the single biggest factor in YouTube search ranking: let Claude Code generate and apply it in one step.

Playlist Management

Assign uploaded videos to existing playlists automatically. Organize your content library without leaving the terminal, keeping your channel structured and boosting session watch time.

Privacy Settings

Choose between public, private, and unlisted visibility for each upload. Stage content as private for internal review, share unlisted links with collaborators, or go public immediately: all controlled via a single parameter.

Analytics Tracking

Every upload returns a direct YouTube URL and video ID so you can track performance. Integrate with your existing analytics pipeline or query YouTube Data API using the returned identifiers for views, watch time, and engagement data.

How It Works

1

Install the Skill

Run the install command in your terminal. The skill is added to Claude Code instantly.

2

Connect YouTube

Link your YouTube account on the Upload-Post dashboard and create a profile with your API key.

3

Publish from Claude Code

Tell your AI agent to post content to YouTube. It handles formatting, uploading, and publishing automatically.

Start Posting to YouTube from Claude Code

Join thousands of developers automating their social media workflow with AI. Free plan available.

Prefer another integration path? Explore the YouTube Upload API or the YouTube MCP server.

Frequently Asked Questions

Can you upload videos to Claude?
Not as a chat attachment. Claude's supported upload types are documents (PDF, DOCX, CSV, TXT, HTML, ODT, RTF, EPUB, JSON, XLSX) and images (JPEG, PNG, GIF, WebP), according to the Claude Help Center; video formats such as MP4 or MOV are not on that list, so Claude cannot watch a video you drop into the chat. You can still share frames as images or a transcript as text if you want Claude to analyze it.
How do I upload a video to YouTube from Claude?
You do not need to attach the file. In Claude Code, install the Upload-Post skill and give it the path to the video on your computer (for example ./tutorial.mp4) or a public URL, plus the title, tags and privacy you want. In claude.ai or ChatGPT, add the Upload-Post MCP connector (https://mcp.upload-post.com/mcp) and give it a public video URL. The upload to YouTube happens through the YouTube API, not through Claude's file upload.
Can Claude Code read video files on my computer?
Claude Code can work with any file path on your machine as input to a command, which is how the Upload-Post skill sends a video to YouTube: Claude runs the upload request with your file, it does not need to view the video. To have Claude understand what is in a video, extract frames or a transcript first.
Can Claude Code upload both long-form videos and Shorts to YouTube?
Yes. The Upload-Post skill supports both standard YouTube videos (up to 256 GB) and Shorts (vertical videos under 60 seconds). The skill automatically detects the format based on your video dimensions and duration, or you can explicitly specify the upload type.
How do I set the title, description, and tags for a YouTube upload via Claude Code?
Simply include them in your natural language prompt, for example: "Upload this video to YouTube with the title 'Product Demo Q2', description 'Quarterly product walkthrough', and tags 'saas', 'demo', 'product'." The skill maps your instructions to the correct API parameters automatically.
Does the YouTube skill support private and unlisted uploads?
Yes. You can set the privacy level to public, private, or unlisted for every upload. Private videos are only visible to you, unlisted videos are accessible via direct link but do not appear in search or recommendations, and public videos are fully discoverable.
Can I add a video to a YouTube playlist using Claude Code?
Yes. Specify the target playlist in your upload command and the skill will assign the video to that playlist after upload. This works with any existing playlist on your channel. You can reference the playlist by name or ID.
What video formats does the YouTube skill accept?
The skill accepts any video format supported by YouTube, including MP4, MOV, AVI, WMV, FLV, and WebM. MP4 with H.264 encoding is recommended for the best balance of quality and processing speed. You can pass a local file path in Claude Code or a public video URL.