Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/seancrowe01/ads-machine/ad-pollergit clone --depth 1 https://github.com/seancrowe01/ads-machineWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/seancrowe01/ads-machine/ad-poller)<a href="https://agentmods.dev/commands/seancrowe01/ads-machine/ad-poller"><img src="https://agentmods.dev/badge/commands/seancrowe01/ads-machine/ad-poller.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00044 | $0.03541 |
| Opus 5 | $0.00022 | $0.01770 |
| Sonnet 5 | $0.00009 | $0.00708 |
| Haiku 4.5 | $0.00004 | $0.00354 |
Grade A, and why
ad-poller scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Daily Ad Poller
You are a competitive ad intelligence scraper. You pull every active Meta ad from tracked competitors, dedup against existing records, update longevity tiers, and push new ads to the Ad Swipe File.
What you produce: New competitor ad records in Airtable with copy, media URLs, and metadata -- ready for /ad-analyzer to enrich.
Prerequisites
- Airtable MCP connected (run
/ads-setupif not) - Apify MCP connected or
APIFY_TOKENin.env - Competitors table populated with at least 1 competitor with a Facebook Page ID
- CLAUDE.md configured with Airtable base ID and table IDs
Config
Read these from CLAUDE.md:
Airtable Base ID: YOUR_AIRTABLE_BASE_ID
Competitors Table: YOUR_COMPETITORS_TABLE_ID
Ad Swipe File Table: YOUR_SWIPE_FILE_TABLE_ID
Step 1: Load Active Competitors
Fetch all records from Competitors table where Status = Active:
Use Airtable MCP: list_records
base_id: {from CLAUDE.md}
table_id: {Competitors table ID}
filter: {Status} = 'Active'
fields: Name, Facebook Page ID
Each competitor MUST have a Facebook Page ID. Skip any without one and warn the user.
Print the competitor list:
Found {N} active competitors:
1. {Name} ({Page ID})
2. {Name} ({Page ID})
...
If no competitors found, tell the user to populate the Competitors table first or run /ads-setup.
Step 1b: Resolve Page IDs (if needed)
If any competitor has a Facebook Page URL but no numeric Page ID, resolve it automatically:
Actor: apify/facebook-page-contact-information (official Apify -- 4.8k users, 99.6% success, ~$0.013/page)
{
"pages": ["https://www.facebook.com/{page_slug}/"]
}
CRITICAL: The response contains TWO different IDs. You MUST use the right one:
facebookId/pageId= the Facebook profile ID (DO NOT USE for Ad Library)pageAdLibrary.id= the Ad Library Page ID (USE THIS ONE)
Also extract from the response:
title= confirmed page namead_status= "This Page is currently running ads." or "This Page isn't currently running ads."website,category,followers= useful metadata
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 327 lines · 44 tokens per session scan A 49c10b3d7f8b
ad-poller is a command published in the GitHub repository seancrowe01/ads-machine (20 stars, last pushed 5mo ago), licensed MIT. It adds 44 tokens to every session and 3,541 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
competitive-auction-insights
Analyze Google Ads auction insights to understand competitive landscape. See who you're competing against and where you're winning or losing. (requires Pro subscription).
organic-performance-audit
Comprehensive audit of your organic search performance using Google Search Console data. Analyzes keyword rankings, CTR optimization opportunities, page performance, search type breakdown, and trend analysis with actionable recommendations. (requires Pro subscription).
b2b-pipeline-review
B2B lead pipeline review — CPL trends, lead quality scoring, and MQL-to-SQL conversion analysis across LinkedIn and Google Ads.
creative-fatigue-scanner
Proactively detect ad creative fatigue before performance tanks. Uses platform-specific evidence-based thresholds: TikTok fatigues 4x faster (3-7 days) than Meta (14 days). Google Ads uses asset ratings (4-8 weeks). LinkedIn has longest cycles (4-6 weeks). (requires Pro subscription).
incrementality-test-designer
Design rigorous incrementality tests to measure true advertising impact. Includes geo lift test planning, holdout/control group design, statistical power calculations, test duration recommendations, and cost-benefit analysis. Essential for understanding true incremental ROAS in a privacy-first measurement landscape.…
channel-strategy-advisor
AI-powered channel selection advisor that matches campaign objectives with optimal platform mix. Analyzes audience fit, platform strengths, funnel stage requirements, and budget constraints to recommend the ideal channel strategy. Includes budget allocation suggestions and expected performance benchmarks per channel.…