How rajeev-exe/youtube-agent-studio works
This repository combines a YouTube channel-processing application with eleven Claude skills and six standalone Python tools. In the application workflow, the pipeline discovers candidate videos, processes authorized sources through download, splitting and metadata stages, then coordinates scheduling and upload-related checks; SQLite holds workflow state. The README’s creator-facing skills separately produce scripts, packaging, editing, analytics and planning outputs, with publishing explicitly left to the user. Some application modules were not sampled, so their internal interactions are shown only where the excerpts or README support them.
Main entry points: pipeline.py Pipeline · storage.py SQLite state · run.py Application runner · sources.py Trend discovery
Components 33
Application orchestration
- Application runner
run.py - Pipeline
pipeline.py - Configuration
config.py - Campaign scheduler
scheduler.py - Upload checks
uploader.py - Workflow monitor
monitor.py
Video processing
- Authorized download
downloader.py - Video splitting
splitter.py - Metadata generation
metadata.py - AI client
ai.py - Cleanup
cleanup.py
Discovery and persistence
- Trend discovery
sources.py - YouTube API client
youtube_api.py - SQLite state
storage.py - CSV I/O
csvio.py
Creator skills
- Script writing
skills/yt-script/SKILL.md - Title and thumbnail
skills/yt-package/SKILL.md - Edit decision list
skills/yt-edit/SKILL.md - Comment triage
skills/yt-comment/SKILL.md - Channel planning
skills/yt-plan/SKILL.md - Niche research
skills/yt-viral/SKILL.md - Retention analysis
skills/yt-retention/SKILL.md - Shorts ideas
skills/yt-shorts/SKILL.md - SEO guidance
skills/yt-seo/SKILL.md - Chapter creation
skills/yt-chapters/SKILL.md - Channel audit
skills/yt-audit/SKILL.md
Standalone tools
- Hook scoring
skills/yt-script/hookscore.py - Pairing linter
skills/yt-package/title.py - Transcript analysis
skills/yt-edit/deadair.py - Chapter validator
skills/yt-chapters/chapters.py - Retention analyzer
skills/yt-retention/retention.py - Outlier ranking
skills/yt-viral/swipe.py
Other components
- Channel creator
Connections 38
- Channel creator → Application runner: starts
README.md - Application runner → Pipeline: runs
run.py - Application runner → SQLite state: uses
run.py - Application runner → Workflow monitor: uses
run.py - Pipeline → Authorized download: downloads
pipeline.py - Pipeline → Video splitting: splits
pipeline.py - Pipeline → Metadata generation: generates metadata
pipeline.py - Pipeline → Trend discovery: discovers
pipeline.py - Pipeline → Campaign scheduler: coordinates
pipeline.py - Pipeline → Upload checks: coordinates
pipeline.py - Pipeline → SQLite state: updates state
pipeline.py - Metadata generation → AI client: uses
metadata.py - Authorized download → SQLite state: reads rights
downloader.py - Video splitting → SQLite state: records clips
splitter.py - Campaign scheduler → SQLite state: reserves slots
scheduler.py - Upload checks → SQLite state: checks clips
uploader.py - Trend discovery → YouTube API client: searches videos
sources.py - Trend discovery → AI client: classifies candidates
sources.py - Trend discovery → SQLite state: stores candidates
sources.py - Channel creator → Script writing: requests
README.md - Channel creator → Title and thumbnail: requests
README.md - Channel creator → Edit decision list: requests
README.md - Channel creator → Comment triage: requests
README.md - Channel creator → Channel planning: requests
README.md - Channel creator → Niche research: requests
README.md - Channel creator → Retention analysis: requests
README.md - Channel creator → Shorts ideas: requests
README.md - Channel creator → SEO guidance: requests
README.md - Channel creator → Chapter creation: requests
README.md - Channel creator → Channel audit: requests
README.md - Script writing → Hook scoring: uses
README.md - Title and thumbnail → Pairing linter: uses
README.md - Edit decision list → Transcript analysis: uses
README.md - Chapter creation → Chapter validator: uses
README.md - Retention analysis → Retention analyzer: uses
README.md - Niche research → Outlier ranking: uses
README.md - Retention analyzer → Transcript analysis: loads transcript cues
skills/yt-retention/retention.py - Chapter validator → Transcript analysis: imports
skills/yt-chapters/chapters.py