How to do Instagram competitor analysis with a Claude Code skill (dashboard included)
Install one free skill, name your competitors, and Claude Code builds a dashboard of their posts, breakouts and engagement. Every step, run on six beauty brands, and why the average-engagement ranking most reports use came out wrong.
Most Instagram competitor analysis is a spreadsheet nobody updates, or a report that ranks accounts on average engagement and gets the order wrong.
This guide does it with Claude Code and our free Instagram competitor tracker skill. You name the accounts. The agent pulls each profile and its 12 latest posts, scores every post against that account's own usual, and hands you a one-file dashboard you can send to a client. It works the same in Codex, Cursor and any other agent that reads skills.
We ran it on six beauty brands on 24 Nov 2026: Rare Beauty, Summer Fridays, Fenty Beauty, Glossier, Kylie Cosmetics and Drunk Elephant. One run, 72 posts, 30 credits. About six cents. Every screenshot and number below comes from that run.
What you need:
Claude Code, Codex, Cursor or another agent that reads skills
An Upscrape account. New accounts get up to 100 free credits, no card.
5 credits per account per run
No Instagram login. The skill never signs in to Instagram.
Step 1: Install the skill and connect the data
Install it with one command:
npx skills add upscrape/skills
Or copy the skills/instagram-competitor-tracker folder into your agent's skills folder. Its SKILL.md tells the agent every step, and references/metrics.md has the exact formula behind every number in this post.
Then give it the data. Either set UPSCRAPE_API_KEY in your environment, or connect the Upscrape MCP server at https://data.upscrape.com/mcp. (MCP or API for agents? covers the difference.)
Step 2: Pick the competitors
Pick three to ten accounts you actually fight for the same customer, not just the biggest names in your category. Past ten, nobody reads the report. The skill takes up to 20.
Add your own account too. It gets marked "You", pinned to the top, and everything is compared with it.
Don't pick on follower count. In our run, Kylie Cosmetics had the most followers, 23.7M, and the second-lowest engagement rate. Sort the results by followers and the table is nearly upside down.
Step 3: Ask your agent to run it
Type this into Claude Code:
Track @glossier, @rarebeauty and @fentybeauty on Instagram. @glossier is us.
Before the first paid call, the agent shows how many accounts it will pull and what that costs, and waits for your OK. Then it fetches each profile with its 12 latest posts and builds three files:
dashboard.html: the dashboard, one file that opens offlinebrief.md: a few lines on what stood out, already writtendata.json: every number behind both
It finishes by telling you what stood out and what the data doesn't cover.
What a run costs
Each account is one call to the Instagram API's profile endpoint at 5 credits. Failed calls cost nothing, and a second run on the same day reuses that day's data instead of paying again.
| What you track | Credits | At the $19 pack |
|---|---|---|
| 6 accounts, once | 30 | $0.06 |
| 6 accounts, daily for 30 days | 900 | $1.71 |
| 20 accounts, daily for 30 days | 3,000 | $5.70 |
| 50 accounts, daily for 30 days | 7,500 | $14.25 |
The smallest pack is $19 for 10,000 credits: just under a cent per account per run. No subscription, and bought credits never expire. The 100 free credits cover six accounts three times. An agency watching five competitors for each of ten clients, every day, spends less than one $19 pack a month.
Step 4: Read the dashboard
The dashboard has five tabs: Overview, Accounts, Posts, Content and Growth. Read it in this order.
Start with "what stands out"
The top of the Overview tab is a short list the skill writes from the data. Our run's:
Kylie Cosmetics had a carousel at 33x its usual post: 325.2K likes and comments, against a typical 9.8K.
Rare Beauty's typical post got 3.7x Kylie Cosmetics' (36.2K against 9.8K), though Kylie has 2.7x the followers. On engagement rate, Rare Beauty was 27x Drunk Elephant.
Glossier posted 13.4 times a week, and 75% of those posts pushed an offer or a sale. That's the highest posting rate in the group, with the second-lowest typical post.
Summer Fridays drew 5.1K comments on one post, 0.77 comments for every like. It was a giveaway, and the dashboard flags it as one, so nobody mistakes it for a content win.
Then open Accounts: every account side by side, sortable by any column, with a CSV export. Seven posts were under 24 hours old and still collecting likes, so they're shown but not scored. That leaves 65.
| Account | Followers | Typical post (likes + comments) | Engagement rate | Posts a week | Posts pushing an offer | Breakouts |
|---|---|---|---|---|---|---|
| @rarebeauty | 8,697,627 | 36,203 | 0.42% | 9.1 | 8% | 3 |
| @summerfridays | 1,503,604 | 4,224 | 0.28% | 4.0 | 25% | 0 |
| @fentybeauty | 13,341,344 | 18,961 | 0.14% | 5.9 | 17% | 1 |
| @glossier | 3,114,919 | 1,423 | 0.05% | 13.4 | 75% | 1 |
| @kyliecosmetics | 23,712,891 | 9,770 | 0.04% | 7.5 | 8% | 2 |
| @drunkelephant | 1,934,843 | 294 | 0.02% | 6.4 | 0% | 2 |
One run, 24 Nov 2026, 22:23 UTC. "Typical post" is the median of each account's scored posts among its latest 12. Posts a week is measured from the same 12 posts. A breakout is a post at 3x or more of its own account's typical post.
Want to click around it yourself? This run's dashboard and all 72 posts as a CSV are on GitHub. Download the dashboard and open it in any browser.
Judge engagement on the median, not the average
The skill scores every account on its median post, the middle one, not the average. One viral post wrecks an average.
Kylie Cosmetics' 11 scored posts averaged 40,366 likes and comments, 4.1x its median of 9,770. That single 325K carousel pulled the average up so far that 10 of Kylie's 11 posts sat below their own account's "average". Against that average, the carousel looks like an 8x post. Against the median, it's 33x, which is closer to how unusual it actually was.
The same distortion carries into engagement rate, the number most Instagram competitor reports lead with:
| Account | Engagement rate from the median post | Engagement rate from the average post |
|---|---|---|
| @rarebeauty | 0.42% | 1.18% |
| @summerfridays | 0.28% | 0.36% |
| @fentybeauty | 0.14% | 0.32% |
| @glossier | 0.05% | 0.06% |
| @kyliecosmetics | 0.04% | 0.17% |
| @drunkelephant | 0.02% | 0.02% |
Same 65 posts, 24 Nov 2026. Medians to three decimals: Glossier 0.046%, Kylie Cosmetics 0.041%.
On averages, Kylie Cosmetics looks about three times as engaging as Glossier. On medians, Glossier is slightly ahead. Hand a client a ranking built on averages and one lucky post decides it.
How to calculate a competitor's engagement rate
You only see what's public, so the rate has to come from public numbers. This is what the skill does, and you can do it by hand:
Take the account's recent posts (we use the latest 12) and drop any less than a day old.
For each post, add likes and comments.
Take the median of those totals: the middle value, not the mean.
Divide by the account's followers and multiply by 100.
For Rare Beauty: 36,203 ÷ 8,697,627 × 100 = 0.42%.
Engagement rate by reach is a better number, and you can't have it for a competitor. Reach, impressions, saves and shares are visible to the account's owner, not to you. Any tool that shows a competitor's "reach" is estimating it.
Open the breakouts
A breakout is a post that beat its own account's usual by some multiple. Because each account is compared with itself, a small account's breakout shows up next to a giant's. The Posts tab lists every post with its multiple, and you can filter to breakouts, offers or collabs, or export it all as CSV.
Pick the multiple wrong and the list is either noise or empty. Nobody agrees on it: Crestnote's competitor guide flags posts at 1.5x the median, Virlo's Claude guide uses 3x (both checked 25 Nov 2026). So we ran all three lines on the same 65 posts:
| Breakout line | Posts flagged | Share of all scored posts |
|---|---|---|
| 1.5x the account's median | 16 | 25% |
| 2x | 12 | 18% |
| 3x | 9 | 14% |
At 1.5x, one post in four is a "breakout", and Rare Beauty alone has four. If a quarter of everything is special, nothing is. At 3x it's one post in seven, few enough to open every one and ask why it worked. The skill uses 3x. If you track small or quiet accounts, where a 2x post really is news, lower it: it's one constant, BREAKOUT_MULTIPLE, at the top of the skill's track.py.
| Account | Format | × its usual | Likes + comments | What the caption shows |
|---|---|---|---|---|
| @kyliecosmetics | Carousel | 33.3x | 325,160 | "get kylie's look", the founder's own look |
| @fentybeauty | Video | 15.3x | 290,314 | Behind the scenes with A$AP Rocky |
| @rarebeauty | Video | 12.0x | 433,925 | A collaboration with Warby Parker |
| @rarebeauty | Carousel | 7.4x | 267,980 | A Friendsgiving post |
| @rarebeauty | Carousel | 4.5x | 162,598 | Selena Gomez's lip combo |
| @drunkelephant | Photo | 4.4x | 1,299 | No caption |
| @kyliecosmetics | Video | 3.8x | 37,126 | Two makeup creators |
| @glossier | Carousel | 3.5x | 4,973 | Its Black Friday sale |
| @drunkelephant | Photo | 3.2x | 927 | No caption |
Posts from 11 to 21 Nov 2026, scored on 24 Nov 2026.
Nine posts is a small pile. Two things in it are still hard to ignore:
Five of the nine lean on a famous face or a partner: a founder, a celebrity, a partner brand, outside creators. You can't copy Selena Gomez. You can copy a lip-combo carousel.
Only one of the nine sold anything. Glossier pushes an offer in 75% of its posts, and its one breakout was the Black Friday sale, at 3.5x a low baseline. Nobody else broke out with a discount.
Check formats, offers and collabs
The Content tab shows each account's format mix, which format beats that account's usual, the days it posts on, its offer-led posts and who it collaborates with.
In our run, brands posted the format that worked least. Carousels were 41 of the 72 posts, yet video's typical post beat the carousel's at four of the six brands (Fenty Beauty: 27.7K against 7.7K). Drunk Elephant posted 7 videos, 3 photos and 2 carousels. Its typical photo got 927 likes and comments, its typical video 248, and both its breakouts were photos.
Step 5: Put their ads next to their feed
The feed is half the picture. So on 25 Nov we pulled each brand's live ads from Meta's Ad Library, shown in the US on Instagram, through the same Upscrape API: two calls and 20 credits per brand.
| Brand | Live ads | What they push | Offer posts in its feed |
|---|---|---|---|
| @glossier | 100+ | Black Friday: "25% off everything, or 30% off orders $100+" | 75% |
| @rarebeauty | 100+ | The new holiday collection, gift sets, a Demi Lovato x Selena Gomez launch, and a Cyber Week event | 8% |
| @summerfridays | 100+ | "20% Off + Free Gift", plus product ads. The oldest still live started on 10 Mar 2026 | 25% |
| @kyliecosmetics | 59 | 11 of the 59 are one "30% off sitewide sale", all launched on 24 Nov | 8% |
100+ means we hit our 100-ad cap for the call. Meta doesn't show spend or impressions for these ads, so we don't guess them. Fenty Beauty and Drunk Elephant are left out: we couldn't match their ad pages for sure.
Put the two columns side by side and the pattern is obvious. Kylie Cosmetics sold in one of its 12 feed posts. In ads, 11 of its 59 live ads are one sitewide sale, all launched the same day. Rare Beauty is the same: 8% of the feed sells, while the ads are wall-to-wall gift sets and launches. The feed builds the brand; the ads do the selling.
Glossier is the one brand selling just as hard in both places, and it has the second-lowest feed engagement in the group.
And look at Summer Fridays' oldest ad, live since March. Our rule of thumb: an ad nobody has switched off in eight months is probably paying for itself. If you only study one competitor ad, study the one that's been running longest.
The skill doesn't pull ads yet. To get them next to your dashboard, ask your agent to use the Ad Library endpoints through the same key or MCP connection.
Step 6: Turn it into a plan
A dashboard is only worth the decisions it changes. If we were a beauty brand looking at this run, we'd do five things:
Take giveaways out before benchmarking comments. Summer Fridays' giveaway drew 5,071 comments. Leave it in and every comment benchmark you set is fiction.
Stop treating volume as a strategy. Glossier posts almost twice a day, three in four posts sell something, and its typical post gets 0.05%. Rare Beauty posts 9.1 times a week, sells in 8% of them, and gets 0.42%. Six accounts prove nothing on their own, but if your calendar looks like Glossier's, that's the first thing to test.
Run the format check on yourself. Drunk Elephant's best format was its rarest one. With your own account in the tracker, check if yours is too.
Read the breakouts, not the averages. Nine posts take five minutes to read. That's where the hooks, the partners and the timing are. The rest of the dashboard tells you where to look.
Read their ads next to their feed. A competitor with a calm feed might be running 100 sale ads. If you only benchmark the feed, you're copying half a strategy.
Step 7: Run it daily and brand it for clients
Run it daily. Each run saves a snapshot, so the Growth tab shows follower change from day two, a 7-day change after a week and a 30-day change after a month. On day one it says exactly that instead of drawing a trend from one point.
Ask the agent to "run this every day" and it writes a GitHub Actions workflow. Add your Upscrape key as a repository secret, push, and history builds while your laptop is closed. Use a private repo, since the snapshots and dashboard get committed every day. A cron job on your own machine works too.
Brand it for a client. Ask:
Brand it for my client Acme Beauty with our agency's logo.
The dashboard then carries your agency's name, logo and accent colour, with the client's name as the title. It's one HTML file with no dependencies, so it opens offline and goes into an email, a Slack message or a client folder as it is, in light or dark mode.
What can't it see?
Reach, saves, shares and audience data. These belong to the account's owner. The report works from public follower counts, likes and comments.
Reel view counts and paid-partnership labels. They aren't in the profile data the skill reads, and the dashboard says so in its notes.
An equal time window for every account. Each run sees the latest 12 posts. For Glossier that covered six days; for Summer Fridays, three weeks. Daily runs fill in the full 28-day window as they go, and the timeline marks what came before tracking started.
History before the first run. Follower trends start the day you start.
Private accounts. For a private account it records the follower count and nothing else.
Why a post worked. It finds the outliers. Whether the hook, the timing or a celebrity's repost did it is still your call.
Other ways to do Instagram competitor analysis
The skill isn't the only route. One of these might be all you need.
| Route | What you need | What it shows | Good for |
|---|---|---|---|
| By hand | Any Instagram account | Whatever you write down each week | Two or three competitors, occasionally |
| Competitive insights in the Instagram app | A public professional account and a Meta One Advanced, Expert or Max plan | Up to 10 public accounts: net follower change, posts, reels, stories and ads counts, and each account's top content by shares, comments, likes or saves | Your own brand watching its own space, inside the app |
| Instagram's Business Discovery API | Your own professional account, an app and an access token | Followers, post count, and likes and comments per post of other professional accounts. Age-gated accounts aren't returned | Developers building on Meta's platform |
| Social media suites (Sprout Social, Metricool, Socialinsider and others) | A paid subscription | Competitor reports inside the suite | Teams already paying for one |
| An AI agent with this skill | An agent that reads skills, and an Upscrape key or MCP connection | Public profiles and their latest posts, scored, in a dashboard you keep | Agencies and teams that want their own report, on a schedule |
If you run one brand and already pay for Meta One, start with Competitive insights. It ranks competitors' posts by saves and shares, which nobody outside Meta can see. But it lives inside one Instagram account: no file, no history you own, nothing you can put your logo on and send a client. That's the gap we built the skill for.
Questions people ask
How do you do an Instagram competitor analysis?
Pick three to ten accounts you actually compete with. Record each one's followers and recent posts, score every post against that account's own median, and flag the ones at 3x or more. Then read those posts and compare formats, offers and collabs. Do it daily and you get follower trends too. The skill does all of that in one run and puts it in a dashboard.
Can Claude analyse a competitor's Instagram?
Not out of the box. Claude needs the data, through an API key or an MCP server, and a skill that tells it what to fetch and how to score it. Give it both and it can. That's what this skill is.
Is there a free Instagram competitor analysis tool?
The skill is free and MIT licensed. The data costs 5 credits per account per run, and new accounts get up to 100 free credits, so your first runs cost nothing. Meta's Competitive insights needs a paid Meta One plan.
How many competitors should you track?
Three to ten. Past that, nobody reads the report. Meta's Competitive insights stops at 10 too.
What's a good engagement rate on Instagram?
There's no single number worth trusting. These six big beauty brands, all in one category, ran from 0.02% to 0.42% on median posts: a 27x spread. Compare yourself with accounts your size in your niche, which is the whole point of tracking competitors.
Why we built it
We build Upscrape: one API and MCP server for live data from marketplaces, grocery apps, social platforms and maps. A list of endpoints doesn't show anyone what the data is for. A finished tool does, so we're shipping skills.
This Instagram competitor tracker is the first one, also on skills.sh. Want one for another platform? Open an issue.
Product names in this post are trademarks of their owners. Details of other tools were checked on 25 Nov 2026.