gsc

Retrieve and analyze Google Search Console data for SEO insights.

239|30|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/jdrhyne/agent-skills --skill gsc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsc
Source: https://github.com/jdrhyne/agent-skills/tree/main/skills/gsc
Command: npx skills add https://github.com/jdrhyne/agent-skills --skill gsc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-api-python-client, google-auth, google-auth-oauthlib, and includes scripts (resource) components.

What problem does it solve?

Automate retrieval and analysis of Google Search Console data for SEO insights.

Core Features & Use Cases

  • SEO analytics: Retrieve top queries and top pages to identify optimization opportunities.
  • Indexing health: Inspect and monitor site indexing status and URL-level issues.
  • Sitemap monitoring: List and analyze sitemaps to ensure proper submission and visibility.

Quick Start

Set up credentials in your environment (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN) and run basic queries to fetch data: python scripts/gsc_query.py sites --site "https://example.com" python scripts/gsc_query.py top-queries --site "https://example.com" --days 28 --limit 20 python scripts/gsc_query.py top-pages --site "https://example.com" --days 28 --limit 20 python scripts/gsc_query.py sitemaps --site "https://example.com"

Frequently Asked Questions about gsc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate retrieving Google Search Console data for SEO insights?

You can automate retrieving Google Search Console data for SEO insights by running Python scripts that query the search analytics API for top queries, top pages, and indexing status using OAuth credentials.

What's the best way to check my site's indexing status and sitemaps?

The best way to check indexing status and sitemaps is to use a script that calls the Google Search Console API to list submitted sitemaps and inspect URL-level issues for a specific domain.

Do I need Google OAuth credentials to access Google Search Console search analytics?

Yes, you need Google OAuth credentials including a client ID, client secret, and a refresh token to authorize API requests and access search analytics data programmatically.

Can I use Python to get top queries and pages from Google Search Console?

Yes, you can use Python with the google-api-python-client library to fetch top queries and top pages from Google Search Console by specifying a site URL and date range.

What dependencies are required to analyze sitemaps and search analytics with Python?

To analyze sitemaps and search analytics with Python, you need the google-api-python-client, google-auth, and google-auth-oauthlib packages to handle API calls and authorization.