Practical Guides · knowledge base from X

Local SEO with an AI agent: Sarvesh's 20-prompt system (Claude Cowork, Grok Bot, ChatGPT)

An AI agent with a browser that already knows the business (a data sheet loaded once) runs 20 local SEO audits: Google profile categories, attributes, reviews, posts and photos, keyword gap, service×city pages, Search Console, backlinks, citations, intent, entities and a monthly report. Every audit produces a sheet with actions ranked by impact.

✍️ Sarvesh Shrivastava · @bloggersarvesh
🔗 Read the original on X · X Article · published 25 Mar 2026
📊 2,111 likes · 13,415 bookmarks · 4.8M views (variants: Grok Bot 13,188 bookmarks, ChatGPT Astra 12,213 bookmarks)
Summary and adaptation in English; content and results belong to the author.

Part of the manual SEO, local SEO and traffic from AI — the complete manual

Claimed result

  • A system built after 14 years of local SEO for home-services businesses (plumbers, HVAC, lawyers, cleaning companies).
  • The categories-competitors-map pack analysis that used to take half a day per client now takes minutes; clients who added a single secondary category showed up the following week for a whole new group of searches.
  • The promise: 90 days of consistent execution and you overtake businesses that have been around for years ("I've seen it happen dozens of times"); his agency (Alventra Marketing) claims hundreds of thousands of dollars in new revenue for clients.
  • The post has 13,415 bookmarks and 4.8M views; the variants of the same system for Grok Bot and ChatGPT had similar engagement.

Proof: medium. Long experience and complete, verifiable prompts; agency results not documented. Some statistics (e.g. +42% direction requests with photos) are attributed to Google without a source. The author sells agency services.

The key idea

An AI agent with a browser (Claude Cowork via the Chrome extension; the same goes for Grok Bot or the ChatGPT agent) that already knows the business before any request, accesses the tools you're already logged into (Ahrefs, SEMrush, Search Console) and runs 20 audits. Every audit returns a spreadsheet with specific actions ranked by impact, not vague recommendations. "The agent gathers, you think." The difference between a tool and a system is the context loaded once.

Preparation (do this before anything else)

The setup

  • A folder with the business data: name, address, phone, website, Google Business Profile (GBP) URL, service areas, target keywords, loaded once.
  • One file per competitor with their profile URL, so every audit makes comparisons automatically.
  • Your Google profile details loaded (current categories, attributes, photos, services).
  • A prompt library, one file per SEO task.

Part 1 – Loading the context (the step 90% skip)

A prompt to paste before anything else, filling in every field (structure): - Basic data: name, full address, phone, website, Google profile URL, years in business, team size. - Services and market: main service, 3 secondary services, 5 service areas, ideal customer, average job value. - SEO goals: the 5 main keywords, the ones you already rank for, the ones you should rank for but don't. - Current situation: number of reviews, rating, new reviews per month, monthly profile views, website traffic, map pack status (what you show up for and what you don't), your biggest SEO problem in one honest sentence. - Competitors (3): name, profile URL, website, why they beat you if you know. - What you've already tried (agencies, DIY, tools, what worked). - How you want it to work: prioritize quick wins unless told otherwise; for every recommendation the impact level (high/medium/low) and the timeframe to see results; comparisons always in spreadsheet format; if it isn't sure it says so, it doesn't guess; and the final line "Don't ask me for this information again. Use it as the basis for everything we do together" (it makes it permanent context).

Part 2 – Giving access to the SEO tools ("1 click")

  1. The Claude Cowork Chrome extension installed and active.
  2. Log into Ahrefs or SEMrush in a Chrome tab and stay logged in.
  3. Log into Google Search Console for your property. You're already logged in: you'd just never told the agent it could use them. What an agency pays analysts thousands a month for, the agent does in minutes.

The 20 prompts

Part A – Google profile (prompts 1–8)

1. Category audit. The point he starts from with every client: with the wrong categories nothing else matters. Many picked their primary category years ago and never touched it again, while competitors added secondary categories that directly control which searches you appear for in the map pack. - Instructions: go to Google Maps, search "[service] in [city]" for 3 keywords, note which competitors appear in the map pack, open each profile and extract the primary category and all the secondary ones. - Output: one sheet per keyword; columns name, primary category, secondaries, rating, number of reviews, position; highlight the categories they have and you don't; a priority list: first those that all 3 competitors have (non-negotiable), last those only one has (differentiation). - Why: the fastest win in local SEO; and pattern recognition (e.g. everyone ranking for "emergency plumber in [city]" also has "water damage restoration").

2. Attribute audit. The profile labels ("veteran-owned", "free estimates", "available 24/7", "accepts credit cards", "online appointments", "wheelchair accessible"): Google uses them to match searches like "24-hour plumber near me". - Output: columns attribute, my profile yes/no, competitor 1/2/3 yes/no; highlight the missing ones; three lists: attributes all competitors have (minimum requirements, right away), 2 out of 3 (strongly recommended), only 1 (differentiation); for each, the ranking impact and whether it affects CTR. - Why: two advantages in one, more specific searches and more clicks because the labels build trust.

3. Competitor review analysis. The rating says little; what matters is review velocity. A business with 200 reviews, 180 of them two years old, is weaker than one with 90 that gets 15 a month. - Read the last 50 reviews of each competitor and extract: total, average rating, reviews in the last 30/60/90 days, the 5 most-mentioned services, the 5 most-mentioned neighborhoods or cities, employee names mentioned, recurring complaints, the 5 key phrases to "teach" your customers to mention in reviews. Compare with your own velocity; in a separate sheet: how many reviews a month you need to reach the top spot and how long it will take. - Why: it's your review strategy for 6–12 months; "great furnace install in Highland Park" does SEO for that competitor: ask satisfied customers to mention the service and area.

4. Review reply strategy. Google has confirmed that replying improves local ranking. - Analyze the last 30 owner replies (yours and competitors'): reply rate %, average reply time, whether they mention services and places, average length in words, tone, how they handle negatives (apology, solution, defensiveness), patterns that work. - Then a template system: 3 variants for 5 stars with [service] + [city], 3 for 4 stars (acknowledge the small gap and invite them back), 3 for 3 stars (take responsibility and propose a solution), 3 for 1–2 stars (professional, empathetic, non-defensive); 40–80 words, written as if by a real person. - Why: you reply to any review in under 60 seconds; 10 reviews a month with replies that mention service and city = 120 keyword-rich pieces of content a year on the profile.

5. Profile post strategy. The most underused feature: posts appear on the profile, expire after 7 days and posting consistently signals a live business (preferred by Google). Competitors probably don't post. - Record for you and your competitors: posts in the last 90 days, weekly frequency, types (offer/update/event/product), images, CTA button, topics, seasonal patterns, visible engagement. - Output: an 8-week calendar with 2–3 posts a week: seasonal promotions, before/after jobs, neighborhood posts on the areas served, featured reviews, team introductions, educational posts on the problems you solve; every post with at least one keyword, 100–150 words, a clear CTA and a description of the photo to take; full text for weeks 1–4 and outlines for 5–8. - Why: almost nobody posts; neighborhood posts ("just finished a kitchen in [neighborhood]") build local relevance: doing it across 8–10 neighborhoods a month creates authority that's hard to copy.

6. Services section optimization. Keyword space almost nobody optimizes (leaving it empty is like a landing page with only a headline). - Extract for you and your competitors: every service, whether it has a description, the text, the structure (problem-solution, feature-benefit, keywords), the services present at all competitors (non-negotiable) and at some (opportunities). - Compare with your website: services on the site but not on the profile, services without descriptions, descriptions weaker than competitors'. - Write descriptions of 2–3 sentences, 40–60 words, with the service keyword, at least one area, a concrete benefit, "written by a business, not by an SEO tool". - Why: it's one of the few texts on the profile you control; if you do "trenchless sewer repair" but it isn't on the profile, you're invisible for that search in the map pack.

7. Profile description. 750 characters that most people waste (empty, copied from the website or full of robotic keywords). - A sheet with: full text, character count, main keyword (yes/no, which one), secondary keywords, areas, years in business/trust signals, strengths, CTA, tone. - Analyze what all competitors mention (non-negotiable), what nobody mentions (you can own it) and what only you say. - 3 versions under 750 characters: 1) keyword (maximum ranking signal), 2) conversion (get the phone ringing right away), 3) trust (years, reviews, local credibility); all with 3 keywords and 3 areas, "as if written by a person at 11 pm after a long day". - Why: test them: version 1 for 30 days, look at impressions and calls, then version 2.

8. Photo audit. Attributed to Google: with photos +42% direction requests and +35% clicks. What counts is uploading the right photos consistently (not 10 blurry photos from three years ago). - Record: total photos, uploaded in the last 30 and 90 days, types (team, job sites, before/after, vehicles, equipment, premises, finished jobs), quality (professional vs phone), stock photos, presence of people, recognizable neighborhoods or places, average photos per week. - An 8-week plan with the number of weekly photos needed to beat the top competitor's velocity by 50%, a shot list per week (what, where, why), when to favor before/after, team, vehicles or finished jobs, a file-naming convention with service and location, geotagging instructions for the neighborhoods served; no generic office photos. - Why: consistency beats volume: 50 photos in one day and then nothing for 6 months = a dormant business; 3–5 quality photos a week = a live business. File names and metadata matter.

Part B – Website (prompts 9–13)

9. Keyword gap. In SEMrush (the Keyword Gap tool) your domain against 3 competitors: keywords where they're in positions 1–20 and you're absent. Filters: volume 100–2,000/month (the local-intent band), contains city, service type, "near me", "emergency", "best", "local", difficulty under 40. For the top 20: volume, difficulty, who ranks and where, whether you already have a page you can optimize. A sheet ranked by opportunity score (high volume + low difficulty + more competitors present) with a final column "Optimize existing page" / "Create new page".

10. "Money page" audit. In Search Console, the last 3 months, export queries and pages. For each page: keyword, average position, impressions and clicks, whether it's optimized for that keyword or ranks by accident. Identify: pages in positions 4–15 for valuable keywords (one push to the top 3), high impressions and low clicks (a title and meta description problem), pages with no rankings (dead weight or opportunity), cannibalization (a keyword on the wrong page). Action list: quick wins (this week), medium effort (pages to redo within a month), long term (new pages within 90 days), each with current and target position, timeframe and exact changes.

11. Service + city page generator. Google ranks pages, not websites: without a page on [service] in [city] you don't rank for that search. Keyword patterns: "[service] [city]", "[service] near [city]", "best [service] in [city]". First check which combinations already exist on the site; for each missing one write: - a title < 60 characters with service and city; a meta description < 155 with a reason to click; a natural H1; - a 100-word opening about the pain of someone in that city who needs the service right now; - a 150-word "Why choose us" specific to the city (places, neighborhoods, local problems); - 200 words of service details (what's included, the process, what the customer gets); - a reviews section with placeholders for reviews from that city; an FAQ with 3 local questions; a CTA with the phone number and "Call now for same-day service in [city]"; - the URL slug, 3 internal links from existing pages, 2 local directories/citations for that combination.

12. Search Console analysis ("the page-2 gold mine"). The last 90 days. Every keyword in positions 11–20 with at least 100 impressions a month ("going from 15 to 5 is worth more than 10 new pages"). For each one, open the page: keyword in the title? in the H1? in the first 100 words? how many words does the page have? incoming internal links? current meta description? Then a 30-day sprint: week 1 titles and H1s for the top 10 keywords; week 2 content for pages under 500 words; week 3 internal links (which page links to which); week 4 meta descriptions for pages with high impressions and low CTR. The exact text of every fix, not instructions.

13. Review sentiment analysis. Read the last 100 reviews of each competitor: the 20 most frequent emotional words ("relieved", "finally", "reliable"), 10 concrete outcomes ("fixed in one visit", "no mess", "on time"), 5 fears or frustrations before the service ("I was afraid it would cost a fortune", "other companies kept canceling"), the exact phrases they recommend with (the "golden phrases" for the website), patterns present in 5-star reviews but not in 3-star ones. The same work on your own, a comparison and the emotional gaps. Then rewrite: the profile description, the homepage headline and subheadline, the review request script (so customers use the right words), 3 social-proof sentences for the website. "This is real CRO for local businesses."

Part C – Backlinks and authority (prompts 14–16)

14. Competitor backlink audit. In Ahrefs (Site Explorer), for each competitor: dofollow only, domain DR ≥ 20, traffic ≥ 100 visits/month, no sitewide links (footer, sidebar). Opportunities: domains linking to all 3 and not to you (high priority), 2 (medium), 1 (to evaluate). For the priority ones: domain and URL, DR, site type (directory/news/blog/association/sponsor), how the competitor got the link (guest post, sponsorship, citation, PR), realistic likelihood, outreach strategy. A 90-day plan: month 1 the 5 easiest links (directories, citations, local associations), month 2 5 medium-effort ones (local newspapers, sponsorships, guest posts), month 3 5 authority links (industry publications, local institutions, universities), each with a contact and a complete outreach email. Why: 2–4 real contextual links a month are worth more than 20 random directories.

15. Citation audit (NAP). Citations are how Google verifies that the business exists; inconsistent Name-Address-Phone data is one of the most common killers. Search for the business on: Google Business Profile, Yelp, Bing Places, Apple Maps, Facebook, BBB, Angi, HomeAdvisor, Thumbtack, Houzz, Yellow Pages, Manta, Foursquare, Superpages, Citysearch and industry directories. For each: does it exist? exact name, address, phone, website, duplicates, rating and reviews. Every inconsistency in red; a list of fixes by severity with step-by-step instructions; valuable directories where you're missing; a monthly maintenance checklist. Why: it's one of the few activities with visible improvements within 30 days.

16. Local search intent map. In SEMrush all the niche's keywords in the area with ≥ 20 searches/month, split into 4 stages: 1. Problem-unaware ("water dripping from the ceiling", "the AC is making a strange noise") → content that identifies the problem and builds early trust; 2. Problem-aware ("how to fix a leaking roof") → an educational blog that leads to the service pages; 3. Solution-aware ("plumber or DIY", "how to choose an HVAC company") → comparison pages and FAQs; 4. Ready to hire ("emergency plumber [city]", "AC repair near me") → service pages and the Google profile: that's where the money is. Per stage: number of keywords, total volume, average difficulty, top 10. Then the 5 stage-4 keywords to win within 90 days and what to do for each. Why: most people spend on stage-2 keywords (traffic without calls); stage-4 ones have less volume but convert 5–10 times better.

Part D – Content and measurement (prompts 17–20)

17. Content gap. SEMrush (Content Gap) against 3 competitors: keywords where they have content and you have nothing, 50–500 searches/month, with question words (how, why, what, when, is, can) and tied to the problems you solve. The top 20 split into: problem awareness ("why isn't my AC cooling"), solution comparison ("repair or replace the water heater"), local service ("emergency plumber cost [city]"). For each: SEO title, slug, a 200-word brief (main and secondary keywords, questions, recommended length, internal links, final CTA). Prioritize problem-awareness content: it answers objections before the phone call.

18. Entity optimization (the most advanced prompt). Google ranks entities, not just websites. With name, address, phone, website, profile, founding year, owner and industry: check whether there's a Knowledge Panel by searching "[business] [city]" and "[owner] [business]"; whether the business exists on Wikidata; audit the schema markup with Google's Rich Results Test; brand consistency by searching the name in quotes. Then: complete LocalBusiness JSON-LD code ready to paste on the homepage; authoritative sites where you should create or claim a presence (Wikipedia if eligible, Crunchbase, a LinkedIn company page, industry associations); anchor texts and brand mentions to build; how to get the Knowledge Panel to appear. Why: strong entities = more trust for the profile, website and reviews, more presence in AI Overviews, more resilience to updates.

19. "Forensic" analysis of competitors' posts. For every visible post: date and time, day of the week, type, word count, image, CTA and CTA text, topic and service, neighborhood or city, price/offer, hashtags. One row per post; then: preferred days and times, most-used types, seasonal topics, most active months, gaps in their calendar to exploit. A posting strategy built on your market's data (days, times, types, topic mix) and the first 4 weeks of complete posts.

20. Monthly SEO report. The last 30 days against the previous 30. - Search Console: clicks and change, impressions, average CTR, average position, top 10 keywords by clicks, top 10 risers and top 10 fallers, pages that gained and lost the most clicks. - Google profile: total views, branded vs discovery searches, calls, direction requests, website clicks, photo views, change in reviews. - GA4 (if present): organic sessions, organic conversion rate, top landing pages, bounce rate. - Output: one page with 3 wins, 3 problems, the most important action for next month and a note on whether calls from the profile are up or down; readable in 5 minutes. Only calls and revenue from organic count.

Usage calendar (not all at once)

Weeks Prompts Result
1 context + 1, 2 categories and attributes: effects even within a few days
2 3, 4, 5 review velocity target + post calendar
3 6, 7, 8 Google profile fully optimized
4 9, 12 which website pages to fix first
5–6 10, 11, 13 website and messaging aligned with the profile
7–8 14, 15, 16 authority in the right direction
9–10 17, 18, 19 a long-term competitive moat
11–12 20 measure, double down on what works

"90% of the people reading this will save the article and never run a single prompt."

Tools and costs

Item Cost Use
Agent with a browser (Claude Cowork + Chrome extension, Grok Bot, ChatGPT agent) AI subscription runs the audits
SEMrush or Ahrefs ~$130–500/month keyword gap, content gap, backlinks
Google Search Console, Business Profile, GA4 free baseline data
Rich Results Test, Wikidata free entities and schema
Directories (Yelp, Bing Places, Apple Maps, Facebook…) free NAP citations

Limitations

Designed for local services in the US (directories like Angi, HomeAdvisor, BBB should be replaced with Italian equivalents: Pagine Gialle, Virgilio, TripAdvisor, industry directories); you need a SEMrush/Ahrefs subscription for prompts 9, 14, 16, 17; agency results aren't documented; changes to the profile should always be checked by a person.

← More guides in “SEO and traffic from AI”