[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DSQZFSVY46PKYFVPSNZM4":3,"skill-same:01M75DSQZFSVY46PKYFVPSNZM4":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":6,"updatedAt":41,"install":42,"resources":54},"01M75DSQZFSVY46PKYFVPSNZM4","campaign-audit",null,"Audit a brand's existing live campaigns across every active channel — paid, organic, email, social, content, SEO. Produce a current-state inventory, quick-wins backlog, and red-flags list. Use during agency onboarding or before any \u002Fcampaign-plan refresh.","LongLeo287\u002FSEOSONA-OS","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M75CK60XQGYJY3YDGGFJQDYT",2,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fframeworks\u002Fdigital-marketing-pro\u002Fskills\u002Fcampaign-audit\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: campaign-audit\ndescription: \"Audit a brand's existing live campaigns across every active channel — paid, organic, email, social, content, SEO. Produce a current-state inventory, quick-wins backlog, and red-flags list. Use during agency onboarding or before any \u002Fcampaign-plan refresh.\"\nuser-invocable: true\ntriggers:\n  - audit existing campaigns\n  - campaign audit\n  - what's currently running for this brand\n  - inventory active marketing\n  - current-state campaign audit\n  - run first campaign audit\nallowed-tools: Read Bash Glob Grep\n---\n\n# \u002Fdigital-marketing-pro:campaign-audit — Cross-Channel Current-State Audit\n\nThis skill produces a single document describing **everything currently running for a brand across every channel** — what's live, what's spending, what's performing, what's leaking budget, what's quietly broken. It's the prerequisite for any informed `\u002Fdigital-marketing-pro:campaign-plan`, `\u002Fdigital-marketing-pro:performance-report`, or `\u002Fdigital-marketing-pro:competitor-analysis` refresh.\n\n## Context efficiency\n\nHeavy skill. **Grep before Read** any referenced file, then `Read` only matched ranges with `offset` + `limit`. List the brand's data dir (`~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002F`, or `$CLAUDE_PLUGIN_DATA\u002Fdigital-marketing-pro\u002Fbrands\u002F{slug}\u002F` when that env var is set) before opening files. On re-invocation mid-session, skip files already in context.\n\nUse this skill:\n\n- **During agency onboarding** (step 8 of the agency-operations workflow) — within the first week of taking over a new client, before you propose anything new.\n- **Before a quarterly campaign refresh** — establish the baseline you're going to argue against.\n- **After a brand acquisition or restructure** — when ownership of marketing changes hands and the new team needs a single source of truth for \"what are we actually running?\"\n- **After a long pause in account work** (vacation, paternity leave, contract gap) — to re-establish situational awareness without making changes.\n\n## Why this skill exists\n\nWhen agencies inherit a brand, the previous owner's \"campaign plan\" is usually a 40-tab Google Sheet, six dashboards on three platforms, and a list of API integrations nobody remembers wiring up. Without an explicit audit, the new team either (a) silently lets things keep running while they ramp up — and inherits the mistakes, or (b) tears it down and rebuilds — and loses the institutional knowledge of what was actually working.\n\nThis skill produces the third option: a single audit document that captures the live state cleanly, scores each item, and feeds directly into the next planning conversation. It is **read-only** — it never pauses, modifies, or kills a campaign.\n\n## What gets audited\n\n| Channel | What's inventoried | What's scored |\n|---|---|---|\n| **Paid search** | Active Google Ads \u002F Microsoft Ads campaigns, ad groups, keywords, daily budgets, last-modified dates | Spend efficiency, quality scores, conversion-tracking health, negative-keyword coverage, dead ad groups still spending |\n| **Paid social** | Active Meta \u002F LinkedIn \u002F TikTok \u002F Pinterest \u002F X campaigns + audiences + creatives | Frequency, learning-phase status, creative fatigue, audience overlap, attribution-window correctness |\n| **Retail media** | Amazon Ads, Walmart Connect, Instacart Ads accounts and campaigns | ACOS, branded vs non-branded split, share-of-voice for top SKUs |\n| **Email** | Active automations \u002F journeys (Klaviyo, HubSpot, ActiveCampaign, Brevo, Marketo), send lists, deliverability metrics | Open rates, sender reputation, list hygiene age, GDPR\u002FDPDPA consent provenance for every list, broken templates |\n| **Organic social** | Posting cadence per platform (last 90 days), engagement rate, follower trend | Cadence consistency, AI-disclosure compliance, locale coverage |\n| **Content \u002F SEO** | Pages publishing in last 90 days, ranking keywords (top 50), schema markup state, internal-link density | Indexation health (GSC), Core Web Vitals, AI-Overview citation rate, technical-debt items |\n| **AEO \u002F GEO** | Brand mention rate across Google AI Mode, Perplexity, ChatGPT search, Claude search, Copilot, Gemini App | Mention rate vs top 5 competitors, citation share, recommendation share |\n| **CRM + automation** | Live workflows in HubSpot \u002F Salesforce \u002F Pipedream \u002F Zapier \u002F Make, segments in use, lifecycle stage mappings | Orphaned workflows (no recent execution), broken connectors, duplicate-contact rate |\n| **Web analytics** | GA4 properties + GSC properties wired to which domains, conversion events configured, consent-mode state | Tag-firing health, event-naming consistency, attribution model selected |\n| **Influencer \u002F PR** | Active creator deals (live + paused), contracted deliverables, FTC-disclosure compliance | Cost per engagement, creator-audience-authenticity check, disclosure completeness |\n| **Compliance posture** | Active brand-level claims, EU AI Act Article 50 disclosure state on AI content, C2PA signing state, cookie\u002Fconsent banner version | Each regulated claim mapped to a primary source; missing disclosures escalated |\n\nThe audit also captures **what's NOT happening** that should be — channels with zero activity, missing tracking pixels, expired API tokens, abandoned automations.\n\n## Process\n\n### Step 0 — Prerequisites\n\nThis skill assumes:\n\n1. The brand profile exists and `\u002Fdigital-marketing-pro:validate-profile --brand {brand}` returns `passed` or `passed_with_warnings`. If it returns `blocked`, refuse and tell the user to fix the blockers first — auditing on a broken profile produces a corrupt baseline.\n2. Connector credentials for the channels in scope are configured (Google Ads, Meta Business, LinkedIn Campaign Manager, the email platform, the CRM, GA4, GSC, etc.). Missing connectors degrade the audit gracefully — they don't block it; the audit just notes \"{channel} skipped — connector not configured\" in the relevant section.\n\n### Step 1 — Confirm the active brand and audit scope\n\nIf `--brand \u003Cslug>` was supplied, use it. Otherwise use the active brand. If neither, error: `\"--brand \u003Cslug> required, or run \u002Fdigital-marketing-pro:switch-brand first.\"`\n\nIf `--channels \u003Clist>` was supplied (e.g. `paid_search,email,seo`), restrict to those. Otherwise audit every channel for which a connector is configured.\n\nIf `--quick` was supplied, run only the channel-level inventory pass (skip the historical performance pull and the AEO\u002FGEO check) — useful for a fast \"what's live\" snapshot.\n\n### Step 2 — Inventory each channel\n\nFor each in-scope channel, call the relevant data-pull script with `--read-only`. Examples:\n\n```bash\n# Paid search\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel google_ads --action inventory --read-only\n\n# Paid social\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel meta_ads --action inventory --read-only\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel linkedin_ads --action inventory --read-only\n\n# Email\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel email --action automations --read-only\n\n# Organic + SEO\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fseo-executor.py\" --brand \"{brand}\" --action audit-current\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel organic_social --action cadence\n\n# AEO \u002F GEO (skip for a fast audit)\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fai-visibility-checker.py\" --brand \"{brand}\" \\\n    --mode api --competitors \"{auto-from-profile or --competitors arg}\"\n\n# CRM + automation health\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fcrm-sync.py\" --brand \"{brand}\" --action audit-workflows\n\n# Web analytics health\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel ga4_health --action diagnostic\n```\n\nIf a script returns `{\"error\": \"...\"}` instead of inventory, mark that channel as `skipped: \u003Creason>` and continue. **Never fail the whole audit because one channel is broken** — the broken channel IS a finding.\n\n### Step 3 — Score and triage\n\nFor each item discovered, apply the **scoring rubric** (4-tier, conservative):\n\n| Tier | Meaning | Examples |\n|---|---|---|\n| **🟢 Healthy** | Performing within benchmark, no action needed | Email automation with >25% open rate; Google Ads campaign with QS ≥ 7; SEO page in top 10 for primary keyword |\n| **🟡 Quick win** | Small fix unlocks meaningful gain (\u003C2hr effort) | Ad copy missing a sitelink extension; email template with broken merge tag; landing page with no schema markup |\n| **🟠 Strategic gap** | Needs a real intervention (workshop, asset, decision) | No active retargeting audience; no negative-keyword list; no AEO disclosure on AI-generated content |\n| **🔴 Red flag \u002F leak** | Actively losing money OR creating compliance risk | Campaign spending with conversion tracking broken; email list with no GDPR provenance; CRM workflow firing on duplicate contacts |\n\nA red flag is anything that meets ANY of: (a) measurable monthly waste > $X (default $500, override with `--red-flag-spend-threshold`), (b) regulatory violation (missing consent, missing AI disclosure, fabricated claim), (c) brand-safety risk (active campaign on retired product, contradiction with another live campaign).\n\n### Step 4 — Compose the audit document\n\nWrite the audit to `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudits\u002Fcampaign-audit-{YYYY-MM-DD}.md` AND publish a user-visible copy to `~\u002FDocuments\u002FDigitalMarketingPro\u002F{brand}\u002Faudits\u002F{YYYY-MM-DD}-campaign-audit.md` (the dual-copy pattern). The document structure:\n\n```markdown\n# Current-State Campaign Audit — {brand_name}\n\n**Run date:** {YYYY-MM-DD}\n**Auditor:** \u002Fdigital-marketing-pro:campaign-audit\n**Active brand profile:** {profile_version_or_last_modified}\n**Channels in scope:** {list}\n**Channels skipped:** {list with reason}\n\n---\n\n## 1. Executive Summary\n\n- **{N} active campaigns** across {M} channels\n- **Estimated monthly spend (managed):** {currency} {amount}\n- **Healthy items:** {count} · **Quick wins:** {count} · **Strategic gaps:** {count} · **🔴 Red flags:** {count}\n- **Top three red flags** — bulleted, with the specific cost or risk\n- **Recommended next conversation** — usually one of: budget reallocation, conversion-tracking fix, compliance remediation, channel-mix shift\n\n## 2. By channel\n\n### 2.1 Paid search\n| Account | Campaign | Status | Daily budget | Last modified | Spend (30d) | Conversions (30d) | Triage |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ACTIVE | $X | YYYY-MM-DD | $Y | N | 🟡 Add sitelink extensions |\n\n[Repeat for each channel section. Include the inventory table, the scoring summary, and the per-item triage.]\n\n## 3. Cross-channel observations\n- Attribution model in use (and which channels override it)\n- Cross-channel audience overlap (Meta retargeting includes Google Ads converters?)\n- Cadence collisions (email send + LinkedIn organic + paid social all hitting the same audience the same morning?)\n- Funnel gaps (channel produces leads but no nurture sequence wired up)\n\n## 4. Compliance posture\n- EU AI Act Article 50 disclosure state on AI content\n- C2PA signing state for AI images\u002Fvideo distributed in EU markets\n- Consent-mode (cookie banner) version + last consent rate\n- Regulated-industry claim register (linked to primary sources)\n\n## 5. AEO \u002F GEO snapshot\nMention rate vs top 5 competitors across Google AI Mode, Perplexity, ChatGPT search, Claude search, Copilot, Gemini App. Citation share, recommendation share, trend vs last audit.\n\n## 6. Quick-wins backlog (do these this week)\nBulleted list. Each item: action · channel · effort · expected impact · who owns it.\n\n## 7. Strategic gaps (queue for next planning conversation)\nBulleted list. Each item: gap · why it matters · what would close it · estimated investment.\n\n## 8. 🔴 Red flags (escalate before continuing routine work)\nBulleted list. Each item: the specific issue · cost or risk in concrete numbers · the literal command or platform action to remediate.\n\n## 9. Channels NOT running that probably should be\nBulleted list. Each item: channel · why it's missing · what minimum viable activation looks like.\n\n---\n\n**Next steps:**\n- Take the quick-wins backlog into a 30-min triage with the account lead.\n- Bring the strategic gaps to the next `\u002Fdigital-marketing-pro:campaign-plan` conversation.\n- Resolve every 🔴 red flag before the next routine work cycle.\n```\n\n### Step 5 — Update the brand's audit history\n\nAppend a short entry to `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudit-history.json`:\n\n```json\n{\n  \"audits\": [\n    {\n      \"type\": \"campaign-audit\",\n      \"date\": \"{YYYY-MM-DD}\",\n      \"channels_audited\": [\"paid_search\", \"email\", \"seo\", \"...\"],\n      \"channels_skipped\": [{\"channel\": \"linkedin_ads\", \"reason\": \"connector_unauthenticated\"}],\n      \"healthy_count\": N, \"quickwin_count\": N, \"gap_count\": N, \"redflag_count\": N,\n      \"report_path\": \"{tracking_path}\",\n      \"published_path\": \"{user_visible_path}\"\n    }\n  ]\n}\n```\n\n### Step 6 — Surface the report to the user\n\nIn the conversation, print:\n\n```\n✅ Campaign audit complete for {brand_name}.\n\n   Channels in scope: {list}\n   {N} healthy · {N} quick wins · {N} strategic gaps · {N} 🔴 red flags\n\n   📂 Report saved to:\n      {published_path}\n\n   Top 3 red flags:\n   1. {item}\n   2. {item}\n   3. {item}\n\n   Next: walk the quick-wins backlog in a 30-min triage, or run\n   \u002Fdigital-marketing-pro:performance-check for a metrics-only snapshot,\n   or \u002Fdigital-marketing-pro:campaign-plan to start the next planning cycle.\n```\n\n## Behaviour rules\n\n1. **Read-only across every channel.** No campaign is paused, edited, or deleted. No email is sent. No CRM record is touched. This is an inventory + scoring pass.\n2. **One channel failure ≠ full audit failure.** A failing connector becomes a finding in the \"Channels skipped\" list, not an exception that aborts the whole skill.\n3. **Concrete numbers, not adjectives.** \"Wasting $X\u002Fmonth\" beats \"spending inefficiently.\" If a number is unavailable, say \"unknown — {connector} didn't return it\" instead of fabricating one.\n4. **Quote primary sources for compliance findings.** Never cite Wikipedia, blog posts, or LLM output as the source for \"X regulation requires Y.\" Use the entries in `skills\u002Fcontext-engine\u002Fcompliance-rules.md`, and if a jurisdiction isn't covered there, mark the finding as `compliance_basis: unverified` rather than guessing.\n5. **Dual-copy the report.** Internal (tracking) under `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudits\u002F`; user-visible under `~\u002FDocuments\u002FDigitalMarketingPro\u002F{brand}\u002Faudits\u002F` (or `$DIGITAL_MARKETING_PRO_PUBLISH_DIR` if set). The dual-copy pattern exists so the user can find the file without spelunking dotfolders.\n\n## Arguments\n\n```\n\u002Fdigital-marketing-pro:campaign-audit [--brand \u003Cslug>] [--channels \u003Clist>] [--quick]\n    [--competitors \u003Clist>] [--red-flag-spend-threshold \u003Camount>] [--json]\n```\n\n- `--brand \u003Cslug>` — brand to audit (else uses active brand)\n- `--channels \u003Clist>` — comma-separated subset to audit (else every channel with a connector configured)\n- `--quick` — channel inventory only; skip historical pull + AEO\u002FGEO check\n- `--competitors \u003Clist>` — explicit competitor list for the AEO\u002FGEO section (else taken from brand profile)\n- `--red-flag-spend-threshold \u003Camount>` — override the default $500\u002Fmonth threshold for flagging waste as 🔴\n- `--json` — emit a machine-readable JSON summary in addition to the markdown report\n\n## Related skills + commands\n\n- [`validate-profile`](..\u002Fvalidate-profile\u002FSKILL.md) — prerequisite check (run first)\n- [`campaign-plan`](..\u002Fcampaign-plan\u002FSKILL.md) — what to do with the strategic gaps surfaced\n- [`launch-campaign`](..\u002Flaunch-campaign\u002FSKILL.md) — what to do once the plan is approved\n- [`performance-check`](..\u002Fperformance-check\u002FSKILL.md) — lighter metrics-only snapshot\n- [`competitor-analysis`](..\u002Fcompetitor-analysis\u002FSKILL.md) — pairs naturally with the AEO\u002FGEO section\n- [`aeo-audit`](..\u002Faeo-audit\u002FSKILL.md) — deeper AI-engine visibility audit if Section 5 raises concerns\n- `${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py` — underlying data pulls\n","# \u002Fdigital-marketing-pro:campaign-audit — Cross-Channel Current-State Audit\n\nThis skill produces a single document describing **everything currently running for a brand across every channel** — what's live, what's spending, what's performing, what's leaking budget, what's quietly broken. It's the prerequisite for any informed `\u002Fdigital-marketing-pro:campaign-plan`, `\u002Fdigital-marketing-pro:performance-report`, or `\u002Fdigital-marketing-pro:competitor-analysis` refresh.\n\n## Context efficiency\n\nHeavy skill. **Grep before Read** any referenced file, then `Read` only matched ranges with `offset` + `limit`. List the brand's data dir (`~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002F`, or `$CLAUDE_PLUGIN_DATA\u002Fdigital-marketing-pro\u002Fbrands\u002F{slug}\u002F` when that env var is set) before opening files. On re-invocation mid-session, skip files already in context.\n\nUse this skill:\n\n- **During agency onboarding** (step 8 of the agency-operations workflow) — within the first week of taking over a new client, before you propose anything new.\n- **Before a quarterly campaign refresh** — establish the baseline you're going to argue against.\n- **After a brand acquisition or restructure** — when ownership of marketing changes hands and the new team needs a single source of truth for \"what are we actually running?\"\n- **After a long pause in account work** (vacation, paternity leave, contract gap) — to re-establish situational awareness without making changes.\n\n## Why this skill exists\n\nWhen agencies inherit a brand, the previous owner's \"campaign plan\" is usually a 40-tab Google Sheet, six dashboards on three platforms, and a list of API integrations nobody remembers wiring up. Without an explicit audit, the new team either (a) silently lets things keep running while they ramp up — and inherits the mistakes, or (b) tears it down and rebuilds — and loses the institutional knowledge of what was actually working.\n\nThis skill produces the third option: a single audit document that captures the live state cleanly, scores each item, and feeds directly into the next planning conversation. It is **read-only** — it never pauses, modifies, or kills a campaign.\n\n## What gets audited\n\n| Channel | What's inventoried | What's scored |\n|---|---|---|\n| **Paid search** | Active Google Ads \u002F Microsoft Ads campaigns, ad groups, keywords, daily budgets, last-modified dates | Spend efficiency, quality scores, conversion-tracking health, negative-keyword coverage, dead ad groups still spending |\n| **Paid social** | Active Meta \u002F LinkedIn \u002F TikTok \u002F Pinterest \u002F X campaigns + audiences + creatives | Frequency, learning-phase status, creative fatigue, audience overlap, attribution-window correctness |\n| **Retail media** | Amazon Ads, Walmart Connect, Instacart Ads accounts and campaigns | ACOS, branded vs non-branded split, share-of-voice for top SKUs |\n| **Email** | Active automations \u002F journeys (Klaviyo, HubSpot, ActiveCampaign, Brevo, Marketo), send lists, deliverability metrics | Open rates, sender reputation, list hygiene age, GDPR\u002FDPDPA consent provenance for every list, broken templates |\n| **Organic social** | Posting cadence per platform (last 90 days), engagement rate, follower trend | Cadence consistency, AI-disclosure compliance, locale coverage |\n| **Content \u002F SEO** | Pages publishing in last 90 days, ranking keywords (top 50), schema markup state, internal-link density | Indexation health (GSC), Core Web Vitals, AI-Overview citation rate, technical-debt items |\n| **AEO \u002F GEO** | Brand mention rate across Google AI Mode, Perplexity, ChatGPT search, Claude search, Copilot, Gemini App | Mention rate vs top 5 competitors, citation share, recommendation share |\n| **CRM + automation** | Live workflows in HubSpot \u002F Salesforce \u002F Pipedream \u002F Zapier \u002F Make, segments in use, lifecycle stage mappings | Orphaned workflows (no recent execution), broken connectors, duplicate-contact rate |\n| **Web analytics** | GA4 properties + GSC properties wired to which domains, conversion events configured, consent-mode state | Tag-firing health, event-naming consistency, attribution model selected |\n| **Influencer \u002F PR** | Active creator deals (live + paused), contracted deliverables, FTC-disclosure compliance | Cost per engagement, creator-audience-authenticity check, disclosure completeness |\n| **Compliance posture** | Active brand-level claims, EU AI Act Article 50 disclosure state on AI content, C2PA signing state, cookie\u002Fconsent banner version | Each regulated claim mapped to a primary source; missing disclosures escalated |\n\nThe audit also captures **what's NOT happening** that should be — channels with zero activity, missing tracking pixels, expired API tokens, abandoned automations.\n\n## Process\n\n### Step 0 — Prerequisites\n\nThis skill assumes:\n\n1. The brand profile exists and `\u002Fdigital-marketing-pro:validate-profile --brand {brand}` returns `passed` or `passed_with_warnings`. If it returns `blocked`, refuse and tell the user to fix the blockers first — auditing on a broken profile produces a corrupt baseline.\n2. Connector credentials for the channels in scope are configured (Google Ads, Meta Business, LinkedIn Campaign Manager, the email platform, the CRM, GA4, GSC, etc.). Missing connectors degrade the audit gracefully — they don't block it; the audit just notes \"{channel} skipped — connector not configured\" in the relevant section.\n\n### Step 1 — Confirm the active brand and audit scope\n\nIf `--brand \u003Cslug>` was supplied, use it. Otherwise use the active brand. If neither, error: `\"--brand \u003Cslug> required, or run \u002Fdigital-marketing-pro:switch-brand first.\"`\n\nIf `--channels \u003Clist>` was supplied (e.g. `paid_search,email,seo`), restrict to those. Otherwise audit every channel for which a connector is configured.\n\nIf `--quick` was supplied, run only the channel-level inventory pass (skip the historical performance pull and the AEO\u002FGEO check) — useful for a fast \"what's live\" snapshot.\n\n### Step 2 — Inventory each channel\n\nFor each in-scope channel, call the relevant data-pull script with `--read-only`. Examples:\n\n```bash\n# Paid search\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel google_ads --action inventory --read-only\n\n# Paid social\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel meta_ads --action inventory --read-only\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel linkedin_ads --action inventory --read-only\n\n# Email\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel email --action automations --read-only\n\n# Organic + SEO\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fseo-executor.py\" --brand \"{brand}\" --action audit-current\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel organic_social --action cadence\n\n# AEO \u002F GEO (skip for a fast audit)\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fai-visibility-checker.py\" --brand \"{brand}\" \\\n    --mode api --competitors \"{auto-from-profile or --competitors arg}\"\n\n# CRM + automation health\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fcrm-sync.py\" --brand \"{brand}\" --action audit-workflows\n\n# Web analytics health\npython \"${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py\" --brand \"{brand}\" \\\n    --channel ga4_health --action diagnostic\n```\n\nIf a script returns `{\"error\": \"...\"}` instead of inventory, mark that channel as `skipped: \u003Creason>` and continue. **Never fail the whole audit because one channel is broken** — the broken channel IS a finding.\n\n### Step 3 — Score and triage\n\nFor each item discovered, apply the **scoring rubric** (4-tier, conservative):\n\n| Tier | Meaning | Examples |\n|---|---|---|\n| **🟢 Healthy** | Performing within benchmark, no action needed | Email automation with >25% open rate; Google Ads campaign with QS ≥ 7; SEO page in top 10 for primary keyword |\n| **🟡 Quick win** | Small fix unlocks meaningful gain (\u003C2hr effort) | Ad copy missing a sitelink extension; email template with broken merge tag; landing page with no schema markup |\n| **🟠 Strategic gap** | Needs a real intervention (workshop, asset, decision) | No active retargeting audience; no negative-keyword list; no AEO disclosure on AI-generated content |\n| **🔴 Red flag \u002F leak** | Actively losing money OR creating compliance risk | Campaign spending with conversion tracking broken; email list with no GDPR provenance; CRM workflow firing on duplicate contacts |\n\nA red flag is anything that meets ANY of: (a) measurable monthly waste > $X (default $500, override with `--red-flag-spend-threshold`), (b) regulatory violation (missing consent, missing AI disclosure, fabricated claim), (c) brand-safety risk (active campaign on retired product, contradiction with another live campaign).\n\n### Step 4 — Compose the audit document\n\nWrite the audit to `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudits\u002Fcampaign-audit-{YYYY-MM-DD}.md` AND publish a user-visible copy to `~\u002FDocuments\u002FDigitalMarketingPro\u002F{brand}\u002Faudits\u002F{YYYY-MM-DD}-campaign-audit.md` (the dual-copy pattern). The document structure:\n\n```markdown\n# Current-State Campaign Audit — {brand_name}\n\n**Run date:** {YYYY-MM-DD}\n**Auditor:** \u002Fdigital-marketing-pro:campaign-audit\n**Active brand profile:** {profile_version_or_last_modified}\n**Channels in scope:** {list}\n**Channels skipped:** {list with reason}\n\n---\n\n## 1. Executive Summary\n\n- **{N} active campaigns** across {M} channels\n- **Estimated monthly spend (managed):** {currency} {amount}\n- **Healthy items:** {count} · **Quick wins:** {count} · **Strategic gaps:** {count} · **🔴 Red flags:** {count}\n- **Top three red flags** — bulleted, with the specific cost or risk\n- **Recommended next conversation** — usually one of: budget reallocation, conversion-tracking fix, compliance remediation, channel-mix shift\n\n## 2. By channel\n\n### 2.1 Paid search\n| Account | Campaign | Status | Daily budget | Last modified | Spend (30d) | Conversions (30d) | Triage |\n|---|---|---|---|---|---|---|---|\n| ... | ... | ACTIVE | $X | YYYY-MM-DD | $Y | N | 🟡 Add sitelink extensions |\n\n[Repeat for each channel section. Include the inventory table, the scoring summary, and the per-item triage.]\n\n## 3. Cross-channel observations\n- Attribution model in use (and which channels override it)\n- Cross-channel audience overlap (Meta retargeting includes Google Ads converters?)\n- Cadence collisions (email send + LinkedIn organic + paid social all hitting the same audience the same morning?)\n- Funnel gaps (channel produces leads but no nurture sequence wired up)\n\n## 4. Compliance posture\n- EU AI Act Article 50 disclosure state on AI content\n- C2PA signing state for AI images\u002Fvideo distributed in EU markets\n- Consent-mode (cookie banner) version + last consent rate\n- Regulated-industry claim register (linked to primary sources)\n\n## 5. AEO \u002F GEO snapshot\nMention rate vs top 5 competitors across Google AI Mode, Perplexity, ChatGPT search, Claude search, Copilot, Gemini App. Citation share, recommendation share, trend vs last audit.\n\n## 6. Quick-wins backlog (do these this week)\nBulleted list. Each item: action · channel · effort · expected impact · who owns it.\n\n## 7. Strategic gaps (queue for next planning conversation)\nBulleted list. Each item: gap · why it matters · what would close it · estimated investment.\n\n## 8. 🔴 Red flags (escalate before continuing routine work)\nBulleted list. Each item: the specific issue · cost or risk in concrete numbers · the literal command or platform action to remediate.\n\n## 9. Channels NOT running that probably should be\nBulleted list. Each item: channel · why it's missing · what minimum viable activation looks like.\n\n---\n\n**Next steps:**\n- Take the quick-wins backlog into a 30-min triage with the account lead.\n- Bring the strategic gaps to the next `\u002Fdigital-marketing-pro:campaign-plan` conversation.\n- Resolve every 🔴 red flag before the next routine work cycle.\n```\n\n### Step 5 — Update the brand's audit history\n\nAppend a short entry to `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudit-history.json`:\n\n```json\n{\n  \"audits\": [\n    {\n      \"type\": \"campaign-audit\",\n      \"date\": \"{YYYY-MM-DD}\",\n      \"channels_audited\": [\"paid_search\", \"email\", \"seo\", \"...\"],\n      \"channels_skipped\": [{\"channel\": \"linkedin_ads\", \"reason\": \"connector_unauthenticated\"}],\n      \"healthy_count\": N, \"quickwin_count\": N, \"gap_count\": N, \"redflag_count\": N,\n      \"report_path\": \"{tracking_path}\",\n      \"published_path\": \"{user_visible_path}\"\n    }\n  ]\n}\n```\n\n### Step 6 — Surface the report to the user\n\nIn the conversation, print:\n\n```\n✅ Campaign audit complete for {brand_name}.\n\n   Channels in scope: {list}\n   {N} healthy · {N} quick wins · {N} strategic gaps · {N} 🔴 red flags\n\n   📂 Report saved to:\n      {published_path}\n\n   Top 3 red flags:\n   1. {item}\n   2. {item}\n   3. {item}\n\n   Next: walk the quick-wins backlog in a 30-min triage, or run\n   \u002Fdigital-marketing-pro:performance-check for a metrics-only snapshot,\n   or \u002Fdigital-marketing-pro:campaign-plan to start the next planning cycle.\n```\n\n## Behaviour rules\n\n1. **Read-only across every channel.** No campaign is paused, edited, or deleted. No email is sent. No CRM record is touched. This is an inventory + scoring pass.\n2. **One channel failure ≠ full audit failure.** A failing connector becomes a finding in the \"Channels skipped\" list, not an exception that aborts the whole skill.\n3. **Concrete numbers, not adjectives.** \"Wasting $X\u002Fmonth\" beats \"spending inefficiently.\" If a number is unavailable, say \"unknown — {connector} didn't return it\" instead of fabricating one.\n4. **Quote primary sources for compliance findings.** Never cite Wikipedia, blog posts, or LLM output as the source for \"X regulation requires Y.\" Use the entries in `skills\u002Fcontext-engine\u002Fcompliance-rules.md`, and if a jurisdiction isn't covered there, mark the finding as `compliance_basis: unverified` rather than guessing.\n5. **Dual-copy the report.** Internal (tracking) under `~\u002F.claude-marketing\u002Fbrands\u002F{slug}\u002Faudits\u002F`; user-visible under `~\u002FDocuments\u002FDigitalMarketingPro\u002F{brand}\u002Faudits\u002F` (or `$DIGITAL_MARKETING_PRO_PUBLISH_DIR` if set). The dual-copy pattern exists so the user can find the file without spelunking dotfolders.\n\n## Arguments\n\n```\n\u002Fdigital-marketing-pro:campaign-audit [--brand \u003Cslug>] [--channels \u003Clist>] [--quick]\n    [--competitors \u003Clist>] [--red-flag-spend-threshold \u003Camount>] [--json]\n```\n\n- `--brand \u003Cslug>` — brand to audit (else uses active brand)\n- `--channels \u003Clist>` — comma-separated subset to audit (else every channel with a connector configured)\n- `--quick` — channel inventory only; skip historical pull + AEO\u002FGEO check\n- `--competitors \u003Clist>` — explicit competitor list for the AEO\u002FGEO section (else taken from brand profile)\n- `--red-flag-spend-threshold \u003Camount>` — override the default $500\u002Fmonth threshold for flagging waste as 🔴\n- `--json` — emit a machine-readable JSON summary in addition to the markdown report\n\n## Related skills + commands\n\n- [`validate-profile`](..\u002Fvalidate-profile\u002FSKILL.md) — prerequisite check (run first)\n- [`campaign-plan`](..\u002Fcampaign-plan\u002FSKILL.md) — what to do with the strategic gaps surfaced\n- [`launch-campaign`](..\u002Flaunch-campaign\u002FSKILL.md) — what to do once the plan is approved\n- [`performance-check`](..\u002Fperformance-check\u002FSKILL.md) — lighter metrics-only snapshot\n- [`competitor-analysis`](..\u002Fcompetitor-analysis\u002FSKILL.md) — pairs naturally with the AEO\u002FGEO section\n- [`aeo-audit`](..\u002Faeo-audit\u002FSKILL.md) — deeper AI-engine visibility audit if Section 5 raises concerns\n- `${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fperformance-monitor.py` — underlying data pulls\n",{"name":5,"triggers":24,"description":7,"allowed-tools":31,"user-invocable":32},[25,26,27,28,29,30],"audit existing campaigns","campaign audit","what's currently running for this brand","inventory active marketing","current-state campaign audit","run first campaign audit","Read Bash Glob Grep",true,"main","4fd50b1281e8cd978866b6b4556242605cabf708","2_KNOWLEDGE\u002Fframeworks\u002Fdigital-marketing-pro\u002Fskills\u002Fcampaign-audit",1,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS","https:\u002F\u002Fseosona-os.vercel.app","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-10-09 15:14:13",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":32},[44,47,50],{"tool":45,"command":46},"npx","npx skills add LongLeo287\u002FSEOSONA-OS --skill campaign-audit",{"tool":48,"command":49},"bunx","bunx skills add LongLeo287\u002FSEOSONA-OS --skill campaign-audit",{"tool":51,"command":52},"pnpm","pnpm dlx skills add LongLeo287\u002FSEOSONA-OS --skill campaign-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fframeworks\u002Fdigital-marketing-pro\u002Fskills\u002Fcampaign-audit\u002FSKILL.md",[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M75F0T3V3W7JQQ05X26NNN2T","web_crawler_katana","High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fweb_crawler_katana\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75F0Q2QJXDGAFKC7D84GT88","server_log_analyzer","Analyzes Nginx\u002FApache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fserver_log_analyzer\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M75F0KZP6D8R8XPN2YT35BAJ","schema_markup_generator","Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fschema_markup_generator\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M75F0G3KX4Y86AXJXTKXVEVA","internal_linking_optimizer","Analyzes and optimizes the internal link graph of a website for SEO authority distribution.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Finternal_linking_optimizer\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M75F0CS1RYX4YPJC7N6RAAQJ","google_trends_analyzer","Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fgoogle_trends_analyzer\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M75F0ASMQ1GKPFX82D19SRTN","brand_context_analyzer","Tracks brand mentions, sentiment, and online reputation across web sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fbrand_context_analyzer\u002FSKILL.md",[],[]]