Grok Bot and Claude Code turn X trends into videos on three platforms in under 45 min
Source read in fullRead first
Overview
A morning workflow goes from what X is discussing to short videos on YouTube, TikTok, and X. Grok Bot reads X and sends email, Claude Code chooses material and renders, and a person steps in for viewing and publishing.
Workflow
- Trigger: Find out what X is discussing today. Around 7:30 New Zealand time, Grok Bot pulls trends, news, post volumes, and popular videos. It sends two emails with topic suggestions: a daily report on major global stories (about 168,000 original Nvidia posts in 24 hours, 29,000 in the peak hour) and six videos taking off that day (a vulture video captioned "switched to eco mode" at 1.9 million views).
- Bot: Have Claude Code read the emails and pick material. At 9:36, the author simply asks it to look at both X trend emails and say what they could make. It reads the two emails and studio rules over the Gmail connector and ranks ideas: Chips vs Chips today and Animal Modes this week. It explains that mocking a CEO would require depicting a real person and a game character's anniversary poses copyright risk. It compares an owl video with 320,000 views and about an 11% like rate with a news montage at 900,000 views and about 0.5%, concluding that riding the news brings exposure while surprise and cuteness bring likes. Two prompts arrive about 8 minutes after the request. The requirements are English, vertical 1080×1920, 20–30 seconds, every frame drawn in code, no real people or brand names, and showing the author the result before starting publication on approval.
- By hand: Switch to a local M5 MacBook. Claude Code video work on the cloud computer had four problems: slow rendering without a GPU, stopping mid-run, powering off after about 2 hours and losing unsaved work, and consuming usage throughout. At 9:44 the author starts two Claude Code sessions on the MacBook for the two videos and checks from a phone with Remote Control. Chips vs Chips renders 720 frames in 36 seconds across 10 parallel processes and saves directly to the desktop.
- Bot: Run preflight and self-checks. OCR checks whether platform buttons cover subtitles, finds several spots, and they are fixed. Another agent reviews the video. The first pass fails because the cover headline exceeds the safe area and the second passes after a fix. For Animal Modes, an agent that has not seen the ending guesses it. Rework it until the ending becomes guessable only in hindsight.
- By hand: Watch and approve publication. At 10:03 the author finishes watching and replies to commit, push, and publish. At 10:11 the publishing request opens, and at 10:17 all three platforms, YouTube/X/TikTok, are live. That is about 13 minutes from approval and under 45 minutes from reading the emails. A dedicated session publishes, and the first TikTok comment holds the profile-page link.
- Check: Estimated at API rates, email reading and selection cost about $1, Chips vs Chips about $9, and six versions of Animal Modes about $16. OCR, the two review rounds, and guessing the ending are built-in checks. The author also fixed the problem of a commit from one session landing on another's branch because they shared a code folder. One git worktree per session resolved it.
Key points and results
- A person only does four things. Ask to read the emails, ask for two prompts and paste them into separate sessions, watch the results, and reply to publish.
- Four cloud issues brought the workflow back to local hardware. Slow rendering without a GPU, mid-job stops, shutdown after about 2 hours with lost progress, and ongoing usage. The multi-core M5 rendered 720 frames in 36 seconds.
- Code draws every frame. numpy/Pillow draw the frames, code synthesizes the music and effects, and ffmpeg packages the video. Visuals and music follow the same 120 BPM timing sheet so hits land on the beat. It uses no generative video model.
- Like rate and views measure different things. For selecting Animal Modes, 320,000 views at 11% likes beat 900,000 at 0.5%.
- Two checks before publication. OCR checks subtitle overlap and a review agent makes two passes. It only goes live after passing.
- Estimated cost of $1/$9/$16 at API rates. (author's claim, not reproduced)
- The pipeline produced several earlier works. A bird warfare short, two song hook videos, and Swirl Night Town rendered live with Three.js.
Source
- Platform
- X
- Author
- Ben | Solo AI Studio
- Published
- Categories
- Content and writing, Research
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.