Build a tool that surfaces competitors' top Meta ads
Vibe-coded a Claude Code tool that uses the Meta Ad Library's new sort by impressions to show which competitor ads get the most views.
Source
@techxsarfraj on X · 2026-07-03
Written in our own words. Credit to the original author. Link checked 2026-11-27.
What they did
Vibe-coded a Claude Code tool that uses the Meta Ad Library's new sort by impressions to show which competitor ads get the most views.
Result (as claimed)
Shared as a working tool.
Tools they used
Cost: Claude Code: from $17/mo.
Set it up
Pick one goal and metric
For example replies to outreach, ad ideas per week or landing page conversion.
Set up the tools
Open Claude Code, Gemini, Meta Ad Library. Load your offer, audience and examples of what already works.
Generate, then review
Have the agent research and draft. You approve every message, post or ad before it goes out.
Measure and iterate
Track the metric for a week, keep what works and feed the results back into the prompt.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Build a tool that surfaces competitors' top Meta ads What the original author did: Vibe-coded a Claude Code tool that uses the Meta Ad Library's new sort by impressions to show which competitor ads get the most views. Reported result (as claimed by the author): Shared as a working tool. Source: https://x.com/techxsarfraj/status/2073045278874345946 Tools they used: Claude Code, Gemini, Meta Ad Library Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Build a tool that surfaces competitors' top Meta ads What the original author did: Vibe-coded a Claude Code tool that uses the Meta Ad Library's new sort by impressions to show which competitor ads get the most views. Reported result (as claimed by the author): Shared as a working tool. Source: https://x.com/techxsarfraj/status/2073045278874345946 Tools they used: Claude Code, Gemini, Meta Ad Library Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Build a tool that surfaces competitors' top Meta ads What the original author did: Vibe-coded a Claude Code tool that uses the Meta Ad Library's new sort by impressions to show which competitor ads get the most views. Reported result (as claimed by the author): Shared as a working tool. Source: https://x.com/techxsarfraj/status/2073045278874345946 Tools they used: Claude Code, Gemini, Meta Ad Library Category: Marketing & growth Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to vibe code an app with Claude Code · How to make AI video ads and Reels with agents · How to build with Gemini 4 Argon (API, Antigravity CLI, and the Dec 1 2026 price change) · How to build AI agents for SEO and ads
Related use cases
Run an AI SDR team with human approval
Daily, three Sonnet agents take 15 leads each, research the site and Meta Ads Library, find weaknesses and write a cold email; Opus reviews and he approves.
Turn winning TikToks into shoot-ready ad briefs
Vibe-coded a research agent in Claude Code that scrapes the top TikToks in a niche, has AI break down why they work and writes a brief a team can film.
Wake different AI agents on an ESP32 robot by calling their names
A Chinese builder wired a small ESP32 desk robot to a gateway on his computer. Call it by one nickname and the question goes to his local Claude Code; call it by another and it is routed to a Gemini model. He plans the same name-based wake-up for each of his Grok Bots.
Connect an SEO audit tool to your agent over MCP so it fixes the issues
A developer built a tool that lists every SEO issue on his site, then connected it over MCP so his agent can read the issues and fix them.