Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

google-search-console-cliGoogle 搜索 console CLI

Agent Skill

google-search-console-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,252

周安装

691

GitHub Stars

1

下载量

5,694
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-search-console-cli(Google 搜索 console CLI)
来源仓库:https://github.com/nmadeleidev/google-search-console-cli
安装命令:
openclaw skills install google-search-console-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install google-search-console-cli

简介

协助配置 Google Search Console CLI 身份验证与环境排查。

  • 适用于本地开发调试与 OAuth 客户端设置指导。
  • 提供凭证隔离与常见问题解决方案参考。google-search-console-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需确保本地环境具备网络访问权限与 Google Cloud 项目关联。
  • 建议在非生产环境中测试配置流程,避免误操作影响线上服务。

SKILL.md

name
google-search-console
description
Use this skill when working with this repository's gsc CLI, including Google Cloud OAuth client setup, CLI authentication, troubleshooting auth/config issues, and running all supported commands (site, sitemap, url inspection, analytics, doctor, config).

Google Search Console CLI Skill

Use this skill to operate and troubleshoot the gsc CLI in this repository.

When To Use

Use this skill when the task involves any of:

  • setting up OAuth credentials for Google Search Console
  • authenticating this CLI
  • listing properties, managing sitemaps, URL inspection, or Search Analytics queries
  • diagnosing auth/config/API connectivity issues

Prerequisites

  • Python environment with this project installed (gsc command available)
  • A Google account with access to at least one Search Console property
  • Search Console API enabled for the Google Cloud project used by OAuth

Install This CLI

Recommended (pipx, global gsc command):

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install google-search-console-cli
gsc --version

From source (development):

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
gsc --help

From source (pipx, editable):

pipx install -e /absolute/path/to/google-search-console-cli
gsc --help

OAuth Client Setup In Google Cloud (Desktop App)

As of February 26, 2026, create OAuth client credentials in Google Cloud Console using these steps:

  1. Open Google Cloud Console and select/create a project.
  2. Enable the Search Console API for that project.
  3. Configure OAuth consent screen:

- choose External for personal/testing usage (or Internal for Workspace org-only) - fill required app fields (app name, support email, developer contact) - add your Google account as a test user if app is in testing mode

  1. Go to APIs & Services -> Credentials.
  2. Click Create credentials -> OAuth client ID.
  3. Choose application type Desktop app.
  4. Create and download the OAuth client JSON (client_secret_*.json).

Notes:

  • UI labels can shift, but you must end with a Desktop OAuth client JSON file.
  • Keep the downloaded JSON private.

Authenticate This CLI

Preferred login flow:

gsc auth login --client-secret /absolute/path/to/client_secret.json

Useful auth options:

  • --readonly: request readonly scope only (webmasters.readonly)
  • --no-launch-browser: print the auth URL without auto-opening a browser

Verify credentials:

gsc auth whoami
gsc doctor

Default storage paths:

  • credentials: ~/.config/gsc-cli/credentials.json
  • app config: ~/.config/gsc-cli/config.json

Env overrides:

  • GSC_CREDENTIALS_FILE
  • GSC_APP_CONFIG_FILE
  • GSC_CONFIG_DIR

Optional: Set Default Property

gsc config set default-site sc-domain:example.com
gsc config get default-site

When set, commands that accept --site can omit it.

Command Reference

Top-level:

  • gsc --version
  • gsc --help
  • gsc doctor

auth

  • gsc auth login --client-secret FILE [--readonly] [--no-launch-browser]
  • gsc auth whoami [--output table|json]

config

  • gsc config set default-site SITE_URL
  • gsc config get default-site

site

  • gsc site list [--output table|json|csv] [--csv-path FILE]
  • gsc site get [--site SITE] [--output table|json|csv] [--csv-path FILE]
  • gsc site add [--site SITE]

SITE example: sc-domain:example.com.

sitemap

  • gsc sitemap list [--site SITE] [--sitemap-index TEXT] [--output table|json|csv] [--csv-path FILE]
  • gsc sitemap get [--site SITE] --feedpath TEXT [--output table|json|csv] [--csv-path FILE]
  • gsc sitemap submit [--site SITE] --feedpath TEXT
  • gsc sitemap delete [--site SITE] --feedpath TEXT

--feedpath alias: --path.

url

  • gsc url inspect [--site SITE] --url URL [--language-code CODE] [--output table|json|csv] [--csv-path FILE]

Defaults:

  • --language-code en-US

analytics

  • gsc analytics query --start-date YYYY-MM-DD --end-date YYYY-MM-DD [options]

Options:

  • --site SITE
  • --dimension country|date|device|hour|page|query|searchAppearance (repeatable)
  • --type discover|googleNews|image|news|video|web
  • --aggregation-type auto|byNewsShowcasePanel|byPage|byProperty
  • --row-limit 1..25000
  • --start-row >=0
  • --data-state all|final|hourly_all
  • --filter dimension:operator:expression (repeatable)
  • --output table|json|csv
  • --csv-path FILE

Supported filter dimensions:

  • country, device, page, query, searchAppearance

Supported filter operators:

  • contains, equals, notContains, notEquals, includingRegex, excludingRegex

Constraint:

  • --aggregation-type byProperty cannot be combined with page dimension or page filter.

Quick Examples

# List properties
gsc site list

# Get one property
gsc site get --site sc-domain:example.com

# List sitemaps
gsc sitemap list --site sc-domain:example.com

# Inspect one URL
gsc url inspect --site sc-domain:example.com --url https://example.com/page --output json

# Analytics query
gsc analytics query \
  --site sc-domain:example.com \
  --start-date 2026-01-01 \
  --end-date 2026-01-31 \
  --dimension date \
  --dimension query \
  --filter query:contains:brand

Troubleshooting

  • Auth error: Stored credentials do not include required scope ...

- Re-run login with needed scope. For write commands, run login without --readonly.

  • No local OAuth credentials found...

- Run: gsc auth login --client-secret <path>

  • No site specified. Pass --site or set one...

- pass --site or set default via gsc config set default-site ...

  • API failures / uncertain setup state

- run gsc doctor first, then address failing checks.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.77%
按下载量换算5,624

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills