/kai:kai-local-auditfrom Kai Marketing OS
Performs an evidence-first marketing audit of a third-party local business (cafe, roaster, shop, restaurant, hotel, clinic, home service) from a Google Maps or website link. Uses DataForSEO for rankings, map packs, search volume, listings, reviews, backlinks, AI-assistant answers, and site crawl.
Ships in Kai Marketing OS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Kai root note:
knowledge/,harness/, andscripts/paths in this skill live in the Kai install, not the user's project. Resolve them against the first ancestor directory of this SKILL.md that contains aknowledge/folder (the Kai plugin root,~/.claude/kai, or the kai-cmo-harness repo).MARKETING.md,memory/, and any output files live in the current project. If a referencedscripts/command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.
Audit someone else's local business the way its customers meet it: from their town, on their phones, in their language. Then turn every finding into a priced offer, an exact change and a dated week.
Load before starting: harness/references/local-audit-playbook.md (endpoints, gotchas, deliverable structure) and harness/references/audit-data-provenance.md.
sales_external.python -m scripts.audit.collect --url "<url>" --firm-name "<name>" --mode sales_external --workflow local-audit --out workspace/local-audit/<slug> before writing. The local-audit pulls below append to the same audit-data.json.audit-data.json or a dated direct check goes in _data-gaps.md.raw/, so re-runs and the dated re-measure are nearly free. Check balance first.Running the collector: the DataForSEO scripts ship in the Kai plugin (scripts/audit/, scripts/local_audit/, examples/local-audit-config.example.json) as well as the full harness. They are stdlib-only Python 3.10+. Run them as modules from the Kai root and point --out at an absolute path in the current project, e.g. OUT="$PWD/workspace/local-audit/<slug>"; cd "<kai-root>" && python -m scripts.local_audit.pulls balance --config "$OUT/config.json" --out "$OUT". Credentials come only from the environment: DATAFORSEO_LOGIN / DATAFORSEO_PASSWORD (or DATAFORSEO_AUTH_B64). Never print them or write them into the audit folder.
Without DataForSEO credentials, or if scripts/local_audit/ is missing from this install: run the public direct checks by hand (Phase 3), cite URLs and dates, put every located-ranking, volume, listing, review, backlink and AI-answer metric in _data-gaps.md, and say in the report header that located metrics need the full harness (github.com/cgallic/kai-cmo-harness).
Load the Revenue Lens section of harness/references/audit-data-provenance.md with the provenance rule.
llms.txt, AI crawler access and sitemap get a sourced pass/fail; they become findings only when a measured check fails.check. Any claim or funnel stage not verified in this run is labeled check with what would verify it, is not scored, and is mirrored in _data-gaps.md.knowledge/checklists/local-service-business-checklist.md, restaurant-food-bev-checklist.md, multi-location-checklist.md, plus cro-audit-checklist.md (Phone-Based Lead Capture) always.examples/local-audit-config.example.json to workspace/local-audit/<slug>/config.json.brand_pattern that matches only this business, 3–6 vantage towns with coordinates, home market and buyer market location codes, keywords by intent (brand, buy, category/wholesale, origins or specialties, tourism, local town terms, gifts/subscriptions, near-me) in every language the market uses, Maps queries, listing name casings, category groups, partner and competitor review targets (cid from Maps or listings), competitor domains, local media pattern, AI prompts per language, Lighthouse URLs, crawl targets.python -m scripts.local_audit.pulls balance.Run in this order (each is re-runnable; responses cache in raw/):
python -m scripts.local_audit.pulls volumes --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls discover --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls serp --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls maps --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls listings --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls reviews --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls crawl --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls backlinks --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls ai --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls lighthouse --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls reviews --collect --config <cfg> --out workspace/local-audit/<slug>
python -m scripts.local_audit.pulls crawl --collect --config <cfg> --out workspace/local-audit/<slug>
Then read local-audit/*.json summaries. Verify every business an AI assistant recommends and every competitor positioning claim against that business's own site before repeating it.
python -m scripts.local_audit.checks all --config <cfg> --out workspace/local-audit/<slug> — real-browser access (HTTP 406 to older phones and in-app browsers), asset weight and animated WebP, email SPF/DKIM/DMARC, store catalog and policy pages.workspace/local-audit/<slug>/raw/ and list them in _data-sources.md.Do not log in, follow, like, message, submit forms, or place orders.
python -m scripts.local_audit.matomo --config <cfg> --out workspace/local-audit/<slug> (Matomo; GA4 comes from scripts.audit.collect --ga4). Report the cleaned real-visit count, name every noise bucket, and list any host reporting in that is not the live site. Declare onboarding_connected for this section. Analytics cannot see visitors the site blocks, so it never overrides the access test.
Structure and section list: playbook §4. Required:
/kai-offer-builder doctrine; seven slots; prices built on the measured shipping and fees; every price marked as a proposal to check against costs.Write in the house voice: no announced lists, no dramatic fragments, no "not X but Y". Render as a single self-contained HTML page (/kai-html-presentation or the house strategy-page format). If it will be hosted, publish it privately on your own host: noindex,nofollow,noarchive, an unguessable URL (append a short random or hashed suffix to the slug), and no links to it from any public page.
Internal economics never appear on a customer-facing page. Your own rates, margins, costs of delivery, data spend, prospect scoring and sales notes stay in a separate internal file. The owner-facing report and its translated sibling carry only the business's own numbers and the proposed offer prices.
python scripts/quality_gates/audit_provenance_lint.py workspace/local-audit/<slug> --audit-dir
python scripts/quality_gates/banned_word_check.py workspace/local-audit/<slug>/report.html
Check the rendered page at 390 px and 1280 px (no overflow outside table wrappers, all images loaded, no duplicate ids or dead anchors). ECO work type audit-report (E3/C4/O1): the targets table is the O1 baseline, measured by re-running the same pulls on the stated date.
workspace/local-audit/<slug>/
├── config.json
├── audit-data.json, kai-data.json, _data-sources.md, _data-gaps.md
├── raw/ # API responses, direct-check artifacts, screenshots, shipping quotes
├── local-audit/ # per-pull summaries
├── report.html # owner-facing audit + offers + changes + 12-week plan
└── <lang>/report.html # translated sibling, when requested
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cgallic/kai-cmo-harness --plugin kai64 skills in this plugin
/design-taste-frontendAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check./kaiKai Marketing OS router - shows all 49 marketing skills organized by workflow, business stage, and frequency. Use when "kai help", "what marketing skills are available", "how do I use the harness", "marketing help", or any general marketing question where the right skill isn't obvious./kai-abmPlan and execute account-based marketing campaigns for enterprise targets — account selection, personalized outreach, multi-channel touch sequences, and deal acceleration. Use when "ABM", "account-based marketing", "enterprise marketing", "target accounts", "named accounts", "enterprise outreach", "key accounts", or any request to build personalized campaigns for specific companies./kai-ad-campaignPlan, evaluate, and produce paid ad campaigns across platforms (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Evaluate existing ads, map funnel stages (TOF/MOF/BOF), produce ad variants per platform with policy compliance, output ready-to-upload copy. Use when "ad campaign", "create ads", "run ads for", "paid campaign", "media plan", "launch ads", "Meta campaign", "Google Ads campaign", "multi-platform ads", "evaluate my ads", "how are my ads doing", "audit my ads", "ad performance", "analyze ads", or any request to evaluate existing or create new advertising./kai-ad-library-scanFind which ad patterns keep getting paid for in a category. Scans the Meta Ad Library (Apify or ScrapeCreators, under a spend cap), computes days running in code, has Jev tag each ad's hook, offer, angle, proof and format, drops off-category ads, measures advertiser-weighted 60+ day survival per tag, then scores LLM-written briefs against the surviving patterns and the brand file. Read-only. Use when "ad library", "competitor ads", "what ads are working in my category", "long-running ads", "winning ad patterns", "swipe file", "which hooks work", "score these ad briefs", or before writing a paid creative bench./kai-analyticsAnalytics and attribution setup — tracking plan, UTM conventions, dashboard design, and attribution model selection. Use when "analytics setup", "attribution", "tracking plan", "UTM", "marketing analytics", "dashboard setup", "measurement strategy", "how do I track", "which metrics", or any request to set up or improve marketing measurement and attribution.Other plugins' skills for the same job