/x-agent:x-viralfrom x-agent
Finds outperforming posts on X, ranks them by outlier multiple vs each account's median, breaks down hooks and structure, then recreates winners in your voice.
Ships in x-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The research skill. Everything else in this pack writes; this one goes and looks first, and then writes from what it found. Run it monthly, not daily. Formats on X last a season.
Two tools live in this folder and both run:
python3 pull.py urls.txt > swipe.tsv # URLs you picked -> exact text, format, date
python3 swipe.py swipe.tsv --out ~/.claude/x/swipe.md # rank, break down, write the swipe file
Raw numbers are not evidence. An account with 900,000 followers doing 400,000 views had an ordinary Tuesday. An account with 6,000 followers doing 400,000 views found something, and that something is copyable.
So everything ranks on the outlier multiple: a post's views divided by that account's own median. Above 3x is a signal. Under 1.5x is that account's normal day, and it teaches nothing however big the number looks.
Ask the user for 6 to 10 accounts, or propose them and get approval:
Also ask for the user's own Bookmarks. It is the most relevant corpus there is and it is already filtered by their taste.
For each account, the last 10 to 15 posts in order, the dull ones included. Not the hits. The median is computed from these rows, and a sample of only the bangers inflates it and hides the outliers you came for.
Copy each post's link, and read its view count off the post (it is public on every post, under the text). Likes, replies and reposts too, if they are easy to see.
The user can do this in their own browser in about ten minutes. If this session has a browser tool connected to the user's own logged-in browser, you can open the profiles and read them with the user present, at human speed. Rules that are not negotiable:
python3 pull.py urls.txt > swipe.tsv
pull.py calls X's documented oEmbed API, the one that exists so websites
can embed a post from its URL. It fills in the exact text with its line
breaks, the account, the date and the format (text / media / link / long).
One request per second, capped at 100 a run. It does not fetch counts,
because oEmbed does not carry them, so fill in the views column (and likes,
replies, reposts if you have them) from what is on screen.
python3 swipe.py swipe.tsv --out ~/.claude/x/swipe.md
For every post it computes the outlier multiple over that account's own median, then the breakdown:
| what it names | |
|---|---|
| hook | the formula from ../x-post/hooks.json (21), and the hook's score |
| structure | one line, one paragraph, short lines, a list, a long post, a thread |
| format | text, media, link, long |
Then it compares the top third with the bottom third on all three. Accounts with fewer than 5 posts collected are skipped rather than ranked on noise.
Report three things and no more:
hooks.json does not have yet. Read them by
hand. This is the most valuable part of the output.Then state the sample size in plain words. Forty posts across six accounts supports a claim. Twelve does not, and saying so is the difference between research and horoscopes.
For the top three, write the user's version: their own story, their own
number, their audience, in the shape that is working. Read voice.md first.
Each one:
FOUND @someaccount · 6.4x · #7 The Hottest New · one line · text
"The hottest new design tool is a text file."
SHAPE The hottest new {familiar category} is {unexpected thing}.
YOURS The hottest new marketing hire is a skill file.
Keep the found post's structure and none of its words beyond the frame. Run
each through /x-post (count, hook score) and /x-human before showing it.
Never hand back "make a post like this one". Hand back a post they could put
up tomorrow.
The ranked list, the three findings, the unclassified hooks, and three
recreated posts. The swipe file goes to ~/.claude/x/swipe.md, where
/x-post and /x-plan read it, so after this runs once the rest of the pack
is working from the user's niche instead of from defaults.
Nothing is posted, liked, followed or messaged by this skill. It reads.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
x-twitter, viral-content, swipe-file, content-research, hook-analysis
npx claudepluginhub jakeschincariol/x-agent-skill --plugin x-agent11 skills in this plugin
/x-auditPost-mortem on what the user has already published on X - which posts actually worked, why, and what to stop doing - from their own analytics export. Use when the user shares their X analytics CSV or past posts and asks "what's working", "why did this flop", "read my analytics", "audit my account", "what should I double down on", or wants to know whether links, threads or a posting time actually matter for them./x-commentWrite replies on other people's X posts and threads that read as a person with something to add, not a reply guy. Use when the user pastes a post and wants a reply, says "reply to this", "comment on this thread", "engage with this", "what do I say here", "quote tweet this", or wants a batch of replies for their daily engagement round./x-dmWrite X DMs that get answered - the first message, the two follow-ups - and triage the user's DM inbox and message requests. Use when the user says "DM this person", "cold DM", "outreach on X", "how do I follow up", "what do I say to this DM", "go through my message requests", or is reaching out to someone specific on X./x-humanStrip the machine fingerprint out of any draft - em dashes, AI slop words, invisible watermark characters, thread boilerplate - and score it against a five-check detection panel before it goes out. Use whenever text needs to sound human, when the user says humanize, "does this sound like AI", "remove the em dashes", "de-slop this", "this sounds like ChatGPT", or before any post, thread, reply or DM from this pack is shown to the user./x-planPlan the user's week on X - what to post, when to post it, and who to engage with. Use when the user says "plan my week", "what should I post", "content calendar", "posting schedule", "I have nothing to post about", or wants a weekly mix of posts, threads and replies and a list of accounts to engage./x-postWrite an X (Twitter) post from a raw idea using 21 proven hook formulas, in the user's own voice, counted the way X counts characters and humanized so it does not read as AI. Use whenever the user wants a tweet, an X post, a hook, "post about X", "turn this into a tweet", a long post for Premium, or asks for hook options. Produces three scored hooks, one full draft, and a copy-ready block that is never published without an explicit yes.Other plugins' skills for the same job