Agent skill

Local Competitor Analysis

by garrettjsmith in garrettjsmith/localseoskills

When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them.

MITAuto-check passedMarketing & SEO

Install Local Competitor Analysis

skills CLI
$ npx skills add garrettjsmith/localseoskills --skill local-competitor-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install garrettjsmith/localseoskills local-competitor-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/garrettjsmith/localseoskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/local-competitor-analysis .claude/skills/local-competitor-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
local-competitor-analysis
GitHub stars
120
Token cost
~1.5k tokens
SKILL.md length
647 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them.

  • Works in 4 steps: Target keywords: What searches matter… → Current competitors: Who's in the local… → Market: Geographic area and business type → …
  • Wants to analyze local search competitors
  • SKILL.md covers Initial Assessment, Competitor Identification, Analysis Framework and Competitive Comparison Matrix, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Local Competitor Analysis is an agent skill from garrettjsmith/localseoskills. When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them. Also use when the user mentions "competitor analysis," "who's outranking me," "competitor GBP," "local competition," or "competitive audit." For geogrid-specific ranking data, see geogrid-analysis. For general map pack strategy, see map-pack-optimization.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO, covering Local SEO and Competitor analysis. The repository describes itself as: Open-source Claude SEO tool for local search visibility — skills, tool integrations, and automation templates that turn Claude into a Local SEO expert. The licence is MIT.

When your agent uses it

  • Wants to analyze local search competitors
  • Benchmark against map pack rivals
  • Understand why competitors outrank them
  • The user mentions competitor analysis

Example prompts

  • “competitor analysis,”
  • “s outranking me,”
  • “competitor GBP,”
  • “/local-competitor-analysis”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Target keywords: What searches matter most?
  2. Current competitors: Who's in the local 3-pack now?
  3. Market: Geographic area and business type
  4. Your position: Current ranking vs. competitors

What it can do on your machine

Read from SKILL.md and the folder at commit 405ce20. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Local Competitor Analysis loads about 1.5k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 647 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from garrettjsmith/localseoskills at commit 405ce20, republished under its MIT licence (© garrettjsmith). 647 words, ~1,469 tokens.

Download SKILL.mdSave it as .claude/skills/local-competitor-analysis/SKILL.md (or your agent's skills folder).
name
local-competitor-analysis
description
When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them. Also use when the user mentions "competitor analysis," "who's outranking me," "competitor GBP," "local competition," or "competitive audit." For geogrid-specific ranking data, see geogrid-analysis. For general map pack strategy, see map-pack-optimization.
metadata.version
1.0.0
metadata.author
Garrett Smith

Local Competitor Analysis

Default data tool: LocalSEOData (localseodata-tool). Use competitor_gap for ranking/review comparison, backlink_gap for link opportunities, competitor_ads for ad intelligence, business_listings for market overview. For deep backlink analysis, use Ahrefs.

You are an expert in local search competitive intelligence. Your goal is to identify what competitors are doing to rank, find gaps and opportunities, and build an actionable strategy to outperform them.

Initial Assessment

  1. Target keywords: What searches matter most?
  2. Current competitors: Who's in the local 3-pack now?
  3. Market: Geographic area and business type
  4. Your position: Current ranking vs. competitors

Competitor Identification

Map Pack Competitors
  • Search target keywords on Google Maps
  • Note the top 3-5 businesses for each keyword
  • Check from multiple locations across the service area (geogrids)
  • Competitors may differ by keyword and location
Organic Local Competitors
  • Search target keywords in regular Google results
  • Note who ranks for localized organic results
  • May differ from map pack competitors
Emerging Competitors
  • New businesses in the area
  • Businesses recently investing in SEO (new reviews, new content)
  • Franchises entering the market

Analysis Framework

Per Competitor, Evaluate:

GBP Signals

  • Primary category (use GMB Spy or similar to check)
  • Additional categories
  • Business name (keyword-stuffed? legitimate?)
  • Business description completeness
  • Photo count and recency
  • Post frequency and recency
  • Q&A presence
  • Services/products listed
  • Attributes completed

Review Signals

  • Total review count
  • Average rating
  • Review velocity (recent review frequency)
  • Response rate and quality
  • Keyword mentions in reviews
  • Reviews with photos

Citation Signals

  • Presence on major directories
  • NAP consistency
  • Industry-specific directory coverage
  • Data aggregator presence

Website Signals

  • Domain authority
  • Location page quality
  • Service page depth
  • LocalBusiness schema
  • NAP on website
  • Blog/content strategy
  • Site speed and mobile experience

Link Signals

  • Local backlinks (chamber, associations, sponsors)
  • Industry-relevant links
  • Press/media links
  • Total referring domains

Competitive Comparison Matrix

Create a matrix for the top 3-5 competitors:

SignalYour BusinessCompetitor ACompetitor BCompetitor C
Primary Category
Google Reviews
Avg Rating
Review Velocity (/mo)
GBP Photos
GBP Posts (last 30d)
Domain Authority
Location Page?
Schema Markup?
Citation Count (est)

Finding the Gap

Where You're Behind
  • Fewer reviews → launch review generation campaign
  • Weaker category → research more specific categories
  • Less content → build service/location pages
  • Fewer citations → citation building campaign
  • No local links → local link building
Where You Can Leapfrog
  • Competitors with stale GBPs (no recent posts/photos)
  • Competitors ignoring reviews (not responding)
  • Competitors with thin websites (no location pages)
  • Competitors with NAP inconsistencies
  • Keywords none of them are targeting
Show full SKILL.md (251 more words)Show less
Spam to Report
  • Keyword-stuffed business names
  • Fake business addresses (virtual offices, UPS stores)
  • Fake reviews
  • Multiple listings for the same business
  • Categories that don't match actual services

Output Format

Competitive Analysis Report
  • Market overview and keyword landscape
  • Per-competitor breakdown with scores
  • Comparison matrix
  • Gap analysis (where you're behind, where you can win)
  • Spam findings to report
  • Prioritized action plan

Task-Specific Questions

  1. What are your target keywords?
  2. Who do you consider your main competitors?
  3. What geographic area?
  4. What's your current ranking position?
  5. What local SEO work have you already done?

What to Do Next

What You FoundNext ActionSkill
Competitors have more reviewsBuild a review generation strategy to close the gapreview-management
Competitors rank better geographicallyRun geogrid scans to see exactly WHERE they beat yougeogrid-analysis
Competitors have better GBP profilesOptimize your profile to match or exceed their setupgbp-optimization
Competitors have citation sources you're missingBuild citations on those same directorieslocal-citations
Competitor has a keyword-stuffed business nameReport the violation to Google, then outperform them on legitimate signalsgbp-optimization

Default next step: Competitive analysis without action is just research. Pick the top 2-3 gaps and immediately start closing them.

Tools for This Skill

See docs/tool-routing to pick based on what's connected.

  • Backlink comparison → backlink tools (multiple options)
  • Keyword gap analysis → keyword research tools (multiple options)
  • Ranking comparison → Local Falcon (only option for geogrid), live SERP tools for spot-checks
  • LSA competitive data → LSA Spy (only option)
  • Citation comparison → citation tools (multiple options)

© garrettjsmith, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/local-competitor-analysis of garrettjsmith/localseoskills.

Open the folder on GitHubat commit 405ce20

Compare with similar skills

Local Competitor Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Local Competitor Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Local Competitor Analysis this skillgarrettjsmith/localseoskills120—~1.5kAutomated safety check: PassMIT
Local Competitor Scanunifapi-agent/agents589—~2.3kAutomated safety check: PassMIT
SEO Content Brief GeneratorAgriciDaniel/claude-seo19k2 repos~2.6kAutomated safety check: PassMIT
FLOW SEO FrameworkAgriciDaniel/claude-seo19k2 repos~1.4kAutomated safety check: PassMIT
SEO DataforseoAgriciDaniel/codex-seo7972 repos~4.6kAutomated safety check: PassMIT
Competitor ProfilingNexus-JPF/note-companion8704 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Local Competitor Scan

    unifapi-agent/agents

    When a local business wants to map the competitors winning the local pack for its target queries — their categories, ratings, review counts, and what they have that it lacks.

    589 GitHub stars~2.3k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • SEO Content Brief Generator

    AgriciDaniel/claude-seo

    Builds research-backed SEO content briefs with competitor scoring, per-section word counts and page-type templates, for new pages or improving existing ones.

    19k GitHub starsUsed in 2 repos~2.6k tokens
    Marketing & SEOAuto-check passed
  • FLOW SEO Framework

    AgriciDaniel/claude-seo

    Brings the FLOW framework's stage-specific SEO prompts into the agent, from keyword discovery through backlinks, on-page work and conversion to local SEO, loaded on demand.

    19k GitHub starsUsed in 2 repos~1.4k tokens
    Marketing & SEOAuto-check passed
  • SEO Dataforseo

    AgriciDaniel/codex-seo

    Live SEO data via DataForSEO MCP server. An agent skill from AgriciDaniel/codex-seo.

    797 GitHub starsUsed in 2 repos~4.6k tokens
    Marketing & SEOAuto-check passed
  • Competitor Profiling

    Nexus-JPF/note-companion

    When the user wants to research, profile, or analyze competitors from their URLs.

    870 GitHub starsUsed in 4 repos~3.5k tokens
    Marketing & SEOAuto-check passed
  • Startup Competitors

    ferdinandobons/startup-skill

    Deep competitive intelligence for any market. An agent skill from ferdinandobons/startup-skill.

    1.2k GitHub stars~4.1k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed

More from garrettjsmith/localseoskills

All 38 skills in this repo
  • Gbp API Automation

    garrettjsmith/localseoskills

    When the user wants to programmatically manage Google Business Profiles at scale via API, automate GBP updates, build GBP management tools, or integrate GBP data into their systems.

    120 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Gbp Posts

    garrettjsmith/localseoskills

    When the user wants to create, schedule, or optimize Google Business Profile posts.

    120 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Local Content Briefs

    garrettjsmith/localseoskills

    Generate complete semantic content briefs for local SEO content — location pages, service pages, blog posts, FAQ content, and pillar pages.

    120 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Brief

    garrettjsmith/localseoskills

    Manages persistent work state (briefs) for local SEO engagements.

    120 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: warnings
  • Local Content Strategy

    garrettjsmith/localseoskills

    Build a complete local content strategy from keyword research output.

    120 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Local Falcon Tool

    garrettjsmith/localseoskills

    When the user wants to run a geogrid scan, check existing scan reports, track ranking trends over time, monitor GBP changes via Falcon Guard, or analyze reviews.

    120 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Local Competitor Analysis

What does Local Competitor Analysis do?

When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them. Local Competitor Analysis is an agent skill from garrettjsmith/localseoskills. When the user wants to analyze local search competitors, benchmark against map pack rivals, or understand why competitors outrank them.

When should I use Local Competitor Analysis?

Local Competitor Analysis fits situations like: wants to analyze local search competitors; benchmark against map pack rivals; understand why competitors outrank them; the user mentions competitor analysis.

How do I install Local Competitor Analysis in Claude Code?

Run `npx skills add garrettjsmith/localseoskills --skill local-competitor-analysis -a claude-code`. Or copy the skill folder (skills/local-competitor-analysis in garrettjsmith/localseoskills) into .claude/skills/local-competitor-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Local Competitor Analysis in Codex?

Run `npx skills add garrettjsmith/localseoskills --skill local-competitor-analysis -a codex`. Or copy the skill folder (skills/local-competitor-analysis in garrettjsmith/localseoskills) into .agents/skills/local-competitor-analysis in your project. Codex loads it when a task matches its description.

Can I use Local Competitor Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add garrettjsmith/localseoskills --skill local-competitor-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/local-competitor-analysis, .gemini/skills/local-competitor-analysis, .github/skills/local-competitor-analysis and .opencode/skills/local-competitor-analysis in your project.

What does Local Competitor Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Local Competitor Analysis is instructions for the agent only.

Does Local Competitor Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Local Competitor Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Local Competitor Analysis use?

Local Competitor Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Local Competitor Analysis use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Local Competitor Analysis?

Skills that share tags, products or a category with Local Competitor Analysis: Local Competitor Scan (unifapi-agent/agents, 589 stars), SEO Content Brief Generator (AgriciDaniel/claude-seo, 19k stars), FLOW SEO Framework (AgriciDaniel/claude-seo, 19k stars) and SEO Dataforseo (AgriciDaniel/codex-seo, 797 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Local Competitor Analysis?

garrettjsmith (a GitHub user) maintains it in garrettjsmith/localseoskills, which has 120 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on August 15, 2026.

Source: garrettjsmith/localseoskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.