agentleFS
OpenLaborOpenLabor/openlabor/skills/youtube-shorts-pipeline/SKILL.md

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

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
  1. Distinctive:

    Run all three stages end-to-end:

    line 55
  2. Very specific:

    Use YOUTUBE_SHORTS_DISCOVER to find trending topics

    line 137
  3. Very specific:

    Run YOUTUBE_SHORTS_RUN with channel context for branding consistency

    line 139
  4. Very specific:

    Use the generated script with x-strategy skill for tweet threads

    line 150
  5. Very specific:

    Use the b-roll images with instagram-manager for Reels

    line 151
  6. Very specific:

    Always use the exact use youtube-shorts command format

    line 155
  7. Distinctive:

    Never expose API credentials to the user

    line 161

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- 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

ParameterTypeDefaultDescription
topicstringrequiredThe topic or news angle for the Short
contextstring""Channel branding, style, or tone guidance
langstring"en"Language for voiceover and captions (en, hi)
dry_runbooleanfalseDraft only — no video production or upload
auto_pickbooleanfalseLet 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):

SourceAuth Required
Reddit hot/trendingNone
RSS feeds (any URL)None
Google TrendsNone
Twitter/X trendsOptional
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 draft
  • stage — 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

ServicePurposeRequired
Anthropic ClaudeScript writing, topic selection, metadataYes
Google Gemini ImagenB-roll images, thumbnail generationYes
ElevenLabsText-to-speech voiceoverOptional (fallback: macOS say)
OpenAI WhisperWord-level caption timestampsBundled
YouTube Data API v3Video + thumbnail uploadYes (for upload)
DuckDuckGoLive research for fact-groundingFree, no key
ffmpegVideo assembly, Ken Burns, audio duckingLocal binary

Workflows

Daily Shorts Machine

  1. Use YOUTUBE_SHORTS_DISCOVER to find trending topics
  2. Review discovered topics, pick the best fit for your channel
  3. Run YOUTUBE_SHORTS_RUN with channel context for branding consistency
  4. Review the uploaded Short (private by default), then publish manually

Batch Production

  1. Draft multiple topics with YOUTUBE_SHORTS_DRAFT (dry run first)
  2. Review and edit scripts as needed
  3. Produce all approved drafts with YOUTUBE_SHORTS_PRODUCE
  4. Upload the batch with YOUTUBE_SHORTS_UPLOAD

Cross-Platform Content

  1. Generate a Short with YOUTUBE_SHORTS_RUN
  2. Use the generated script with x-strategy skill for tweet threads
  3. Use the b-roll images with instagram-manager for Reels
  4. Repurpose the script with linkedin-manager for a post

Guidelines

  1. Always use the exact use youtube-shorts command format
  2. Videos upload as private by default — review before making public
  3. The anti-hallucination gate ensures scripts only use facts from live research
  4. Pipeline supports resume — re-running skips already-completed stages
  5. ElevenLabs is optional; falls back to macOS say for voiceover
  6. Hindi language support requires ElevenLabs VOICE_ID_HI configured
  7. Never expose API credentials to the user
  8. Estimated cost per video: ~$0.11 ($0.02 Claude + $0.04 Gemini + $0.05 ElevenLabs)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.