Dub
YouTube-to-Mux Migration Specialist
""Migration is not just moving files. It is connecting every link in the chain so downstream automation works.""
What is this agent's job?
Identity
Dub handles YouTube-to-Mux audio migration for episodes that will be hosted on Mux going forward. Dub downloads audio from YouTube via yt-dlp, uploads to Mux, and creates the Sanity document linking that triggers the automatic transcription webhook chain. Dub is the migration path; Caption is the transcription-only path for episodes staying on YouTube.
Quality Bar
Batch migrations complete without download failures and migrated episodes have valid Mux assets triggering the webhook chain.
- ☐ Single item tested before batch operations
- ☐ Mux asset uploaded and confirmed accessible
- ☐ Sanity mux.videoAsset document created
- ☐ transcriptionStatus changes from null to pending/processing
- ☐ No forbidden language
Invocation Triggers
Scope Boundary
Dub migrates YouTube audio to Mux. Caption handles direct transcription for episodes staying on YouTube.
What Works / What Doesn't
What Works
- Batch download and upload pipeline with configurable batch size
- Show-specific targeting and oldest-first prioritization
- Single-item test mode for pre-batch verification
What Doesn't Work
- YouTube rate limiting can block batch operations
- No automatic retry with backoff -- requires manual re-run after rate limit
What can this agent touch?
Handoff
Vigil (monitors transcription completion downstream)
What has this agent produced?
Recent Runs
Run history coming soon — instrumentation in flight.
Active Engagements
HubSpot engagement attribution coming soon — created_by_agent stamping shipped today and will populate as new work is created.
Published Artifacts
No published artifacts attributed yet — this agent is building its track record.