How to run a YouTube content pipeline with Claude Code
I run my whole YouTube channel through Claude Code in seven stages: strategy, ideate, produce, publish, measure, learn, and loop. Each video teaches the system something for the next one.
The main idea
I run my entire YouTube channel through Claude Code. I do not use it only for scripts. It covers deciding what to record, researching the topic, titles, thumbnails, hooks, slide decks, metadata, A/B testing, and analysis. All of it runs from my terminal.
The pipeline has seven stages: strategy, ideate, produce, publish, measure, learn, and loop. Strategy lives in my CLAUDE.md file, the system prompt Claude reads every session. It holds what works on my channel, such as the finding that tool launch videos with a $0 angle get 200 plus watch hours. For ideas, I research the last 30 days across YouTube, Reddit, X, Hacker News, and the web. For production, Claude generates 10 plus titles and scores each on six dimensions, and I pick the top three for A/B testing.
After upload, I A/B test titles through the YouTube API. I swap in variant A, measure for 48 hours, swap to B, measure, and apply the winner. I also keep every transcript, comment, and description as YAML files Claude can search. Each session I log what worked and what did not, and those learnings update the strategy in stage one.
This setup took me months to build. If you do not want to build it from scratch, we built Briefly. You upload your YouTube analytics CSV and it runs agentic flows to produce a deep report on your data.
Key points
- The seven stages are strategy, ideate, produce, publish, measure, learn, and loop.
- CLAUDE.md is the system prompt Claude reads every session, and it holds my channel's proven title formulas and hook structures.
- Claude generates 10 plus titles and scores each on six dimensions before I pick the top three for A/B testing.
- I A/B test titles through the YouTube API with a 48-hour measure window per variant.
- A daily log of what worked and what did not feeds back into the strategy, so the system improves with every video.
Chapters
- 1:04Stage 1: Strategy (the system prompt)
- 1:54Stage 2: Ideate
- 2:33Stage 3: Produce
- 4:07Stage 5: Measure
- 5:13Stage 7: Loop
- 5:47Briefly: personalized growth reports
Save my free seat →