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

Claude Code Plugin Yoink Replaces Library Dependencies to Reduce Supply Chain Risk
Yoink is a Claude Code plugin that removes complex dependencies by reimplementing only needed functions, using a three-step workflow with /setup, /curate-tests, and /decompose commands. It currently supports Python with TypeScript and Rust support underway.

Two Patterns for Preventing AI Agent Memory Rot: AutoDream and Skeptical Retrieval
OpenClaw introduces two MIT-licensed patterns to address file-based AI memory rot: AutoDream for nightly memory consolidation and Skeptical Retrieval for decay-weighted memory scoring. Both work together in a self-improving loop to keep agent context current.

Open-source MCP server enables AI agents to handle L402 payments via Lightning Network
A Python MCP plugin built with FastMCP intercepts HTTP 402 Payment Required responses, pays Lightning Network invoices, and retrieves data for AI agents. The repository includes a local dummy-agent for testing without spending real funds.

Creative Excellence Plugin for Claude Code Improves Animation Quality with Interaction Thesis
A new open-source plugin for Claude Code addresses generic animation generation by implementing an 'interaction thesis' approach where Claude must describe motion concepts before coding. The plugin includes 8 sub-skills covering GSAP, Framer Motion, CSS animations, and design principles from studied repositories.