ads-machine: Command for Claude Code

.claude/commands/ads-setup.md

ads-setup is a command for Claude Code from seancrowe01/ads-machine. It costs 35 tokens per session (3,932 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is seancrowe01/ads-machine's own configuration. It tells Claude Code how to work on ads-machine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ads-machine configures →

Reuse

Borrowing it

Nothing to install: this file belongs to seancrowe01/ads-machine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/seancrowe01/ads-machine/main/.claude/commands/ads-setup.md
Clone the repo
git clone --depth 1 https://github.com/seancrowe01/ads-machine

Made for: Claude Code.

Wrote 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.

agentmods badge for ads-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/seancrowe01/ads-machine/ads-setup/github.svg)](https://agentmods.dev/commands/seancrowe01/ads-machine/ads-setup)
Your own site
<a href="https://agentmods.dev/commands/seancrowe01/ads-machine/ads-setup"><img src="https://agentmods.dev/badge/commands/seancrowe01/ads-machine/ads-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ads-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/seancrowe01/ads-machine/ads-setup"><img src="https://agentmods.dev/badge/commands/seancrowe01/ads-machine/ads-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00035 $0.03932
Opus 5.5 $0.00014 $0.01573
Sonnet 5.5 $0.00007 $0.00786
Haiku 4.5 $0.00003 $0.00393

Measured 1mo ago against content hash f2e09bbaf0ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (21 stars, last pushed 7mo ago), licensed MIT. It adds 35 tokens to every session and 3,932 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other commands, from other repositories