Marketing & SalesDocumentedScanned

gsc

Query Google Search Console for SEO data - search queries, top pages, CTR opportunities.

Share:

Installation

npx clawhub@latest install gsc

View the full skill documentation and source below.

Documentation

Google Search Console Skill

Query GSC for search analytics, indexing status, and SEO insights.

Setup

  • Credentials: Uses same OAuth credentials as GA4 skill (stored in .env)

  • Scopes: Requires webmasters.readonly scope on your Google Cloud OAuth consent screen

  • Access: Your Google account must have access to the Search Console properties
  • Commands

    List Available Sites

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py sites

    Top Search Queries

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py top-queries \
      --site "" \
      --days 28 \
      --limit 20

    Top Pages by Traffic

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py top-pages \
      --site "" \
      --days 28 \
      --limit 20

    Find Low-CTR Opportunities

    High impressions but low click-through rate = optimization opportunities:
    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py opportunities \
      --site "" \
      --days 28 \
      --min-impressions 100

    Inspect URL Indexing Status

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py inspect-url \
      --site "" \
      --url "/sdk/web"

    List Sitemaps

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py sitemaps \
      --site ""

    Raw Search Analytics (JSON)

    source /Users/admin/clawd/skills/gsc/.env && \
    python /Users/admin/clawd/skills/gsc/scripts/gsc_query.py search-analytics \
      --site "" \
      --days 28 \
      --dimensions query page \
      --limit 100

    Available Dimensions

    • query - Search query
    • page - Landing page URL
    • country - Country code
    • device - DESKTOP, MOBILE, TABLET
    • date - Date

    Metrics Returned

    • clicks - Number of clicks from search
    • impressions - Number of times shown in search
    • ctr - Click-through rate (clicks/impressions)
    • position - Average ranking position

    SEO Use Cases

  • Content Optimization: Find high-impression/low-CTR pages → improve titles & descriptions

  • Keyword Research: See what queries bring traffic → create more content around them

  • Technical SEO: Check indexing status, find crawl issues

  • Ranking Tracking: Monitor position changes over time

  • Sitemap Health: Verify sitemaps are submitted and error-free
  • Notes

    • Data has ~3 day delay (GSC limitation)
    • Credentials shared with GA4 skill
    • URL inspection requires the page to be in the property