Skip to content
Conduit

mcp server

youtube-automation-agent

Universal Multi-Agent YouTube Production Engine. Seamless Google Flow, Veo 3, Diffusion Studio MCP, and Headless YouTube API automation for Antigravity, Claude Code, Cursor, and Codex.

isaim0011/youtube-automation-agentcommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

This project does not publish an install method we can turn into a config. Follow the README instead.

README

synced Oct 27, 2026

Universal Autonomous YouTube Production Engine & Multi-Agent Growth Framework

License: MIT Platform: Cross-Platform Multi-Agent: Universal Pipeline: Flow%20Studio%20+%20DiffusionStudio%20+%20YouTube%20API

The Open Universal Standard for Autonomous YouTube Channel Scaling.
An algorithmic, statistical, and multi-agent system designed for Antigravity, Claude Code, Cursor, Copilot, Codex, Aider, and custom LLM agents. Automates the full lifecycle: Google Flow & Veo 3 generation, character/scene consistency, Diffusion Studio agentic timeline editing, high-CTR thumbnail synthesis, and zero-touch headless YouTube API uploads.


🌟 Universal Multi-Agent Compatibility

This repository is built from the ground up as a universal agent standard. It works out of the box with any autonomous coding assistant:

AI Agent SystemIntegration MethodConfiguration File
Google AntigravityNative Skill Moduleskills/youtube-agent/SKILL.md
Claude CodeGlobal Agent Instructions / Tool CallingAGENT.md & CLAUDE.md
Cursor & WindsurfSystem Rules & Context Integration.cursorrules & AGENT.md
GitHub Copilot / WorkspaceInstruction Directives.github/copilot-instructions.md
Aider / Codex / OpenDevinUniversal System PromptAGENT.md

🚀 Key Features

  • 🧠 Universal youtube-agent Skill: Plug-and-play agent blueprint (AGENT.md, SKILL.md, .cursorrules) that executes mathematical CTR scoring (P(Click)), retention loop optimization, and reverse-engineered chapter timestamps.
  • ✨ Google Flow & Veo Automation Suite: Direct companion automation for batch generating photorealistic 1080p video (Veo 3/3.1) and 2K/4K thumbnails (Nano Banana Pro) with automated character/scene consistency.
  • 🎨 Diffusion Studio Agentic Video Editing: Replaces fragile manual video manipulations with Diffusion Studio (diffusionstudio/editor, 3k+ ⭐) via Model Context Protocol (MCP) and programmatic JSX compositions.
  • 🎥 Multi-Angle Video Sequencing Engine: Intelligent video stitching eliminating repetitive 5-second loop fatigue. Cycles multi-shot cinematic footage with progressive color enhancement (contrast=1.08:saturation=1.15) and studio fades.
  • 🎵 Broadcast-Grade Audio Concat: Lossless WAV-to-256kbps AAC audio mastering, loudness normalization, and micro-crossfade transitions.
  • 🖼️ Dual-Variant High-CTR Thumbnails: Automated generation of both clean photographic immersion (Bilibili/organic) and contrast-badged text graphics (YouTube mobile feed).
  • ⚡ Headless YouTube API Pipeline: Integration with porjo/youtubeuploader utilizing persistent OAuth tokens and structured JSON schema for zero-touch uploads.
  • 🌐 Guided Multi-Platform Social Onboarding: Built-in agent workflow guiding users step-by-step through setting up and verifying all 4 major platforms (YouTube Shorts, TikTok, Instagram Reels, Bilibili) with synchronized handles, avatars, and bios before entering production.
  • 🗂️ Clean Multi-Channel Isolation: Enforces clean separation (channels/<Channel>/projects/<ID>/) to prevent asset collisions across single or multi-channel networks.

📂 Repository Architecture

├── AGENT.md                       # Universal multi-agent operational manual (All LLMs)
├── .cursorrules                   # Cursor, Windsurf & VS Code AI configuration
├── skills/
│   └── youtube-agent/
│       └── SKILL.md               # Antigravity & Agent skill definition
├── scripts/
│   ├── assemble_album_video.py    # Multi-clip sequencing & color-grading engine
│   ├── generate_thumbnails.py     # Dual-variant 1280x720 thumbnail generator
│   └── build_metadata.py          # Reverse-engineered SEO & chapter JSON generator
├── templates/
│   ├── video_metadata.template.json # Strict API schema for porjo/youtubeuploader
│   └── client_secrets.example.json  # OAuth 2.0 configuration blueprint
├── uploader/
│   └── README.md                  # YouTube Data API v3 setup & headless workflow
├── .gitignore
├── LICENSE
└── README.md

🛠️ Prerequisites & One-Time Setup

1. Google Flow Studio & Veo Automation Extension

To generate video clips and images with consistent characters and prompts:

  1. Login to Google Flow Studio:
    • Open your browser and navigate to flow.google.com (or labs.google).
    • Sign in with your Google account. Ensure you are active in the workspace where you want media created.
  2. Install the Veo Automation Extension:
  3. Agent Protocol:
    • Any AI agent will prompt the user to confirm their Google Flow login.
    • The agent exports formatted prompt batches and instructs the extension to auto-save directly to channels/<Channel>/projects/<ID>/raw_assets/.

2. Google Cloud Console (YouTube Data API v3)

To enable automated headless uploads, configure these three settings once in your Google Cloud Project:

  1. Enable YouTube Data API v3:
  2. Add Test User (Testing Mode Bypass):
  3. Authorized Redirect URI:
    • In Credentials ➔ Click your OAuth 2.0 Client ID ➔ Add http://localhost:8080/oauth2callback.
    • Download the JSON file and save it as client_secrets.json.

🚀 Quick Start Guide

Step 1: Clone Repository

git clone https://github.com/isaim0011/youtube-automation-agent.git
cd youtube-automation-agent

Step 2: Build Album Video

Place your raw video loops in inputs/videos/ and audio WAVs in inputs/audio/:

python scripts/assemble_album_video.py

Step 3: Generate High-CTR Thumbnails

python scripts/generate_thumbnails.py --input raw_photo.jpg --title "SUNSET LOUNGE" --sub "DEEP ORGANIC HOUSE"

Step 4: Automated Upload to YouTube

# First run prompts a one-time browser login, creating request.token.
# All subsequent uploads run completely headless!
.\uploader\youtubeuploader.exe -cache uploader/request.token -secrets uploader/client_secrets.json -metaJSON metadata.json -filename "output_video.mp4" -thumbnail "thumbnail.jpg"

📊 Algorithmic Viability Formulas

The agent enforces mathematical criteria before approving concepts for render:

1. Algorithmic Viability Score (AVS)

AVS = (0.35 \times CTR_{est}) + (0.40 \times RET_{est}) + (0.25 \times SV_{norm})

Threshold: Only concepts with AVS >= 78.0 proceed to production.

2. Competition-to-Demand Ratio (CDR)

CDR = \frac{\text{Monthly Search and Browse Velocity}}{\text{Active Competitors in Past 60 Days}}

Target: CDR > 1.5 indicates a high-probability search cluster.


⚖️ License & Attribution

↑↓ navigate openesc close