本文へスキップ
Skillpedia
分析とスプレッドシート7.0k · #13699

google-search-console

できること

このスキルは、特に直近の日付について、自信満々で間違った答えを生むSearch Consoleの落とし穴を挙げます。有機検索の成果を報告するSEOチームやエージェント向けです。

使う場面

  • ✓Search Consoleから、有機検索のクリック、表示回数、順位を報告するとき。
  • ✓この数週間で検索からのトラフィックが増えたか減ったかを聞かれたとき。
  • ✓サイトのインデックスの状態を確認する必要があるとき。

スキルのリンク

https://github.com/superdesigndev/treg/blob/main/.agents/skills/google-search-console/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/superdesigndev/treg/blob/main/.agents/skills/google-search-console/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“今月、有機検索のトラフィックが減ったでしょうか?Search Consoleで確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、傾向を判断する前に、まだ不完全な直近の数日を除外し、使っているサイトのプロパティを確認します。鋭い変化を報告する前には、アナリティクスとも照合します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Search Console via treg — what will silently mislead you

You already know the Search Console API. This file is only the things that return a plausible wrong answer with no error. Verified live on 2026-07-22 against sc-domain:example.com, with each trap confirmed by watching three independent agents.

Site id: treg connections ls → resource_ref. If it's empty, no site is pinned — list them with treg connections resources <id> and say which one you chose and why. Don't present an inferred site as configured, and don't report the blank as a fault — it isn't one.

When nothing is pinned and the question doesn't name a site, pick the site whose domain matches the question and state that you inferred it. Note that subdomains are separate properties, so sc-domain:example.com and sc-domain:app.example.com are different answers — say which you used.

1. Recent days are incomplete — do not report them as a trend

3 of 3 agents concluded "organic traffic is down ~47%". It wasn't.

GSC lags ~2–3 days and simply omits missing days — a 14-day request returns 11–12 rows with no warning. Worse, the newest present days read low. The tail looked like this:

07-15: 640   07-16: 610   07-17: 500   07-18: 520   07-19: 430   ← last 3 days incomplete

Cross-checked against GA4 organic sessions for the same dates, the decline does not exist — and GA4 shows 07-20 and 07-21 recovering to 746 and 849, days GSC hasn't reported at all.

Two rules:

  • End ranges ≥3 days before today, and never start a window on a local peak.
  • Before calling any GSC trend real, cross-check GA4 organic sessions for the same dates. Two independent sources disagreeing means the GSC tail is an artifact.

2. Dimension sums do NOT equal site totals

Illustrative (the point is that dimension sums miss the true total, not the absolutes):

Grouped by Rows Impressions vs true total
query 4,219 ~31% — loses ~69%
page 1,161 ~151% — overcounts ~51%
date 28 (true total) 100% ✅
(none) 1 (true total) 100% ✅

query undercounts because Google drops anonymised rare queries; page overcounts because one SERP impression showing several of your pages counts once per page. (Numbers measured; mechanisms are the standard explanation, not measured.)

Never sum a dimension to report a total — especially for "how much traffic do my top queries drive?", where summing understates organic traffic by ~69% with total confidence.

3. searchAppearance cannot be combined with any other dimension

Fails loudly with a 400: "Cannot group by search appearance dimension together with another dimension." Query it alone — and note that a sparse result there is a correct answer, not a bug.

4. Two API surfaces on one host

  • webmasters/v3/... — search analytics, sitemaps
  • v1/urlInspection/index:inspect — URL Inspection

Guessing webmasters/v3/urlInspection/... returns a Google HTML 404, not a JSON error. Two of three agents hit this. The HTML-vs-JSON tell is worth knowing generally: HTML means the path never routed.

Everything else

Standard API. ctr is a fraction (0.0882 = 8.82%); position is an average, so don't average it across rows. rowLimit accepts 25000 (default reported as 1000 — unverified). Sitemap contents[].indexed returned "0" for a fully-indexed site with 1,079 URLs — use URL Inspection for real index status. Subdomains are separate properties.

Both sc-domain:example.com and sc-domain%3Aexample.com work in the path — verified via the audit log. Encoding is optional; don't debug a 403 by adding it.

⚠️ Unverified: URL-prefix properties (https://example.com/, trailing slash) — none available to test. A 403 is reported to usually mean the wrong property form rather than missing permission.

Writes (PUT/DELETE on sitemaps) change what Google crawls. Untested by design — get an explicit target and human go-ahead first.

よくある質問

直近の日が少なく見えるのはなぜですか?

Search Consoleは二〜三日遅れており、直近の日は不完全なことが多いためです。

サブドメインは同じプロパティですか?

いいえ。サブドメインは別々のプロパティで、回答では使ったプロパティの名前を示すべきだとしています。

サイトが設定されていない場合は?

サイトの一覧を取得し、一致するドメインを選び、その選択が推測によるものだと明記するよう定めています。

詳細

作者による元の説明

Traps to avoid when querying Google Search Console through treg — cases where the API returns a confident wrong answer instead of an error, especially around totals and recent-date trends. Use whenever answering questions about organic search clicks, impressions, rankings, or index status.

repo: superdesigndev/treg

人気

GitHubのスター
7.0k
ランキング
#13699
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル