YouTube Shorts Pipeline
Skill5 starsChanged 3 months agoMITView on GitHub
Automated YouTube Shorts creation — from topic to published video with AI script, visuals, voiceover, captions, and upload
- Reads credentials
In this repository51 other files it gives its agents.
- Airtable ManagerSkill
- Sam Altman - AI StrategySkill
- Sam Altman - Startup ScalingSkill
- Animate StorySkill
- Jeff Bezos - Customer ObsessionSkill
- Jeff Bezos - Operations FlywheelSkill
- Charlie Munger - Inversion ThinkingSkill
- Charlie Munger - Mental ModelsSkill
- Robert Cialdini - Conversion PsychologySkill
- Robert Cialdini - Persuasion ScienceSkill
- Cold OutreachSkill
- Competitor AnalysisSkill
- Content HumanizerSkill
- Content Repurpose PipelineSkill
- Content SummarizerSkill
- Conversion AuditSkill
- CrowdTest SalesSkill
- Ray Dalio - Decision SystemsSkill
- Ray Dalio - Principles MachineSkill
- Data AnalystSkill
- domain-checkerSkill
- Finance DashboardSkill
- Flight SearchSkill
- Generate Video PresentationSkill
- Google CalendarSkill
- Growth Experiment EngineSkill
- High Volume Cold OutreachSkill
- Image GeneratorSkill
- Instagram ManagerSkill
- Instantly OutboundSkill
- Lead QualificationSkill
- LinkedIn ManagerSkill
- logo-makerSkill
- Marketing PsychologySkill
- Meeting Action ExtractorSkill
- Multi-Platform ResearchSkill
- News & Trend MonitorSkill
- Prompt EngineeringSkill
- Reddit ManagerSkill
- Self-Improving AgentSkill
- SEO OptimizationSkill
- Stripe ManagerSkill
- Nassim Taleb - AntifragilitySkill
- Nassim Taleb - Risk IntelligenceSkill
- Target Competitors LeadsSkill
- wan2.7-image-skillSkill
- Warren Buffett - Capital AllocationSkill
- Warren Buffett - Risk AssessmentSkill
- Web ResearchSkill
- X StrategySkill
- YouTube ManagerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Run all three stages end-to-end:
- Very specific: line 137
Use YOUTUBE_SHORTS_DISCOVER to find trending topics
- Very specific: line 139
Run YOUTUBE_SHORTS_RUN with channel context for branding consistency
- Very specific: line 150
Use the generated script with x-strategy skill for tweet threads
- Very specific: line 151
Use the b-roll images with instagram-manager for Reels
- Very specific: line 155
Always use the exact use youtube-shorts command format
- Distinctive: line 161
Never expose API credentials to the user
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- openlabor-connector: youtube-shorts, api_key={{INTERNAL_API_KEY}}, employee={{EMPLOYEE_ID}}, base={{API_BASE_URL}} -->YouTube Shorts Pipeline
Fully automated pipeline that turns a topic into a published YouTube Short — research, AI script, generated visuals, voiceover, burned-in captions, background music, and upload. Cost: ~$0.11/video.
You have access to the YouTube Shorts Pipeline through the OpenLabor connector API.
How to Use
use youtube-shorts <TOOL_NAME> '<json_args>'Pipeline Stages
The pipeline runs in three stages. Each stage can be run independently or as a full pipeline.
1. Draft — Research & Script Generation
DuckDuckGo research → Claude script + b-roll prompts + YouTube metadata + thumbnail prompt.
- Tool:
YOUTUBE_SHORTS_DRAFT - Args:
{ "topic": "your topic here" } - Optional args:
"context"— channel branding/style guidance"lang"— language code ("en"or"hi")
2. Produce — Video Assembly
Gemini Imagen b-roll with Ken Burns effect → ElevenLabs voiceover → Whisper word-level captions → royalty-free background music with voice ducking → ffmpeg assembly.
- Tool:
YOUTUBE_SHORTS_PRODUCE - Args:
{ "draft_id": "DRAFT_ID" }
3. Upload — Publish to YouTube
Uploads video as private, attaches SRT captions and AI-generated thumbnail.
- Tool:
YOUTUBE_SHORTS_UPLOAD - Args:
{ "draft_id": "DRAFT_ID" }
Full Pipeline
Run all three stages end-to-end:
- Tool:
YOUTUBE_SHORTS_RUN - Args:
{ "topic": "your topic here" }
Parameters
| Parameter | Type | Default | Description |
topic | string | required | The topic or news angle for the Short |
context | string | "" | Channel branding, style, or tone guidance |
lang | string | "en" | Language for voiceover and captions (en, hi) |
dry_run | boolean | false | Draft only — no video production or upload |
auto_pick | boolean | false | Let Claude auto-select the best topic from discovery |
Topic Discovery
Auto-discover trending topics instead of providing one manually:
- Tool:
YOUTUBE_SHORTS_DISCOVER - Args:
{ "auto_pick": true }
Discovery sources (all optional, configured per-source):
| Source | Auth Required |
| Reddit hot/trending | None |
| RSS feeds (any URL) | None |
| Google Trends | None |
| Twitter/X trends | Optional |
| TikTok (Apify) | Optional |
Examples
# Full pipeline — research a topic and publish
use youtube-shorts YOUTUBE_SHORTS_RUN '{"topic": "AI regulation in 2026"}'
# Discover trending topic, let Claude auto-pick
use youtube-shorts YOUTUBE_SHORTS_RUN '{"auto_pick": true}'
# Dry run — draft only, no video production
use youtube-shorts YOUTUBE_SHORTS_DRAFT '{"topic": "Space tourism updates", "dry_run": true}'
# Step-by-step for review between stages
use youtube-shorts YOUTUBE_SHORTS_DRAFT '{"topic": "Remote work productivity tips"}'
use youtube-shorts YOUTUBE_SHORTS_PRODUCE '{"draft_id": "abc123"}'
use youtube-shorts YOUTUBE_SHORTS_UPLOAD '{"draft_id": "abc123"}'
# With channel branding context
use youtube-shorts YOUTUBE_SHORTS_RUN '{"topic": "Best new AI tools", "context": "Tech channel, energetic tone, younger audience"}'
# Hindi language Short
use youtube-shorts YOUTUBE_SHORTS_RUN '{"topic": "Cricket highlights", "lang": "hi"}'Response Format
Returns JSON with:
draft_id— Unique identifier for the draftstage— Current pipeline stage (draft,produce,upload)status— Stage status (complete,in_progress,failed)script— Generated script text (after draft stage)video_url— Local path to assembled MP4 (after produce stage)youtube_url— YouTube URL of uploaded Short (after upload stage)cost— Estimated API cost breakdown
Services Used
| Service | Purpose | Required |
| Anthropic Claude | Script writing, topic selection, metadata | Yes |
| Google Gemini Imagen | B-roll images, thumbnail generation | Yes |
| ElevenLabs | Text-to-speech voiceover | Optional (fallback: macOS say) |
| OpenAI Whisper | Word-level caption timestamps | Bundled |
| YouTube Data API v3 | Video + thumbnail upload | Yes (for upload) |
| DuckDuckGo | Live research for fact-grounding | Free, no key |
| ffmpeg | Video assembly, Ken Burns, audio ducking | Local binary |
Workflows
Daily Shorts Machine
- Use
YOUTUBE_SHORTS_DISCOVERto find trending topics - Review discovered topics, pick the best fit for your channel
- Run
YOUTUBE_SHORTS_RUNwith channel context for branding consistency - Review the uploaded Short (private by default), then publish manually
Batch Production
- Draft multiple topics with
YOUTUBE_SHORTS_DRAFT(dry run first) - Review and edit scripts as needed
- Produce all approved drafts with
YOUTUBE_SHORTS_PRODUCE - Upload the batch with
YOUTUBE_SHORTS_UPLOAD
Cross-Platform Content
- Generate a Short with
YOUTUBE_SHORTS_RUN - Use the generated script with
x-strategyskill for tweet threads - Use the b-roll images with
instagram-managerfor Reels - Repurpose the script with
linkedin-managerfor a post
Guidelines
- Always use the exact
use youtube-shortscommand format - Videos upload as private by default — review before making public
- The anti-hallucination gate ensures scripts only use facts from live research
- Pipeline supports resume — re-running skips already-completed stages
- ElevenLabs is optional; falls back to macOS
sayfor voiceover - Hindi language support requires ElevenLabs
VOICE_ID_HIconfigured - Never expose API credentials to the user
- Estimated cost per video: ~$0.11 ($0.02 Claude + $0.04 Gemini + $0.05 ElevenLabs)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

