gsc-cli 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/PKG-INFO +12 -1
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/README.md +11 -0
- gsc_cli-0.2.1/plugins/gsc-cli/.claude-plugin/icon.png +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/.claude-plugin/plugin.json +9 -1
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-ai-mode-detect/references/ai-mode-query-patterns.md +22 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-audit/SKILL.md +9 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-cannibalization/SKILL.md +23 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-compare/SKILL.md +1 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-core/SKILL.md +21 -5
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-opportunities/SKILL.md +125 -1
- gsc_cli-0.2.1/plugins/gsc-cli/skills/gsc-sitemaps/SKILL.md +65 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/pyproject.toml +1 -1
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/__init__.py +1 -1
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/uv.lock +1 -1
- gsc_cli-0.2.0/plugins/gsc-cli/skills/gsc-sitemaps/SKILL.md +0 -47
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/.claude-plugin/marketplace.json +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/.github/workflows/publish.yml +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/.gitignore +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/CLAUDE.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/LICENSE +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/LICENSE +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/README.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-ai-mode-detect/SKILL.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-analyze/SKILL.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-inspect/SKILL.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-query/SKILL.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/plugins/gsc-cli/skills/gsc-sites/SKILL.md +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/auth.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/benchmarks.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/__init__.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/auth_cmd.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/genai.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/inspect_cmd.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/main.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/multimodal.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/query.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/sitemaps.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/cli/sites.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/client.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/data/seo-benchmarks.json +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/formatters.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/src/gsc/models.py +0 -0
- {gsc_cli-0.2.0 → gsc_cli-0.2.1}/tests/test_exports.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: gsc-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Google Search Console CLI and backend for Claude Code SEO-analysis skills.
|
|
5
5
|
Project-URL: Homepage, https://seoconsult.bg
|
|
6
6
|
Project-URL: Documentation, https://github.com/seoconsultbg/gsc-cli#readme
|
|
@@ -154,6 +154,17 @@ A command resolves its profile by precedence: explicit `--profile`/`$GSC_PROFILE
|
|
|
154
154
|
→ the profile whose `sites` list contains the target URL → `default`. Full details
|
|
155
155
|
in [CLAUDE.md](CLAUDE.md).
|
|
156
156
|
|
|
157
|
+
## Troubleshooting
|
|
158
|
+
|
|
159
|
+
- **`invalid_grant` / "Error refreshing OAuth token" about a week after login.** Your
|
|
160
|
+
OAuth consent screen is External and still in "Testing", and Google expires those
|
|
161
|
+
refresh tokens after 7 days. Publish the app (Google Cloud Console > OAuth consent
|
|
162
|
+
screen > Publish app) and run `gsc auth login` again.
|
|
163
|
+
- **Old logins stop working after many re-logins.** Google keeps at most 100 refresh
|
|
164
|
+
tokens per account per OAuth client and revokes the oldest without warning.
|
|
165
|
+
- **Service account works but `gsc sites list` is empty.** Add the service account's
|
|
166
|
+
`client_email` as a user on each Search Console property.
|
|
167
|
+
|
|
157
168
|
## Contributing
|
|
158
169
|
|
|
159
170
|
Issues and PRs welcome. Lint/format with `ruff` (line-length 100):
|
|
@@ -121,6 +121,17 @@ A command resolves its profile by precedence: explicit `--profile`/`$GSC_PROFILE
|
|
|
121
121
|
→ the profile whose `sites` list contains the target URL → `default`. Full details
|
|
122
122
|
in [CLAUDE.md](CLAUDE.md).
|
|
123
123
|
|
|
124
|
+
## Troubleshooting
|
|
125
|
+
|
|
126
|
+
- **`invalid_grant` / "Error refreshing OAuth token" about a week after login.** Your
|
|
127
|
+
OAuth consent screen is External and still in "Testing", and Google expires those
|
|
128
|
+
refresh tokens after 7 days. Publish the app (Google Cloud Console > OAuth consent
|
|
129
|
+
screen > Publish app) and run `gsc auth login` again.
|
|
130
|
+
- **Old logins stop working after many re-logins.** Google keeps at most 100 refresh
|
|
131
|
+
tokens per account per OAuth client and revokes the oldest without warning.
|
|
132
|
+
- **Service account works but `gsc sites list` is empty.** Add the service account's
|
|
133
|
+
`client_email` as a user on each Search Console property.
|
|
134
|
+
|
|
124
135
|
## Contributing
|
|
125
136
|
|
|
126
137
|
Issues and PRs welcome. Lint/format with `ruff` (line-length 100):
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsc-cli",
|
|
3
3
|
"displayName": "GSC CLI",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "Google Search Console analysis skills for Claude Code: performance overviews, period compares, cannibalization, quick wins, indexing audits and AI Mode query residue. Runs the open-source gsc CLI on your machine.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "SEO Consult",
|
|
@@ -19,6 +19,14 @@
|
|
|
19
19
|
"cannibalization",
|
|
20
20
|
"ai-overviews"
|
|
21
21
|
],
|
|
22
|
+
"userConfig": {
|
|
23
|
+
"client_secrets": {
|
|
24
|
+
"type": "file",
|
|
25
|
+
"title": "Google OAuth client_secrets.json",
|
|
26
|
+
"description": "Path to the OAuth client file from Google Cloud Console. Used once by `gsc auth login`; the file stays on your machine and is sent only to Google.",
|
|
27
|
+
"required": false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
22
30
|
"documentationUrl": "https://github.com/seoconsultbg/gsc-cli#readme",
|
|
23
31
|
"supportUrl": "https://github.com/seoconsultbg/gsc-cli/issues"
|
|
24
32
|
}
|
|
@@ -43,6 +43,28 @@ known-unmeasured rather than pretending the extract is complete:
|
|
|
43
43
|
three scripts does not. If the property has traffic in other scripts, say the
|
|
44
44
|
extract undercounts them specifically.
|
|
45
45
|
|
|
46
|
+
## Templated prompts with a location header
|
|
47
|
+
|
|
48
|
+
(added 2026-10-13, reported by DrMax on a new test site, RU Telegram.) Rows that are a
|
|
49
|
+
whole instruction rather than a query:
|
|
50
|
+
|
|
51
|
+
`context: location: germany (not for language). do not include location references in your response. question: <goal>: <what to check> and <how to avoid a problem>?`
|
|
52
|
+
|
|
53
|
+
The question part is in the user's language and always has the same two-part shape
|
|
54
|
+
(what to look at / what is required, then how to avoid a problem). Paste-ready filter:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
(?i)^context:\s*location:
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Origin, resolved the same day: the reporter then wrote that he had been debugging his
|
|
61
|
+
own "GSC Page Action Planner" plugin and that "GSC stole my queries" - the rows were
|
|
62
|
+
the prompts his own tooling sent through an AI search that queried Google, not Google
|
|
63
|
+
rewriting users' questions. Lesson for any property: before reading odd rows as a
|
|
64
|
+
Google mechanism, ask who on the team (or which tracker, agent or plugin) has been
|
|
65
|
+
running prompts about the site's topics. Count such rows as machine-issued, never as
|
|
66
|
+
human demand, and never build pages per row.
|
|
67
|
+
|
|
46
68
|
## Long fully-formed questions
|
|
47
69
|
|
|
48
70
|
Very long, grammatically complete natural-language questions are also residue, but
|
|
@@ -43,6 +43,15 @@ Window for finding top pages: `END = today − 3`, `START = today − 31`.
|
|
|
43
43
|
`last_crawl_time` older than ~30 days (stale).
|
|
44
44
|
- **Sitemaps:** per content type compare `submitted` vs `indexed`; flag
|
|
45
45
|
`errors > 0`, big indexed gaps, `is_pending`, or stale `last_downloaded`.
|
|
46
|
+
`errors = 0` does not mean the listed URLs are clean - see `gsc-sitemaps` step 5.
|
|
47
|
+
- **Filter the pages that are meant to stay out of the index before reporting.** Keep a
|
|
48
|
+
per-site list of URL patterns that are not indexed on purpose: cart, checkout, account,
|
|
49
|
+
login, internal search, thank-you pages, filtered or tag archives, pagination where it is
|
|
50
|
+
noindexed. Drop matches from the problem list and report them as one line ("N expected
|
|
51
|
+
exclusions"). Without this filter the report is mostly noise. In one documented case
|
|
52
|
+
(Habr 1090116, 2026), 11 indexing problems on 197 HTML pages came down to 1 real issue,
|
|
53
|
+
because the other 10 were normal service pages. A page from that list that does get
|
|
54
|
+
impressions is itself a finding: it is indexed when it should not be.
|
|
46
55
|
|
|
47
56
|
## "Crawled - currently not indexed" is unreliable — verify before reporting
|
|
48
57
|
|
|
@@ -109,6 +109,7 @@ searcher's stage - so an even click split alone does not prove a problem. Use th
|
|
|
109
109
|
`latent-intent` Сценарий Е overlap test (below) to separate them: distinct
|
|
110
110
|
hidden-intent shares = keep both and differentiate; near-total overlap = genuine
|
|
111
111
|
duplication.
|
|
112
|
+
Judge the **whole query pool, not one query** (Artur Ferreira, LinkedIn, 2026-10): if each URL owns its own set of queries and they meet on one or two, merging kills reach; it is a problem only when both keep colliding across the queries they exist for and the priority URL never settles. URL rotation on a single query is a signal to look, not proof - positions move for many reasons. Measure first, merge second.
|
|
112
113
|
|
|
113
114
|
**Why this skill is GSC-native.** Detecting the same split from a rank tracker
|
|
114
115
|
(count how many of a site's URLs surface in the top 100 for a query) got more
|
|
@@ -118,6 +119,28 @@ query+page report has no such ceiling and reports every URL that earned
|
|
|
118
119
|
impressions, so prefer it as the primary detector; reserve a rank tracker for
|
|
119
120
|
confirming the live SERP position of the URLs GSC already flagged.
|
|
120
121
|
|
|
122
|
+
## The reverse case: one URL, several intents (split candidates)
|
|
123
|
+
|
|
124
|
+
(added 2026-10-14, Jan-Willem Bobbink cases via a RU retelling: an e-commerce site that cut
|
|
125
|
+
each category page to one intent, +23% clicks year on year across category pages; a SaaS site
|
|
126
|
+
that split solution pages into audience pages and use-case pages, +73%. Two sites, vendor-side
|
|
127
|
+
reporting.) Cannibalization is many URLs on one query; the opposite problem is one URL
|
|
128
|
+
collecting impressions for several unrelated query clusters (category + top brand +
|
|
129
|
+
cheapest option + buying guide on one page). Consolidation advice assumes one intent; it
|
|
130
|
+
does not apply here, and passage ranking only finds the answer inside a mixed page, it
|
|
131
|
+
does not make that page the best result.
|
|
132
|
+
|
|
133
|
+
1. From the same `query,page` pull, group each page's queries by meaning. A page with two
|
|
134
|
+
or more clusters that each carry real impressions is a candidate.
|
|
135
|
+
2. Check the live SERP for each cluster. Different result types or different competitors
|
|
136
|
+
mean Google treats them as different intents; follow that.
|
|
137
|
+
3. Split only when the new page can stand alone: its own title, its own content, a place in
|
|
138
|
+
the navigation. A thin spin-off is worse than the combined page.
|
|
139
|
+
4. Keep the original URL for its main intent and link from it to the new pages; no 301.
|
|
140
|
+
Budget the template and internal-link work with the developer before agreeing the split.
|
|
141
|
+
5. Re-run this check after a split: the new pages should take their cluster, not compete
|
|
142
|
+
with the parent (that would turn the fix into ordinary cannibalization).
|
|
143
|
+
|
|
121
144
|
## Presentation
|
|
122
145
|
|
|
123
146
|
A table per cannibalized query: the query, each competing page, and its
|
|
@@ -60,6 +60,7 @@ M. Diggity's GSC decay agent; his two markers, extended):
|
|
|
60
60
|
| Clicks down 20%+ AND position worse | ranking loss | `recover-content` triage (Level 0 first when many pages move together) |
|
|
61
61
|
| Impressions flat or up, clicks down, position flat | a SERP feature / AI Overview absorbed the clicks, or a competitor won the snippet | live SERP check on the query (`climby_rank_tracker_aio_gap`, `dataforseo-research serp`); `ai-visibility-tracking` Step 6 - not a title rewrite |
|
|
62
62
|
| Impressions down, position flat | demand fell (check YoY / seasonality) or the query set narrowed | `recover-content` Level 0, Layers 1-2 |
|
|
63
|
+
| Impressions down sharply, clicks flat, average position and CTR improve | the lost impressions were deep ones (page 2+) that never produced clicks: a long tail that dropped out, or impressions that came from scrapers and rank trackers (the drop when Google removed `&num=100` in 09.2025 had exactly this shape). Average position improves mechanically, it is not a ranking gain | split queries by position bucket (1-10 / 11-20 / 21+) for both periods: if the loss sits in 21+ and page-1 clicks hold, report it as a measurement change, not a loss |
|
|
63
64
|
| Clicks split between two URLs on one query | cannibalization | `gsc-cannibalization` |
|
|
64
65
|
|
|
65
66
|
For decay detection (as opposed to "what changed after X") compare two 90-day
|
|
@@ -13,10 +13,20 @@ the result. `--format` is **global** and comes *before* the subcommand.
|
|
|
13
13
|
## If `gsc` is not found
|
|
14
14
|
|
|
15
15
|
Inside the gsc-cli project itself, call it as `uv run gsc ...`. Anywhere else, ask
|
|
16
|
-
the user to install it (`uv tool install gsc-cli` or `pipx install gsc-cli`)
|
|
17
|
-
`
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
the user to install it (`uv tool install gsc-cli` or `pipx install gsc-cli`) and run
|
|
17
|
+
`gsc auth login --client-secrets "${user_config.client_secrets}"` once (the plugin
|
|
18
|
+
setting points to their OAuth `client_secrets.json`; outside the plugin, pass that
|
|
19
|
+
path directly; the CLI talks only to Google). Without a local shell (claude.ai chat)
|
|
20
|
+
these skills cannot run: say so and point the user to Claude Code instead of estimating numbers.
|
|
21
|
+
|
|
22
|
+
**Auth failure a week after a working setup = the OAuth app is still in "Testing".** An
|
|
23
|
+
OAuth client whose consent screen is External with publishing status "Testing" gets
|
|
24
|
+
refresh tokens that expire after 7 days; every later call fails with `invalid_grant`
|
|
25
|
+
("Error refreshing OAuth token"). Fix: Google Cloud Console > OAuth consent screen >
|
|
26
|
+
Publish app, then run `gsc auth login` again (the old token keeps the 7-day rule). Also:
|
|
27
|
+
Google keeps at most 100 refresh tokens per account per client and silently revokes the
|
|
28
|
+
oldest; a service account authenticates fine but `gsc sites list` stays empty until its
|
|
29
|
+
`client_email` is added as a user on the GSC property.
|
|
20
30
|
|
|
21
31
|
## Date convention
|
|
22
32
|
|
|
@@ -109,6 +119,10 @@ answers a wrong question with `[]` or zeros, not an error. Before reporting "no
|
|
|
109
119
|
with the encoded form before calling the page dead. `country`
|
|
110
120
|
takes ISO 3166-1 alpha-3 (`bgr`, not `BG`); `device` takes `DESKTOP|MOBILE|TABLET`;
|
|
111
121
|
regex operators use RE2. A wrong value is not rejected, it just matches nothing.
|
|
122
|
+
RE2 has no lookahead/lookbehind or backreferences, matches anywhere in the string
|
|
123
|
+
unless anchored with `^...$`, and is case-sensitive unless prefixed with `(?i)`.
|
|
124
|
+
For a visual builder of question/brand/length patterns, J.C. Chouinard's free
|
|
125
|
+
generator (jcchouinard.com/tools/gsc-regex-generator.html) outputs RE2-safe strings.
|
|
112
126
|
- **Dimension and surface fit.** `-d query` on `discover` returns nothing useful; a rare
|
|
113
127
|
query under `equals` can sit inside the anonymized share and never appear; `web`
|
|
114
128
|
excludes multimodal (above).
|
|
@@ -249,7 +263,9 @@ Start on day one of the contract - history cannot be backfilled later.
|
|
|
249
263
|
but GSC shows ≈0 impressions means nobody searches it that way (or the
|
|
250
264
|
snippet never surfaces) - deprioritize before investing.
|
|
251
265
|
- Position no longer implies clicks where AI Overviews show: zero-click rates
|
|
252
|
-
are ~54-64% on AIO queries and #1 CTR
|
|
266
|
+
are ~54-64% on AIO queries and #1 CTR is ~58% lower when an AIO shows (Ahrefs,
|
|
267
|
+
04.02.2026, 300K keywords, Dec 2025 vs Dec 2023 GSC data, correlation; it was
|
|
268
|
+
34.5% in the 04.2025 study; per-position drop ~-51% at #2 to ~-19% at #10), while being cited inside
|
|
253
269
|
the AI answer recovers clicks. Flag AIO presence when CTR looks broken at a
|
|
254
270
|
good position.
|
|
255
271
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsc-opportunities
|
|
3
3
|
description: Find SEO quick wins in Google Search Console via the gsc CLI — striking-distance queries (position 11-20), low-CTR page-1 queries, and high-impression/low-click terms. Use when the user wants the highest-leverage opportunities to improve traffic.
|
|
4
|
-
allowed-tools: Bash(gsc *)
|
|
4
|
+
allowed-tools: Bash(gsc *)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# gsc-opportunities
|
|
@@ -87,6 +87,24 @@ Rank within each bucket by impressions (opportunity size), EXCEPT striking dista
|
|
|
87
87
|
where existing clicks outrank impressions (see above - historically-ranked queries
|
|
88
88
|
reconvert with less effort). Attach the ranking page from step 2 where useful.
|
|
89
89
|
|
|
90
|
+
## Low-CTR comparison group (DrMax GSC Page Action Planner v1.3.2, 2026-10-12)
|
|
91
|
+
|
|
92
|
+
The "expected band" above is a heuristic. When a low-CTR call will drive a title
|
|
93
|
+
change, build the comparison the planner's way (verbatim skill in
|
|
94
|
+
`seo-pipeline/references/gsc-page-action-planner-v1.3.2.md`, M3): aggregate
|
|
95
|
+
each query over the period first (sum clicks and impressions, position weighted
|
|
96
|
+
by impressions - never judge a single daily row); comparison group = UNIQUE
|
|
97
|
+
query aggregates with >= 30 impressions from the SAME position zone (<= 3 /
|
|
98
|
+
3-10 / 10-20 / 20-50 / > 50) and the SAME brand class (brand vs non-brand) on
|
|
99
|
+
the same page, the tested query excluded; benchmark = unweighted median CTR of
|
|
100
|
+
that group; signal = the query's CTR strictly below the median; group smaller
|
|
101
|
+
than 5 queries = COMPARISON UNAVAILABLE, which is never reported as "CTR is
|
|
102
|
+
fine". Report per query (signal / no signal / unavailable) and per page the
|
|
103
|
+
share of impressions each outcome covers - do not extend the available part's
|
|
104
|
+
verdict to the whole set. A title or description change stays a hypothesis
|
|
105
|
+
until measured (`signalforge`): the live snippet is unknown without a SERP
|
|
106
|
+
capture. Navigational-brand queries never enter the non-brand group.
|
|
107
|
+
|
|
90
108
|
## Machine-generated queries (filter before treating zero-click as a gap)
|
|
91
109
|
|
|
92
110
|
The "high impressions / low clicks" bucket is contaminated. LLMs and AI agents fan a
|
|
@@ -123,6 +141,25 @@ the conversational RESIDUE of human AI Mode sessions leaking in as ordinary rows
|
|
|
123
141
|
undercount - is owned by `gsc-ai-mode-detect`. Attribute a query to fan-out first
|
|
124
142
|
where the two overlap, so the same rows are not counted in both.
|
|
125
143
|
|
|
144
|
+
## Business-relevance filter (before ranking opportunities on a large pool)
|
|
145
|
+
|
|
146
|
+
(added 2026-10-12, after S. Mohanadasan's free Keyword Relevance Filter.) A big query
|
|
147
|
+
export is topically related but not commercially related: for a keyword-clustering
|
|
148
|
+
tool, "keyword clustering tool" and "k means clustering python" share a topic and
|
|
149
|
+
only one is a buyer. Striking-distance and high-impression lists inherit that noise.
|
|
150
|
+
|
|
151
|
+
1. Write a short brief: what the business sells, who buys, where it operates, its
|
|
152
|
+
brand names, and topics to exclude.
|
|
153
|
+
2. Label a sample of ~100 queries first and show it to the user. Fix the brief until
|
|
154
|
+
the sample reads right, then run the whole set. The sample is where a wrong brief
|
|
155
|
+
gets caught cheaply.
|
|
156
|
+
3. Label every query `relevant` / `outside scope` / `needs review`, with a one-line
|
|
157
|
+
reason, and tag brand vs non-brand. Rank opportunities only on `relevant`
|
|
158
|
+
non-brand rows; keep `needs review` for a human pass.
|
|
159
|
+
|
|
160
|
+
Do this in-session rather than in a third-party web tool when the export is client
|
|
161
|
+
data: those tools send query text to their classifier.
|
|
162
|
+
|
|
126
163
|
## Funnel bucketing: modifiers override topic (when clustering the query set)
|
|
127
164
|
|
|
128
165
|
When the deliverable is a clustered map of the query set (not just the four
|
|
@@ -136,6 +173,12 @@ carries the intent even when the topic looks commercial:
|
|
|
136
173
|
| best, top, review, alternative to (BG: най-добър, топ, ревю, алтернатива) | MOFU |
|
|
137
174
|
| pricing, buy, quote, custom, near me (BG: цена, купи, оферта, до мен) | BOFU |
|
|
138
175
|
| [brand] + product, free shipping, location modifiers | BOFU |
|
|
176
|
+
| [brand] + cancel, refund, return, complaint, contact, phone, login, not working, warranty, track order (BG: отказ, прекратяване, връщане, рекламация, оплакване, телефон, контакт, вход, не работи, гаранция, къде е поръчката) | Friction - not a funnel stage |
|
|
177
|
+
|
|
178
|
+
A friction modifier beats the `[brand] + product` row: "[brand] refund" is an
|
|
179
|
+
existing customer with a problem, not a buyer, and it never goes into the BOFU
|
|
180
|
+
cluster. Pull these rows out before grouping and handle them as described in
|
|
181
|
+
"Friction queries" below.
|
|
139
182
|
|
|
140
183
|
Tie-break with the "what would they click" test: if this searcher saw 10
|
|
141
184
|
results, which page type gets the click - a how-to (TOFU), a comparison (MOFU),
|
|
@@ -237,6 +280,55 @@ the homepage (use the step 2 query+page pairs). Queries without a dedicated page
|
|
|
237
280
|
are service-page candidates — flag them explicitly as the highest-commercial-value
|
|
238
281
|
gaps in the report.
|
|
239
282
|
|
|
283
|
+
## Friction queries: demand the business created
|
|
284
|
+
|
|
285
|
+
(added 2026-10-18, after J. Alderson, "Sometimes search volume is a bug report",
|
|
286
|
+
17 Oct 2026.) Some search volume is not demand waiting to be captured. It is people
|
|
287
|
+
going to Google for something the company should already have told them: how to
|
|
288
|
+
cancel, a phone number that is hard to find, a refund or complaints process, a
|
|
289
|
+
login, whether the thing works with what they own. That volume measures a gap in
|
|
290
|
+
the site, the product or the process, and it is worth more as a finding than as
|
|
291
|
+
traffic.
|
|
292
|
+
|
|
293
|
+
Bucket brand queries carrying a friction modifier (client-side, case-insensitive;
|
|
294
|
+
cover the property's languages; match the brand names from the relevance brief):
|
|
295
|
+
|
|
296
|
+
- EN: `cancel|unsubscribe|refund|return|complain|contact|phone|number|login|log in|not working|broken|warranty|track|where is my`
|
|
297
|
+
- BG: `отказ|прекрат|връщане|рекламац|оплак|жалб|телефон|контакт|вход|не работи|гаранц|къде е поръчката|проследяване`
|
|
298
|
+
|
|
299
|
+
Handle the bucket on its own terms:
|
|
300
|
+
|
|
301
|
+
1. **Keep it out of the opportunity ranking.** These rows are not ranked by volume
|
|
302
|
+
and do not get the striking-distance or low-CTR treatment by default. A brand
|
|
303
|
+
query the site already wins at #1 with low CTR often means the answer is shown
|
|
304
|
+
on the results page itself or on a third-party page, not that the title is weak.
|
|
305
|
+
2. **Check whether the site answers it** (live-page grounding below). If not, a
|
|
306
|
+
clear page is still the right content fix: customers need the answer, and
|
|
307
|
+
without it third-party sites, forums and AI answers fill the gap with whatever
|
|
308
|
+
they have.
|
|
309
|
+
3. **Report it to the client as a separate "Friction" list**, one line per
|
|
310
|
+
cluster, with the question that matters: what in the business makes people
|
|
311
|
+
search for this? The fix often sits outside the website - support, pricing,
|
|
312
|
+
the cancellation flow, delivery, the product - so name who would own it rather
|
|
313
|
+
than promising that a page will solve it.
|
|
314
|
+
4. **Read the direction, not the size.** A rising friction cluster is an alarm:
|
|
315
|
+
compare windows (`gsc-compare`) and ask what changed - a release, a price
|
|
316
|
+
change, a new policy. A cluster that falls after the business fixes the cause
|
|
317
|
+
is a success. Keep friction rows out of the traffic KPI and report the fall as
|
|
318
|
+
"resolved", or the dashboard will score the fix as lost traffic.
|
|
319
|
+
5. **Doubling test** for borderline rows: would the client celebrate if this
|
|
320
|
+
query doubled? A growing product category, yes. Twice as many people searching
|
|
321
|
+
how to get out of the contract, no - that one is friction.
|
|
322
|
+
|
|
323
|
+
Edge case - `[brand] + price` stays in the commercial bucket above. It becomes a
|
|
324
|
+
friction signal only when brand-plus-price queries persist while a pricing page
|
|
325
|
+
already exists and ranks for them: then the page is there, but it does not answer
|
|
326
|
+
the question.
|
|
327
|
+
|
|
328
|
+
Small sites often have only a handful of branded friction rows, many of them below
|
|
329
|
+
GSC's anonymisation threshold. Report the count you actually see ("n = 4 queries,
|
|
330
|
+
38 impressions"), treat it as a signal, and do not draw a trend from it.
|
|
331
|
+
|
|
240
332
|
## Long-tail routing (existing page vs new content)
|
|
241
333
|
|
|
242
334
|
From the step 1 data, extract queries with 5+ words. For each, match against the
|
|
@@ -252,6 +344,33 @@ Split into:
|
|
|
252
344
|
then output an article brief only where impressions justify it. Route article
|
|
253
345
|
briefs to seo-pipeline / question-gap conventions.
|
|
254
346
|
|
|
347
|
+
## Vocabulary the site does not use
|
|
348
|
+
|
|
349
|
+
(added 2026-10-18, same source as "Friction queries".) This is the mirror of the
|
|
350
|
+
stray-term vacuum: there, a word on the site pulls in the wrong queries; here, the
|
|
351
|
+
queries use a word the site never uses. When customers keep describing the service
|
|
352
|
+
in terms the site does not contain, the naming or the positioning speaks a
|
|
353
|
+
different language from the market.
|
|
354
|
+
|
|
355
|
+
1. Take the `relevant` non-brand queries (business-relevance filter) above the
|
|
356
|
+
impression floor (~50 over 28 days).
|
|
357
|
+
2. Break them into content words and two-word phrases. Drop stop words, brand
|
|
358
|
+
names and the location modifiers handled elsewhere.
|
|
359
|
+
3. Check each term against the site's own text: title, H1, H2 and body of the pages
|
|
360
|
+
fetched for live-page grounding, plus the titles and H1s of the sitemap URLs.
|
|
361
|
+
Compare lowercased stems, not exact strings - in inflected languages (BG, SK,
|
|
362
|
+
RU) a term is missing only if no inflected form of it appears. Lowercase in
|
|
363
|
+
code (Python `str.lower()`), because `grep -i` does not fold Cyrillic case.
|
|
364
|
+
4. Terms that carry real impressions and appear nowhere on the site go into a
|
|
365
|
+
"Vocabulary gap" list: the term, the queries it comes from, their total
|
|
366
|
+
impressions, and the site's own word for the same thing, if it has one.
|
|
367
|
+
|
|
368
|
+
What to do with the list is the client's decision, not an automatic edit. Adopt the
|
|
369
|
+
customers' word in headings and service names (often the right call), name both
|
|
370
|
+
("X, also called Y"), or conclude that the term means something the business does
|
|
371
|
+
not offer - then it goes into the relevance brief's exclusions. Never fix it by
|
|
372
|
+
sprinkling the term into body copy: either the site's naming changes or it does not.
|
|
373
|
+
|
|
255
374
|
## Navigational-brand guardrail + thin-pool (do not chase unwinnable impressions)
|
|
256
375
|
|
|
257
376
|
(added 2026-09-13, "Clipy method" / gsc-intent-match teardown. Anti-false-positive layer over the buckets above.)
|
|
@@ -273,3 +392,8 @@ strongest query (clicks first, then impressions), with the sibling queries liste
|
|
|
273
392
|
under it. Otherwise a single page fills the table and pushes every other page off it.
|
|
274
393
|
For the top items give a concrete action grounded in the fetched page state. State
|
|
275
394
|
the window and ~3-day lag.
|
|
395
|
+
|
|
396
|
+
When present, add two short lists after the four sections, kept apart from them
|
|
397
|
+
and never ranked by volume: **Friction** (cluster, queries, impressions, direction
|
|
398
|
+
vs the previous window, likely owner of the fix) and **Vocabulary gap** (term,
|
|
399
|
+
source queries, impressions, the site's current word).
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsc-sitemaps
|
|
3
|
+
description: List, inspect, submit, and delete sitemaps for a Google Search Console property via the gsc CLI. Use when the user wants to check sitemap health or manage submitted sitemaps.
|
|
4
|
+
allowed-tools: Bash(gsc *)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# gsc-sitemaps
|
|
8
|
+
|
|
9
|
+
Manage and inspect sitemaps. See `gsc-core` for global flags. Submit/delete need a
|
|
10
|
+
profile with write access.
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
List sitemaps:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
gsc --format json sitemaps list "<SITE_URL>"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
→ rows of `{ path, last_submitted, last_downloaded, is_pending, is_sitemaps_index,
|
|
21
|
+
type, warnings, errors, contents:[{type, submitted, indexed}] }`.
|
|
22
|
+
|
|
23
|
+
Get one:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
gsc --format json sitemaps get "<SITE_URL>" "<FEEDPATH>"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Submit / delete (write access required):
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
gsc --format json sitemaps submit "<SITE_URL>" "https://www.example.com/sitemap.xml"
|
|
33
|
+
gsc --format json sitemaps delete "<SITE_URL>" "https://www.example.com/sitemap.xml"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Workflow
|
|
37
|
+
|
|
38
|
+
1. `sitemaps list` for the property.
|
|
39
|
+
2. For health, compare per-`contents` `submitted` vs `indexed`, and read `warnings`,
|
|
40
|
+
`errors`, `is_pending`, and `last_downloaded`.
|
|
41
|
+
3. A valid, public sitemap that Search Console reports as "Couldn't fetch" is often not a
|
|
42
|
+
file problem. John Mueller (Search Off the Record, 01.10.2026) names two causes: host
|
|
43
|
+
load (Google is too busy to fetch it) and low crawl demand, which "is very often based on
|
|
44
|
+
the perceived quality of a website". Check the file first (status 200, valid XML, not
|
|
45
|
+
blocked by robots.txt, no unresolved manual action); if it is clean, treat a persistent
|
|
46
|
+
"Couldn't fetch" as a site-quality signal, not something resubmitting will fix.
|
|
47
|
+
4. Read `last_downloaded` as days since Google last fetched the file. A sitemap untouched
|
|
48
|
+
for months (Adam Gent's example: 253 days) points the same way as step 3: low crawl
|
|
49
|
+
demand for those URLs. To see which URLs drag it down, split sitemaps by section or
|
|
50
|
+
by age (stable old URLs apart from frequently updated ones) and compare
|
|
51
|
+
`last_downloaded` and indexed/submitted per file. Keep pages under construction,
|
|
52
|
+
redirects and noindexed URLs out of every sitemap.
|
|
53
|
+
5. The API's `errors`/`warnings` count file-level problems (a sitemap index that lists
|
|
54
|
+
another index shows up as the error "Nested sitemap indexes"). They say nothing about
|
|
55
|
+
listed URLs that redirect, carry noindex or canonicalize elsewhere. Check those by
|
|
56
|
+
fetching the listed URLs, or in the Page indexing report filtered to that sitemap.
|
|
57
|
+
Joost de Valk (joost.blog/broken-sitemaps, 27.09.2026) found such entries in the
|
|
58
|
+
sitemaps of Adobe, Anthropic, Manchester City, GOV.UK and Semrush.
|
|
59
|
+
|
|
60
|
+
## Presentation
|
|
61
|
+
|
|
62
|
+
Table of sitemaps with an indexed/submitted ratio per content type. Flag entries
|
|
63
|
+
with errors > 0, large submitted-vs-indexed gaps, `is_pending = true`, or a stale
|
|
64
|
+
`last_downloaded`. Before any `submit`/`delete`, confirm the intent with the user —
|
|
65
|
+
these mutate the property.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsc-sitemaps
|
|
3
|
-
description: List, inspect, submit, and delete sitemaps for a Google Search Console property via the gsc CLI. Use when the user wants to check sitemap health or manage submitted sitemaps.
|
|
4
|
-
allowed-tools: Bash(gsc *)
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# gsc-sitemaps
|
|
8
|
-
|
|
9
|
-
Manage and inspect sitemaps. See `gsc-core` for global flags. Submit/delete need a
|
|
10
|
-
profile with write access.
|
|
11
|
-
|
|
12
|
-
## Usage
|
|
13
|
-
|
|
14
|
-
List sitemaps:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
gsc --format json sitemaps list "<SITE_URL>"
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
→ rows of `{ path, last_submitted, last_downloaded, is_pending, is_sitemaps_index,
|
|
21
|
-
type, warnings, errors, contents:[{type, submitted, indexed}] }`.
|
|
22
|
-
|
|
23
|
-
Get one:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
gsc --format json sitemaps get "<SITE_URL>" "<FEEDPATH>"
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Submit / delete (write access required):
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
gsc --format json sitemaps submit "<SITE_URL>" "https://www.example.com/sitemap.xml"
|
|
33
|
-
gsc --format json sitemaps delete "<SITE_URL>" "https://www.example.com/sitemap.xml"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Workflow
|
|
37
|
-
|
|
38
|
-
1. `sitemaps list` for the property.
|
|
39
|
-
2. For health, compare per-`contents` `submitted` vs `indexed`, and read `warnings`,
|
|
40
|
-
`errors`, `is_pending`, and `last_downloaded`.
|
|
41
|
-
|
|
42
|
-
## Presentation
|
|
43
|
-
|
|
44
|
-
Table of sitemaps with an indexed/submitted ratio per content type. Flag entries
|
|
45
|
-
with errors > 0, large submitted-vs-indexed gaps, `is_pending = true`, or a stale
|
|
46
|
-
`last_downloaded`. Before any `submit`/`delete`, confirm the intent with the user —
|
|
47
|
-
these mutate the property.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|