Google Search Console
by @jdrhyne
Query Google Search Console for SEO data - search queries, top pages, CTR opportunities, URL inspection, and sitemaps. Use when analyzing search performance,...
clawhub install gscπ About This Skill
name: gsc description: Query Google Search Console for SEO data - search queries, top pages, CTR opportunities, URL inspection, and sitemaps. Use when analyzing search performance, finding optimization opportunities, or checking indexing status. homepage: https://developers.google.com/webmaster-tools metadata: { "openclaw": { "emoji": "π", "requires": { "anyBins": ["python3", "python"], "env": ["GOOGLE_CLIENT_ID", "GOOGLE_CLIENT_SECRET", "GOOGLE_REFRESH_TOKEN"], }, }, }
Google Search Console Skill
Query GSC for search analytics, indexing status, and SEO insights.
Safety Boundaries
Setup
1. Credentials: Set OAuth credentials in environment variables (or a local .env loaded by your shell)
2. Scopes: Requires webmasters.readonly scope on your Google Cloud OAuth consent screen
3. Access: Your Google account must have access to the Search Console properties
Commands
List Available Sites
python scripts/gsc_query.py sites
Top Search Queries
python scripts/gsc_query.py top-queries \
--site "https://www.nutrient.io" \
--days 28 \
--limit 20
Top Pages by Traffic
python scripts/gsc_query.py top-pages \
--site "https://www.nutrient.io" \
--days 28 \
--limit 20
Find Low-CTR Opportunities
High impressions but low click-through rate = optimization opportunities:python scripts/gsc_query.py opportunities \
--site "https://www.nutrient.io" \
--days 28 \
--min-impressions 100
Inspect URL Indexing Status
python scripts/gsc_query.py inspect-url \
--site "https://www.nutrient.io" \
--url "/sdk/web"
List Sitemaps
python scripts/gsc_query.py sitemaps \
--site "https://www.nutrient.io"
Raw Search Analytics (JSON)
python scripts/gsc_query.py search-analytics \
--site "https://www.nutrient.io" \
--days 28 \
--dimensions query page \
--limit 100
Available Dimensions
query - Search querypage - Landing page URLcountry - Country codedevice - DESKTOP, MOBILE, TABLETdate - DateMetrics Returned
SEO Use Cases
1. Content Optimization: Find high-impression/low-CTR pages β improve titles & descriptions 2. Keyword Research: See what queries bring traffic β create more content around them 3. Technical SEO: Check indexing status, find crawl issues 4. Ranking Tracking: Monitor position changes over time 5. Sitemap Health: Verify sitemaps are submitted and error-free
Notes
βοΈ Configuration
1. Credentials: Set OAuth credentials in environment variables (or a local .env loaded by your shell)
2. Scopes: Requires webmasters.readonly scope on your Google Cloud OAuth consent screen
3. Access: Your Google account must have access to the Search Console properties