Open-source tool automates Meta ad competitor analysis with Claude Code

What Ads Machine does
Ads Machine is a system built in Claude Code that automates competitor ad analysis for Meta ads. It was created by a developer who runs Meta ads for coaching and fitness clients and wanted to eliminate the manual workflow of checking the Ad Library, taking screenshots, and guessing what to test next.
Key features and workflow
- Scrapes competitor ads from Meta's Ad Library every morning
- Transcribes video ads to extract text content
- Pulls out hooks and angles from ad content
- Grades ads based on how long they've been running (60+ days of spending indicates a "winner")
- Generates variations from winning ads
- Writes scripts for new ad campaigns
- Can push campaigns directly to Meta (paused by default)
- Includes a feedback loop: when the user's own ads run for 30+ days, they get added to the database as winners
- Includes Alex Hormozi's ad hooks as a default source for studying frameworks that survive testing
Technical details
- Open source with MIT license
- One-line installation
- Available on GitHub at github.com/seancrowe01/ads-machine
- Built specifically for analyzing Meta ads
- Uses a simple scoring system based on ad longevity rather than complex algorithms
This type of tool is useful for developers and marketers who want to automate competitive intelligence gathering for advertising campaigns. The approach of using ad longevity as a success metric provides a data-driven way to identify what's actually working in the market.
📖 Read the full source: r/ClaudeAI
👀 See Also

Discord Bridge for Autonomous Claude Code Sessions
A bridge.js script (~50 lines, discord.js v14) creates real-time two-way chat between Discord and Claude Code via WebSocket + local file queue, replacing 2-minute polling with microsecond file reads. Tested on 27K lines analyzed overnight.

read-once: A Claude Code Hook That Prevents Redundant File Reads
A developer built a PreToolUse hook called read-once that tracks files Claude Code has already read in a session, blocking re-reads of unchanged files and using diffs for changed files. The tool saves thousands of tokens per session by preventing Claude from repeatedly reading the same file content.

Claude Code Plugin for D&D Campaigns Using Markdown State Tracking
A Claude Code plugin uses markdown files to track campaign state and lets Claude act as Dungeon Master for solo D&D sessions. The system is free and open-source, requiring installation as a plugin followed by the /claude-dnd:new-campaign command to start.

Super Claude browser extension makes Claude.ai UI fully customizable
A developer built a browser extension that lets users customize every aspect of Claude.ai's interface — colors, fonts, layout, plus usage tracking and token counting. The extension works on Chrome and Firefox and was developed using Claude itself.