Kai Local Audit logo

Kai Local Audit

Community
cgallic
kai-local-audit

Evidence-first marketing audit of a third-party local business (café, roaster, shop, restaurant, hotel, clinic, home service) from a Google Maps, share.google or website link — located DataForSEO rankings, map packs, search volume and seasonality, listings, reviews, backlinks, AI-assistant answers and a site crawl, plus direct checks (real-browser access, page weight, store shipping quotes, email DNS, mobile screenshots) — delivered as an owner-facing report with priced offers, an exact change list and a 12-week plan, optionally localized and bilingual. Use when "audit this business", "full marketing audit of <business>", "prospect audit", "local business audit", "use DataForSEO for the hard SEO data", "go deeper", "rerun it for local <market>", "also in Spanish", "give me the offers, changes and 3 month plan", or a business link arrives with "audit". For auditing your own product across channels use /kai-audit.

Overview

Publishercgallic
Repositorykai-cmo-harness
Skill namekai-local-audit
Stars
61
Forks
8
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cgallic on GitHub. Read the source before you install it.

Installation

Install the Kai Local Audit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-local-audit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cgallic/kai-cmo-harness.git /tmp/kai-cmo-harness
mkdir -p .claude/skills
cp -r /tmp/kai-cmo-harness/harness/skills-v2/kai-local-audit .claude/skills/kai-local-audit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kai Local Audit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Kai Local Audit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Kai Local Audit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Kai root note: knowledge/, harness/, and scripts/ 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 a knowledge/ 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 referenced scripts/ command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.

/kai-local-audit — What a Local Business's Customers Actually See, and What to Do About It

Objective

An owner-facing report on one local business that shows how it looks from its customers' towns, phones and languages, backed by located data anyone can re-pull, and that converts each finding into a priced offer, an exact change and a dated week of a 12-week plan. When asked, a localized rerun for a named market and a translated sibling page with identical structure.

The report's value is that it is right about things the owner cannot see from their own laptop: which phones cannot open the site, who owns the map pack in the next town, what AI assistants recommend instead, what shipping really costs a customer.

Done when

Work type audit-report — floor E3/C4/O1 (harness/eco-floors.yaml), client_facing: true.

  • E3 — the delivered report (and translated sibling, if requested) is the approved version, and every quantitative claim resolves to workspace/local-audit/<slug>/audit-data.json or a dated artifact in raw/.
  • C4 — the Kai Data Provenance Rule in full: collector and local-audit pulls ran before writing, the mode is declared, _data-sources.md and _data-gaps.md exist, python scripts/quality_gates/audit_provenance_lint.py workspace/local-audit/<slug> --audit-dir passes, banned_word_check passes, and the rendered page has no horizontal overflow at 390 px or 1280 px outside table wrappers, no missing images, no duplicate ids.
  • O1 — the targets table names today's value, the target, the pull that measures it and the re-run date. The outcome read is that re-run.

Constraints

Provenance — non-negotiable

  • Load harness/references/audit-data-provenance.md. Mode is sales_external unless the client granted access.
  • Run python -m scripts.audit.collect --url "<url>" --firm-name "<name>" --mode sales_external --workflow local-audit --out workspace/local-audit/<slug> before writing; scripts.local_audit.pulls and scripts.local_audit.checks append to the same dataset.
  • No ranking, score or visibility claim from a personal browser session. Rankings, map packs and AI answers come from located API pulls (coordinates, mobile, market language). Speed scores come from the DataForSEO Lighthouse pull. The reference run's two eyeballed numbers were both wrong.
  • Rankings move day to day: date every ranking claim and prefer counts across many located observations over a single position.
  • Analytics totals are never reported raw. Split them into real visits and noise (storefront pixels, automation, developer machines, other hosts), report the cleaned figure, and mark that section onboarding_connected. Analytics cannot see visitors the site turns away, so it never overrides the access test.
  • Share of estimated clicks is modeled (volume × positional CTR) and is labeled as modeled wherever it appears.
  • A business recommended by an AI assistant, and any competitor positioning claim, is verified on that business's own site before it is repeated.
  • 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.
  • Every search runs in every language the market searches in: volumes, discovery seeds, located SERPs, Maps queries, AI prompts, and competitor, directory and press searches, with paired terms shown side by side. This is a research rule; a translated page is a separate request.
  • Without DataForSEO credentials or scripts/local_audit/ in the install: direct public checks only, every located metric in _data-gaps.md, and the report header says located metrics need the full harness (github.com/cgallic/kai-cmo-harness).

Conduct

  • Read-only on the web: no logins, follows, likes, messages, form submissions or orders. Shipping quotes come from a throwaway cart that is emptied afterwards.
  • brand_pattern matches only the audited business; a loose pattern produces false "listing found" results.

Report

  • First screen: 3–5 actions for this week, each with the exact URL, number, setting or line of code.
  • Offers follow /kai-offer-builder doctrine and are priced on measured costs (shipping tiers, fees); every price is a proposal to check against costs; no margins that were not provided.
  • Changes are grouped by who does them — code, copy in every market language, commerce admin, Google Business Profile, DNS, social and partner asks — and are exact enough to hand off.
  • The 12-week plan starts the next Monday, splits owner and developer work, gives each week a "done when", and places seasonal work where the volume pull shows the peaks.
  • Phone Capture Fit Rule: evaluate phone and follow-up capture; compare alternatives; say plainly when it is not the first fix.
  • House voice: no announced lists, dramatic fragments, "not X but Y", or tricolons. Hosted pages are published privately on your own host: noindex,nofollow,noarchive, an unguessable URL, and no links from public pages.
  • Internal economics never appear on a customer-facing page: your rates, margins, delivery costs, data spend, prospect scoring and sales notes stay in a separate internal file.
  • A translated sibling keeps every tag, attribute and element in place; only visible text, alt, title, aria-label and meta description change; code, URLs, brand names and search queries shown as data stay as they are.

Revenue lens

Load the Revenue Lens section of harness/references/audit-data-provenance.md with the provenance rule.

  • Open with the funnel, not activity. Traffic source → intent → lead → follow-up → booked/paid, one row per stage, before any channel or technical finding. Sessions and lead counts are inputs, never the headline.
  • Rank gaps by the dollars each stage leaks. High-intent traffic with no lead path, leads with no follow-up, and follow-up with no booking outrank traffic volume.
  • Technical setup is one line. Schema, llms.txt, AI crawler access and sitemap get a sourced pass/fail; they become findings only when a measured check fails.
  • Unverified means 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.

Context

NeedLoad / run
Endpoints, gotchas, deliverable structure, localized rerun, translation methodharness/references/local-audit-playbook.md
Provenance rule, modes, source tiersharness/references/audit-data-provenance.md
Config templateexamples/local-audit-config.example.json
Located pullspython -m scripts.local_audit.pulls {balance,volumes,discover,serp,maps,listings,reviews,backlinks,ai,lighthouse,crawl} [--collect]
Direct checkspython -m scripts.local_audit.checks {access,assets,dns,shopify,all}
Connected analytics (owner token)python -m scripts.local_audit.matomo (Matomo) or scripts.audit.collect --ga4
Industry checklistsknowledge/checklists/local-service-business-checklist.md, restaurant-food-bev-checklist.md, multi-location-checklist.md, cro-audit-checklist.md (Phone-Based Lead Capture)
Offers/kai-offer-builder
Page rendering/kai-html-presentation or the house strategy-page format
Gatesscripts/quality_gates/audit_provenance_lint.py, banned_word_check.py

Output: 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, and <lang>/report.html when translated.

Typical cost: about $8 of DataForSEO credit for two markets with crawl, reviews and AI answers; re-runs of cached pulls are free.

Escalate when

  • DataForSEO credentials are missing or the balance cannot cover the planned pulls — say which metrics become data gaps.
  • The business model or target market is ambiguous enough that the keyword set or vantage towns would change materially.
  • A finding would require logging in, submitting a form or placing an order to confirm.
  • The report will be sent to the business itself and includes pricing proposals the requester has not reviewed.

Frequently asked questions

What does the Kai Local Audit AI skill do?

Evidence-first marketing audit of a third-party local business (café, roaster, shop, restaurant, hotel, clinic, home service) from a Google Maps, share.google or website link — located DataForSEO rankings, map packs, search volume and seasonality, listings, reviews, backlinks, AI-assistant answers and a site crawl, plus direct checks (real-browser access, page weight, store shipping quotes, email DNS, mobile screenshots) — delivered as an owner-facing report with priced offers, an exact change list and a 12-week plan, optionally localized and bilingual. Use when "audit this business", "full...

Why use Kai Local Audit on TypingMind?

Because you install it once and use it with any model. Kai Local Audit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Kai Local Audit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-local-audit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Kai Local Audit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Kai Local Audit?

As many as you like. As long as a model supports skills, you can use Kai Local Audit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Kai Local Audit AI skill free?

It is published on GitHub by cgallic. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇