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,' 'run my outbound,' 'AI SDR,
git clone https://github.com/coreyhaines31/marketingskills.git--- 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,' 'run my SEO,' 'SEO operator,' 'daily SEO agent,' 'run my outbound,' 'AI SDR,' 'reply triage,' '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.4.0 --- # Marketing Loops You help set up **marketing loops** — repeatable marketing workflows an AI agent runs on a cadence, each with a defined trigger, a bounded set of steps, a self-check, and an explicit stopping condition. A loop turns a marketing task you'd otherwise do manually (and forget) into an always-on system: the weekly SEO opportunity scan, the ad-fatigue refresh, the churn-signal watch. This is the operational cousin of `marketing-ideas`. Ideas tell you *what to try once*. Loops tell you *what to keep doing on a schedule* — and wire the other marketing skills together to do it. ## How to Use This Skill **Check for product marketing context first:** if `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md`), read it before asking questions. Use that context and only ask for what's missing. Then: 1. **Clarify the job.** What outcome should this loop protect or grow? (rankings, ad efficiency, activation, retention, revenue, referrals) 2. **Pick a loop** from the catalog in `references/loop-catalog.md` — or adapt the closest one. 3. **Tune the cadence** to how fast the underlying signal actually changes (see the cadence rule below). 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 them all at once). ## Anatomy of a Marketing Loop Every loop in the catalog has these nine parts. When you author or adapt one, fill all of them — a loop missing a stop condition, a self-check, or its state handling is a liability, not an asset. | Part | What it defines | |------|-----------------| | **Check cadence** | How often the loop *looks* (weekly / daily / on-trigger). Match it to signal speed. | | **Acts when** | The action condition — what must be true to actually *do* something, vs. just check and skip. Most runs of a good loop are "checked, nothing to do." | | **Purpose** | The one outcome this loop exists to move. | | **Skills used** | Which marketing skills the loop orchestrates each iteration. | | **Loop body** | The ordered steps run each iteration. | | **Self-check** | The verification done *before* acting — so the loop doesn't act on noise, seasonality, or a tracking bug. | | **State / idempotency** | What the loop remembers between runs: last-run marker, dedupe key, cooldown window, "already handled" set. Without this, loops double-act, re-nag the same people, or re-alert the same thing. Non-negotiable for anything scheduled — see `references/loop-state.md` for where state lives and the idempotency patterns. | | **Stop / bail-out** | When the loop skips, halts, escalates to a human, or disables itself — plus what it does on error. Every loop needs one, including heartbeat loops (their stop is "manual disable + error-halt," never "n/a"). | | **Output** | Where results go: a file, a PR, a staged draft, a notification, a report. | The **Check cadence / Acts when** split matters: a churn-signal loop might *check* daily but only *act* when an account crosses a risk threshold it hasn't been contacted about inside the cooldown window. Conflating the two produces loops that either miss the window or spam. ## The cadence rule Match cadence to how fast the signal actually changes — not to how often you'd *like* an update. | Signal | Realistic cadence | Why | |--------|-------------------|-----| | Rankings, backlinks, domain authority | Weekly | Move slowly; daily checks are noise | | Ad creative fatigue, CPA drift | Every 2–3 days | Meta/Google feedback loops are days, not hours | | Activation / onboarding funnel | Weekly | Needs enough signups to be significant | | Churn signals | Daily or on-trigger | Early intervention window is short | | Content / copy decay | Monthly | Traffic erosion is gradual | | Competitor changes | Weekly | Pricing/positioning shifts are infrequent but matter | | Social listening / mentions | Daily | Engagement windows close fast | Over-frequent loops are the most common failure mode: they generate busywork, burn budget, and train you to ignore the output. ## When NOT to loop Not everything should be automated on a cadence. Skip a loop — or add a mandatory human checkpoint — when: - **Strategy or creative direction is the real work.** Loops maintain and optimize; they don't set positioning, invent campaigns, or make brand calls. - **The action publishes or spends without review.** Auto-*drafting* an ad, email, or post is fine. Auto-*publishing* or auto-*shifting budget* needs a human checkpoint unless the user has explicitly authorized autonomous action and set guardrails (caps, allowlists). - **The signal is too sparse to be significant.** A weekly conversion-rate loop on 40 visitors/week is measuring noise. - **It's a vanity loop.** If nobody acts on the output, delete the loop. A loop that emails a dashboard nobody reads is worse than nothing. For any loop that sends, spends, publishes, or touches personal data, apply `references/loop-guardrails.md` — the two-tier action model (autonomous-safe vs. gated), spend/send caps, CAN-SPAM/GDPR/FTC/ToS rules, the always-escalate list, and a required kill switch. ## Scheduling a loop These loops are agent-agnostic — the *body* works in any agent. The *scheduling* depends on your environment: - **Claude Code** — native options: `/loop` (self-paced, until a condition), `ScheduleWakeup` (dynamic pacing that reacts to state), and `CronCreate` (fixed cron schedule). If you have a loop-mechanics skill such as `loopify` installed, use it to choose between them and tune delays; otherwise the guidance below is enough. - **Any agent + cron** — wrap the loop body as a scheduled prompt/script (`0 9 * * 1` for Mondays 9am, etc.). - **Manual cadence** — for high-judgment loops, "run this skill every Monday" is a perfectly good loop. The value is the repeatable *body*, not the automation. Default to time-of-day cron for review-style loops (weekly review, ranking watch) and dynamic pacing for monitor-until-threshold loops (churn watch, launch-day tracking). ## The Catalog `references/loop-catalog.md` holds the full library — 52 marketing loops with thorough funnel coverage: SEO & Content, Paid, Earned/Social/Partnerships, Outbound, 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. ## Running outbound: the outbound operator For an agent running day-to-day outbound (signal sweeps, staged outreach, reply triage, sending-domain health, weekly sequence retros), use `references/outbound-operator.md`. It sets the brief, approved claims, approval rules by tier, shared memory in `.agents/outbound/`, and a weekly report. ## Authoring a new loop When nothing in the catalog fits, author a new loop from `references/loop-template.md` — a copy-paste template with fill-in prompts, a worked before/after example, and a ship checklist. Fill all nine anatomy parts; if you can't answer the self-check, state/idempotency, and stop/bail-out concretely, the loop isn't ready to run. ## Anti-patterns - Looping without a stop condition → runaway spend or infinite churn. - Same cadence for every loop → most run too often and get ignored. - No self-check → the loop acts on noise, seasonality, or a tracking bug. - No human checkpoint on spend/publish actions. - Building 10 loops at once → start with one, prove it earns its keep, then add the next. ## Banned vocabulary Avoid: "set it and forget it," "fully autonomous marketing," "AI does everything," "10x on autopilot," "growth hacking machine." Loops are disciplined systems with checkpoints, not magic. Describe them honestly. ## Related Skills - **marketing-ideas** — one-off tactics and inspiration (what to try). Loops operationalize the ones worth repeating. - **ab-testing** — the experimentation loop specifically (hypothesis → test → promote winner → repeat). - **analytics** — most loops read from analytics to decide whether to act. - Individual channel skills (`ads`, `seo-audit`, `emails`, `social`, `churn-prevention`, `pricing`, `referrals`) — the loop bodies orchestrate these.
[{"step":"Define the loop's cadence and goal. Open your marketing tool (e.g., Ahrefs, HubSpot, or Google Sheets) and decide if this is a daily, weekly, or trigger-based loop. For example, set up a *weekly SEO performance loop* to track rankings and content gaps.","tip":"Start with a 2-week pilot to refine the loop before scaling. Use a tool like Zapier or Make to automate data collection if your primary tools lack APIs."},{"step":"Populate the prompt template with your specific actions, tools, and constraints. Replace [CADENCE] with 'weekly', [GOAL] with 'monitor SEO performance and refresh underperforming content', and fill in the rest with your actual workflow steps.","tip":"Prioritize actions that have the highest ROI. For example, focus on high-traffic keywords with ranking drops or ad sets with low CTR."},{"step":"Run the loop manually for 1–2 cycles to validate the output. Use the example output as a template to check if the AI’s suggestions align with your expectations. Adjust the prompt if the AI misses edge cases (e.g., ignoring seasonal trends).","tip":"Log all errors or gaps in the first run. Common issues include API rate limits or missing data sources—address these in the prompt’s error handling section."},{"step":"Automate the loop using your preferred automation tool (e.g., n8n, Zapier, or a custom Python script). Schedule the loop to run at your chosen cadence and configure notifications (e.g., Slack alerts or email summaries).","tip":"Test the automation with a 'dry run' mode first. For example, use a staging environment in HubSpot to ensure the loop doesn’t accidentally publish changes."},{"step":"Monitor and iterate. After 2–3 cycles, review the loop’s performance: Are the actions driving results? Are there new edge cases? Update the prompt template to include these learnings for future loops.","tip":"Use a shared doc (e.g., Notion or Google Docs) to track loop performance and share updates with your team. Include metrics like ranking changes, backlink growth, or ad CTR improvements."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/coreyhaines31/marketingskills/tree/main/skills/marketing-loopsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Set up a recurring [CADENCE] marketing loop to [GOAL]. The loop should: 1) [ACTION_1] using [TOOL/API], 2) [ACTION_2] based on [CRITERIA], 3) [ACTION_3] with [OUTPUT_FORMAT], and 4) [ACTION_4] to [NEXT_STEP]. Include error handling for [COMMON_FAILURES]. Start by analyzing the last [TIME_PERIOD] of data to establish baselines. Use [TEMPLATE] for outputs. [ADDITIONAL_CONSTRAINTS].
Weekly Marketing Performance Loop – Week of June 10, 2024 **1. Data Collection & Analysis** - Scraped top 10 Google rankings for target keywords: 'best CRM for startups', 'AI email marketing tools', 'SaaS pricing strategies' (via Ahrefs API). - Extracted 1,247 new backlinks from HARO responses (via Moz Link Explorer). - Identified 3 ranking drops (>5 positions) for 'AI email marketing tools' (was #3 → #8). - Detected 12 new competitor mentions in Reddit threads (via Brandwatch). **2. Action Triggers** - **Content Refresh**: Updated 'AI email marketing tools' blog post with new case studies (added 2,000 words; improved readability score from 65 → 82 via Hemingway Editor). Scheduled retweet thread with 3 new data points. - **Link Building**: Sent 15 personalized outreach emails to sites linking to outdated 'CRM for startups' guides (response rate: 22%). - **Ad Fatigue Check**: Paused underperforming Facebook ad set (CTR < 0.8%) and A/B tested new creative (winner: video vs. carousel). - **Churn Watch**: Flagged 8 high-value leads (last activity >30 days) for SDR outreach with personalized 'value check' email sequence. **3. Output & Documentation** - Generated performance dashboard (Google Sheets) with KPIs: rankings (↑1 position avg), backlinks (+47), ad CTR (↑0.3%), lead response time (↓2 days). - Drafted Slack summary for #marketing-alerts: 'Top mover: 'SaaS pricing strategies' ↑3 spots. Top risk: 'AI email marketing tools' dropped to #8. Action taken: refreshed content + retargeting.' **4. Next Steps** - Schedule follow-up for ad creative test results in 3 days. - Monitor rankings for 'AI email marketing tools' daily via Rank Tracker. - Queue next week's loop to prioritize 'SaaS pricing strategies' keyword cluster. **Error Handling** - API rate limits: Implemented exponential backoff for Ahrefs/Moz calls. - Data gaps: Filled missing rankings with manual Google searches (fallback). - Tool failures: Auto-switched to backup API (SerpAPI) if primary failed. Baseline established from May 1–31 data: Avg ranking position = 5.2, Backlinks = 890/month, Ad CTR = 1.1%.
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan