Google Search Console CLI Skill for Openclaw

A comprehensive command-line tool for managing Google Search Console properties, sitemaps, and SEO analytics data.

nmadeleidev
v1.0.0
Feb 26, 2026
1
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-search-console-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-search-console-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Search Console CLI Skill?

The Google Search Console CLI skill provides a powerful terminal-based interface for interacting with the Google Search Console API. It is designed for developers and SEO specialists who need to perform bulk operations, automate data extraction, or quickly diagnose indexing issues without the overhead of a web browser. As part of the Openclaw Skills suite, this tool simplifies complex OAuth 2.0 flows and offers flexible data output options for further analysis.

By using this skill, users can efficiently manage property lists, submit or delete sitemaps, and perform deep URL inspections. The ability to output data in JSON or CSV formats makes it an essential bridge between Google raw search data and your custom analytics pipelines or dashboards.

Google Search Console CLI Skill Use Cases

  • Automating the retrieval of monthly search analytics for performance reporting.
  • Programmatically submitting new sitemaps after site migrations or updates.
  • Inspecting specific URLs for mobile usability and indexing status via the terminal.
  • Auditing multiple Google Search Console properties to ensure consistent configuration.

How Google Search Console CLI Skill Works

  1. Users install the gsc tool using pipx to ensure a clean, global environment.
  2. A Google Cloud project is configured with the Search Console API enabled and a Desktop OAuth client is created.
  3. The CLI is authenticated using the gsc auth login command with the downloaded client secret.
  4. Commands like gsc site list or gsc analytics query are executed to interact with the API.
  5. The tool processes API responses and formats them into tables, JSON, or CSV files based on user preference.

Google Search Console CLI Skill Setup

To get started with this skill, install the package via pipx:

pipx install google-search-console-cli

Next, authenticate with your Google Cloud OAuth client secret:

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

Verify your installation and connectivity:

gsc doctor

Google Search Console CLI Skill Data Schema & Taxonomy

The skill organizes its operation through a local configuration directory. The primary data points include:

  • Credentials Store: Located at ~/.config/gsc-cli/credentials.json, containing the OAuth access and refresh tokens.
  • Application Config: Located at ~/.config/gsc-cli/config.json, storing preferences like the default-site.
  • Analytics Export: Data fetched via the analytics query command can be exported to CSV using the --csv-path flag, following the Google Search Console API dimension schema (date, query, page, etc.).

Google Search Console CLI Skill Advanced Features

  • Multi-dimensional analytics filtering using includingRegex and excludingRegex operators.
  • Read-only mode support via the --readonly flag during authentication for enhanced security.
  • Full support for sitemap index management and deep URL inspection language localization.
  • Integration-ready JSON output for piping data into other Openclaw Skills or automation scripts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*