- Genial
- AI Automation Tutorials
- Build an X Parasite System with Claude Code
Build an X Parasite System with Claude Code
Today I am showing you how to build an X parasite system using Claude Code and Apify: a two-level setup that scrapes what is trending in your niche and tracks your favorite creators' best posts, every single day, for pennies. Put both levels on a scheduled routine and you have the foundation of an AI content repurposing system that keeps you ahead of everyone doing research by hand.
What you need
- An Apify account. You get $5 of free credits each and every month, and those $5 go a long way
- Claude Code, which will act as the orchestrator and build both systems for us
1. The two levels explained (0:09)
Level 1 is the niche trend reader. We use Apify to find out what people are really talking about in a given niche; my example is AI. Level 2 is the individual outlier tracker: we pick influencers in the niche, pull their best performing tweets, and fetch their new posts every day so we always know what is relevant and working.
Once you have that information, you can quote and retweet what they just posted, remix everything they said, or simply reply fast to stay on top of the trends. Yes, we still call them tweets.
2. Apify account and API key (1:28)
Create your Apify account, then click Go to Console. Inside the console, go to Settings, then API and integrations, and on the personal API credentials click create a new token. That token is what links everything together.
3. Connecting Apify to Claude Code (2:13)
You can connect Apify either via Apify's custom connector or by simply giving the API key to Claude Code. It is smart enough to keep track of the key and reuse it every time. That is all the setup this system needs.
4. Level 1: scraping 1,000 trending posts (2:37)
Here is the exact prompt I sent:
Hey Claude, please use Apify to scrape 1,000 trending posts on AI from X. I want to know what people are really saying that I can use to start creating more content. Please use less than $1 of credits for this test. Before starting this, get the official Apify documentation so you don't make a mistake.
Two things to notice. Apify is pay per usage, and if you tell Claude Code to stay under a dollar for a test, it is actually quite good at respecting the budget. And if you have never used a tool like Apify before, telling Claude Code to fetch the official documentation first is a very good practice so it does not get the setup wrong.
Claude Code ran the scrape using eight different angles at a hundred queries each: AI, ChatGPT, Claude, and related keywords.
5. Querying the trend database (4:39)
Because we now hold the data, we can ask questions directly about it. As usual on X there are a lot of memes, but also plenty of people talking about vibe coding, agentic loops, and local models. So I drilled in:
Hey, I'm really interested in knowing more about the builder game. What are people saying mainly? What are they building with AI?
Remember: if the first pass does not give you exactly what you wanted, just ask again. AI is fantastic at speaking with databases; that is really its main use.
6. The trend analysis results (5:58)
The analysis came back with a clear picture: a lot of people talking about autonomous agent systems, an open source GTM agent OS, plenty of vibe coding tools, and a lot of automation. That is what is trending in AI, and it is direct food for thought I can turn into content.
One approach that has worked extremely well in my own content strategy: contrarian takes on what is trending. On LinkedIn that has gotten me around fifty thousand to a hundred thousand impressions on posts as simple as saying a hyped model is garbage.
7. Level 2: tracking an influencer's posts (6:22)
For the individual tracker I used the profile of Nick Saraiov, a friend of mine at this point. Open a new session, drop the profile URL, and send:
Hey Claude, can you please use Apify to scrape all of the X posts that come from this profile: [PROFILE URL]
Apify comes in again here because getting information out of X, LinkedIn, Instagram, or YouTube without a dedicated tool is very hard. Apify plus Claude is a killer combo for so many business use cases.
8. Full post history and the creator database (7:39)
The result is the entire post history from the profile, and from there you can do whatever you want with it. My recommendation: create a database, and by that I simply mean a Google Sheet, containing several creators across your niches. Every morning, a routine keeps track of everything they are saying.
9. Automating it with routines (8:06)
To automate both levels, click the More option in Claude Code (or Scheduled Tasks if you built this in Cowork), then click Routines. Then tell Claude Code what you want in plain language:
Hey, each and every single morning, I want you to go into this Google sheet, look at all of the X profiles, YouTube profiles, Instagram profiles, and then just update all the database that contains all of their posts.
This costs a couple of cents per day.
10. What it costs (8:40)
For reference, the 1,000 trending posts we scraped cost me ninety cents. This is the foundation of a content repurposing system. It can get a lot more complex, but even this simple Apify plus Claude Code setup puts you ahead of everyone doing this research manually.
Pitfalls and tips
- Always cap the spend in your prompt when testing. Apify is pay per usage, and Claude Code respects budget instructions well.
- Before using an unfamiliar tool, add one line telling Claude Code to fetch the official Apify documentation first so it does not make a mistake.
- Do not settle for the first analysis. Query the scraped data again until you get the angle you need.
Where to go next
The same scraping approach applied to business research is in How to Actually Find Business Ideas with AI. And for the automation layer that runs this every morning, see Automate Daily Work with Claude Routines.


