From Instagram Reels to Betting Models: What Worked, and the $324 Day That Taught Me to Read the Output

How I used Claude to pull Instagram videos, turn them into text, build reusable betting models from them, and add a TOP PICKS filter after one very bad day.

All posts

The short version

I follow a handful of people on Instagram who explain how they find betting edges. The explanations were good, but they lived in 60-second videos I could not search, rerun or test. So I used Claude to turn each video into text, turn the text into a Bash script, and turn the scripts into a daily report I can run myself.

This post covers the whole pipeline: the tools that pull the videos, the APIs the models read from, how I fixed college team names that never match between sources, my results by month, and the single bad day (November 5) where I read the output wrong and paid for it. It ends with the filter I had Claude build so the report only shows the bets that deserve to be on it.

Question Answer
What A folder of Bash + awk models (NFL, NCAAF, NBA, NCAAB, NHL) that project a score, price it against a market, and flag where my number disagrees with the price.
Why I wanted every idea from a reel written down as a formula I could test, instead of a vibe I half-remembered.
Who Me, on one Windows workstation using Git Bash, with Claude doing most of the typing.
When Since late September 2026. Daily slates run each morning.
Where Everything is local. A gamble-model folder, one spreadsheet for the bet log.
How Reel → audio → transcript → model script → slate report → TOP PICKS filter → bet log → grade.

Step 1: Pulling the videos

Instagram has no export button and no transcripts, so the audio has to be downloaded and transcribed on your own machine. Three open-source tools do the whole job.

Reel URLInstagram yt-dlpaudio .mp3 Whisperspeech → text Transcript.txt file Claudeextract formula Script.sh model
The pipeline. Everything up to the transcript runs locally; no audio goes to a cloud service.
Tool What it does Why it is needed
yt-dlp Command-line downloader for video and audio sites Fetches the reel’s audio track
Firefox cookies Your browser’s saved Instagram login Instagram blocks anonymous downloads, so yt-dlp borrows your session
ffmpeg Audio converter with no interface Converts to mp3 and lets Whisper decode audio
Whisper OpenAI’s open-source speech-to-text model, run locally Turns the audio into a .txt file
# one reel: download the audio, then transcribe it
yt-dlp --cookies-from-browser firefox -x --audio-format mp3 \
  -o 'reel.%(ext)s' "https://www.instagram.com/p/XXXXXXXXXXX/"

whisper reel.mp3 --model small --language en --output_format txt

Three things that cost me time

  • Quote the -o template. Unquoted, bash reads %(ext)s as shell syntax and dies with syntax error near unexpected token '('.
  • Use Firefox, not Chrome. My notes say Chrome’s cookie encryption on Windows breaks yt-dlp’s cookie extraction.
  • ffmpeg first, then reopen the terminal. My first run saved the audio and then stopped at the mp3 step because ffmpeg was missing. Install it with winget install Gyan.FFmpeg and open a fresh Git Bash so the PATH updates.

When I pull several reels at once I put one URL per line in a file and add a sleep 10 between pulls. Hammering Instagram from a logged-in account is the quickest way to get throttled.

Step 2: From transcript to model

A transcript is just a person talking. The useful part is the formula buried in it. I paste a transcript into Claude and ask for the same three things every time: what number is the creator projecting, what inputs does it use, and what would I compare it to? Claude writes the script, I run it against a real game, and I check one output by hand before I trust it.

That loop has now produced a model for each reel I finished. Once a reel is built into a script I move its audio and transcript into a completed/ folder, so the reels folder is a to-do list.

Reel topic Model it became
NFL total score / first half nfl_edge.sh, nfl_first_half.sh
NFL QB passing yards nfl_pass_yds.sh
NBA total score / total over nba_edge.sh, nba_over_screen.sh
NBA player points nba_points_prop.sh
NCAAB total score ncaab_edge.sh
NHL total score nhl_edge.sh

Two formulas do most of the work. Football projects points per play times plays. Basketball projects efficiency times pace. Each script then does one of three jobs: project a number, price it against a market, or backtest it on past seasons.

Score(A) = A_plays × (A offensive pts/play + B defensive pts/play allowed) / 2

That form comes straight from one of the football reels. Hold onto it, because it is also where the NBA version of the model went wrong later.

The APIs the models pull from

Most of these are free and need no key. The scripts cache everything locally, so a re-run does not burn quota.

Source Used for Key?
Kalshi public API Live market prices (the “ladder” of lines for each total), game start times, and price history so I can record the closing price No
CollegeFootballData (CFBD) College football games, box scores, team ratings and betting lines Yes, free
CollegeBasketballData College basketball team stats Yes, free
nflverse NFL schedules, results, closing totals back to 2016, team stats No
ESPN site API Scoreboards, game summaries and DraftKings lines, plus the final scores used for grading No (undocumented, so it can change without notice)
Open-Meteo Hourly weather at the stadium for outdoor games No
The Odds API Optional live DraftKings and FanDuel prop prices for the prop checker Yes, free tier

Cleaning up the college team names

College football was the hardest data problem, and it had nothing to do with math. The same school has a different name in every API:

Source How it writes one school
Kalshi Morehead St.
CFBD Morehead State
ESPN Morehead State Eagles

A plain string match fails on a few hundred schools, and a loose match is worse, because it silently attaches the wrong game to a bet. Kalshi’s “University at Albany” could be UAlbany or Albany State. Instead of keeping a hand-maintained alias list, I had Claude build a scorer in lib_cfbd.sh that works in layers.

  1. Normalize both names. Lowercase, St. becomes state, drop “university”, strip punctuation.
  2. Score every candidate team from 0 to 100. An exact match against CFBD’s school name, alternate names or abbreviation scores 100. The abbreviation in Kalshi’s own ticker scores 90. A match with the spaces removed scores 85. One name containing the other scores 70. Anything else falls back to overlapping words, with a bonus for a shared distinctive word such as “albany”. Generic words like “state”, “tech” and “north” never count as distinctive.
  3. Match the pair, not the team. Only games within one day of the date are considered, and both teams must fit, in either home/away order. “University at Albany” resolves to UAlbany because UAlbany is the one playing Bryant that day.
  4. Refuse to guess. If the best pair scores under 90, the result is NOMATCH. If two games are within 10 points of each other, it is AMBIGUOUS and the script prints both and stops.
def norm: ascii_downcase
  | gsub("&"; " and ") | gsub("\\bst\\.?(?=\\s|$)"; "state")
  | gsub("\\buniv(ersity)?\\b"; "") | gsub("[^a-z0-9 ]"; "")
  | gsub("\\s+"; " ") | ltrimstr(" ") | rtrimstr(" ");

The design choice I would defend: a loud failure beats a quiet wrong answer. A skipped game costs nothing. A bet priced against the wrong game costs money.

My monthly results

These come from my bet log, settled bets only, with every stake and result entered by hand. Percent return is profit divided by money staked.

231
Settled bets
175–56
Record
+$156.81
Net profit
+1.7%
Return on $9,394 staked
Month Bets W–L Staked Profit Return
Sept (28th–30th) 9 5–4 $222 −$48.70 −21.9%
October 99 82–17 $4,204 +$226.63 +5.4%
November (to date) 123 88–35 $4,968 −$21.12 −0.4%

My win rate looks great at 76%, and it means much less than it seems. Most of my bets are heavy favorites priced around −300 to −600, where the market already expects you to win 75% to 86% of the time. One loss at those prices erases five to seven wins. Return on money staked is the number to watch, and it is thin.

The $324 day: November 5

Here is the daily profit and loss for the stretch around it.

−$400−$300−$200−$100$0$100Oct 28Oct 29Oct 30Oct 31Nov 1Nov 2Nov 3Nov 4Nov 5−$324Nov 6Nov 7−$162Nov 8Nov 9Nov 10Nov 11Nov 12
Daily profit/loss in dollars, Oct 28 – Nov 12. The Nov 5 bar is the one that matters; Nov 7 was also rough.

On November 5 I placed eight $60 bets and went 2–6 for −$324.09. Every one was a total or an alternate line, priced between −276 and −595. Eight bets at those prices should win roughly seven times. Two wins is not bad luck I can shrug at, so I went back and looked at what I had been reading.

Bet (Kalshi) Odds Result
NCAAF SC State vs Howard, under 62.5 −595 Loss
NCAAF UTSA vs Florida Atlantic, under 86.5 −430 Loss
NCAAF James Madison vs Southern Miss, under 69.5 −405 Loss
NBA Miami Heat, over 105.5 −430 Loss
NHL ANA vs EDM, under 8.5 −276 Loss
NBA PHO vs ORL, over 210.5 −340 Win
NCAAB Penn vs Illinois, under 181.5 −322 Loss
NCAAB C.Conn vs Syracuse, over 125.5 −322 Win

What I got wrong

Each report prints a ladder of lines for a game with a << marker next to every line where the model’s probability beats the market’s price. I was treating that marker as “bet this.” The UTSA game shows why that fails.

  • The market total was 72.5. My model said 63.7, a 9-point disagreement with a closing line.
  • The marker appeared on all 19 under lines. That was not 19 edges. It was one bias (my projection too low) printed 19 times.
  • The “Edge” column is in probability points, not return. The sheet’s own Kelly sizing on the under 86.5 came out to 72% of bankroll. Real edges in this market size to 1–3%.
  • The game finished 89. Of the 19 flagged unders, 17 lost.

The NBA model had the same disease on November 6. It flagged the over on all 29 lines of a Celtics–Hornets total, with the model at 221.6 against a market near 210. Claude traced it to Charlotte’s offensive rating blending in last season’s data (110.9) when this season’s was 99.6, plus the averaging formula above, which pulls a team toward its opponent instead of toward the league. Same symptom both times: a one-sided wall of “edges.”

The fix: only show the bets worth betting

I had Claude fix it in two layers, and the second layer is the part I use every day.

Layer 1: stop trusting a projection that disagrees with the market

  • Blend toward the market. Final total = 70% market + 30% model, until the model has a track record.
  • A sanity gate. If the model is more than 6 points from Kalshi’s 50/50 line, the script stops. Override flags exist (--force, --max-gap, --market-weight) but you have to type them on purpose.
  • Wider spread. The default standard deviation for college totals went from 14 to 16, which shrinks every “edge” to a more honest size.
  • NBA: cap last season’s weight when a team’s rating has moved more than about 6 per 100 possessions, use the standard Off_A + Def_B − LgAvg form, and warn when every line on one side shows an edge.

Layer 2: a TOP PICKS section

Every slate report now ends its table with TOP PICKS, built by two small awk scripts. slate_picks.awk applies the betting rules to each game’s output, and slate_picks_report.awk ranks what survives. A line has to pass every rule:

Rule What it does
Game not started No live games. The price is stale the moment play begins.
No warned ladder If the data layer flagged a problem with the ladder, the game is out.
Model within 5 points of Kalshi’s 50/50 line Removes the “9 points off” case entirely. Hockey uses 0.75 goals.
Team totals within a scaled gap The same limit, scaled by team spread vs. game spread.
Ask price between 0.20 and 0.85 Skips lottery tickets and the −600-and-shorter bets where one loss erases a week.
Edge at least 8 points, model win chance at least 55% Needs real separation from the price, not a rounding error.
Most likely line per ladder One line from each ladder, not nineteen.
One pick per game, ranked by win chance A team total and a game total move together, so they count as one bet.

The biggest-edges list still prints for curiosity. It answers “where does the model disagree most?” TOP PICKS answers “what would I actually bet?” Those are different questions, and mixing them up cost me $324.

Grading it honestly

A filter is a claim, so I wrote grade_reports.sh. It reads every saved report, downloads the final scores from ESPN, and grades each projection and each pick on the day it was made. The first run covered Nov 4–18:

Finding Evidence
No model beat the market line yet Every model’s 95% range includes zero. NHL is the only positive one, and NBA leans negative.
Picks are up, but within luck 57 wins against 62.2 expected (±5.1). Return +5.5% per contract on 117 picks.
Win chances run high The model averages 6–9 points above the price.

The script’s own rule of thumb: about 1,000 graded picks are needed to tell a 53% bettor from a coin flip. I have 117.

The honest-numbers section

  • My backtests found no edge on totals. Against closing lines the simplified models hit 48.8% (NFL), 50.3% (college football) and 50.1% (college basketball), with break-even near 52.4%. The one soft signal is college football against opening lines, which means speed matters more than the formula.
  • High win rate on favorites is not an edge. My 70¢-and-up alt-line bets win about 82% and still lose money at those prices in simulation.
  • Nov 5 was not the only bad day. Nov 7 went 2–7 for −$161.80. Remove Nov 5 and November looks like a +$303 month, but I do not get to delete days. The month is −$21.
  • The good October was a small sample too. 99 bets cannot separate skill from variance.

What I do believe: the pipeline works. It turns an idea from a video into something I can run, grade and break, and it breaks loudly instead of quietly. That is worth more to me right now than any single month.

What I’d do if I were starting over

  1. Build the grader first. I built the models, then the backtests, then the grader. It should have been the first script.
  2. Treat “the model disagrees with the market by a lot” as a bug report, not a signal.
  3. Log every bet with its source and the closing price. Whether you beat the closing price shows skill in about 100 bets; win-loss takes years.
  4. Make the first filter strict. It is easy to loosen a rule later and painful to learn one at $60 a bet.

Not betting advice. I am sharing how I built tools, not telling anyone to bet. All results are my own, hand-logged, and from a small sample. 21+ only. Problem gambling help: 1-800-GAMBLER.

Next in this series: the prop checker, and what I found when I tested my own “this player always clears it” reads against history.

Back to the grid