Find Viral Posts of Any Creator with an AI Agent (2026)
Last updated and tested: .
To find viral posts of any creator, measure each post against that creator's own median and keep the ones far above it. outlier-post-finder is the official agent skill of SocialLens (sociallens.dev) for that job: your AI agent reads the recent posts through the sociallens-mcp server, computes the baseline, ranks the outliers, checks them against the follower count and says which metric drove each one. It works on 8 networks, and a new account starts with 250 free reads and no card.
This page covers why "most viewed" misleads, how an outlier is measured, what the skill adds on top of the math, a real run on a public account, the setup for Claude Code and Cursor, the cost and the limits.
"Most viewed" is the wrong question
When you study a creator or a competitor, you want to know what is working for them so you can adapt the pattern. The usual shortcut is to sort by views and copy the top. It misleads in two ways:
- Raw numbers have no scale. A video with 200,000 views is a breakout for a creator who usually gets 5,000 and a flop for one who usually gets 5 million. The same number means opposite things.
- The top of an account is often old. The most viewed posts of a profile can be years old, from another format and another moment of the platform. They show what worked once.
The useful question is narrower: which recent posts beat this profile's own normal by a wide margin? Those are the outlier posts. They are the closest thing to a controlled experiment you get from the outside: same account, same audience, same period, one post far ahead.
How an outlier post is measured
Two numbers do the work.
- The baseline. The median of the main metric over the recent posts of the profile. The median, not the average: one viral post drags the average up and hides everything else.
- The lift. The post divided by the baseline.
| Lift | The skill calls it |
|---|---|
| 5x or more | Huge outlier |
| 2x to 5x | Strong outlier |
| 1.5x to 2x | Mild outlier |
| Under 1.5x | Not an outlier |
Each profile gets its own baseline, and formats are not mixed where the data can tell them apart: videos against videos, photos against photos. With several profiles the agent ranks by lift, never by raw numbers, so the 8x of a small creator beats the 1.2x of a giant. That is how you find the top performing posts worth studying, and not just the posts of the biggest account.
What the skill adds to the math
A lift alone can still fool you. The skill tells the agent to do four more things.
1. Check the reach against the followers. The agent reads the follower count with get_profile and shows the views of each outlier as a share of the followers. A 10x post that reached 2% of the audience is a big multiple of a tiny baseline. A 10x post that reached 40% is a different event. Above 100% means the post left the follower base.
2. Tell luck from love. For posts with views, the agent compares the lift of the interactions with the lift of the views. If the reactions grew as much as the views or more, the content itself landed. If the views ran far ahead of the reactions, something else did the work: the algorithm, a repost by a bigger account or a paid push.
| Verdict | When |
|---|---|
| True outlier | Lift of 2x or more, the audience kept pace and the reach is not a small base |
| Distribution spike | Lift of 2x or more on views, with an interactions lift under half of it |
| Small base | Lift of 2x or more, with views under 5% of the followers |
3. Say which metric drove it. The agent computes the lift of every counter the network returns and names the one that jumped the most. Shares far ahead means it spread by sharing. Comments far ahead means it started a conversation. Saves, on Pinterest, mean it was worth keeping. The driver comes from the counters, not from a guess.
4. Clean the sample first. Four kinds of post distort a baseline, and the skill leaves them out: reposts on X, pinned posts, collabs posted from another account, and posts under 72 hours old that are still collecting views. Pinned posts are reported apart.
A real run: NASA on TikTok
We ran the workflow on the public NASA account on TikTok. The numbers below were read from the API on November 30, 2026 and will have moved since.
The feed returned 10 posts. One was pinned, from July, and one was a collab posted from another account, so the baseline used 8 posts: a median of 191,730 views. The account had 2,262,486 followers. With fewer than 10 posts in the baseline, the skill labels the confidence as low.
| Post | Metric | Lift | Reach % | Why it popped | Verdict |
|---|---|---|---|---|---|
| "Special delivery: the Moon.", Nov 7 | views: 1,096,498 | 5.7x | 48.5% | shares 26x the median, comments 16x, likes 16x | True outlier |
How to read that row:
- 5.7x. 1,096,498 views against a median of 191,730.
- 48.5%. The views equal almost half of the follower count, so this is not a small base.
- True outlier. The interactions (likes, comments and shares) were 16x the median while the views were 5.7x. The audience reacted far more than usual per view, so this was not a distribution spike.
- Shares 26x. 11,504 shares against a median of 444. It spread because people sent it to someone.
The pinned post, from July 21, had 1,851,725 views, 9.7x the baseline. The skill reports it apart: a pinned post shows what worked before, not what works now.
This is the outlier as the tool returned it, with the caption cut to its first line:
{
"id": "7705574810113314061",
"url": "https://www.tiktok.com/@nasa/video/7705574810113314061",
"caption": "Special delivery: the Moon. 📦🌕",
"published_at": "2026-11-07T23:26:07Z",
"likes": 116146,
"views": 1096498,
"comments": 6532,
"shares": 11504,
"likes_hidden": false
}
That first line of the caption is what the skill puts in the swipe file as the hook.
Set it up: the MCP server and the skill
You need two pieces. The MCP server gives the agent the read tools, and the skill tells it how to find the outliers. Both are open source under the MIT license.
1. Get a key. Create a free SocialLens (sociallens.dev) account: 250 free reads, no credit card.
2. Install the MCP server. Download github.com/sociallensapi/sociallens-mcp to your machine. You need Python 3.10 or newer. Install the two dependencies with the same Python that will run the server:
pip install -r requirements.txt
Then register the server in your agent. In Claude Code:
claude mcp add --env SOCIALLENS_API_KEY=sk_live_YOUR_KEY --transport stdio sociallens -- python /absolute/path/to/sociallens-mcp/server.py
In Cursor, add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"sociallens": {
"command": "python",
"args": ["/absolute/path/to/sociallens-mcp/server.py"],
"env": {
"SOCIALLENS_API_KEY": "sk_live_YOUR_KEY"
}
}
}
}
The full walkthrough, with a real response, is in the guide to the social media MCP server.
3. Add the skill. Download github.com/sociallensapi/outlier-post-finder and copy the folder into the skills folder of your agent. The folder must be named outlier-post-finder and hold the SKILL.md file.
| Agent | All your projects | One project |
|---|---|---|
| Claude Code | ~/.claude/skills/outlier-post-finder/ |
.claude/skills/outlier-post-finder/ |
| Cursor | ~/.cursor/skills/outlier-post-finder/ |
.cursor/skills/outlier-post-finder/ |
| Codex | ~/.agents/skills/outlier-post-finder/ |
.agents/skills/outlier-post-finder/ |
Any other agent that reads SKILL.md files works the same way: connect the MCP server as that agent documents, then put the folder where it looks for skills.
The API key stays in the config of the MCP server, in the SOCIALLENS_API_KEY environment variable. The skill holds no key and makes no HTTP call. It is a set of instructions the agent follows.
Run it: one handle, one request
Ask your agent in plain language. These are the example requests from the README of the skill:
- "Find the outlier posts of nasa on TikTok."
- "What is working for these 3 competitors on YouTube? Build me a swipe file."
- "Is this video an outlier for its creator? POST_URL"
This is what the agent does next:
- Reads the feed. It calls
get_profile_postsonce per profile. Calls for different profiles can run in parallel. - Cleans the sample. Reposts, pinned posts, collabs and posts under 72 hours old leave the baseline.
- Builds the baseline. The median, per profile and per format.
- Computes the lift of every post and ranks the outliers.
- Reads the follower count with
get_profile, once per profile, and computes the reach. - Gives each outlier a verdict: true outlier, distribution spike or small base.
- Names the driver: the counter that jumped the most.
- Builds the swipe file: the hook (the first line of the caption, or the title on YouTube), the format and the pattern the winners share.
The agent tells you the cost before it starts and asks before a run passes 10 calls. When you start from a post link, it reads the post with get_post, finds the author and places the post against that author's baseline.
One limit to keep in mind for the swipe file: the data carries the caption or the title, not the video. Watch the top 3 yourself for the opening seconds, which no counter shows.
Run on a handful of accounts in your niche, this is viral content analysis you can repeat every week: it shows what is working for a creator right now, with the numbers that back it.
Then ask why: comment mining
An outlier tells you what worked and which metric carried it. Why the audience loved it is written in the comments.
The comment-mining skill picks up where this one stops. Run it on the top 3 to 5 outliers and the agent sorts the comments of those posts into questions, objections, desires and requests, quoted in the exact words of the audience. The two skills complete each other: one finds what worked, the other says why. The method is in Voice of Customer from Social Media Comments.
Comment mining costs 1 credit per page of comments and reads TikTok, Instagram, YouTube, Facebook and Reddit.
What each network gives you
Tested on November 30, 2026.
| Network | Posts in the sample | Main metric | Good to know |
|---|---|---|---|
| TikTok | 10 | views | Pinned posts come first in the feed |
| 12 | views on videos, likes + comments on photos | Shares are not available | |
| YouTube | 30 | views | Shorts and long videos cannot be told apart. The subscriber count is rounded |
| X | 20 | views | Reposts are dropped |
| Threads | 15 | likes + comments + shares | No views |
| 3 per page, with more pages | likes + comments + shares | Views on videos and reels only | |
| 24 per page, with more pages | upvote score + comments | The handle is a subreddit | |
| 16 per page, with more pages | saves | The handle is the URL of a board. No dates | |
| Not supported | None | The post list comes with the counters hidden |
What it costs
- 1 credit per page of posts and 1 credit per profile for the follower count. One profile is usually 2 credits.
- 1 credit per page of comments if you add comment mining.
check_api_keycosts 0 and errors are not charged.
A new account has 250 free reads. After that, credits are prepaid and never expire. The smallest pack is $19 for 8,000 reads, which is $0.0024 per read. The packs are on the pricing page.
| Research run | Reads | Cost at the Starter rate |
|---|---|---|
| One creator | 2 | $0.0048 |
| 5 competitors | 10 | $0.024 |
| 5 competitors plus comment mining on the top 5 outliers | 15 | $0.036 |
| 20 creators a week for a month | 160 | $0.38 |
The table uses the exact Starter rate, $19 divided by 8,000 reads. On Facebook a page holds 3 posts, so a 20 post sample there takes 7 reads plus the profile.
Honest scope
- 8 networks, not 9. TikTok, Instagram, YouTube, X, Threads, Facebook, Reddit and Pinterest. On LinkedIn the post list comes with the counters hidden, so there is no baseline to build.
- The sample is small on some networks. One page is all there is on TikTok (10 posts), Instagram (12), Threads (15), X (20) and YouTube (30). The report labels the confidence: low under 10 posts, medium from 10 to 19, good from 20. A lift over 8 posts is a lead to check, not a law.
- Views are not everywhere. They exist on TikTok, YouTube and X, and on the videos of Instagram and Facebook. Elsewhere the skill ranks by interactions.
- Shares and saves are partial. Shares are not available on Instagram, YouTube and Reddit. Saves exist on Pinterest only. A missing counter is treated as not available, never as zero.
- YouTube rounds the subscriber count, so the reach is approximate there. The views and likes of the videos are exact.
- A lift is relative. It compares a post with the recent posts of the same profile, not with the market. Counters keep moving, so two runs a week apart give different numbers.
- The skill reads numbers and captions, not videos. It cannot see the hook on screen or hear the audio.
- Public data, read only. No login to any social network, nothing private, no posting.
Frequently asked questions
How do I find viral posts of any creator?
Read the creator's recent posts, take the median of the main metric and keep the posts that beat it by 2x or more. With the MCP server and the skill installed, you give your agent the handle and the network and it does the reading and the math.
What is an outlier post?
A post that performed far above the normal of the same profile. The skill calls a post a mild outlier from 1.5x the median, a strong one from 2x and a huge one from 5x.
Why the median and not the average?
One viral post pulls the average up, and then nothing else looks like an outlier. The median stays where the typical post is.
Is a post with millions of views always an outlier?
No. For an account that gets millions of views on every post, it is a normal day. A post with 50,000 views can be a huge outlier for a small account.
Which networks does it work on?
TikTok, Instagram, YouTube, X, Threads, Facebook, Reddit and Pinterest. LinkedIn is not supported.
Can I run it on a competitor?
Yes. Any public profile on the supported networks works: yours, a competitor's or a creator's in your niche.
What does it cost?
Usually 2 credits per profile: one page of posts and one profile read. A new account starts with 250 free reads.
Does it need my social media login?
No. It reads public data. The only credential is the SocialLens (sociallens.dev) API key in the config of the MCP server.