youtube-to-viral-posts
Installation
SKILL.md
YouTube to Viral Posts
Converts YouTube videos into viral Twitter/LinkedIn posts using Gemini AI video analysis. Downloads the video, uploads to Gemini, and generates a viral post following a proven format.
What It Does
- Downloads YouTube video via yt-dlp
- Uploads video to Gemini for AI analysis
- Generates a viral post following the proven structure: Hook → Body → Steps → CTA
- Stores the result in
youtube_social_postdatabase table
How to Run
# Generate viral post from YouTube video
python3 skills/youtube-to-viral-posts/scripts/youtube_to_viral_posts.py "https://www.youtube.com/watch?v=VIDEO_ID"