kolyanimesil-cmd/AI-Youtube-Shorts-Generator_SamurAIGPT ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python tool that takes a YouTube video link, finds the best short moments, and turns them into vertical clips ready for Shorts, Reels, or TikTok.

I want it to be able to run in two ways, one that uses an API for the heavy lifting and one that works locally on my machine with video download, transcription, and rendering. It should rank clips by how viral or interesting they are, give each clip a score, a short hook, and a quick reason why it was chosen. If the video is long, it should split it up so nothing important gets missed, and it should avoid making duplicate clips that overlap too much.

Please make it usable from the command line and also as a Python function. It should support saving the results as JSON, accept a single YouTube link or a local video file, and cache work when possible so reruns are faster. If you need to check current library docs, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab