Read your X (Twitter) audience and niche from real data. Pull a handle's recent tweets (yours or a competitor's) with likes, replies, and views, see which formats and hooks are working, read the repliers on a tweet (X gates likers, so repliers are the signal), and scan a niche query for top tweets. Powered by Apify, no login. Triggers on \"analyze my tweets\", \"what is working on X\", \"read the replies\", \"competitor tweets\", \"who is engaging\". Not for writing a tweet (use x-post-writer).
npx skills add https://github.com/sergebulaev/x-skills --skill x-audience-insights
Turn real X data into a read on what is working: which of your tweets landed and why, who is replying, and what the accounts in your niche are doing right now. This is the read layer, so the skill sees actual numbers instead of guessing.
One honest limit: X gates the list of who liked a tweet, so a full liker roster is not reliably available. The signal here is repliers + tweet performance, which on X carries the real conversation anyway.
Not for writing a tweet (use x-post-writer) or a thread (use x-thread-builder).
The read layer uses Apify (no login, no cookies). Get a free token at https://console.apify.com/account/integrations and set APIFY_TOKEN. The X actor costs about $0.15 per 1,000 tweets. No token? Paste the tweets or replies and the skill runs the same analysis on them.
lib.ApifyClient().fetch_user_tweets(handle, max_items=30). For a tweet's repliers: fetch_tweet_replies(tweet_url). For a niche: fetch_niche_top(query, sort="Top"). Falls back to pasted data if no token.fetch_niche_top, surface the formats and angles that are traveling now (note when search returns thin, and lean on known-account pulls instead).x-post-writer / x-reply-drafter.| Method | Returns |
|---|---|
| fetch_user_tweets(handle, max_items) | recent tweets: text, likes, replies, reposts, views, author followers, url |
| fetch_tweet_replies(tweet_url, max_items) | replies on a tweet (the engagement signal, since likers are gated) |
| fetch_niche_top(query, max_items, sort) | top/latest tweets for a niche query |
Global voice rules: see root SKILL.md Voice rules. Additional skill-specific rules:
x-post-writer - write more of what the data shows is workingx-reply-drafter - reply to a high-traction question the read surfacedx-hook-extractor - reverse-engineer a hook from a top-performing tweetx-content-planner - feed the winning patterns into a weekly planTake sergebulaev/x-audience-insights from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.