---
title: "Post to YouTube from Claude Code"
description: "Give Claude Code your demo video, and it sets the title of up to 100 characters, the tags and your thumbnail. PostQueen starts the YouTube upload on time."
canonical_url: "https://postqueen.ai/claude-code/youtube"
markdown_url: "https://postqueen.ai/claude-code/youtube.md"
last_updated: "2026-10-20"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Post to YouTube from Claude Code.

Claude Code + YouTube

Ask Claude Code to prepare your product demo or launch video with its title, description and thumbnail, and PostQueen starts the upload to your channel at the time you give. The video can come from your project folder or a link.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-hero) [How it works](https://postqueen.ai/claude-code/youtube#how)

Every post waits on your calendar first.

How it works

## Three steps, then just ask.

1

### Connect your YouTube channel

Your Google account has to own a YouTube channel. Sign in with Google from Add Channel, approve, then choose the channel.

2

### Install the PostQueen CLI

Run npm install -g postqueen and sign in with postqueen auth:login, so Claude Code can send an MP4 from your disk with postqueen upload.

3

### Give it the video details

Name the file and the time, and say public, unlisted or private and whether it’s made for kids. Claude Code can write the title, description and up to 3 tags.

[The full Claude Code setup](https://postqueen.ai/claude-code#setup) [Everything about YouTube](https://postqueen.ai/channels/youtube)

What you can publish

## Post types on YouTube.

- Supported Video upload One MP4 per post: public, unlisted or private
- Supported Custom thumbnail JPEG or PNG, on a verified channel
- Supported Tags Up to 3 tags, 500 characters in total
- Supported Follow-up comments Text comments under the video, not on private or made-for-kids videos
- Not supported Shorts as a separate format No separate option; YouTube decides which videos are Shorts
- Not supported Community posts Not available through YouTube’s API
- Not supported Playlists, categories and premieres Not available

Limits at a glance

## YouTube limits.

|  |  |  |
| --- | --- | --- |
| Title | 1 to 100 characters, without < or > | [Official docs](https://developers.google.com/youtube/v3/docs/videos#resource) |
| Description | 5,000 bytes, without < or >, checked before scheduling; accented text and emoji fit fewer characters | [Official docs](https://developers.google.com/youtube/v3/docs/videos#resource) |
| Tags | Up to 3 tags in the editor; 500 characters for the whole list, and tags with spaces count extra | [Official docs](https://developers.google.com/youtube/v3/docs/videos#resource) |
| File size | Up to 1 GB per video |  |
| Video length | 15 minutes, or up to 12 hours once your channel is verified | [Official docs](https://support.google.com/youtube/answer/71673) |
| Custom thumbnail | JPEG or PNG up to 50 MB, on a verified channel | [Official docs](https://developers.google.com/youtube/v3/docs/thumbnails/set) |

From each network’s documentation and PostQueen’s own checks.

What to ask

## Ask Claude Code for the post.

- Schedule launch-trailer.mp4 on YouTube for Thursday at 5pm, public, with a 60-character title and thumbnail.png as the thumbnail.
- Upload our 3-minute feature demo as unlisted on Friday at 10am, not made for kids, with 3 tags and a follow-up comment linking the docs.
- Make a short AI video showing our export feature and save it as a draft for next Wednesday at 4pm.

### Good to know

- Uploads can be up to 1 GB. A channel that isn’t verified is held to 15 minutes, a verified one to 12 hours.
- Your own thumbnail needs a verified channel; the file is a JPEG or PNG of 50 MB or less.
- PostQueen begins uploading at the scheduled minute, and a big file needs time to finish before viewers see it.
- Video generation runs through the MCP server, not the CLI, and it uses AI credits.

## Claude Code and YouTube, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Can Claude Code post YouTube Shorts?

There is no Shorts switch. Claude Code hands PostQueen one MP4 per post, and YouTube alone decides which videos show as Shorts.

### Can Claude Code upload a video from my project folder?

Yes, with the PostQueen CLI installed: its upload command sends the MP4 from disk, then PostQueen schedules it. With the MCP server alone, Claude Code needs a link to the file.

### Will my subscribers get a notification?

Yes. YouTube notifies your subscribers of every video PostQueen uploads for you.

### Can Claude Code add a comment under the video?

Yes, as text follow-up comments, except on private videos and videos made for kids.

Keep going

## More ways to post.

### Claude Code on other networks

- [Instagram Post from Claude Code](https://postqueen.ai/claude-code/instagram)
- [TikTok Post from Claude Code](https://postqueen.ai/claude-code/tiktok)
- [LinkedIn Post from Claude Code](https://postqueen.ai/claude-code/linkedin)
- [X Post from Claude Code](https://postqueen.ai/claude-code/x)
- [Facebook Post from Claude Code](https://postqueen.ai/claude-code/facebook)
- [Threads Post from Claude Code](https://postqueen.ai/claude-code/threads)
- [Pinterest Post from Claude Code](https://postqueen.ai/claude-code/pinterest)

### Other agents on YouTube

- [ChatGPT Post to YouTube](https://postqueen.ai/chatgpt/youtube)
- [Claude Post to YouTube](https://postqueen.ai/claude/youtube)
- [OpenClaw Post to YouTube](https://postqueen.ai/openclaw/youtube)
- [Codex Post to YouTube](https://postqueen.ai/codex/youtube)

### Hand your socials to Claude Code.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-band) $0 due today. Cancel in one click.
