Community编程与开发github.com

谷歌搜索控制台自动化

通过 Rube MCP (Composio) 自动化 Google Search Console 任务:查询搜索分析数据、列出站点、检查 URL、提交站点地图、监控搜索表现。始终优先搜索工具以获取最新架构。

谷歌搜索控制台自动化 是什么?

此技能使 AI 代理能够通过 Rube MCP (Composio) 平台与 Google Search Console API 进行交互。它提供了一套全面的工具,用于管理已验证的站点属性、查询搜索分析数据(包括点击次数、展示次数、点击率和排名)、检查 URL 的索引状态、提交和监控站点地图,以及分析搜索表现趋势。代理必须首先调用 `RUBE_SEARCH_TOOLS` 来发现当前工具架构,并使用 `RUBE_MANAGE_CONNECTIONS` 确保 `google_search_console` 工具包的活跃连接。该技能支持通用工作流程,例如生成热门查询报告、按国家/设备和查询维度分析表现、进行索引审核以及管理站点地图提交。它强调正确的站点 URL 格式(URL 前缀与域名属性),并注意到数据分析结果默认按点击次数降序排列。任何在使用此技能时寻求自动化 SEO 或搜索表现监控的开发者或代理都会发现它非常有价值。

兼容平台~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) 查询搜索分析数据、检查 URL、管理站点地图并监控搜索表现。

工具包文档: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 获取搜索表现数据,包括点击次数、展示次数、点击率(CTR)和平均排名。

工具:GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY
参数:
  - site_url(必需):站点 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. 检查 URL

使用 GOOGLE_SEARCH_CONSOLE_INSPECT_URL 检查特定 URL 的索引状态和问题。

工具:GOOGLE_SEARCH_CONSOLE_INSPECT_URL
参数:
  - inspection_url(必需):要检查的完整 URL(例如 "https://www.example.com/page")
  - site_url(必需):属性 URL(例如 "https://www.example.com/")
  - language_code:BCP-47 语言代码(默认:"en-US")

4. 列出站点地图

使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 检索为某个站点提交的所有站点地图。

工具:GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS
参数:
  - site_url(必需):站点 URL(例如 "https://www.example.com/")
  - sitemap_index:要从中列出子站点地图的特定站点地图索引 URL

5. 提交站点地图

使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 注册或重新提交站点地图以供索引。

工具:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP
参数:
  - site_url(必需):站点 URL 或域名属性(例如 "sc-domain:example.com")
  - feedpath(必需):完整的站点地图 URL(例如 "https://www.example.com/sitemap.xml")

6. 获取站点地图详情

使用 GOOGLE_SEARCH_CONSOLE_GET_SITEMAP 检索有关特定已提交站点地图的信息。

工具:GOOGLE_SEARCH_CONSOLE_GET_SITEMAP
参数:
  - site_url(必需):站点 URL
  - feedpath(必需):要获取详情的站点地图 URL

常用模式

  • 表现监控:使用 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 检查重要页面的索引状态。
  • 站点地图管理:使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 验证已提交的站点地图,然后使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 提交新的或更新的站点地图。
  • 国家/设备细分:使用 dimensions: ["country", "device"] 了解搜索流量的地理和设备类型分布。
  • 筛选特定查询:使用包含运算符 contains 或 includingRegex 的 dimension_filter_groups,聚焦特定的关键词组。

已知陷阱

  • 站点 URL 格式至关重要:URL 前缀属性使用带有协议和尾部斜杠的完整 URL(例如 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 行。对于非常大的数据集,请缩小日期范围或添加维度过滤器。
  • 检查 URL 必须与站点匹配:inspection_url 必须是 site_url 属性下的一个页面。跨属性检查将失败。
  • 站点地图必须可访问:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 要求站点地图文件在指定 URL 上可公开访问,并且格式正确的 XML。
  • 结果按点击次数排序:默认情况下,分析结果按点击次数降序排列,除非按 date 分组(此时按日期升序排列)。

快速参考

操作工具关键参数
列出站点GOOGLE_SEARCH_CONSOLE_LIST_SITES(无)
搜索分析数据GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERYsite_url、start_date、end_date、dimensions
检查 URLGOOGLE_SEARCH_CONSOLE_INSPECT_URLinspection_url、site_url
列出站点地图GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPSsite_url
提交站点地图GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAPsite_url、feedpath
获取站点地图信息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.

相关技能