Upload to YouTube from NanoClaw
NanoClaw can upload and schedule YouTube videos through Postiz. Send NanoClaw a video file from WhatsApp, Telegram, Slack, or Discord with the title, description, visibility, and time, and it uploads the video and optional thumbnail through Postiz, sets tags and the made-for-kids flag, and schedules the publish.
Please make sure there is always a human in the loop.
Last updated: September 2026
How do I set up NanoClaw to post to YouTube?
Setup, then just ask
# 1. Install NanoClaw (once)
git clone https://github.com/nanocoai/nanoclaw.git
cd NanoClaw && bash nanoclaw.sh
# 2. Add the Postiz skill to your NanoClaw fork
npx skills add gitroomhq/postiz-agent
# 3. Authenticate Postiz (OAuth device flow)
postiz auth:login # or: export POSTIZ_API_KEY=...
# 4. Connect YouTube in Postiz, then message NanoClaw:
> Upload demo.mp4 to YouTube as public
with a title and tags, tomorrow at noon
NanoClaw: Done! Your YouTube post is scheduled.Which YouTube features does NanoClaw support?
Video Uploads
Hand NanoClaw a video file and it uploads it. Supports all major formats including MP4, MOV, AVI, MKV, and WEBM.
Visibility Control
Set videos to public, unlisted, or private. Control who can discover and watch your content from the start.
Kids Content
Declare whether your content is made for kids to comply with YouTube's COPPA requirements. Set per video.
Custom Thumbnails
Upload and attach custom thumbnail images to your videos. First impressions matter — control your click-through rate.
Tags & Metadata
Add tags to improve discoverability. Each tag has a value and label for flexible categorization and SEO.
Scheduled Publishing
Schedule video uploads with precise timestamps. Videos are uploaded and set to publish at your chosen time.
How do I post to YouTube from NanoClaw?
You describe what you want in plain language and NanoClaw handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your YouTube Integration
Ask NanoClaw whether your YouTube account is connected. It also checks which options the platform supports.
Example conversation
> Is my YouTube account connected to Postiz?
NanoClaw: Yes — your YouTube account is connected
and ready. Want me to post something?Upload Your Video & Thumbnail
Upload your video file and optionally a custom thumbnail. YouTube requires media to be accessible via HTTPS. Supports MP4, MOV, AVI, MKV, WEBM, and more.
Example conversation
> Draft a YouTube post about our new
feature launch
NanoClaw: Here's a draft for YouTube:
"We just shipped something big..."
Want me to add media and schedule it?Create Your Post
Schedule a YouTube upload with your video, description, title, visibility settings, tags, and optional thumbnail.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
NanoClaw: Done! Scheduled on YouTube for
tomorrow at 9:00 AM.YouTube Settings Reference
Mention any of these in plain language and NanoClaw sets them for you. These are the YouTube options it can apply to any post.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "youtube" |
title | string | Video title (2-100 characters) |
type | string | Visibility: "public", "unlisted", or "private" |
selfDeclaredMadeForKids | string | Kids content declaration: "yes" or "no" |
thumbnail | object | Custom thumbnail: {id: string, path: string} |
thumbnail.id | string | Uploaded thumbnail file ID |
thumbnail.path | string | Public URL of the thumbnail image |
tags | array | Video tags: [{value: string, label: string}] |
tags[].value | string | Tag value used internally |
tags[].label | string | Tag display label |
Common Configurations
Ask NanoClaw for any of these common YouTube uploading scenarios and it applies the matching settings.
Public Video with Tags
Just ask
> Post it with: Public Video with Tags
NanoClaw: Got it. Applying:
title: How to Build a REST API in 10 Minutes
type: public
selfDeclaredMadeForKids: no
tags: Tutorial, API, CodingUnlisted Video with Custom Thumbnail
Just ask
> Post it with: Unlisted Video with Custom Thumbnail
NanoClaw: Got it. Applying:
title: Team Meeting Recording - March 2025
type: unlisted
selfDeclaredMadeForKids: no
thumbnail: id=thumb-abc123, path=https://uploads.postiz.com/thumb.jpgKids Content Video
Just ask
> Post it with: Kids Content Video
NanoClaw: Got it. Applying:
title: Learn Colors with Fun Animations
type: public
selfDeclaredMadeForKids: yes
tags: Kids, Educational, ColorsPrivate Draft Video
Just ask
> Post it with: Private Draft Video
NanoClaw: Got it. Applying:
title: Draft - Upcoming Product Launch
type: private
selfDeclaredMadeForKids: noWhat is NanoClaw?
NanoClaw is an open-source AI assistant that runs each agent in its own Docker container and is built on Anthropic's Claude Agent SDK. It was created as a smaller, easier-to-audit alternative to OpenClaw. It connects to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, iMessage, and more, and supports per-group memory and recurring jobs.
Container-Based
NanoClaw runs in containers for easy deployment and isolation. Spin up your social media automation agent in seconds with Docker.
Multi-Platform Chat
Connect to WhatsApp, Telegram, Slack, Discord, Microsoft Teams, and more. Message NanoClaw from wherever you already communicate.
Memory & Context
Schedule recurring tasks with cron jobs. NanoClaw can upload your YouTube videos on a schedule without you having to ask each time.
How Postiz Works with NanoClaw
When you install Postiz Agent globally, NanoClaw automatically discovers it by reading the bundled SKILL.md file. This file tells NanoClaw what commands are available, what environment variables are needed, and how to compose YouTube uploads with the right settings.
- ✓Install Postiz skill with npx skills add gitroomhq/postiz-agent
- ✓NanoClaw reads the SKILL.md and learns all Postiz commands
- ✓Authenticate with postiz auth:login (OAuth device flow) or a POSTIZ_API_KEY
- ✓Skills are loaded on-demand, keeping the agent context clean
- ✓Built on Anthropic's Claude Agent SDK, running in an isolated Docker container
Install Postiz
# In your NanoClaw fork: add the Postiz skill
npx skills add gitroomhq/postiz-agent
# Sign in to Postiz (OAuth device flow)
postiz auth:login
# Or use an API key instead
export POSTIZ_API_KEY=your_api_key
# Check the connection
postiz auth:status
postiz integrations:listYouTube Uploading with NanoClaw
Message NanoClaw from any platform — it reads the Postiz skill, discovers your YouTube integration, and handles the entire upload workflow autonomously.
From Any Chat App
WhatsApp, Telegram, Slack, or Discord
Send a message to NanoClaw from your favorite chat app. It runs as a background service in an isolated container, so it picks up your message, discovers your YouTube account via Postiz, uploads the video with thumbnail, and schedules the publish — all while you go about your day.
NanoClaw
You: Post to YouTube about our new
feature launch, schedule for tomorrow
at 9am
NanoClaw: On it! Here's my plan:
1. Found your YouTube integration
2. Composing your post
3. Scheduling for tomorrow 9:00 AM
Done! Your post is scheduled.
Post ID: abc-123Scheduled & Proactive
Recurring jobs, requested in chat
NanoClaw supports recurring jobs you request in chat. Set up a recurring job that checks a folder for new videos and uploads them to YouTube automatically — no manual trigger needed.
Recurring job (ask in chat)
> @Andy every weekday at 9am, check
~/content/posts for new files and
schedule each one to YouTube for
noon. Move posted files to
~/content/published.
NanoClaw: Got it. I'll run this every
weekday at 9:00 AM and schedule the
posts through Postiz.Why NanoClaw + Postiz for YouTube
NanoClaw makes Postiz a natural fit for your YouTube workflow. The agent discovers all available commands and autonomously chains them together.
- ✓Message from WhatsApp or Telegram to post to YouTube — no terminal needed
- ✓Container-based — easy to deploy, isolate, and scale
- ✓Built-in memory remembers your content preferences
- ✓Scheduled jobs for hands-free daily posting
- ✓Cross-post to YouTube + other platforms in a single conversation
- ✓Built on Anthropic's Claude Agent SDK, with each agent group in its own container
SKILL.md (auto-discovered)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including YouTube
metadata:
NanoClaw:
requirements:
env:
- POSTIZ_API_KEY
binaries:
- postiz
---
# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>
# YouTube Settings
title (2-100 chars), type
(public/unlisted/private),
selfDeclaredMadeForKids,
thumbnail, tagsDoes Postiz work with other agents too?
Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code.
Claude Code
by Anthropic
Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your YouTube integration, uploads your video and thumbnail, applies tags and visibility settings, and schedules the upload.
Claude Code
> Upload my tutorial video to YouTube
as public with tags "coding" and
"tutorial", schedule for tomorrow
Claude: Done! Scheduled on YouTube for
tomorrow at 9:00 AM.Can NanoClaw post to YouTube and other platforms at once?
Schedule the same video to YouTube and other platforms in a single request. Each platform gets its own settings.
Example
> Post "Excited to announce our new feature!" to
YouTube and LinkedIn tomorrow at 9am, then schedule
a daily tip on YouTube every weekday at 10am
NanoClaw: Done! Scheduled:
- YouTube + LinkedIn: tomorrow 9:00 AM
- Daily tips on YouTube: Mon-Fri 10:00 AMWhat can I ask NanoClaw to post on YouTube?
You can ask NanoClaw for anything Postiz supports on YouTube: a single post, a scheduled batch, or a recurring job. These are prompts you would type in WhatsApp, Telegram, Slack, or Discord. @Andy is NanoClaw's default trigger word; use whatever name you gave your agent.
Public upload with thumbnail
Say to NanoClaw
> @Andy upload demo.mp4 to YouTube on Friday at 4pm, title "Postiz in 5 minutes", public, use thumb.png as the thumbnail
NanoClaw: Uploads video and thumbnail, sets type public, title, and schedules Friday 4:00 PM.Unlisted with tags
Say to NanoClaw
> @Andy upload the webinar recording as unlisted with tags: scheduling, automation, ai agents
NanoClaw: Sets type unlisted and a tags array with three entries.Kids declaration
Say to NanoClaw
> @Andy upload the storytime video, mark it as made for kids, private for now
NanoClaw: Sets selfDeclaredMadeForKids to yes and type private.What should I know before posting to YouTube from NanoClaw?
YouTube has a few rules that Postiz enforces at publish time. NanoClaw applies them when you mention them in plain language, and asks when a required value is missing.
- ✓A video file is required, and the title must be 2 to 100 characters. NanoClaw uploads the video through postiz upload before creating the post.
- ✓type (visibility) is required: public, unlisted, or private. If you do not say, NanoClaw should ask rather than default to public.
- ✓Custom thumbnails must be uploaded first and passed as {id, path}. Send the image in chat and NanoClaw does the upload.
- ✓selfDeclaredMadeForKids is a legal declaration. Tell NanoClaw explicitly when content is for children; it should not guess.
Frequently asked questions about NanoClaw and YouTube
How do I upload a YouTube video from NanoClaw?
Add the Postiz skill to NanoClaw with npx skills add gitroomhq/postiz-agent, authenticate with postiz auth:login, and connect your YouTube channel in Postiz. Then send NanoClaw the video with a title, visibility, and time. It uploads the file through Postiz and schedules the publish on your channel.
Can NanoClaw set a custom YouTube thumbnail?
Yes. Send the thumbnail image along with the video and NanoClaw uploads it through Postiz, then passes it in the thumbnail setting as an id and path. YouTube applies it when the video publishes. If you skip it, YouTube picks an auto-generated frame as usual.
Can NanoClaw schedule YouTube videos as unlisted or private?
Yes. The type setting accepts public, unlisted, or private, and NanoClaw maps your words to the right value. Uploading as private or unlisted first is a good way to review the upload in YouTube Studio before making it public, since visibility can be changed later in Studio.
Does NanoClaw handle the YouTube made-for-kids setting?
Yes. When you say the video is made for kids, NanoClaw sets selfDeclaredMadeForKids to yes; otherwise it can set no. This is a declaration you are responsible for under YouTube's rules, so state it clearly in your message rather than leaving it to the agent to infer.
Do I need the YouTube Data API to use NanoClaw with Postiz?
No. You connect the YouTube channel to Postiz with Google OAuth once. NanoClaw only authenticates to Postiz, using postiz auth:login or a POSTIZ_API_KEY inside its container. Postiz handles the YouTube upload and quota on its side, so there is nothing to configure in Google Cloud.
Post to other platforms from NanoClaw
The same Postiz skill covers 30+ channels. Start from the NanoClaw social media automation guide or jump to a platform that pairs well with YouTube.
Start posting to YouTube
Install Postiz Agent and automate your YouTube content strategy with AI-powered scheduling and publishing.