Setup · Claude + MAI
My content setup: plan the week, then make the videos
This is everything behind my “Content Week” video, including how that video itself was made. Steps 1 to 4 plan a week of posts from your own notes. Part 2 turns a script into a finished reel.
Updated 17 November 2026
What you need
- Claude, with the MAI Second Brain plugin added (in Claude: Customize, then Plugins, then MAI Second Brain). It connects your notes and brings the Daily brief skill. No plugins on your plan? Add the connector instead.
- MAI Second Brain on your iPhone, and on your Mac if you have one (MAI for Mac).
- For part 2 only: Claude Code and an OpenAI API key for the voice and images (about $1 to $2 a reel).
Step 1: a brand guide and a voice guide (once)
Create a project in MAI called Brand. Save the two templates below as two notes in it, filled in with your answers. Type them in MAI, or paste them into Claude and say “save this to my brain in my Brand project”.
Brand guide What I make: Who it's for (one person, described the way they'd describe themselves): The problem I solve for them: What I believe that most people in my space don't: What I never promise: Proof I can point to (numbers, stories, results): My 3 to 5 content topics: The calls to action I use:
Voice guide How I sound, in three words: How long my sentences are: Words and phrases I use a lot: Words I never use (for example: game changer, unlock, delve): Punctuation rules (for example: no dashes, one exclamation mark a week): Humour: who the joke lands on (me, never the viewer): Two posts that sound exactly like me (paste them here): One post that sounds nothing like me, and why:
These two notes are what make the week sound like you. Claude reads them first, every time.
Step 2: save by hand during the week
When a post stops your scroll, save it to MAI with one line on why: “hook in three words”, “steal the structure”, “great before and after”.
- iPhone: share the post to MAI and type your line before you save.
- Mac: paste the link into MAI’s note box with your line next to it, or copy the link and press
⌃⇧Sto save it without leaving the browser.
Step 3: the weekly research run
In Claude, set up a scheduled task that runs every Sunday morning, using the Daily brief skill from the plugin:
Use the Daily brief skill. Research what's working this week for [your niche] on TikTok and Instagram, and save it to my brain as one note called "What's working this week".
Step 4: the Sunday prompt
Copy this word for word into Claude:
Use my MAI Second Brain. 1. Read my notes "Brand guide" and "Voice guide" in my Brand project. Follow them for everything below. 2. Find everything I saved this week: the posts and links I shared with my one line on why, and the note "What's working this week". 3. Plan seven days of content, two posts a day. For each post give me: the day, the hook (under 10 words), a short script or slide text, the caption, and the saved note or research it came from. 4. Write it all in my voice. Never use a word from my "never" list. 5. Save the plan to my brain as one note called "Content week" with this week's dates, in my Brand project.
Then read the note in MAI and send your fixes back to Claude by voice (“make Thursday funnier”). On a Mac, hold Right ⌘ in the Claude chat and just say it. That’s the week.
Part 2: how the videos are made
My reels aren’t edited in an editing app. Claude Code writes each one as a small web page that draws one frame for any moment in time, and a script records it frame by frame into an MP4. That’s why they can be changed in a sentence (“make it snappier”, “move that card up”) and rendered again.
- Script: Claude, from the Sunday plan in MAI, in my voice guide.
- Voice: OpenAI text to speech (
gpt-4o-mini-tts), one file per line, then OpenAI’s transcription gives the time of every word, which is what makes the captions land on the word. - Characters: drawn once as a reference sheet with OpenAI images. Every new scene is an edit of that sheet, so the cast stays on model. Expressions are edits of one scene (“same image, only her face changes”), so you can cut between them on the beat.
- Video: an HTML page with
window.seek(t), recorded by headless Chrome, joined with the voice by ffmpeg. - Check: before rendering, put TikTok’s buttons over a few frames. On 1080x1920, nothing that matters goes in the top 180 px, the bottom 440 px, or the right 160 px between 760 and 1480 px down.
The three Claude Code prompts
The first two you run once, to build the tools. The third you run for every reel.
Build me a tiny video renderer in this folder. A composition is an HTML page, 1080x1920, that defines window.DURATION (seconds) and window.seek(t), which lays out every element for time t with no animations of its own. Write render.mjs: it opens the page in headless Chrome, calls seek for every frame at 30 fps, screenshots each frame, then uses ffmpeg to join the frames and an optional audio file into an MP4. Also write stills.mjs that saves PNGs at the times I pass in.
Write tts.py: it takes a script file with lines of text, makes each line with OpenAI gpt-4o-mini-tts (voice and style from the file), trims the silence, joins the lines with short gaps, then gets word timestamps for each line from OpenAI transcription. Save a .wav and a timeline.json with the start and end of every word. Support [PAUSE 2.5] lines for silent beats and [NAME] tags for a second voice.
Read my brand guide and voice guide from MAI, and Thursday's post from my "Content week" note. Write the voice script (under 30 seconds, hook in the first line, one idea, ends with the keyword call to action), run tts.py, then build the composition: captions that rise word by word from the timeline, one new thing on screen every 1.5 seconds, nothing under TikTok's buttons. Render stills at 6 moments and show me before you render the whole video.
Save it as a skill
Put this in ~/.claude/skills/make-reel/SKILL.md so Claude Code does it the same way every time:
--- name: make-reel description: Turn one post from my MAI content plan into a finished 1080x1920 reel with voice and captions. --- 1. Read my brand guide, voice guide and the post from MAI (connector). Never invent facts about my product. 2. Script: hook in the first line, one idea, a callback, the keyword CTA. Short sentences, no dashes. 3. Voice: tts.py with my voice settings; check every line's words were aligned. 4. Composition: one HTML page with window.seek(t); captions from the timeline; a new visual every 1.5 s; keep out of TikTok's covered zones (top 180, bottom 440, right 160 from y 760 to 1480). 5. Show me 6 stills with the covered zones drawn on them. Fix, then render with render.mjs. 6. Save the script and caption back to MAI as a note in my Brand project.
The characters in my videos are my own cast: draw your own reference sheet first and keep it in one folder. Everything on screen in my videos (names, notes, numbers) is made up.
More setups like this one are on the resources page.