← LeaderboardThe Skill Leaderboard

local-seo

Skill file marketing/local-seo/SKILL.md in borghei/Claude-Skills. Read the publisher’s upstream source.

Description could not be read from the source metadata.

Published by borghei ↗borghei/Claude-Skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: local-seodescription: >  Audits a local business from your exports: NAP consistency across listings, hours conflicts, primary category, stuffed names, review reply rate and trend. Use when checking a Google Business Profile or citations.license: MITmetadata:   version: 1.0.0  author: borghei  category: marketing  domain: local-seo  updated: 2026-12-03  tags: [local-seo, google-business-profile, citations, nap, reviews, hours]

Local SEO

What you get

Hand it your business profile and a listings export; get every listing that disagrees with the profile, quoted, with the exact edit to make on that directory.

Command (assets/flawed_citations.csv is a listings export with six rows):

python3 scripts/nap_audit.py assets/sample_profile.json assets/flawed_citations.csv

Real output (excerpt, exit 1):

FIX 11 issues

Read assets/sample_profile.json + assets/flawed_citations.csv: listings: 6, normalised fields: name, address, suite, phone, website, hours

Findings:
  1. [name-conflict] citations line 3 (Apple Maps): "Northgate Dental Care" vs profile "Northgate Family Dental"
     rule: name on Apple Maps must be the real-world name (internal heuristic)
     fix:  On Apple Maps, set the name to exactly "Northgate Family Dental" (remove taglines, keywords and location words).
  2. [phone-mismatch] citations line 4 (Facebook): "(207) 555-0199" vs profile "(207) 555-0142"
     rule: phone digits must match after removing punctuation, country code and extension (internal heuristic)
     fix:  On Facebook, set the phone to (207) 555-0142.

The same run ignores differences that are only formatting: 412 Harbor St., Ste 200, 412 Harbor Street #200 and 412 Harbor Street, Suite 200 count as one address, and +1 (207) 555-0142 x4 equals 207-555-0142. Correct the listings and the same tool on assets/sample_citations.csv reports PASS, exit 0.

When to Use

  • A local business needs its name, address and phone (NAP) checked across directories before or after a clean-up
  • A Google Business Profile looks thin: no primary category, missing days of hours, few photos, a name stuffed with keywords
  • Reviews pile up unanswered and the owner wants the reply rate, the delay and the rating trend, and a queue to work through
  • A client sends exports and asks "what is wrong with our local presence?"

Clarify First

Before auditing, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Which exports exist: the profile (name, address, phone, website, categories, hours, photo count), the listings CSV, the reviews CSV. Each tool needs only its own file; say which checks you cannot run.
  • Single location or several, storefront or service-area: a service-area business has no public street address, which changes the address checks.
  • The real-world name: what the signage and the registration say. Without real_world_name the name check relies on weaker signals.
  • Thresholds the owner cares about: reply rate, reply delay, minimum photos. The defaults are internal heuristics in references/local-seo-rules.json.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, run the tools on what exists and state your assumptions at the top.

Quick Start

Every tool reads a file you supply, prints a verdict line (PASS or FIX N issues), what it read and could not read, findings that quote your input with a fix each, at most three next actions, and a paste-ready artifact. Add --format json for the same report as JSON.

python3 scripts/nap_audit.py profile.json citations.csv     # listings vs profile: NAP, suite, website, hours, duplicates
python3 scripts/profile_audit.py profile.json               # category, hours, photos, attributes, stuffed name
python3 scripts/review_audit.py reviews.csv --as-of 2026-12-01   # reply rate, latency, unanswered 1-2 stars, trend

Exit codes (all three tools): 0 clean, 1 findings to act on, 2 unusable input (missing or empty file, invalid JSON/CSV, wrong shape), printed as one BLOCKED: line on stderr. Each tool ships a sound (assets/sample_*), a flawed (assets/flawed_*) and a malformed (assets/malformed_*) input; assets/contract.json lists the expected exit code of each run. Input formats are in references/tool-reference.md.

Workflows

Workflow 1: Citation clean-up [RECOMMENDED]

  1. Export the profile as profile.json and one row per listing as citations.csv (source, name, address, phone, website, hours if the directory shows it).
  2. Run nap_audit.py. Read the duplicate-listing and name-conflict findings first: they split reviews and signals across records.
  3. Edit each directory exactly as the fix line says, using the canonical block the tool prints. Fix the profile first if the profile is the stale one.
  4. Re-export and re-run until PASS. Directories take days to show edits; wait before judging.

Matching listings to the profile is a long-standing local SEO convention. Google does not publish it as a ranking rule, and the output says so.

Workflow 2: Profile completeness and name clean-up [PROVEN for the name rule, RECOMMENDED for the rest]

  1. Run profile_audit.py profile.json. Add real_world_name to the profile so the name check compares against your signage.
  2. If keyword-stuffed-name fires, change the name to the real-world name. The Google Business Profile guidelines ("Guidelines for representing your business on Google") ask for the real-world name without keywords, taglines, location descriptors, phone numbers or URLs. Move the services and place into the description, categories and services fields.
  3. Set one primary category, then additional categories that describe real services. Fill all seven days of hours, writing closed where true.
  4. Add real photos and the attributes that are true. The thresholds are internal heuristics, not Google minimums.

Workflow 3: Review reply routine [RECOMMENDED]

  1. Export reviews with the reply date. Run review_audit.py reviews.csv --as-of <today>.
  2. Work the reply queue top to bottom: lowest rating first. Name the specific complaint, say what happens next, give an offline contact.
  3. Set a standing slot so the median delay falls under your own target. Google publishes no target; the defaults here are heuristics.
  4. Re-run monthly. A rating-decline finding means read the recent 1-3 star reviews and group them by cause before changing anything.

Workflow 4: Full local audit [RECOMMENDED]

Run all three tools, take the top finding of each, and hand the owner the three next actions the tools rank first. Keep the findings that cite Google's guidelines apart from the heuristic ones in the write-up, so the owner can tell policy from opinion.

Anti-Patterns

Keywords in the Business Name

Mistake: Adding "Best Dentist Portland" or a service list to the name to rank higher. Why it happens: The name field looks like a ranking lever, and competitors do it. Instead: Use the real-world name. Google's guidelines treat extra keywords as a violation, and a flagged profile can be edited or suspended. Put services in categories, services and the description.

Creating a New Listing to Fix a Wrong One

Mistake: Opening a second Yelp or Bing entry because the old one has the old phone number. Why it happens: Editing a claimed or unclaimed record is harder than starting fresh. Instead: Claim and edit the existing record, or ask the directory to merge. duplicate-listing exists because duplicates split reviews and citations.

Copying Stale Hours Into the Profile

Mistake: Changing the profile to match whichever directory disagrees. Why it happens: It is the quickest way to make the tool pass. Instead: Confirm the real hours with the owner, then update the profile and every directory to that one answer. Holiday and special hours are not checked here.

Canned Replies and Review Gating

Mistake: Pasting one template under every review, or asking only happy customers to review. Why it happens: The reply rate is the number the tool reports, so it gets optimised. Instead: Answer the specific complaint; ask every customer the same way. Do not offer incentives for reviews. The Maps user-contributed content policy restricts incentivised and gated reviews.

Treating Heuristic Thresholds as Google Rules

Mistake: Telling a client that Google requires an 80% reply rate or ten photos. Why it happens: The finding reads like a rule. Instead: Every finding labels its basis. Quote the published guideline by name or say "internal heuristic".

Files

  • scripts/nap_audit.py, scripts/profile_audit.py, scripts/review_audit.py - the three commands.
  • scripts/local_cli.py, scripts/local_norm.py, scripts/local_hours.py - shared loading, normalisation and hours parsing (not commands).
  • references/gbp-guidelines.md - which rule is published and which is a heuristic, with the sources named.
  • references/local-seo-rules.json - every threshold and platform figure, with a note where a figure needs verifying.
  • references/tool-reference.md - input formats, findings and options.
  • assets/ - sound, flawed and malformed samples for every tool (a fictional dental practice) and contract.json.

Scope & Limitations

In scope: consistency of name, address, suite, phone, website and hours between a profile and the listings you export; profile completeness; name stuffing; review reply rate, latency, unanswered low ratings and rating trend.

Out of scope: scraping or any network call, local rank tracking, the Map Pack or search results, review authenticity or fake-review detection, photo content, special and holiday hours, multi-location roll-ups, and posting or editing anything on Google or a directory.

Data constraints: the address parser covers English street vocabulary and US-style postal codes; other markets need the abbreviation tables extended. Phone matching assumes the profile number and the listings use the same country unless a country code is present. The name-length (100) and additional-category (9) limits were checked against Google Business Profile Help on 2026-12-03 and carry their source in the rules file; Google changes them, so recheck before relying on them. Small review samples swing: the trend needs five reviews in each 90-day window and is skipped otherwise.

Integration Points

Pairs with seo-audit for the website side, schema-markup for LocalBusiness structured data, content-strategy for location pages, and ai-content-disclosure when review replies or review requests are drafted with AI.