A Claude Code Skill by @tenfoldmarc
Give it your competitors' Instagram handles and it tells you exactly what's working — which hooks went viral, why they worked, and gives you ready-to-use templates you can steal for your own content. No setup, no database, instant results.
- Scrapes your competitors' last 50 Instagram posts each
- Finds outliers — posts that got 5x+ their normal views (the ones that actually went viral)
- Downloads and transcribes each viral reel to extract the spoken hook
- Screenshots the first frame to capture the on-screen text hook
- Templatizes every hook into a reusable
[BRACKET]framework you can adapt to any topic - Ranks all templates by total views and tells you which ones work for reels AND carousels
- Explains why each hook works psychologically — so you understand the mechanism, not just the words
- A Mac, Linux, or Windows computer
- Claude Code installed and working
- An Apify account (free tier works) for Instagram scraping
yt-dlpfor downloading reelswhisperfor transcriptionffmpegfor screenshots
Don't worry about connecting these manually — the skill walks you through everything on first run.
Mac: Press Command + Space, type Terminal, hit Enter.
Windows: Press Win + R, type cmd, hit Enter. (If you have Git Bash, use that instead.)
Linux: Open your terminal app.
Copy-paste this entire line and hit Enter:
git clone https://github.com/tenfoldmarc/spy-skill ~/.claude/skills/spyWait for it to finish (takes a few seconds).
In the same terminal window, type:
claudeHit Enter.
Type:
/spy @competitor1 @competitor2 @competitor3
Replace with real Instagram handles. On your first run, the skill checks for required tools and walks you through installing anything that's missing.
Basic — spy on 3 competitors:
/spy @hormozi @garyvee @danmartell
From URLs:
/spy https://www.instagram.com/hormozi/ https://www.instagram.com/garyvee/
Any niche works — AI, fitness, marketing, ecommerce, cooking, whatever:
/spy @drjasonfung @hubaborhealth @glucose_goddess
The skill auto-detects the niche from the content it finds.
For every viral outlier, you get three hooks + three templates:
- Spoken hook — what they actually said in the first 3 seconds
- On-screen text hook — what text was displayed on the video
- Caption hook — what they wrote in the post caption
- Templates — each hook abstracted into a
[BRACKET]framework you can fill in with your own topic
Plus a Template Leaderboard showing which patterns are working across multiple creators, ranked by total views.
To get the latest version:
cd ~/.claude/skills/spy && git pull/spy is a one-shot analysis. If you want a living database that auto-refreshes every week and builds a growing library of proven hooks, check out /hook-intel.
@tenfoldmarc — Follow for daily AI automation walkthroughs. Real systems, not theory.