Skip to content

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

feat(marketing-loops): add SEO operator recipe and three new loops

Corey Haines2588c27100b8
diff --git a/skills/marketing-loops/SKILL.md b/skills/marketing-loops/SKILL.md
index e53be46..91687a8 100644
--- a/skills/marketing-loops/SKILL.md
+++ b/skills/marketing-loops/SKILL.md
@@ -1,8 +1,8 @@
---
name: marketing-loops
-description: "When the user wants to set up a recurring, self-running marketing workflow — a repeatable loop an AI agent runs on a cadence (weekly, daily, on a trigger) rather than a one-off task. Also use when the user mentions 'marketing loop,' 'recurring marketing workflow,' 'automate my marketing,' 'marketing on autopilot,' 'weekly marketing review,' 'ad fatigue check,' 'content refresh loop,' 'churn watch,' 'ranking drop alert,' 'always-on marketing,' 'marketing automation workflow,' or 'run this every week.' Use this to pick, adapt, and schedule an ongoing marketing loop that orchestrates the other marketing skills. For one-off marketing ideas, see marketing-ideas. For the experimentation loop specifically, see ab-testing."
+description: "When the user wants to set up a recurring, self-running marketing workflow — a repeatable loop an AI agent runs on a cadence (weekly, daily, on a trigger) rather than a one-off task. Also use when the user mentions 'marketing loop,' 'recurring marketing workflow,' 'automate my marketing,' 'marketing on autopilot,' 'weekly marketing review,' 'ad fatigue check,' 'content refresh loop,' 'churn watch,' 'ranking drop alert,' 'run my SEO,' 'SEO operator,' 'daily SEO agent,' 'always-on marketing,' 'marketing automation workflow,' or 'run this every week.' Use this to pick, adapt, and schedule an ongoing marketing loop that orchestrates the other marketing skills. For one-off marketing ideas, see marketing-ideas. For the experimentation loop specifically, see ab-testing."
metadata:
- version: 1.2.1
+ version: 1.3.0
---
# Marketing Loops
@@ -22,7 +22,7 @@ Then:
4. **Confirm the human checkpoint.** Decide what the loop does autonomously vs. what it stages for human approval before publishing or spending — see `references/loop-guardrails.md`.
5. **Schedule it** (see "Scheduling a loop" below).
-Building more than one loop, or a whole marketing operating system? See `references/loop-orchestration.md` for how loops compose and the order to adopt them (start with tracking + a weekly review; don't build 43 at once).
+Building more than one loop, or a whole marketing operating system? See `references/loop-orchestration.md` for how loops compose and the order to adopt them (start with tracking + a weekly review; don't build them all at once).
## Anatomy of a Marketing Loop
@@ -81,7 +81,11 @@ Default to time-of-day cron for review-style loops (weekly review, ranking watch
## The Catalog
-`references/loop-catalog.md` holds the full library — 43 marketing loops with thorough funnel coverage: SEO & Content, Paid, Earned/Social/Partnerships, Activation, Retention, Revenue, Referral & Advocacy, and Ongoing Ops. Each is a complete, adaptable spec. Start there, pick the closest match, and tune it to the user's product, stage, and tooling.
+`references/loop-catalog.md` holds the full library — 48 marketing loops with thorough funnel coverage: SEO & Content, Paid, Earned/Social/Partnerships, Activation, Retention, Revenue, Referral & Advocacy, and Ongoing Ops. Each is a complete, adaptable spec. Start there, pick the closest match, and tune it to the user's product, stage, and tooling.
+
+## Running a whole channel: the SEO operator
+
+When the user wants an agent to own SEO for a site rather than run one loop, use `references/seo-operator.md`. It bundles the SEO loops (site health, claim drift, striking-distance push, AI-answer check, keyword gap, content decay, competitor watch, and more) into one schedule with shared memory in `.agents/seo/`, a first-run checklist, operating rules, a writing gate, and a one-screen weekly report.
## Authoring a new loop
diff --git a/skills/marketing-loops/references/loop-catalog.md b/skills/marketing-loops/references/loop-catalog.md
index 1f9e410..14015b6 100644
--- a/skills/marketing-loops/references/loop-catalog.md
+++ b/skills/marketing-loops/references/loop-catalog.md
@@ -45,6 +45,35 @@ Loops are grouped by function. Naming follows the "The X loop" convention.
- **Stop / bail-out**: No material drop → log "stable." Escalate suspected algo hits to a human rather than mass-editing.
- **Output**: A regression report with a recommended fix.
+### The striking-distance push loop
+- **Check cadence**: Weekly
+- **Acts when**: An existing page ranks in positions 8–20 for a query with meaningful impressions, or ranks in the top 5 with a click-through rate well below its neighbors.
+- **Purpose**: Move pages that Google already half-trusts onto page one, the cheapest ranking gains available.
+- **Skills used**: `seo-audit`, `copywriting`, `site-architecture`
+- **Loop body**:
+ 1. Pull query + page pairs from Search Console for the trailing 28 days; keep positions 8–20 above an impression floor, plus top-5 positions with weak click-through.
+ 2. For each candidate, read the top three results and name the specific reason each one outranks the page (intent match, a missing section, fresher facts, stronger internal links).
+ 3. Draft the smallest change that closes that gap: answer the query in the opening lines, add the missing section, add internal links from strong related pages. For the weak-CTR cases, change only the title and meta description.
+ 4. Stage the edits and record the starting position and CTR.
+- **Self-check**: Is the page the right one for the query, or is another page on the site competing for it (cannibalization)? Fix the conflict first. Is the impression count big enough for the position to mean anything?
+- **State / idempotency**: Track each page's last edit date and starting metrics; give an edited page 3–4 weeks before touching it again, so results are attributable.
+- **Stop / bail-out**: No candidates above the impression floor → log "no action." Two pushes on the same page with no movement → stop and escalate; the problem is probably authority or intent, not on-page.
+- **Output**: Staged page edits, each with the query, the reason, the change, and its baseline. Method in `seo-audit`'s [rankings push reference](https://github.com/coreyhaines31/marketingskills/blob/main/skills/seo-audit/references/rankings-push.md).
+
+### The AI-answer check loop
+- **Check cadence**: Weekly (AI answers vary run to run; daily checks mostly measure noise)
+- **Acts when**: A tracked prompt's answer omits the brand, misstates a fact about it, or cites a new source in the category.
+- **Purpose**: Keep the brand present and described accurately in AI assistants' answers to the questions buyers actually ask.
+- **Skills used**: `ai-seo`, `product-marketing`, `public-relations`, `directory-submissions`
+- **Loop body**:
+ 1. Run the prompt panel (20–30 prompts spread across awareness stages) on each assistant you track, several runs per prompt.
+ 2. Record per prompt: mentioned or not, how the brand is described, which sources were cited.
+ 3. Turn findings into work: a wrong or vague fact means the page that should state it doesn't state it plainly, so fix that page. Absence means the cited sources are the target list for PR, directories, and review sites.
+- **Self-check**: Is the change consistent across runs, or one sample? Treat a single-run difference as noise.
+- **State / idempotency**: Keep each run's results per prompt so changes are diffs, not re-reports; don't re-file a fix that's already open.
+- **Stop / bail-out**: No material change since last run → log "stable." Never contact a cited source automatically; outreach is staged for approval.
+- **Output**: A short visibility diff, page fixes for misstated facts, and a source target list.
+
### The content-decay loop
- **Check cadence**: Monthly
- **Acts when**: A page's traffic/rankings declined materially over the trailing 90 days.
@@ -668,6 +697,21 @@ Loops are grouped by function. Naming follows the "The X loop" convention.
- **Stop / bail-out**: All tracking healthy → log "clean." **Escalate a broken revenue/conversion event immediately** — every downstream loop is blind until it's fixed.
- **Output**: A tracking-QA report with prioritized fixes.
+### The claim-drift loop
+- **Check cadence**: On every deploy or merge to the product, or daily
+- **Acts when**: A product change (price, plan limit, feature, integration, supported platform) makes a statement on a marketing surface false.
+- **Purpose**: Stop the site, docs, comparison pages, and ads from describing a product that no longer exists.
+- **Skills used**: `product-marketing`, `copy-editing`, `competitors`, `pricing`
+- **Loop body**:
+ 1. Read the product changes since the last run: merged PRs, commits, release notes, pricing config.
+ 2. Pick out the ones that change a customer-facing fact.
+ 3. Search every marketing surface for the old fact (pages, docs, comparison tables, FAQ, structured data, ad copy, email templates) and stage corrections.
+ 4. For new capabilities, add a backlog item: which queries or comparisons can the product now win?
+- **Self-check**: Has the change shipped to customers, or is it behind a flag or still in beta? Only correct facts that are live.
+- **State / idempotency**: Keep a claims ledger (each claim, its source of truth, and the pages that state it) plus the last processed commit or release as the watermark.
+- **Stop / bail-out**: No customer-facing changes → log "no action." Pricing and legal claims always go to a human before publishing.
+- **Output**: Staged corrections listed by page, and backlog items for newly winnable queries.
+
### The campaign-postmortem loop
- **Check cadence**: On campaign end (event-based)
- **Acts when**: A campaign (launch, promo, seasonal push) concludes.
diff --git a/skills/marketing-loops/references/loop-orchestration.md b/skills/marketing-loops/references/loop-orchestration.md
index eb0bfe3..641406e 100644
--- a/skills/marketing-loops/references/loop-orchestration.md
+++ b/skills/marketing-loops/references/loop-orchestration.md
@@ -1,6 +1,6 @@
# Loop Orchestration & Rollout
-Loops aren't independent scripts — they compose into a marketing operating system. This reference covers how they fit together and the order to adopt them so you never build 43 at once.
+Loops aren't independent scripts — they compose into a marketing operating system. This reference covers how they fit together and the order to adopt them so you never build them all at once.
## The system view
@@ -59,7 +59,7 @@ Once volume is healthy, tune revenue per user — judged on revenue quality, not
`referral-nudge`, `review-and-UGC-harvest`, `review-site-management`, `case-study-sourcing`, `partner-pipeline`, `brand-mention/reputation`, `experiment-backlog`, `campaign-postmortem`.
The flywheel: happy customers and earned media that feed back into acquisition, plus the learning loops that make everything compound.
-The remaining catalog loops (content-decay, internal-linking, programmatic-SEO quality, content-calendar refill, paid-search query-mining, retargeting-hygiene, landing-page regression, community-engagement, competitor-watch, backlink-prospecting, directory-submission, feature-adoption, lead-capture-asset, email-deliverability, voice-of-customer) slot into the stage that matches their function as each channel becomes a priority.
+The remaining catalog loops (content-decay, striking-distance push, AI-answer check, claim-drift, internal-linking, programmatic-SEO quality, content-calendar refill, paid-search query-mining, retargeting-hygiene, landing-page regression, community-engagement, competitor-watch, backlink-prospecting, directory-submission, feature-adoption, lead-capture-asset, email-deliverability, voice-of-customer) slot into the stage that matches their function as each channel becomes a priority.
## Rollout rules
@@ -67,3 +67,5 @@ The remaining catalog loops (content-decay, internal-linking, programmatic-SEO q
- **Foundation before growth.** Acquisition loops before solid tracking + retention = pouring water into a leaky bucket.
- **Cap the total.** If you're running more loops than you can review the output of, you have vanity loops. Retire the ones nobody acts on.
- **Re-audit quarterly.** Recalibrate thresholds, kill dead loops, promote the ones that consistently drive action.
+
+For a worked example of several loops composed into one channel operator, see `seo-operator.md`.
diff --git a/skills/marketing-loops/references/seo-operator.md b/skills/marketing-loops/references/seo-operator.md
new file mode 100644
index 0000000..442c17e
--- /dev/null
+++ b/skills/marketing-loops/references/seo-operator.md
@@ -0,0 +1,110 @@
+# The SEO Operator
+
+A recipe for handing an agent the whole SEO job for one site, run from the site's own repo on a schedule. It doesn't add new mechanics. It bundles the SEO loops from the catalog, gives them one shared memory, and sets the rules that keep an always-on agent useful instead of busy.
+
+Use it when the user wants SEO run for them rather than advice about SEO, and the agent can work in the repo that builds the marketing site. If the site lives in a hosted builder with no repo access, run the same loops in draft mode and hand the changes to a human.
+
+## Before the first run
+
+Settle five things with the owner and write them at the top of the operator brief (below):
+
+| Setting | What to capture |
+|---------|-----------------|
+| **Site** | The production URL |
+| **Conversion** | The one action that counts (trial, demo request, purchase). Traffic that never reaches it isn't the goal |
+| **Competitors** | 3–8 names, or permission to find them from the SERPs and AI answers |
+| **Ship mode** | "Open a PR for review" (default) or "merge when checks pass." Auto-merge needs the owner's explicit say-so; see `loop-guardrails.md` |
+| **Data access** | Which of Search Console, analytics, a rank or backlink tool, and an AI-visibility tool the agent can read |
+
+Then confirm the foundation: tracking works (the tracking-QA loop), and `.agents/product-marketing.md` exists. If it doesn't, build it with the `product-marketing` skill first. The operator reads product facts from there; it doesn't keep a second copy.
+
+## Shared memory
+
+Agents start every run with no memory, so everything the operator knows lives in files. Use the loop-state convention (`.agents/loops/`) for run logs, plus one folder for SEO working files:
+
+```
+.agents/seo/
+ brief.md # the five settings above + any owner preferences
+ claims.md # claims ledger: each customer-facing fact, its source of truth, the pages that state it
+ queries.csv # query map: query, intent, page, status (live / planned / gap), position, last checked
+ queue.md # work queue, ranked by expected conversions per hour of effort
+ prompts.md # AI prompt panel by awareness stage, with each run's results
+ snapshots/ # competitor sitemaps and key pages, for diffing
+ reports/ # one file per weekly report
+.agents/loops/seo-operator.log # one line per run, acted or not
+```
+
+Two rules make the query map work. **Every page owns one primary query**, and **every query has at most one page.** Two pages chasing the same query is a defect: merge them and redirect the weaker one. A query with no page is a gap and goes in the queue.
+
+Every fact in `claims.md` cites where it came from (a file in the product repo, the live pricing page). Facts from memory don't go in.
+
+## Run schedule
+
+| Every run (daily, or on each deploy) | Weekly | Monthly |
+|---|---|---|
+| Site health crawl | Striking-distance push | Rebuild the query map (keyword-gap) |
+| Claim drift | Ranking-drop watch | Content decay |
+| Ship the top item in the queue | Indexing check | Comparison-page review (`competitors` asset audit) |
+| Append to the run log | Internal linking | Backlink prospecting + directory submissions |
+| | AI-answer check | One free-tool candidate (`free-tools`) |
+| | Competitor watch (sitemap diff) | |
+| | Weekly report | |
+
+Each cell is a catalog loop or a step defined below; run it with that loop's self-check, state, and stop rules. Skip any loop whose data isn't connected and say so in the report.
+
+**Site health crawl.** Fetch the sitemap and request every URL. Flag non-200s, redirect chains, wrong canonicals, stray `noindex`, robots blocks, broken internal links, orphan pages, duplicate or missing titles and descriptions, and pages whose main content isn't in the server-rendered HTML. The `seo-audit` skill covers each check.
+
+**Indexing check.** Compare the sitemap to what Search Console reports as indexed. For each unindexed URL, find the cause (thin, duplicate, orphaned, blocked, canonicalized elsewhere) and fix that, not the symptom. If indexing can't be verified, report "not verified." Never report a page as indexed without checking.
+
+**Competitor watch.** Diff each competitor's sitemap against last week's snapshot to see what they published, then check which of those pages rank. Queue a response only where you can build a better page, not for every page they ship.
+
+## The first run
+
+1. **Learn the repo.** How routes and posts are created, and where titles, meta descriptions, canonicals, the sitemap, robots.txt, and structured data come from. Add pages the way the repo already does.
+2. **Learn the product** from the code and the live site until you can explain it better than the homepage does. Fill `claims.md`.
+3. **Build the query map** from buyers, not search volume: the problems they search, category terms, competitor names, "alternative" and "vs" queries, integrations, use cases, pre-purchase questions.
+4. **Crawl the site** and log every problem.
+5. **Write the queue**, then ship the top three fixes in the agreed ship mode, so the first run ends with real changes instead of a plan.
+
+## Operating rules
+
+- **The output is changes to the site.** A memo recommending a fix isn't progress; a PR with the fix is. Research earns its place only when it produces a change.
+- **Finish before starting.** Ship the change in progress before opening the next one. Half-done drafts don't rank.
+- **No guessing past missing data.** When a source isn't connected, note it in the report with what connecting it would make possible, then work with what exists. Don't fill gaps with estimates presented as data.
+- **The product is the source of truth.** When a page and the product disagree, change the page. Never change the product, its pricing, or its claims to match marketing.
+- **Escalate repeat failures.** If the same fix fails twice, stop, record what was tried, and raise it in the report.
+- **Check before shipping.** Run the repo's lint, type check, and build, then load each changed page and look at it.
+- **Don't break what earns.** Never delete, noindex, or redirect a page that gets traffic or has backlinks without the owner's approval.
+- **Drafts only for anything outward-facing.** Outreach emails, directory listings, social posts, and new accounts are drafted for the owner to send. See `loop-guardrails.md`.
+
+## The writing gate
+
+Before writing any new page, read the current top results for its query and write one sentence on what the new page will have that none of them do: original data, a real example from the product, a working tool, a clearer answer. If you can't write that sentence, don't write the page. This is the same information-gain test as in `content-strategy`.
+
+Then:
+- Answer the query in the first two sentences, then add detail.
+- Use what only this company has: product screenshots, real numbers, the owner's opinions. If none exist for a topic, ask for them in the report rather than writing around the gap.
+- Never invent a statistic, quote, customer, review, price, or benchmark.
+- Ship each new page with the checklist in `seo-audit`'s [rankings push reference](https://github.com/coreyhaines31/marketingskills/blob/main/skills/seo-audit/references/rankings-push.md): internal links from at least three existing pages, title, meta description, canonical, sitemap entry, structured data where it fits.
+- Draft one social post per new article, built on its single most useful point (`social`).
+
+## The weekly report
+
+One screen, written to `.agents/seo/reports/YYYY-MM-DD.md`:
+
+```markdown
+## SEO week of [date]
+**Shipped:** [each change, with its URL]
+**Moved:** [clicks, impressions, positions, conversions vs last week, each with its source]
+**Broken:** [open problems, worst first]
+**Next:** [top 3 queue items]
+**Need from you:** [at most 3 asks: data access, approvals, facts or screenshots only the owner has]
+```
+
+If a number can't be sourced, leave it out rather than estimating it.
+
+## When not to run an operator
+
+- **The site has almost no search demand to win** (a brand-new category, a tiny niche). Spend on positioning and distribution first.
+- **No one will review the PRs.** An operator in PR mode with no reviewer just builds a backlog of stale branches. Use a weekly manual run instead.
+- **Tracking is broken.** Fix it first. Every loop above reads from it.