← All resources

resource / ai viral radar

My AI team watches reels for me. Here is how I build it.

Claude downloads a video, transcribes it, pulls the frames and breaks it down. With several videos, it compares them. Here are the steps and the prompts.

What it costs

yt-dlp, ffmpeg and Whisper are free. Claude, the part that thinks, runs on its subscription. You need nothing else to build it.

What you need to know

Instagram does not always let you download a reel without logging in. YouTube and TikTok usually work without an account. I do not use my own account for this, and what you do with yours is your call.

The 5 steps

  1. Install three pieces: yt-dlp (download), ffmpeg (frames and audio) and faster-whisper (transcription, based on Whisper).
  2. Ask Claude to write the script ver_video.py. The prompt is right below the steps.
  3. Ask Claude to break it down: hook, order, format and why it works, only from what you can see and hear.
  4. Compare several and ask which hook and format repeat.
  5. Schedule it: a scheduled task that repeats it, like my Radar on Mondays and Thursdays.

The prompts, step by step

Step 2 · The script. Paste it into Claude Code and test it on a short YouTube video before you trust it.

Create a Python script `ver_video.py` that, given a video link and an output folder, downloads the video with yt-dlp (at 720p at most), saves the title, author and description to `info.txt`, pulls 8 frames spread across the whole video with ffmpeg (`frame_00.jpg`, `frame_01.jpg`...) and transcribes the audio with faster-whisper into `transcripcion.txt`, with the time of each sentence. If the download fails, explain that Instagram often asks you to log in and that YouTube and TikTok usually work without an account.

Step 3 · Have it break the video down.

Run `python ver_video.py <LINK> analisis/video1`. Then read `transcripcion.txt` and `info.txt` and look at the frames. Break the video down in this format: 1. Hook (the first words and which formula it uses). 2. Order of the ideas, one line each. 3. Format (to camera, screen, text...) and how it is edited. 4. Why it works, using only what can be seen and heard; if you don't know the views, say "unchecked". 5. How I would do it with another topic from my business and my own words.

Step 4 · Compare them. Once you have five or ten analysis folders.

Read all the folders in `analisis/`. Tell me which hook repeats, which format repeats and what the best performers have in common. Give me a table and a 5-line conclusion. Don't invent figures: if a number isn't there, say so.

Step 5 · Make it repeat. In Claude Code Desktop, create a task under Scheduled > New task. Mine runs on Mondays and Thursdays at 8:30.

Each time you run: 1) read my list of accounts and my list of discarded videos. 2) Look for videos from the last 7 days from those accounts. 3) For each one, download it with `ver_video.py` and break it down. 4) Keep only those above [your threshold]. 5) Save the result in my Radar folder with the date. Don't publish or send anything and don't spend money.

A local task only runs while the app is open and the computer is awake: if it sleeps at that hour, the run is skipped. Cloud tasks run without your computer, but without access to your local files.

How my Radar filters, in full

  • A video only gets in if it beats 30 times its account's normal (its median) or reaches 1 million views.
  • Only those that speak to my ideal customer stay: the owner of a business turning over 1 to 5 M€ a year.
  • There is a list of discarded videos with the reason, and neither they nor similar ones are brought back.
  • It only looks at the last 7 days, on Instagram and YouTube Shorts.
  • If an account doesn't show views, it is measured by likes and doesn't count for the million.

Set up in one afternoon

  • Python, yt-dlp, ffmpeg and faster-whisper installed.
  • The script tested on a YouTube video.
  • One video analysed with the step 3 prompt.
  • Five videos compared with the step 4 prompt.
  • The scheduled task created and run once by hand.

How my Radar filters

Only videos with 30 times their account's normal, or 1 million views, that speak to my ideal customer. A discarded list with reasons. Set your own threshold and customer.

One rule for copying well

From a video that works you copy the idea, the hook, the rhythm and the order. In your own words with your own case. Never their sentences.

Want a Radar for your industry?

Tell me who you speak to and I will tell you which accounts I would watch. If you want us to build it together, write to me.

Links on this page go to each tool's official page and are not affiliate links.