Community程式設計與開發github.com

google-search-console-automation

透過 Rube MCP (Composio) 自動化 Google Search Console 工作:查詢搜尋分析、檢索網站、檢查網址、提交 Sitemap、監控搜尋成效。請始終先搜尋工具以取得當前架構。

google-search-console-automation 是什麼?

此技能旨在透過 Rube MCP (Composio) 平台自動化 Google Search Console 的常見任務。它讓 AI 代理(例如 Claude Code、Cursor、Codex)能夠直接與 Google 的搜尋資料互動,無需手動操作網頁介面。主要功能包括:列出所有已驗證的網站、查詢詳細的搜尋分析資料(點擊數、曝光次數、點擊率、排名)、檢查特定網址的索引狀態、列出、提交與取得 Sitemap 的詳細資訊。此技能特別適用於 SEO 效能監控、內容分析、索引稽核與 Sitemap 管理等工作流程。它支援任何已整合 Rube MCP 的用戶端,並需先建立 Google Search Console 連線。為確保正確運作,使用者應始終先呼叫 `RUBE_SEARCH_TOOLS` 以取得當前的工具架構,並注意網站網址格式、資料延遲與分頁限制等常見陷阱。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/composio-skills/google-search-console-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Google Search Console

使用 Google Search Console(透過 Rube MCP (Composio))查詢搜尋分析、檢查網址、管理 Sitemap 以及監控搜尋成效。

工具組文件:composio.dev/toolkits/google_search_console

先決條件

  • 必須已連線 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 以工具組 google_search_console 建立活躍連線
  • 在 Google Search Console 中擁有已驗證的網站所有權或適當權限
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得當前的工具架構

設定

取得 Rube MCP:在您的用戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。不需要 API 金鑰 — 只需加入端點即可運作。

  1. 透過確認 RUBE_SEARCH_TOOLS 有回應來驗證 Rube MCP 是否可用
  2. 以工具組 google_search_console 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態非 ACTIVE,請依照回傳的驗證連結完成設定
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

核心工作流程

1. 列出所有已驗證的網站

使用 GOOGLE_SEARCH_CONSOLE_LIST_SITES 來取得已驗證使用者擁有或可存取的所有網站。

工具:GOOGLE_SEARCH_CONSOLE_LIST_SITES
參數:(無需參數)
回傳:包含 siteUrl 與 permissionLevel 的網站條目列表

2. 查詢搜尋分析

使用 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY 來取得搜尋成效資料,包含點擊數、曝光次數、點擊率與排名。

工具:GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY
參數:
  - site_url (必要):網站網址(例如 "https://www.example.com/" 或 "sc-domain:example.com")
  - start_date (必要):開始日期,格式為 YYYY-MM-DD
  - end_date (必要):結束日期,格式為 YYYY-MM-DD
  - dimensions:按 ["query", "page", "country", "device", "date", "searchAppearance"] 分組
  - search_type:"web"(預設)、"image"、"video"、"news"、"discover"、"googleNews"
  - dimension_filter_groups:維度篩選條件(運算子:equals、notEquals、contains、notContains、includingRegex、excludingRegex)
  - row_limit:最大行數(1-25000,預設 1000)
  - start_row:分頁偏移量(預設 0)
  - aggregation_type:"auto"、"byPage"、"byProperty"、"byNewsShowcasePanel"
  - data_state:"final"(預設)、"all"、"hourly_all"

3. 檢查網址

使用 GOOGLE_SEARCH_CONSOLE_INSPECT_URL 來檢查特定網址的索引狀態與問題。

工具:GOOGLE_SEARCH_CONSOLE_INSPECT_URL
參數:
  - inspection_url (必要):要檢查的完整網址(例如 "https://www.example.com/page")
  - site_url (必要):屬性網址(例如 "https://www.example.com/")
  - language_code:BCP-47 語言代碼(預設:"en-US")

4. 列出 Sitemap

使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 來取得網站提交的所有 Sitemap。

工具:GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS
參數:
  - site_url (必要):網站網址(例如 "https://www.example.com/")
  - sitemap_index:特定的 Sitemap 索引網址,從該索引列出 Sitemap

5. 提交 Sitemap

使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 來註冊或重新提交 Sitemap 進行索引。

工具:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP
參數:
  - site_url (必要):網站網址或網域屬性(例如 "sc-domain:example.com")
  - feedpath (必要):完整的 Sitemap 網址(例如 "https://www.example.com/sitemap.xml")

6. 取得 Sitemap 詳細資訊

使用 GOOGLE_SEARCH_CONSOLE_GET_SITEMAP 來取得特定已提交 Sitemap 的資訊。

工具:GOOGLE_SEARCH_CONSOLE_GET_SITEMAP
參數:
  - site_url (必要):網站網址
  - feedpath (必要):要取得詳細資訊的 Sitemap 網址

常見模式

  • 成效監控:使用 dimensions: ["date"] 搭配 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY 在日期範圍內追蹤每日搜尋成效趨勢。
  • 熱門查詢報表:使用 dimensions: ["query"] 搭配 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY 來找出點擊次數最多的搜尋詞。
  • 頁面層級分析:使用 dimensions: ["page"] 來找出表現最好的頁面,然後使用 dimensions: ["query", "page"] 來查看哪些查詢為每個頁面帶來流量。
  • 索引稽核:使用 GOOGLE_SEARCH_CONSOLE_INSPECT_URL 來檢查重要頁面的索引狀態。
  • Sitemap 管理:使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 來驗證已提交的 Sitemap,然後使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 來提交新的或更新的 Sitemap。
  • 國家/裝置細分:使用 dimensions: ["country", "device"] 來了解搜尋流量的地理與裝置類型分佈。
  • 篩選特定查詢:使用帶有 contains 或 includingRegex 運算子的 dimension_filter_groups 來聚焦於特定的關鍵字群組。

已知陷阱

  • 網站網址格式很重要:網址前綴屬性需使用包含協定與結尾斜線的完整網址(例如 https://www.example.com/)。網域屬性則使用 sc-domain: 前綴(例如 sc-domain:example.com)。使用錯誤格式將導致回傳空結果或錯誤。
  • 日期範圍限制:資料通常有 2-3 天的延遲。data_state: "all" 包含可能仍會變動的較新資料。hourly_all 僅適用於最近 3 天內的日期。
  • 行數限制與分頁:API 預設按點擊數排序回傳最熱門的結果(按日期分組時則按日期排序)。若要取得完整資料,請使用 start_row 搭配 row_limit 進行分頁。
  • 每次請求最多 25,000 行:即使使用分頁,每次請求最多也只能回傳 25,000 行。對於非常大的資料集,請縮小日期範圍或加入維度篩選條件。
  • 檢查網址必須對應網站:inspection_url 必須是 site_url 屬性下的頁面。跨屬性的檢查將會失敗。
  • Sitemap 必須可存取:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 要求 Sitemap 檔案必須在指定的網址上公開可存取,並且格式正確為 XML。
  • 結果依點擊數排序:預設情況下,分析結果按點擊數降序排列,除非是按 date 分組(此時按日期升序排列)。

快速參考

動作工具主要參數
列出網站GOOGLE_SEARCH_CONSOLE_LIST_SITES(無)
搜尋分析GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERYsite_url、start_date、end_date、dimensions
檢查網址GOOGLE_SEARCH_CONSOLE_INSPECT_URLinspection_url、site_url
列出 SitemapGOOGLE_SEARCH_CONSOLE_LIST_SITEMAPSsite_url
提交 SitemapGOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAPsite_url、feedpath
取得 Sitemap 資訊GOOGLE_SEARCH_CONSOLE_GET_SITEMAPsite_url、feedpath

由 Composio 提供支援

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相關技能