跳到正文
Skillpedia
分析与电子表格26k · #10008

seo-google

它能做什么

这项技能把你的智能体连接到 Google 的免费 SEO 工具和数据。适合希望获得 Google 官方数字、而不是估算值的网站所有者。

适用场景

  • ✓当你想查看页面在 Google Search Console 中的表现的时候。
  • ✓当你想获取某个页面真实 Chrome 用户的速度数据的时候。
  • ✓当你想检查某个页面是否已被 Google 索引的时候。

技能链接

https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-google/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-google/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请给我看一下 Search Console 中上个月我的热门搜索查询词和点击量。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能使用你的凭据调用 Google API,请求你所要求的数据并进行汇总,同时注明正在使用的访问级别。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Google SEO APIs

Direct access to Google's own SEO data. Bridges the gap between crawl-based analysis (existing claude-seo skills) and Google's real-time field data: actual Chrome user metrics, real indexation status, search performance, and organic traffic.

All APIs are free. Setup requires a Google Cloud project with API key and/or service account -- run /seo google setup for step-by-step instructions.

Prerequisites

Before executing any command, check credentials:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run google_auth.py --check --json

Config file: ~/.config/claude-seo/google-api.json

{
  "service_account_path": "/path/to/service_account.json",
  "api_key": "<GOOGLE_API_KEY>",
  "default_property": "sc-domain:example.com",
  "ga4_property_id": "properties/123456789"
}

If missing, read references/auth-setup.md and walk the user through setup.

Credential Tiers

Tier Detection Available Commands
0 (API Key) api_key present pagespeed, crux, crux-history, youtube, nlp
1 (OAuth/SA) + OAuth token or service account Tier 0 + gsc, inspect, sitemaps, index
2 (Full) + ga4_property_id configured Tier 1 + ga4, ga4-pages
3 (Ads) + ads_developer_token + ads_customer_id Tier 2 + keywords, volume

Always communicate the detected tier before running commands.

Quick Reference

Command What it does Tier
/seo google setup Check/configure API credentials --
/seo google pagespeed <url> PSI Lighthouse + CrUX field data 0
/seo google crux <url> CrUX field data only (p75 metrics) 0
/seo google crux-history <url> 25-week CWV trend analysis 0
/seo google gsc <property> Search Console: clicks, impressions, CTR, position 1
/seo google inspect <url> URL Inspection: index status, canonical, crawl info 1
/seo google inspect-batch <file> Batch URL Inspection from file 1
/seo google sitemaps <property> GSC sitemap status 1
/seo google index <url> Submit URL to Indexing API 1
/seo google index-batch <file> Batch submit up to 200 URLs 1
/seo google ga4 [property-id] GA4 organic traffic report 2
/seo google ga4-pages [property-id] Top organic landing pages 2
/seo google youtube <query> YouTube video search (views, likes, duration) 0
/seo google youtube-video <id> YouTube video details + top comments 0
/seo google nlp <url-or-text> NLP entity extraction + sentiment + classification 0
/seo google entities <url-or-text> Entity analysis only (for E-E-A-T) 0
/seo google keywords <seed> Keyword ideas from Google Ads Keyword Planner 3
/seo google volume <keywords> Search volume lookup from Keyword Planner 3
/seo google entity <query> Knowledge Graph entity check 0
/seo google safety <url> Web Risk URL safety check 0
/seo google quotas Show rate limits for all APIs --

PageSpeed + CrUX

/seo google pagespeed <url>

Combined Lighthouse lab data + CrUX field data.

Script: "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <url> --json Reference: references/pagespeed-crux-api.md (Core Web Vitals thresholds: references/crux-history-api.md) Report the Lighthouse build from the output's lighthouse_version field instead of assuming the latest release. Default: Both mobile + desktop strategies, all Lighthouse categories.

Output merges lab scores (point-in-time Lighthouse) with field data (28-day Chrome user metrics). CrUX tries URL-level first, falls back to origin-level.

/seo google crux <url>

CrUX field data only (no Lighthouse run). Faster.

Script: "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <url> --crux-only --json

/seo google crux-history <url>

25-week CrUX History trends. Shows whether CWV metrics are improving, stable, or degrading.

Script: "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run crux_history.py <url> --json Reference: references/crux-history-api.md

Output includes per-metric trend direction, percentage change, and weekly p75 values.


Search Console

/seo google gsc <property>

Search Analytics: clicks, impressions, CTR, position for last 28 days.

Script: `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo

常见问题

设置它需要准备什么?

需要一个带有 API 密钥的 Google Cloud 项目、服务账户或 OAuth,以及一个设置配置文件。

Google API 免费吗?

该技能说明,这些 API 都可以免费使用,需要在你的 Google Cloud 项目中进行设置。

无需登录也能使用吗?

只有部分工具可以,例如 PageSpeed 和 CrUX。Search Console 和索引功能需要具备权限的登录。

详情

作者的原始描述

Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic. Provides real Google field data for Core Web Vitals, indexation status, search performance, and organic traffic trends. Use when user says "search console", "GSC", "PageSpeed", "CrUX", "field data", "indexing API", "GA4 organic", "URL inspection", or "real CWV data".

repo: AgriciDaniel/claude-seo

热度

GitHub 星标
26k
排名
#10008
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能