Build an ad swipe file with a prompt
A swipe file pays off when every saved ad sits in the same fixed columns with a reason it works that you could test, so a monthly read of the file turns into briefs instead of a folder of screenshots.
By Grace Kong·Updated ·5 min read
Build your swipe file from your agent
TL;DR
The prompt files each ad as one row of a 23-column CSV (hook type and text, first frame, angle, emotion, proof, offer, days running, versions, why it works, the mechanism to reuse) and updates a repeat (same brand and hook) instead of adding it twice.
Once a month it reports the top 5 hook types and angles against last month, mechanisms seen in 3 or more brands, 5 ads to brief from, and any tag on more than 25% of rows that should be split.
Save from libraries that show longevity: Meta's Ad Library lists "Started running on" and "This ad has multiple versions", TikTok Top Ads sorts by CTR or 6-second view rate with a second-by-second graph, and TikTok's Commercial Content Library keeps EEA ads for a year.
Keep the file as
swipe.csvin a repo you open with Claude Code and commit it monthly, so you can diff what changed.
The prompt
One prompt, two jobs: filing on the day you find an ad, and a monthly read of the whole file.
You maintain our ad swipe file. Two jobs: file new ads, and once a month report what the file says. JOB 1. FILE NEW ADS I will paste links, transcripts, screenshots described in words, or rows from the Meta Ad Library or TikTok Top Ads. For each ad, return one CSV row with exactly these columns: id, date_saved, brand, category, platform, link, format (static / video / carousel / UGC / TV), length_s, hook_type (pain / number / demo / story / question / quote / comparison / offer / pattern-break), hook_text, first_frame (what is on screen at 0s), angle (reason to buy, 5 words), emotion (relief / envy / curiosity / fear of missing out / pride / humor), proof_type (demo / review / number / authority / before-after / none), offer, cta, person (founder / customer / creator / actor / none), sound (voice / trend / music / silent-safe), days_running_at_save, versions, why_it_works, steal_this, tags Rules: - why_it_works: one sentence that could be tested, e.g. "Shows the result before naming the product". Not "great hook". - steal_this: the mechanism we could reuse in our category, never the words or the visual. - If an ad is already in the file (same brand and same hook_text), update days_running_at_save and versions instead of adding a row. - If a field is unknown, write "unknown". Do not guess days running. JOB 2. MONTHLY REPORT (when I say "report") From swipe.csv: 1. Top 5 hook types and angles saved this month vs last month. 2. Mechanisms that appear in 3+ brands (a pattern, not a one-off). 3. 5 ads to brief from, each with: the mechanism, how it maps to [OUR PRODUCT], and the proof we would need. 4. Tags that are overused (more than [25]% of rows) and should be split.
Why these columns
A swipe file is only useful if you can filter it; free-text notes cannot be filtered.
| Column | Why it is there |
|---|---|
| hook_type, hook_text, first_frame | Lets you filter for "number hooks with a product shot in the first frame" months later |
| angle, emotion, proof_type | The three things briefs are written from |
| days_running_at_save, versions | The only longevity signals free libraries show; Meta lists "Started running on" and "This ad has multiple versions" |
| why_it_works | A testable sentence turns a mood board into hypotheses |
| steal_this | Keeps the file about mechanisms, not copying |
The schema is deliberately fixed. If the model invents new columns or new hook types each time, the monthly counts stop meaning anything.
Where to find ads worth saving
Save from libraries that show dates and versions, plus your own account.
| Source | What to save from it | Link |
|---|---|---|
| Meta Ad Library | Start date and version count for every ad; reach for ads delivered in the EU or UK | Meta |
| TikTok Top Ads | Sort by CTR or 6-second view rate, then open "See Analytics" and note what happens at each drop in the second-by-second graph | TikTok |
| TikTok Commercial Content Library | EEA ads for a year after they stop, with reach by age and gender | TikTok |
| Google Ads Transparency Center | Search, YouTube and Display ads by advertiser, filtered by date and region | |
| Your own account | Your winners and losers, tagged the same way, so patterns compare like with like | Ads Manager export |
What good output looks like
Each row reads like a hypothesis you could test next week.
| brand (made-up) | hook_type | first_frame | why_it_works | steal_this |
|---|---|---|---|---|
| Glow Lab | demo | Half a face with makeup removed | Shows the result before naming the product | Split-screen result in frame one |
| Rest Co | quote | Review screenshot over a bed | A specific complaint about a competitor answers the objection for us | Lead with a 1-star review of the old way |
And the monthly report should end with five specific briefs, not a list of trends.
Run it in Claude Code, Claude or ChatGPT
Claude Code is the best home for a swipe file because the CSV lives in a folder you control.
- Claude Code: keep
swipe.csvin a repo, paste new ads into the session with the prompt, and let Claude append rows and dedupe. Commit monthly so you can diff what changed. - Claude: put the prompt and the latest CSV in a Project so every chat uses the same schema.
- ChatGPT: the same, with the prompt in a Project's instructions and the CSV attached.
- With the Hypesonic MCP: paste a link to a public TikTok or Instagram ad and your agent brings it into your library with its caption and stats (
hypesonic/media-fetch), thengoogle/gemini-4-argonwatches it and returns the transcript, hook and script beats that fill the row. You still find the ads yourself; Hypesonic has no ad library to search.
Common mistakes
Most swipe files die from too much saving and too little reading.
- Saving everything. Save ads you would brief from; skip ads you merely like.
- "Why it works: good hook." If you cannot test the sentence, it is not a reason.
- No dates. Without days running, a two-day test and a six-month workhorse look the same.
- Copying. Reuse the mechanism, never the words, footage or layout.
Questions
What is an ad swipe file?
A collection of ads saved for reference, tagged so you can find patterns and brief new ads from them. A good one records why each ad works and what mechanism you could reuse.
What should I tag in a swipe file?
At minimum: hook type, the first frame, angle, proof type, offer, format, days running and versions. Those are the fields briefs and tests are built from.
Can Claude organize my swipe file?
Yes. Give it a fixed column schema and paste or attach new ads; it tags each into a row, merges duplicates and writes a pattern report on request.
Is it legal to use competitors' ads for inspiration?
Studying public ads is normal practice; copying their words, footage or design is not. Keep the file focused on mechanisms you can rebuild with your own product and proof.
Sources
Build your swipe file from your agent
Keep reading
- PromptsAnalyze competitor ads with a promptRead
- PromptsWrite a creative brief with a promptRead
- PromptsWrite 50 ad hooks with one promptRead
- AI adsAI competitor ad research: where to find rivals' ads and how to analyze themRead
- AI adsHow to iterate on winning ads with AIRead
- IntegrationsClaude for advertising: what it can do and how to set it upRead