---
name: weekly-ai-ad-batch
description: Runs one batch of AI video ads for a Meta ad account. Reads last week's results, researches competitors and buyers, writes concepts and scripts, plans every shot, makes one clip before the rest, checks every clip, and hands over finished ads. Stops for the user's approval before any money is spent. Comes with Python scripts for the account read, the price ceiling, the word check, frame sheets, length and loudness. Use when someone needs new Meta ad creatives, a weekly ad batch, or AI video ads built from their own ad data.
---

# Weekly AI ad batch

Last week's ad data decides what gets made. Nothing costs money until the user approves it. One clip is made and checked before the rest.

There are five stops. At each **STOP**, show what is listed and wait for the user's answer. Never skip a stop.

## Files

Paths are relative to this skill's folder. The scripts need Python 3 and ffmpeg, nothing else. Each one explains itself with `--help`.

| File | Step | What it does |
|---|---|---|
| `scripts/read_account.py` | 1 | Sorts the ad data into the three lists |
| `scripts/rank_posts.py` | 2 | Ranks organic posts by likes ÷ views and flags bought views |
| `scripts/price_ceiling.py` | 4 | Prices the shot list and prints the ceiling |
| `scripts/word_check.py` | 6, 8 | Compares a clip's words to the script and prints words per second |
| `scripts/frames.py` | 6 | Start, middle and end frame of every clip in one image |
| `scripts/length_check.py` | 7 | Checks the finished length against the clips added together |
| `scripts/loudness.py` | 7 | Measures every video's loudness and evens it out |
| `templates/brand.md` | 0 | The brand file |
| `templates/concept-card.md` | 3 | One concept card with the 6 desire lines |
| `templates/shots.csv` | 4 | The shot list. `price_ceiling.py` and `word_check.py` read it |
| `templates/prices.csv` | 4 | Your price per image, clip or second |
| `examples/` | 1, 2 | Sample files to try the scripts on |

## 0. Set up (once per brand)

Ask for anything missing, in one message:

1. **Brand file** (`templates/brand.md`): product, price, offer, who buys it, claims you can make, claims and words you can't.
2. **Real product photos**: front, side, in a hand.
3. **Ad data**: access to the Meta ad account (Meta Ads MCP or the Marketing API, read-only is enough), or two Ads Manager exports at ad level, 7-day click: one for lifetime, one for the last 14 days.
4. **Target CPA.**
5. **Tools**: a video model (e.g. Seedance or Kling on Higgsfield), an image model (e.g. Soul, Nano Banana or GPT Image), a voice tool (e.g. ElevenLabs), a transcription tool (e.g. AssemblyAI or Whisper), ffmpeg and Python 3.
6. **Batch size**: concepts × hooks. Default 5 concepts × 2 hooks = 10 videos.

Make a folder for this batch, named by date, and save every step's output there so the batch can be picked up again later.

## 1. Read the account

Sort every ad into one of three lists:

- **Winning**: last 14 days at or under target CPA.
- **Getting tired**: lifetime CPA looks fine, but the last 14 days are over target. These are the ads to make new versions of.
- **Not tested yet**: spent less than 2× target CPA. These have not failed. They can run again.

Run `python3 scripts/read_account.py --lifetime lifetime.csv --last14 last14.csv --target-cpa {target}`. It prints the three lists and saves them to `account_lists.csv`. If the data came through the API, save it first as two CSVs with the columns `ad_id, ad_name, spend, results`.

Throw out:
- Judging any ad on lifetime numbers alone. Lifetime hides an ad that is dying.
- Calling a new or barely-spent ad a winner to fill the batch.
- Copying formats when the brand's own older ads are all getting worse at the same time. That points to the offer. Add new ideas instead.

## 2. Research

Three lanes. Use sub-agents and run them at the same time if you can.

- **Paid**: competitor ads in the Meta Ad Library. Keep only ads still running 2+ weeks later. Note the hook, the format and the offer.
- **Organic**: top TikTok, Instagram and YouTube posts in the niche. Judge them by likes ÷ views, never by views. Around 0.3% on a big view count means the views were bought. Put the posts in a CSV (url, views, likes) and run `python3 scripts/rank_posts.py posts.csv`. Read the comments: that's where buyers use their own words.
- **Community**: Reddit threads and reviews (the brand's and competitors'). Copy quotes exactly, with upvotes or stars.

Check 3 quotes per lane against the source before using any of them.
If a competitor already runs your idea, that's proof people want it. Keep the idea and change the words.

## 3. Concepts → STOP 1

Before writing anything new, check existing footage: can old clips already say this?

Write each concept on a card (`templates/concept-card.md`):

```
Concept {n}: {name}
Buyer: {who, and the situation they're in}   Source: {ad, quote or review}
Built on: {winning ad / tired ad / competitor survivor / research quote}
Funnel: {top / middle / bottom}
Story: {problem} → {what they tried} → {why it failed} → {what changed}
Hook A: {first line}
Hook B: {first line}
This tests: {the one thing it will tell you}
```

Every card must pass all 6 desire lines. One "no" and it doesn't go to the user:
1. The pain is shown as a scene.
2. It's not the buyer's fault.
3. A picture with a time or a place.
4. Ownership or regret.
5. One strong proof.
6. A nudge to act now.

Then check the whole batch:
- At least one bottom-of-funnel concept.
- At least one brand-new idea, not only versions of old ads.
- No two concepts tell the same story.
- Two concepts only count as different if at least 2 of these change: buyer, format, message, first frame.
- Nothing from the brand file's banned list.

**STOP 1.** Show the cards, what each one tests, and last batch's results in plain words. Nothing has been spent yet.

## 4. Scripts and shot list → STOP 2

**The hook**, in 3 lines:
```
Who it calls: {the person who should stop scrolling}
What you see (first 3 s): {the picture}
What is said: {the line}
```
The picture must add something the words don't say. A basket of eggs under "I want to eat my eggs" says it twice.

Kill the hook and rewrite it if:
- It still makes sense with a competitor's product name in it.
- It opens with a fact about the category.
- The product name comes first.
- It doesn't make sense with the sound off.

Score it 0 to 2 on each, and keep only 4 out of 6 or higher:
- **What**: the result they want, and the pain it saves them from.
- **Who**: how other people see them.
- **When**: past, now and later.

**The script**: about 5 s hook + 16 s body + 3 s CTA. About 3 words per second. The offer once, about two-thirds of the way in.

**Review**: three reviewers (sub-agents if you can): a media buyer, a director with a native English ear, and a claims and policy reviewer. Each scores every line 0 to 5, quotes any line under 4, and writes a replacement. Fix and review again, at most twice, until every line is 4+. The user's choice beats a reviewer.
Compare against last batch's scripts: no recycled lines.

**Shot list**, one entry per shot. Keep it in `templates/shots.csv`, one row per shot with the same fields, because the scripts in steps 4 and 6 read it:
```
Shot {concept}-{n} · {seconds} s
On screen: {what the viewer sees}
Says: "{exact words}" ({how: tired, amused, rushed...})
Product: {none / small, under 1/3 of the frame}
References: {which real photos}
Model: {model}, {length}
```

**Price**: every still and clip × its price, plus 15% for fixes. That total is the ceiling. Put your prices in `templates/prices.csv` and run `python3 scripts/price_ceiling.py shots.csv prices.csv`.

**STOP 2.** Show the final scripts and the ceiling together. Anything over the ceiling later needs a new yes.

## 5. Look pack → STOP 3

Stills only, no video yet. One still per character, place and prop.
- References are real photos, never stock or studio shots.
- Faces: write the person from text only, then place them into a real photo of the location, a few metres back from the lens.
- Overcast light, off-centre, real clutter. Magazine-perfect reads as AI.

**STOP 3.** No video credits go to a look the user hasn't approved.

## 6. Make the clips → STOP 4

Before sending any shot, check:
- Product reference photos only on shots where the product shows.
- The length is inside the model's limit. Check the model's own docs, never memory.
- The exact words are written out, with how they're said.
- The product is under 1/3 of the frame. Bigger than that, AI rewrites the label.

Make **one talking clip per concept first**, plus one fully edited reference ad (about 30 s, hook to last shot).

**STOP 4.** Show the clips, their frames and their words per second (`word_check.py` prints it). Voice, pace and casting are decided here, for the price of 5 clips instead of 60. Then make the rest.

After every clip:
- **Listen**: transcribe it and compare it to the script word for word: `python3 scripts/word_check.py --shots shots.csv --shot {shot} --transcript {transcript}`. One wrong word = not usable.
- **Read**: zoom in on the product label. AI misspells labels.
- **Look**: run `python3 scripts/frames.py {every clip of the concept} -o frames.jpg`. It puts the start, middle and end frames side by side. Mismatches jump out.

When something fails, go back only as far as the cause:
- Weak hook → concept
- Broken logic → script
- Wrong scene → shot list
- One bad clip → that clip only

Try free fixes before paying again: trim it, cover it with another clip, zoom, or take the line from another take. Same word wrong twice = rewrite the line, don't try a third time.

## 7. Edit → STOP 5

- Join the clips in shot-list order. The finished length must equal the clips added together. If not, something got cut. Check with `python3 scripts/length_check.py final.mp4 {clips in order}`.
- Captions come from the script text, not auto-captions. 3 words at a time, clear of the Reels buttons.
- Every noun that's spoken is on screen. Nothing held still longer than about 3 seconds.
- The same clip never appears in two concepts.
- One narrator = one voice setting from the first line to the last.
- Every video at the same loudness: `python3 scripts/loudness.py finals/*.mp4`. Add `--fix {folder}` to write evened-out copies.

**STOP 5.** The user watches every video with the sound on. Fix what they flag.

## 8. Hand over and launch

- Run the word check once more on the finished videos (`word_check.py --script {full script} --transcript {transcript}`), and check them against the banned list.
- Write down what the batch cost.
- Upload the ads **paused**. The user checks them in Ads Manager and turns them on. Never turn ads on or change a budget yourself.

## 9. Track

- Within 48 hours of launch, write down which live ad is which script. Ad names get changed, so match by the ad copy.
- Every day: which new ads Meta is spending on, which are winning, which are getting tired. That list is step 1 of the next batch.
- Save clips without faces into a library with one line on what each shows. Reusing a clip costs almost nothing.

## Lessons

Every time something goes wrong, add one line here and add a matching check to the step where it should have been caught. This list is what makes the next batch better than the last one.

- 

## Don't

- Spend anything before STOP 2.
- Make a whole concept before checking its first clip.
- Trust auto-captions.
- Judge ads on lifetime numbers.
- Let AI draw a big close-up of the product.
- Paste a product cut-out onto a scene. Give the real photo as a reference and generate it in the scene.
