ask-matt
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Checks whether ChatGPT, Perplexity, Gemini and Google's AI answers name and cite a business for the questions its buyers ask, scores that over the answers actually observed, finds why the winners win, fixes what's fixable on existing pages and listings, and monitors the result. Works for online businesses and, with city-specific question sets that include Google Maps' Ask feature, for local ones. Use when someone asks whether AI assistants recommend them, why a competitor gets recommended instead, or how to get cited.
A growing share of buyers never see a homepage. They see a paragraph an AI assistant wrote about the category, with a few sources cited, or a short list of three to five local businesses with a reason for each. This skill measures whether the business is in that paragraph, diagnoses why the winners are, fixes what's fixable on pages and listings the business already has, and tracks the result. Done means an audit another person could re-run with the same questions, a fix plan ordered by citation leverage, and an honest account of what was observed and what was a proxy. The method is a floor. A better path is welcome with a one-line reason. MONITOR's zero-question contract and the measurement rules below don't flex.
Only if ./brand/, ./brands/ or MARKETING.md exists (nothing to load otherwise), run:
python3 ${CLAUDE_SKILL_DIR}/../start-here/scripts/brand_context.py --for ai-search
(${CLAUDE_SKILL_DIR} is this skill's folder; outside Claude Code use the folder this file was read from, e.g. .agents/skills/ai-search. If the script or python3 is unavailable, read the brand folder directly: ./brands/<slug>/ when ./brands/active names one, else ./brand/; then MARKETING.md, preferences.md and the files in reads:. If none exist, proceed standalone and ask only for the domain and one sentence on what it sells.)
Load references/aeo-facts.md before any mode (check its header; refresh if stale). Load references/aeo-judgment.md before diagnosis and before any OPTIMIZE recommendation. For a local business, also load references/local-ai-facts.md (check its header) and references/local-prompt-sets.md.
Is this a local business? If it serves customers in places (a trade, a clinic, a shop, a restaurant), run the Local branch wherever it appears below. Otherwise skip it.
| Trigger | Mode |
|---|---|
| Default: a domain, a brand name, or nothing | AUDIT |
| "optimize", "fix", "llms.txt", "make us citable" | OPTIMIZE |
| "monitor", "what changed", or any scheduled or non-interactive run | MONITOR |
MONITOR asks zero questions. OPTIMIZE without a prior audit runs a compressed AUDIT first. Quick Mode: a narrow ask ("are we cited for this one question?") gets a single capture and a one-paragraph answer, no files unless asked.
These are what make an audit worth re-running:
references/aeo-facts.md). Run the top questions twice or across engines, and treat one run as a sample.If keyword-plan.md exists, start from its commercial and comparison families. Rewrite each keyword as the question a buyer would type into an assistant, because the phrasing changes which sources get retrieved. "crm for freelancers" and "what's the best CRM for a solo freelancer?" pull different citation sets; keep both when they plausibly diverge.
Keep the set on one topic when you can. Fifteen questions on the topic the business is committing to beat fifteen spread across everything it sells, because the result has to pick a fix. Include the AI-native forms: the long, conversational questions with near-zero Google volume (from keyword-plan.md, voc.md, call notes, reviews and forums). They often decide who gets recommended.
If not, derive from positioning.md across four kinds, skewed toward where the money is:
Run the entity probe first. Before the set, ask each engine "what is ?" and "what is ?". If the answer describes a different company, a product with a similar name, or something unrelated, that's the first finding: until the engines tie the name to the site, no content fix compounds. The alternatives question shows who the engines think the brand competes with, which is sometimes not who the brand thinks.
Example, a proposal tool for freelancers: "best proposal software for freelance designers", " vs ", "how do I stop clients ghosting after I send a quote", "is worth it for a solo freelancer".
Local branch. Every question names the place: the city, or a neighborhood when the business is in a big metro. A question without a place gets answered for wherever the engine guesses the user is, which makes the result mislabeled evidence. Add two kinds that matter locally: urgent ("emergency plumber in Dallas open now") and cost ("how much does water heater replacement cost in Dallas"). Load references/local-prompt-sets.md for the full template set and the sample business.
Competitor set: 2 or 3 names from competitors#competitor-profiles, the true peers, not the aspirational leader. If there's no competitors file, ask once which 2 or 3 to score against. For a local business, the top 3 of the map pack for the main service are usually the right set. That's the only question AUDIT asks.
Ask the user once, before capture: "If you can paste real ChatGPT, Perplexity and Gemini answers for your top 3 to 5 questions, I'll score those as ground truth." Pasted answers override the proxy layers for those questions. Don't block on it.
Dispatch one subagent per question kind, in parallel (Task tool, general-purpose when the plugin's research type is unavailable), each returning an evidence pack, not analysis. Per question, three layers, each labeled in the notes file (never as tags in the report):
AIO: not captured, organic proxy.RETRIEVAL PROXY.MODEL KNOWLEDGE.We use Exa for the retrieval layer: it matches on meaning, so a question phrased the way a buyer asks an assistant finds the pages that answer it, not only the pages that share its keywords (free tier, then pay as you go). We use Firecrawl to fetch the winning pages in full for Phase 4, with their answer blocks, dates and schema (free tier of 1,000 credits a month, no card). Without them, WebSearch and WebFetch do both jobs, and a page read as a summary is labelled that way. Either way the retrieval layer stays labelled RETRIEVAL PROXY in the notes, and the report's note says once, in plain words, which engines' rows are web-search retrieval rather than their live answers.
Local branch. Add two surfaces that only exist for places, captured by hand because no free tool can read them: Ask Maps in the Google Maps app (US and India; check references/local-ai-facts.md for current availability) and the AI summary on the business's own Google listing where it appears. The user, or the agent with a browser set to the city, asks the question and pastes or screenshots the answer. Also run a wrong-facts check on every answer that names the business: phone, address or service area, hours, services, prices, name. One audit found an AI engine giving a local service company's phone number under a different company's name.
Evidence line per question, written to ./campaigns/ai-search/notes-<YYYY-MM-DD>.md and never pasted into the report:
Q: "<exact question>" [kind] [engine or layer] [location if local] [date]
AIO: captured/proxy, cites <urls>, names <brands>
Retrieval: dominated by <domains>; brand named/absent in top pages; competitors <...>
Model knowledge: would name <brands, in order>; describes brand as "<...>" or ABSENT
Wrong facts (local): <field: what the answer said vs the truth> or none
Before scoring a gap, check what the engine thought the question meant. A brand absent from "best " may be absent because the engine read as a different product category. That's a query-sense finding, not a visibility gap. An answer that names no business at all is an empty slot: nobody to displace, and often the cheapest win in the set.
Per question and entity (the brand and each competitor), assign CITED, MENTIONED, ABSENT or NOT OBSERVED. Count a business as named only when its distinctive name words appear (strip the place and trade words: "Hartline" counts, "plumbing in Dallas" doesn't), and match its site whatever the domain ending. An answer that wandered into a general explainer instead of answering the question is observed, but name no winners from it. The businesses the answers actually name, in two or more answers, are the real competitor set: add them to the table even if nobody listed them. Share of model is the share of observed answers where the entity is CITED, with MENTIONED counting half. Report it per question kind too. Brands are often cited on their own brand questions and absent on category questions, and the category number prices the opportunity. Name who is recommended instead wherever the brand is absent.
Local branch. Report per engine and per city. Engines disagree, and the fix differs by engine. In one check, some engines named a local service business for its main "best in " question and another never did. A business can be the answer in Perplexity and invisible in ChatGPT.
Load references/aeo-judgment.md first. Read every gap through three layers, in order, because a fix at the wrong layer does nothing:
For layer 2, fetch the 3 to 5 pages that win citations where the brand is ABSENT (schema, answer format and dates are facts from the page source, never guesses) and check, in this order:
Local branch. Local answers draw on a different source mix. Record the kinds of sources each answer cites or leans on: the Google profile and its reviews, review sites and directories, local news and "best of" lists, Reddit and neighborhood forums, competitor sites. The kind that wins decides the fix. If answers lean on "best plumbers in Dallas" lists the business isn't on, no amount of on-site editing closes the gap.
One diagnosis line per gap question: what the winner has that the brand's best candidate page or listing lacks. No candidate page at all is a /seo-content job, not a retrofit. Say so. Don't claim why a competitor wins unless you read its page; until then the reason is a hypothesis, labeled that way.
Type every finding so the fix follows from it: defend (cited now, keep it), expand scope (named in some towns or segments, absent in others), missing page (no candidate page exists), page not liftable (a page exists and ranks, but buries the answer), outside-source gap (the answers read lists, threads or reference sites the brand isn't on), wrong or merged facts (the answer gets the business wrong or confuses it with another), unmeasured (what this run couldn't see, said out loud, never left silent). When the gap is scope-shaped (present at home, absent elsewhere), run the scope drill in references/local-prompt-sets.md or its segment equivalent before recommending pages.
Write ./campaigns/ai-search/audit-<YYYY-MM-DD>.md, about 1,200 to 2,500 words. The captures behind it go to ./campaigns/ai-search/notes-<YYYY-MM-DD>.md: the evidence lines, the three layers per question and the monitor baseline, saved and never pasted.
## AI SEARCH AUDIT: <brand>
<date> · <what it is for, e.g. "how AI assistants answer buyer questions in <city or category>">
### The read
**What I found:** <one finding over the observed denominator, naming who is recommended instead>
**Why it matters:** <the customer consequence, in the buyer's words>
**Why now:** <the observed urgency, or "This does not look urgent yet.">
**What I recommend:** <one move, and how we'll know it worked>
### Share of model (over observed answers)
| Entity | Overall | Category | Comparison | Problem | Brand | (Local: Urgent, Cost) |
### Per-question scoreboard
| Question | Engine | <brand> | <comp A> | <comp B> | Who wins and why (one line) |
### Wrong facts found (local)
| Engine | Question | Field | Answer said | Truth | Where the wrong fact likely comes from |
### Findings (typed, costliest first)
1. [<type>] "<question>": winner <page or listing>, they have <driver>, the brand lacks <...>, fix <retrofit / new content / listing / list placement>.
### Where the answers come from
One line per question kind that changes the fix: what the answers lean on (roundups, threads, reference sites, product pages, listings) and what that means for the lane.
### Fix plan
1 to 5 items, in leverage order: action, the gap questions it addresses, the work that does it, and the acceptance check (the answer state that proves it worked)
### Sources and assumptions
10 lines at most: what was captured, when, on which engines and location, and how many of the attempted answers were observed; which rows are web-search retrieval rather than live answers; what to confirm. The gap-aware receipt is at most 3 of those lines: what was checked, what could not be (a named diagnosis such as "Gemini and Ask Maps were never captured", never a vague caveat), and one offer to fill it. Last line: citations churn month to month, so this is a snapshot; one gain or loss between runs is mostly noise, and trends across 3 or more monthly runs are signal (figures in `references/aeo-facts.md`).
Rows from a retrieval proxy are the default and need no tag. Mark only the exceptions, such as "pasted by the owner". The scoreboard's questions are the monitor baseline: MONITOR repeats them verbatim, and the notes file holds the engines, location, per-question state per entity and capture date for it.
Writing the read. Lead with who wins instead, in the buyer's words and backed by the captures: "When people in Dallas ask ChatGPT for a water heater company, it names two competitors and not you, in 0 of 6 answers we observed." Never lead with a score. Call it urgent only when at least two observed money questions show the same gap, or one high-intent question hands the business's customer to a named competitor; otherwise write "This does not look urgent yet." and recommend the smallest useful next check. A surprising, fixable finding (an engine giving the business's phone number under another company's name) outranks a percentage. Recommend one move. A second path appears only if it genuinely rivals the first; never a menu of three. Load references/audit-examples.md for a strong and a weak read of the same audit.
Append one line to ./brand/assets.md. In chat: the read, the share-of-model table, the top 3 findings (and any wrong facts), the Sources and assumptions note, Files saved, What's next. No capture lines, tool names or layer labels.
Run the audit's fix plan in leverage order. Load references/aeo-judgment.md before recommending anything. If no audit exists, run Phases 1 to 3 compressed (about 10 questions, no competitor diagnosis) first.
Fix before you build: improving two pages that already rank is often the whole month's recommendation, and it's a real deliverable. When the findings cluster on one topic, the fixes below are one play, not separate tasks: citation earning aimed at the sources the answers use, the page or pages, and the structural work, sequenced by leverage (/keyword-research's references/topic-plays.md has the composition rules).
Original first-party data is the strongest citation driver: every AI answer needs a number, and almost nobody owns one. Propose 2 or 3 assets the business could publish from data it already has (usage data, a customer survey, a price index, a benchmark). Each must pass: an answerable stat reducible to one sentence an AI can lift; query-adjacent, answering or sitting beside a money question; repeatable each year, so freshness compounds. Output a one-page brief per asset. The page itself goes to /seo-content.
For a local business the asset is usually smaller and just as citable: "what water heater replacement actually cost our Dallas customers in 2026, from 140 jobs" (sample business, illustrative) beats any national average.
New content is /seo-content's job. From the findings typed "page not liftable", take the questions where the brand has a candidate page that ranks but isn't citable. Per page: a self-contained 40 to 80 word answer directly under the heading that matches the question. The first sentence answers. Entities are named in full (no "it", no "our tool"). One concrete number with its date if there is one, and its source named. Where a real person at the business can say it, one quotable line attributed by name. No warm-up. If the heading doesn't match the question's phrasing, fix the heading too. Deliver as a per-page diff (heading before and after, the block, where it goes) in ./campaigns/ai-search/retrofits-<date>.md.
Ambiguity disqualifies; schema itself barely moves citations. Fetch the homepage and 2 or 3 key pages, then fix: Organization (or LocalBusiness) JSON-LD with legal name, URL, logo and sameAs to every official profile; Person markup for named authors; one spelling of the brand name everywhere; and dead schema removed (no HowTo, FAQ markup only where the questions are visible, with its limited value stated honestly, no Article keywords).
Honest framing, verbatim in the deliverable: "llms.txt is an emerging convention. Some AI crawlers read it, none are confirmed to reward it, and Google says it doesn't need it. Cost is near zero and payoff is uncertain. Worth shipping at this price, not worth re-architecting anything for." Build it from the real site structure (firecrawl_map if available, else /sitemap.xml): an H1 with the site name, a one-paragraph summary, then sections listing 10 to 30 key pages as - [Title](url): one line. Deliver the file and "place at <domain>/llms.txt".
ChatGPT retrieves from OpenAI's own index, so the prerequisites are OAI-SearchBot and GPTBot allowed in robots.txt and the core content in server-rendered HTML. Check both. IndexNow reaches Bing and Copilot and is near free: host a key file at <domain>/<key>.txt and ping on every publish or update (https://api.indexnow.org/indexnow?url=<page-url>&key=<key>). Google ignores IndexNow. Prefer a CMS plugin where one exists.
Reddit and forums carry a real share of citations, and the temptation is astroturfing. Take part only where the brand has genuine expert standing, and never fake grassroots. Standing means someone at the business can answer the thread's actual question from real expertise, with the affiliation disclosed when the brand comes up. Never fake accounts, seeded questions, vote manipulation or undisclosed staff recommending the product. It risks bans, public exposure and endorsement-rule trouble, and the cited thread outlives the campaign. If no one has genuine standing, skip this fix and say so.
Write ./campaigns/ai-search/optimize-<YYYY-MM-DD>.md with each fix's deliverable (asset briefs, retrofit diffs, schema blocks, llms.txt, crawler and IndexNow setup, community judgment, local fixes), about 1,200 to 2,500 words, finished pieces first. Append to ./brand/assets.md. In chat: what shipped, what was skipped and why, a short Sources and assumptions note (gap-aware receipt at most 3 lines), Files saved, What's next.
Zero questions, ever.
./campaigns/ai-search/notes-*.md and its Monitor baseline section (the verbatim question list, engines, location, per-question state per entity, capture date). If no notes file exists, use the scoreboard of the newest audit-*.md or monitor-*.md. If neither exists, write a one-paragraph report saying AUDIT must run first, then stop. Never invent a question set here../campaigns/ai-search/monitor-<YYYY-MM-DD>.md, in this order: last decision (what the previous run recommended and what happened to it: shipped, declined, still open), one decision now or the words "Nothing needs your decision this month.", what changed (only what changed: gains, losses, new entrants, wrong facts fixed or new), the held count against the base churn rate in references/aeo-facts.md, and proposed learnings. A quiet month is a complete report, but only when the re-capture actually succeeded; a run with failed captures says which ones in the report's note and never calls itself quiet. Losing 1 or 2 citations in a month is weather. Flag a pattern only when the same question is lost two runs in a row, or losses cluster in one question kind. Track each fix from the audit on one line: planned, shipped, watching, then won or missed, read at 2, 4 and 8 weeks after it shipped. references/audit-examples.md has a strong and a weak update.
The question set improves by proposal, never by silent edit, and only after two complete runs: a business newly named in two runs earns a proposed comparison question; three runs with no movement earn a proposed slower cadence. The user approves; then the new set becomes a new baseline, labelled as such, because an edited question set compared with the old one is a new baseline pretending to be a trend../campaigns/ai-search/notes-<YYYY-MM-DD>.md with its Monitor baseline section (a new baseline only after an approved question change) and append one line to ./brand/assets.md. Draft learnings entries only for movements with a traceable cause, for example - [YYYY-MM-DD] [ai-search] answer-block retrofit on /pricing-guide, CITED on "how much does <category> cost" within 3 weeks (n=1, source: monitor diff), under ### Proposed learnings in the report file (not in chat), and route them to /performance-review, which owns learnings.md. Append directly only if the user explicitly says to.All modes follow the four-section output contract: header (## AI SEARCH AUDIT: <brand>, ## AI SEARCH FIXES: <brand> or ## AI SEARCH MONITOR: <brand>, then one line of date and purpose, with no data tag), content ending in one short Sources and assumptions note, Files saved, What's next. Capture lines, layer labels and tool names stay in the notes file.
| Mode | Writes |
|---|---|
| AUDIT | ./campaigns/ai-search/audit-<date>.md, notes-<date>.md, an assets.md line |
| OPTIMIZE | ./campaigns/ai-search/optimize-<date>.md (plus retrofit and llms.txt files), an assets.md line |
| MONITOR | ./campaigns/ai-search/monitor-<date>.md (with proposed learnings), notes-<date>.md, an assets.md line |
The offer line. In chat, after the What's next list, add one optional line matched to role in ./brand/preferences.md (role: owner | agency | builder):
It appears at most once per run, never inside a saved file, never when the user asked for no extras, and not for someone who is clearly already a client of the author's team.
Apply the edit, then make it stick: save a gold case to ./brand/gold/<this skill>/ and
one to three yes/no checks to ./brand/checks.md, and confirm in one line. Before handing
over any work, answer the checks the context block loaded, silently, and fix every no.
How: ${CLAUDE_SKILL_DIR}/../start-here/references/taste-loop.md.
/seo-content for every gap question with no candidate page (~30 min per piece)./google-business-profile and /reviews for a local business whose answers lean on the profile and reviews (~20 min each)./competitive-intel if one competitor dominates the citation table (~20 min)./keyword-research if the question set came from positioning alone (~20 min).MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
OBobra/superpowers331k近 7 天新增 4,772 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star