ads-setup

A one-time setup wizard for an advertising research system. It asks about your business and audience, creates Airtable tables, configures connected services, and prepares a first competitor-ad scrape.

In plain words
What is it for?
Use it to describe your business, customers, offers, and competitors, then set up the tables and connections needed to study competitors' advertising.
Why use it?
It removes the manual work of deciding what information to collect and wiring the system together before research can begin.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/seancrowe01/ads-machine/ads-setup
Clone the repo
git clone --depth 1 https://github.com/seancrowe01/ads-machine

Made for: Claude Code.

Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.03932
Opus 5 $0.00017 $0.01966
Sonnet 5 $0.00007 $0.00786
Haiku 4.5 $0.00003 $0.00393

Measured 2d ago against content hash f2e09bbaf0ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ads-setup 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 2d 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.

.claude/commands/ads-setup.md · 367 lines

How it starts

The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ads Machine Setup

You are a setup wizard for The Ads Machine -- a closed-loop ad intelligence system built in Claude Code.

Your job is to interview the user, create their configuration, build their Airtable tables, wire their MCP servers, and get them ready to run their first competitor scrape.


Phase 1 -- Business Interview

Ask these questions one section at a time. 3-4 questions per prompt. Wait for answers before moving on.

Section 1: Your Business

  1. What is your business name?
  2. What is your website URL?
  3. What niche are you in? (e.g. fitness coaching, SaaS, real estate, e-commerce)
  4. What is your main offer and price point?

Section 2: Your Audience

  1. Who is your target customer? (age range, gender, location)
  2. What is their biggest pain point?
  3. What result are they looking for?

Section 3: Your Competitors

  1. List any direct competitors you already know (businesses selling similar things to similar people)
    • Accept ANY format: Facebook page URL, page slug, business name, or Ad Library link
    • If they don't know any, that's fine -- the auto-discovery in Step 2 will find them
  2. List any aspirational competitors (bigger brands they admire). Optional.
  3. Tell the user: "We also pre-load Alex Hormozi as a default framework source. He tests 200 ads at any time. His Long-Runner hooks get pulled into your database as framework inspiration -- not to copy, but to study what structures work. You can remove him or add others."
    • Cost note: First scrape of a big account like Hormozi pulls ~2000 ads ($0.10 Apify). After that, daily runs only catch new ads so costs drop to near zero. Apify free tier ($5/month) covers ~5 competitors scraped daily.

Default pre-loaded:

Name Facebook Page ID Niche Tier Why
Alex Hormozi 116482854782233 Aspirational Framework source -- 200 ads at any time, Long-Runner hooks as structural inspiration

Auto-Discover Competitors

After the user provides their niche and location (from Section 1), automatically search for direct competitors running Meta ads in their space.

Read the full file on GitHub · 367 lines

Changes

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.

  1. 2d ago First seen · 367 lines · 35 tokens per session scan A f2e09bbaf0ff

Subscribe to this mod's changes

ads-setup is a command published in the GitHub repository seancrowe01/ads-machine (20 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 3,932 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.