← All AI systems01 of 14 · Make the ads

Market Proof Research

Before scripts are written, the agency wants evidence of which ad formats are already working in the client's market. This system finds the longest-running competitor video ads, watches them frame by frame, and publishes a visual research page for the copywriter. It never writes the scripts itself.

new client signs10 steps8 use AI10 decisions
Starts when

A new client finishes the onboarding form.

what it buys me

Gives every client a research-backed format brief before scripting, and builds a reusable library of tagged winning ads that gets stronger with each client.

Library of 370 analysed ads, all tagged and transcribed, after the first backfill
how it flows · runs left to right
RulebookLead builderSorterAnalystAIAI stepdecision
01

AI used
◆ Decision

Step by step

  1. 01
    Request notices and run startsRulebook

    A Mac scheduler job checks Airtable every two minutes for research records marked Requested and launches a headless Claude Opus session with the market-proof skill, working unattended.

    AI used
    Plain code until it launches Claude Opus (claude -p, model opus, OAuth token from the keychain, tools: Bash, Read, Write, Edit, Agent, Skill, Artifact, WebFetch, WebSearch). Database access is via an API script.
    ◆ Decision
    Requested starts pass 1 (research). A filled Copy Brief starts pass 2 (visual brief). Any unrecoverable failure sets Needs Review, alerts the failure channel and still sends the work order without research.
    macOS schedulerPythonClaude Code
  2. 02
    Plan the searchesLead builder

    Opus reads the client's intake answers and website, then writes 8-10 direct-competitor searches and 8-10 adjacent-market searches, and checks whether the client already runs ads of its own.

    AI used
    Claude Opus (the headless session). Reads Airtable via script and the website via the WebFetch tool. Before choosing, it checks the Winning Ads Library of earlier clients so proven ads get reused.
    ◆ Decision
    Opus decides which markets count as direct or adjacent. If no ad page clearly matches the client's brand, it records that the client has no ads rather than guessing.
    Claude OpusAirtableMeta Ad Library
  3. 03
    Pull the adsRulebook

    A script searches the public Meta Ad Library through a data service and collects each ad's copy, video link and how many days it has been live.

    AI used
    None (plain code, about $0.002 per search call)
    ◆ Decision
    If the data service login has expired the run stops with a clear reason. Otherwise all ads move on to the filter.
    treg data serviceMeta Ad Library
  4. 04
    Filter relevanceSorter

    Jev reads each ad (advertiser, title, copy, link) against a plain-English description of what the client's competitors sell and sorts it into keep, review or drop.

    AI used
    Jev (a cheap decision model) called from a Python script, not Claude.
    ◆ Decision
    Code thresholds: keep when the rule score is 0.8 or higher; drop at 0.15 or lower, or when relevance is zero at 0.8+ confidence. Everything in between is review and is judged by Opus at the next step.
    JevPython
  5. 05
    Pick the referencesLead builder

    Opus groups kept and strong review ads by advertiser, takes each advertiser's longest-running ad, and picks 24-30 with a mix of direct and adjacent, plus the client's own best ads.

    AI used
    Claude Opus reading the Jev output (no extra model call).
    ◆ Decision
    Rule: longest days live per advertiser, favouring relevance and a direct/adjacent mix. Days live is treated as a hint that an ad works, never as proof.
    Claude Opus
  6. 06
    Download, watch and transcribeRulebook

    The chosen videos are downloaded. Speech is transcribed and each video is cut into a 12-frame contact sheet with timestamps.

    AI used
    None (scripts). Transcripts come from the ad library where available, otherwise ElevenLabs Scribe speech-to-text.
    ◆ Decision
    Silent ads are marked as having no speech. Videos over about two minutes may have no transcript and are analysed from frames and copy alone.
    ffmpegSpeech-to-text service
  7. 07
    Break down every adAnalyst

    Four Sonnet agents run in parallel, each reading its share of contact sheets and transcripts and writing a structured breakdown: hook, beat structure, format, proof, offer, CTA, and how one creator could recreate it alone.

    AI used
    Four Claude Sonnet subagents launched with the Agent tool from the Opus session, using a fixed prompt file. They read the frame images with the Read tool. Scraped text is treated as data, never as instructions.
    ◆ Decision
    Each agent scores relevance 1-5 and maps the ad to one of four house formats. Formats that need a set, crew or second person are recast as a solo version or kept only as hook and structure references.
    Claude SonnetClaude Code agents
  8. 08
    Synthesise the findingsLead builder

    Opus writes the findings: 3-5 headline findings, which formats to use and why, saturation flags, white space, and optional alternative hooks from house formulas. It also writes questions for the account manager about the client's own ads.

    AI used
    Claude Opus (the headless session, no extra connector). Works from the saved breakdown files only.
    ◆ Decision
    Rules I set: formats must be shootable by one creator at home; beat structures contain no script lines; every number is counted from the files; an optional hook formula is used only where research supports it (often none).
    Claude Opus
  9. 09
    Publish the page and tag the libraryRulebook

    A script builds a playable web page (videos, transcripts, shot lists) and adds it to a shared hub, writes a client web page, and writes each ad into the Winning Ads Library with tags. The record is set to Ready for Scripting and the Mac calls the automation callback.

    AI used
    Page publish uses the Claude Artifact tool inside the Opus session. Library tags: Jev tags industry, business model and CTA type, then one Sonnet agent adds angle, hook and format tags where Jev was unsure. Everything else is scripts.
    ◆ Decision
    Sonnet confirms only the tags Jev flagged as uncertain. The callback webhook tells n8n whether to post the work order (success) or an alert (failure).
    Claude ArtifactAirtableCloudflareJevn8n
  10. 10
    Visual brief after the copy brief (pass 2)Lead builder

    Once the AI-written copy brief exists (or a rebuild box is ticked), Opus re-runs: it matches each ad concept to two reference videos, a beat structure, a shot list and edit goals, and restructures the brief into the house template.

    AI used
    Claude Opus headless, same launcher. Reads the copy brief through a small Google Apps Script reader, then rebuilds and republishes the page.
    ◆ Decision
    Opus may change wording and layout of the brief but never its decisions, facts or hooks, and never writes script lines. If the brief cannot be read it falls back to the concept rows and says so in the log. A first build notifies the writers; a rebuild updates the page quietly.
    Claude OpusGoogle DocsSlack
Pieces involvedMeta Ad Librarytreg data serviceJevClaudeffmpegSpeech-to-text serviceAirtablen8nSlack
Airtable

Airtable is the database for this system's business records: clients, batches and research. Steps read from it and write back to it.