/seo:seo-analyze <domain or sc-domain:domain>from seo
Authority-first SEO analysis using Google Search Console data to determine proven ranking ceiling, cluster existing authority, and recommend 3-5 topics with titles, slugs, and internal link plans.
Ships in seo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are running an Authority-First Content Analysis for: $ARGUMENTS
If the target above is empty or still shows an unfilled argument placeholder, ask the user for the domain (or GSC property) and wait for the answer.
This is the orchestrating front door for the whole /seo-* suite: it maps your proven authority and routes you to the right deep-dive command.
Most SEO tools gate keyword selection on a single domain number (a rule like KD ≤ DR × 0.7 + 10). That contradicts the knowledge base:
So this command does not gate on DR. It measures what you've already proven you can rank for, and expands from there. DR is used only as a cold-start prior when there's almost no GSC history (see Step 2).
Methodology anchors (knowledge base): Section 1 (topical authority + bridges), Sections 5+17 (internal-link authority flow), Section 7 (Beachhead — GSC reveals the real keyword universe), Section 9 (BoF > ToF, 400-800w — every pick is a conversion play: the page positions the product as the answer, fact-checked against a LIVE pull of the product's code (/seo-product-facts), never invented), Section 18 (Thin Starter), Section 19 (Re-Evaluation / NavBoost 13mo), Section 24 (CTR as authority signal).
Product-first framing: if this site sells a product, every page is a conversion play, not an info blog. When recommending picks, note for each how the product wins the query (BoF angle) — but the actual product claims get grounded later in the brief by a LIVE /seo-product-facts pull of the app + website code (auto-detected siblings, never cached). Do not invent capabilities here either.
This skill keeps state in seo/{domain}/ inside the current working directory. {domain} is the domain argument lowercased, with sc-domain:, https://, http://, a leading www. and any trailing / removed (sc-domain:Example.com becomes example.com). Two files live there, both markdown tables:
log.md, written only by /seo-log. Header: | Date | Page | Query | Action | Change | Why | Baseline | Revisit | Result | Outcome |backlog.md, written by every skill that recommends work. Header: | ID | Added | Skill | Page | Query | Action | Note | Status |Action is one of: title, content, internal-link, republish, merge, new-page, tech-fix, evaluate. Status is one of: open, done, dropped. Outcome is one of: pending, gain, no-gain, loss. Dates are YYYY-MM-DD.
Before the first step:
seo/{domain}/log.md and seo/{domain}/backlog.md if they exist. A missing folder or file is not an error: continue without it.log.md row dated within the last 7 days is cooling down. Recommend no action on it and use it as no link source this run; list it under "Cooling down" with the date it is free again (row date + 7 days).log.md has 2 or more rows for the same Page and Action with Outcome no-gain or loss, do not recommend that Action for that Page again. List it under "Stopped: tried twice without gain" with both dates.log.md rows with Outcome pending and a Revisit date on or before today.After the output:
5. Append each recommendation of this run to backlog.md as one row: ID = B plus the next number (highest existing ID + 1, first row B1), Added = today, Skill = this skill's name, Page = full URL (new for a page that does not exist yet), Query = target query or -, Action from the list for this skill below, Note = at most 100 characters, Status = open. Replace any | inside a value with /. Skip a recommendation when an open row with the same Page (for new: the same Query) and the same Action already exists, and write "already in backlog as B7" (that row's ID) next to it in the output.
6. If seo/{domain}/ does not exist yet, create it and backlog.md with the header row and the separator row |---|---|---|---|---|---|---|---|. When this run created the folder and the working directory is a git repository where git check-ignore -q seo/ exits non-zero, add this line to the output: "Note: seo/ holds Search Console numbers. If this repository is public, add seo/ to .gitignore."
7. End the output with these lines: if the count from rule 4 is above 0, "N change(s) are due for review: run /seo-log review {domain}." Then always: "State: " followed by the absolute path of seo/{domain}/.
State in this skill: Backlog actions: a pick that is a new page → new-page (Page new, Query = the keyword); a Quick-Win Push on an existing page → evaluate (Page = that page; the detail comes from /seo-quick-wins). Re-Evaluation flags and pSEO notes get no row. Cooldown (rule 2) applies to the page of a Quick-Win Push and to every Link IN source page in the plans.
Call mcp__gsc__advanced_search_analytics (pass site_url if $ARGUMENTS differs from the default):
Split the rows into three buckets by position:
If the site has < 15 Owned queries total, it's effectively cold-start → skip Step 2's ceiling, fall back to the DR prior (KD ≤ DR×0.7+10, fetch DR via mcp__dataforseo__dataforseo_labs_google_domain_rank_overview), and tell the user this is a cold-start run.
Take the top ~25 Owned queries (Pos ≤ 7) by impressions and call mcp__dataforseo__dataforseo_labs_bulk_keyword_difficulty on them.
This number replaces the DR threshold for the rest of the run.
Position proves the ceiling; clicks prove authority. A page at Pos ≤ 7 with zero clicks over the window still informs the ceiling (it demonstrates rankability), but it is NOT an authority source — never plan internal links FROM click-less pages (the click-gate in /seo-next-content enforces this).
Group Owned + Striking-distance queries into 3–6 topical clusters (by shared head terms / entities — e.g. for a database-tool product: "X vs Y db tool", "pgadmin/dbeaver alternative", " client", " pricing").
For each cluster compute a cluster ceiling = highest KD with ≥2 top-7 wins in that cluster (fall back to the site ceiling if <2 examples). Comparison/alternative clusters often punch far above the site average — that's the whole point.
Run these in parallel:
(a) Quick-Win Push — directly from the Striking-distance bucket (Step 1). No API cost. These are keywords you already rank Pos 8–20 for.
(b) Bridge Expansion — for each authority center, call mcp__dataforseo__dataforseo_labs_google_related_keywords (seed = cluster's strongest keyword, location_name="United States", language_code="en", limit=60). These are the adjacent keywords you don't own yet (Section 1 bridges).
(c) Content Gap — optionally call mcp__gsc__content_gaps and/or seed mcp__dataforseo__dataforseo_labs_google_keyword_ideas from cluster heads to surface terms competitors rank for and you don't.
(d) Competitor Brand × Differentiator (Section 9; only if the site sells a product with named competitors). Searches for a competitor's brand plus a modifier that competitor doesn't serve are BoF traffic with almost no competition.
/vs/<competitor> page in the website repo. Take the top 3 by impressions./seo-product-facts extraction for sections B (pricing), C (platforms) and G (per-competitor differentiators) only. Code-verified facts only, never invent one.mcp__dataforseo__dataforseo_labs_google_keyword_suggestions (keyword = competitor brand, location_name="United States", language_code="en", limit=100).Merge, dedupe, drop keywords you already Own (Pos ≤ 7 — covered) and obvious off-topic noise (keywords sharing no entity/term with any authority center — this is the niche filter the lightweight commands lack).
Get KD for the merged candidates via mcp__dataforseo__dataforseo_labs_bulk_keyword_difficulty (chunk if >100). Mark each candidate REALISTIC if any of these hold:
Everything else → PARK (genuinely above your proven reach — needs more cluster authority first). Do not silently drop parked items; surface the count and the single biggest one so the user sees what's gated and why.
For the realistic set, apply (cheap, no per-keyword AI):
node "${CLAUDE_SKILL_DIR}/../../scripts/serp.mjs" --keyword "<keyword>" --location "United States" --language en --depth 10 with the Bash tool and a timeout of 300000 ms (double quotes around the keyword, a backslash before any ", $ or backtick inside it). It prints JSON with the organic results (rank, domain, title, breadcrumb, website_name), serp_features and people_also_ask, and asks DataForSEO to repair poisoned Google SERPs. If it exits non-zero, write SERP check failed: <first line of its error output> for that keyword and score it without the SERP. If 6+ results are commercial/comparison → confirm BoF + decide doc type (blog vs landing vs comparison); if AI-Overview + Reddit/Wiki dominate → deprioritize.Pick a deliberately diverse set:
file:line source.Also flag (route, don't fully expand here):
/seo-re-eval".## Authority Analysis — <domain>
### Proven authority (what the data says you can do)
- **Proven ceiling: KD {N}** (you rank top-7 for "{kw}" at KD {N}) — this, not DR, is the bar.
- Owned: {n} queries Pos ≤7 · Striking distance: {n} (Pos 8-20) · Latent: {n}
- Authority centers: [cluster A (ceiling KD x)] · [cluster B (ceiling KD y)] · ...
### Do next (priority order)
For each of 3-5 picks:
#### #1 · [Keyword] — [Quick-Win Push | Bridge Expansion | Content Gap | Competitor Gap]
**Why this**: [proven-authority reason, e.g. "you rank Pos 11 for it / KD 34 ≤ cluster ceiling 36 — within proven reach"]
Vol X/mo · KD Y (ceiling Z) · Funnel BoF · {already Pos N | new page}
**Plan**: slug `/...` · Title (150-220c) "..." · doc type {blog|comparison|landing|thin-starter} · {word target}
**Link IN** (authority TO this page): from [hub Pos 1-3 for "kw"] → anchor "..." (Section 17: not from Pos 1-3-for-this, not to Pos 95+)
**Link OUT**: to [Pos 4-15 page needing push] → anchor "..."
### Parked (above proven reach — revisit after cluster grows): {count}
- biggest: "{kw}" (KD {n} > ceiling {m}) — needs {what} first
### Deep-dive handoffs
- Full brief for a pick → `/seo-next-content` · Quick wins detail → `/seo-quick-wins` · Republish → `/seo-re-eval` · Cannibalization → `/seo-cannibal` · LLM fan-out → `/seo-llm-audit`
After the table, offer: "Say brief 2 and I'll generate the full publish-ready brief for pick #2 (using the /seo-next-content format) — product-grounded by a LIVE /seo-product-facts pull from your app + website code (every run, no cache), so every comparison carries a truthful [Product] column and a real CTA, never invented features."
~$0.12-0.24 per run (1-2 bulk_keyword_difficulty batches + 1-2 related_keywords + ~5 SERP live, plus ~$0.02 per competitor for stream (d), max 3). GSC calls are free. Comparable to one /seo-next-content, but covers the whole site instead of one cluster.
/seo-quick-wins, /seo-re-eval, /seo-cannibal, /seo-next-content for depth.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mxfschr/claude-code-seo --plugin seo12 skills in this plugin
/seo-cannibalDetects keyword cannibalization in Search Console (several pages of one domain competing for the same query), tells real conflicts from normal SERP rotation and recommends merge, canonical, noindex or differentiation per conflict. Use when the user asks about cannibalization, pages competing with each other, or two URLs swapping for one keyword./seo-cluster-expandScouts the semantic neighborhood of a seed keyword with DataForSEO and Search Console and sorts it into three buckets: push an existing page, write a thin starter page, or skip. Use when the user enters a new topic, wants keyword ideas around a seed keyword, or asks how to build topical authority in a cluster./seo-competitor-watchTracks which pages competitors newly rank with. Snapshots each competitor's top pages from DataForSEO Labs into seo/{domain}/competitors/, compares them with the last run and routes the keywords worth a page to /seo-quick-wins or /seo-next-content. Use when the user asks what competitors published, which of their pages started ranking, or wants a monthly competitor check./seo-healthTechnical health and indexing check for a domain, from Search Console and DataForSEO On-Page: error status codes, internal links that redirect, canonicals pointing elsewhere, pages no other page links to in the content, missing titles and H1s, content that only appears after JavaScript, and the index status of linked pages that never get impressions. Use when the user asks for a technical SEO audit, site health, indexing problems or crawled, not indexed./seo-link-vetVets a backlink, link exchange or guest post offer: does the linking page itself rank and get traffic, does the site fit the niche, or is it a link farm. Gives an accept, counter or decline verdict with a reply strategy, without the Backlinks API. Use when the user received a link offer, a guest post pitch or a link exchange request./seo-llm-auditFinds LLM fan-out queries in Search Console (long compare, evaluate, alternative and vs queries at position 1 to 10 with impressions and almost no clicks) and the pages LLMs use as sources, with an optional Bing AI Performance export. Use when the user asks about visibility in ChatGPT, Perplexity or other AI answers, AI citations, or GEO.Other plugins' skills for the same job