Free code and guide

The Viral Remake Machine

How we pick every reel we film. Once a week it pulls the top posts in our niche, ranks them by comments, and breaks every one into the hook, the beats and the CTA. Then it writes our version.

So we aren’t guessing what works, we’re reading it. You don’t need to code any of this: hand the folder to your AI, tell it your niche, and it sets the whole thing up around your creators, not ours.

Want our team to build it? See the done for you version

What you get

The files

  • remake-machine.zipEverything below in one folder. Unzip it and hand it to your AI.
  • 00-README.mdThe full setup guide. Start here.
  • fetch.pyPulls your creators' recent public posts through Instagram's official Graph API. No scraping, no logins.
  • rank.pyRanks every post by comments (not likes) and spots the "comment KEYWORD" CTA.
  • breakdown.pyDownloads one post, transcribes it word for word on your computer, and pulls keyframes and scene cuts.
  • ANALYZE.mdThe playbook your AI follows to score each post and break it down beat by beat.
  • REMAKE-SPEC.mdWhat every one of your versions must contain.
  • creators.mdYour creator list. A template to fill in.
  • reel-edit-skill.zipBonus: the skill our team uses to edit our reels (best take per line, no dead air, captions).

Every file, with a download and a copy button, is in the full setup below.

How it works

Four pieces that hand off

  • 1. Pull: Instagram's official API pulls the top posts from the creators you pick.
  • 2. Transcribe: a transcriber on your laptop turns every post into text with timestamps, plus keyframes.
  • 3. Break down: your AI goes through each one shot by shot: the hook, the beats, the CTA, and why it worked.
  • 4. Write: it writes your version: same structure, your story, your tools.

Pull, transcribe, break down, write. One run a week, and you know exactly what to film before you hit record.

What it looks like

A real run

Niche: AI systems for running your life and business. One run, and it:

  • Pulled and ranked the posts in our creator list with the most comments. Most of the top ones were "comment KEYWORD" reels. That's the signal: thousands of comments on a keyword is a proven offer, not just a pretty video.
  • Broke one down: a 30 second talking head reel. Hook: "You can now get [thing] for completely free." Then three short beats (what it is, how it works, the one detail people screenshot), then "comment WORD" and a DM with a link.
  • Wrote our version: same hook pattern, same beat count, same CTA mechanic, our own stack. That became our COACH reel: a free AI accountability coach.

What you need

Setup and cost

ThingWhyHow
Python 3.10+runs the three scriptspython.org, or brew install python
ffmpegpulls keyframes and audiobrew install ffmpeg, sudo apt install ffmpeg, or winget install Gyan.FFmpeg
faster-whisperthe transcriber, runs locally (first run downloads a 500 MB model once)pip install faster-whisper
yt-dlpdownloads the reel when the API doesn't hand over the video filepip install yt-dlp
Claude Code or Codexdoes the breakdown and the writingclaude.com/claude-code, or Codex

One time, about 20 to 30 minutes: an Instagram professional account (Creator or Business, free to switch) connected to a Facebook Page, and a Meta app with an access token (instagram_basic and pages_show_list). Your agent walks you through it. Set the token in your terminal, never paste it into a chat, a shared file or a screenshot. The scripts never print it.

  • Instagram Graph API: free. It's Meta's own official API.
  • Transcription and keyframes: free. Runs on your laptop.
  • The breakdown and scripts: done inside the AI subscription you already pay for. No extra API key.

Realistic total: nothing extra if you already pay for an AI subscription. The full guide (00-README.md) has the manual setup, every command and troubleshooting.

Read this once

Fair use

  • This is research, not a repost kit. You're studying hooks, structures and CTA mechanics, not republishing anyone's videos or transcripts.
  • Remake the structure, not the words. Same hook pattern, same beats, your story, your tools, your numbers.
  • Read only. Nothing here likes, comments, follows or DMs. Never automate that.
  • The downloaded videos are working files. Delete them once a post is broken down; keep the notes.

Continue the setup

Unlock the full guide

Get every setup step, prompt, checklist, and local download.

By unlocking, you agree to get emails from QWave Labs about new free tools, tips and offers. Unsubscribe anytime. Privacy policy

Done for you

Want it done for you?

This kit is one loop from the AI second brain our team uses to run its business. Our team builds yours.

Book a call with our team

Who it’s for

Founders, creators and small teams who want AI systems that actually run (research, content, notes, follow ups) without spending weekends wiring them up.

What you get

  • One organized home for your notes, calls, people and projects, so your AI knows your business
  • Your AI connected to the tools you already use, with approval rules so nothing posts or sends without your OK
  • Loops like this one, set up around your niche and running on a schedule
  • A walkthrough so you know exactly how to run it

What happens on the call

We look at how you work today, where things live and what eats your week, and we tell you what we'd build first. If it's a fit, we map out the build. If it's not, you still leave with the plan.