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

Alternative AI Coding Setup After Claude Price Increase
A developer shares their current AI coding setup using GPT 5.4 as the primary model, Codex as a fallback included in ChatGPT subscription, and Minimax 2.7 as a backup with coding plan pricing.

quorum: AI Code Governance Tool Enforces Independent Model Review
quorum is a governance layer for AI-assisted development that enforces a consensus protocol requiring code to be independently reviewed by a different model before committing. It includes three structural gates that block progress: audit, retro, and quality gates.

Announcing Flyto Indexer: Enhanced AI Code Refactoring with Source Dependency Analysis
Flyto Indexer, an MCP server, builds a symbol graph of your codebase, aiding AI in smart code refactoring by analyzing dependencies and call sites.

PACT: A Programmatic Governance Framework for Claude Code After Agent Failure Patterns
A developer built PACT (Programmatic Agent Constraint Toolkit) after three months of recurring Claude Code failures on a 350+ file mobile app. The framework replaces unenforceable rules with mechanical constraints that physically block violations through pre-tool-use hooks.