An actual agent that scrapes top creators overnight, analyzes my own videos, tracks what’s working and sends me content ideas every morning with hooks, formats and confidence scores. Here’s the full technical breakdown.
I named my agent Chloe and gave her one job: help me grow on social media. I built her in my first months of posting, and I’ve since grown from zero to 300,000 followers in six months. Here’s what she ran every day without me touching anything.
Heads Up
This is a technical build. You need a Linux server, OpenClaw, API keys for Apify, Anthropic and OpenAI, and a Telegram account. Never set up a server? It’s doable, with a learning curve.
01
OpenClaw
The open-source agent framework where the agent lives. It handles identity, memory, skills and scheduled jobs. It runs on Claude through an Anthropic API key (pay per use), not your Claude subscription login. (OpenClaw install docs)
02
A server that never sleeps
I used an AWS EC2 instance running Ubuntu. A small one runs roughly $8 to $15 a month, and new AWS accounts get up to $200 in credits on the free plan. (AWS free plan) DigitalOcean or any Ubuntu VPS works too.
03
Apify
Pre-built scrapers that pull public post data like views, likes, captions and timestamps. I used apify/instagram-profile-scraper and clockworks/free-tiktok-scraper. The free plan includes $5 of usage a month, and Starter is $19. (Apify pricing)
04
Transcription
I used OpenAI Whisper at $0.006 a minute. Whisper retires from the API on February 26, 2027, and OpenAI names gpt-transcribe as the replacement, so start a new build there. (OpenAI deprecations)
05
Thumbnail scoring
I used GPT-4o Vision to score thumbnails on scroll-stopping power, text overlay, energy and composition. The GPT-4o API snapshots shut down January 14, 2027. For a new build, let Claude score them, since it reads images and you already pay for it.
06
Telegram
Free. It’s how the agent talks to you, and you can message it back anytime.
Ballpark Total
Server $8 to $15, Apify $0 to $19, transcription a few dollars, plus Claude API usage for the daily ideas and weekly report. Most months land around $15 to $40, depending on how much you post and scrape.
01
Launch the server
In AWS, go to EC2, then Launch instance. Pick Ubuntu Server 24.04 LTS and a small instance like t3.small. Create a key pair and save the .pem file. Allow SSH (port 22) from your IP only, then launch and note the public IP.
ssh -i your-key.pem ubuntu@YOUR-SERVER-IP
02
Install OpenClaw
On the server, run the official installer. It installs Node if needed and walks you through onboarding, including adding your Anthropic API key.
curl -fsSL https://openclaw.ai/install.sh | bash
03
Connect Telegram
In Telegram, message @BotFather, send /newbot, name it and copy the bot token. Add the token to OpenClaw’s Telegram channel settings, then DM your bot and approve the pairing. (Telegram setup)
04
Keep keys out of the agent’s files
Your Apify token (in Apify under Settings, then API & Integrations) and your OpenAI key go in environment variables on the server. OpenClaw’s docs say never to store keys in the workspace files. (Workspace docs)
Three scripts run every night before the agent wakes up. They’re plain bash and Python, so they cost nothing in AI tokens.
01
Pull the data
Calls Apify for your latest posts, capped at 30 per platform to keep costs near zero, and saves the raw JSON with the date in the filename.
02
Update the tracker
One master JSON file holds every video plus a daily snapshot of its views, likes, comments, shares and saves. This is the secret. Total views can’t tell you if a video is still growing. A video that gained 3,000 of its 5,000 views in the last 3 days needs a different next move than one that peaked in hour one.
03
Analyze new videos
For each video not analyzed yet, it transcribes the audio, saves the first 5 seconds as the hook, scores the thumbnail and marks it done so nothing gets paid for twice.
Don’t write these by hand. Paste this into Claude Code or a Claude chat and it builds all three with you.
Use OpenClaw’s own scheduler (openclaw automations create, or the older alias openclaw cron create), not the system crontab. (Cron docs)
01
7:00 AM data pull
Runs the three scripts back to back. No agent tokens.
02
7:30 AM content ideas
An agent turn. It reads the fresh data and today’s news, skips anything it pitched in the last 7 days and sends you 3 to 5 ideas on Telegram.
03
Sunday 8:00 AM report
An agent turn that reads every video, looks for patterns in what you posted and when, and updates a content playbook file. After three months, that file is a manual for what works on your account specifically.
An OpenClaw agent is a folder of markdown files. AGENTS.md holds the operating instructions, SOUL.md the personality (I made Chloe direct, data-driven and a little sassy), USER.md who you are and who your audience is, IDENTITY.md its name and vibe, and MEMORY.md the long-term lessons. (Workspace docs)
Here’s my AGENTS.md as a starter. Swap in your handles, niche, news sources and audience.
Works For Any Niche
A fitness creator scrapes fitness accounts and health news. A finance creator scrapes finance accounts and market updates. Only the content layer changes.
You open Telegram and your ideas are waiting, already checked against what’s growing on your account. You pick one, film it and post it. The agent tracks it from day one and folds the results into next week.