Find Viral Posts of Any Creator with an AI Agent (2026)

Published · 11 min read

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:

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.

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:

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:

This is what the agent does next:

  1. Reads the feed. It calls get_profile_posts once per profile. Calls for different profiles can run in parallel.
  2. Cleans the sample. Reposts, pinned posts, collabs and posts under 72 hours old leave the baseline.
  3. Builds the baseline. The median, per profile and per format.
  4. Computes the lift of every post and ranks the outliers.
  5. Reads the follower count with get_profile, once per profile, and computes the reach.
  6. Gives each outlier a verdict: true outlier, distribution spike or small base.
  7. Names the driver: the counter that jumped the most.
  8. 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
Instagram 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
Facebook 3 per page, with more pages likes + comments + shares Views on videos and reels only
Reddit 24 per page, with more pages upvote score + comments The handle is a subreddit
Pinterest 16 per page, with more pages saves The handle is the URL of a board. No dates
LinkedIn Not supported None The post list comes with the counters hidden

What it costs

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

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.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading