一键导入
gsc-cli
Read Google Search Console provider truth through a schema-first JSON CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read Google Search Console provider truth through a schema-first JSON CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | gsc-cli |
| description | Read Google Search Console provider truth through a schema-first JSON CLI. |
Use gsc for raw Google Search Console facts: accessible properties, submitted sitemaps, URL inspection, and Search Analytics rows.
Do not use this CLI for SEO recommendations, attribution conclusions, paid-search classification, or product decisions. Keep those in the agent workflow above the provider read layer.
Run readiness before provider reads:
gsc doctor dataset readiness
When this CLI is already available but the current project has not registered its skill, install the bundled skill into the project's .agents/skills root:
gsc skill install
Use gsc skill install --global only when the user explicitly wants a user-wide skill install.
Use schema discovery instead of guessing command shapes:
gsc --schema
gsc --schema=.search.dataset.analytics
gsc --schema=.skill.install
gsc property dataset sites
gsc sitemap dataset sitemaps --site-url sc-domain:example.com
gsc sitemap entity sitemap --site-url sc-domain:example.com --feedpath https://example.com/sitemap.xml
gsc inspection entity url --site-url sc-domain:example.com --inspection-url https://example.com/docs/seo
gsc search dataset analytics --site-url sc-domain:example.com --start-date 2026-03-01 --end-date 2026-03-31
Default output is JSON. Treat --pretty as human-only rendering.
Successful provider reads return ok: true with raw provider-shaped data. Errors return ok: false with a stable error.code, error.message, and optional error.hint.
If credentials or provider access fail, run:
gsc doctor dataset readiness
If provider_auth appears, verify the service account has Search Console access and that the Search Console API is enabled.
If provider truth is unavailable, report it as unavailable. Do not infer GSC facts from another source.