All skills
agricidaniel avatar

/seo-google

@4460b8d
by Agrici.Danielagricidaniel/claude-seo18k stars
2,665

Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic. Provides real Google field data for Core Web Vitals, indexation status, search performance, and organic traffic trends. Use when user says "search console", "GSC", "PageSpeed", "CrUX", "field data", "indexing API", "GA4 organic", "URL inspection", or "real CWV data".

Use this Skill: https://skilld.dev/gh/agricidaniel/claude-seo/seo-google

This session only. Nothing lands on disk.

referencesrate-limits-quotas.md

≈845 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Google API Rate Limits & Quotas

Consolidated Quota Table

API Per-Minute Per-Day Cost Auth Type Scope
GSC Search Analytics 1,200 QPM/user, 1,200 QPM/site 30M QPD/project Free Service Account Per user + per site
GSC URL Inspection 600 QPM/site 2,000 QPD/site Free Service Account Per site
GSC Sitemaps Standard Standard Free Service Account Per site
PageSpeed Insights v5 240 QPM 25,000 QPD Free API Key Per project
CrUX API 150 QPM (shared) Unlimited Free API Key Per project
CrUX History API 150 QPM (shared with CrUX) Unlimited Free API Key Per project
Indexing API 380 RPM total, 180 read/min 200 publish/day Free Service Account Per project
GA4 Data API 10 concurrent ~25K tokens/day Free Service Account Per property/project
Knowledge Graph -- 100,000 QPD Free API Key Per project
Custom Search -- 10,000 QPD max 100 free, $5/1K API Key Per project
Web Risk 6,000 QPM 100K/month Free tier API Key Per project

Key distinction: "Per site" quotas are scoped to a specific GSC property. "Per project" quotas are shared across all properties in a GCP project. "Per user" quotas are per authenticated user (service account).

Exponential Backoff Strategy

When receiving 429 or 5xx errors:

Attempt 1: wait 1 second
Attempt 2: wait 2 seconds
Attempt 3: wait 4 seconds
Attempt 4: wait 8 seconds
Attempt 5: wait 16 seconds
Max: give up after 5 retries

Add random jitter (0-500ms) to each wait to avoid thundering herd.

Common Error Codes

Code Meaning Applies To Action
400 Bad request All Check URL format, request body
401 Unauthorized Service Account APIs Refresh credentials
403 Forbidden GSC, GA4, Indexing Check permissions (service account access)
404 Not found CrUX, GSC Insufficient traffic (CrUX) or invalid property (GSC)
429 Rate limited All Backoff and retry. Check Retry-After header.
500 Server error All Retry with backoff
503 Service unavailable All Retry with backoff

Retry-After Header

Some Google APIs return a Retry-After header with 429 responses. When present, use this value (in seconds) instead of exponential backoff.

GA4 Token Budgeting

GA4 uses a token system rather than simple request counts:

  • Simple 1-dimension, 1-metric report: ~1-5 tokens
  • Complex multi-dimension, multi-metric: ~10-100 tokens
  • Set returnPropertyQuota: true to monitor consumption
  • Daily limit: 25,000 tokens per property per project
  • Hourly limit: 5,000 tokens per property per project
  • Concurrent: max 10 simultaneous requests

CrUX Shared Quota

The CrUX API and CrUX History API share the same 150 QPM quota per project. Plan accordingly if querying both APIs in the same workflow.

Cost Summary

All APIs used by seo-google are free at normal usage levels. No billing is required for:

  • PSI, CrUX, CrUX History (API key, unlimited free)
  • GSC (service account, 30M QPD)
  • Indexing API (service account, 200 publish/day)
  • GA4 Data API (service account, 25K tokens/day)
  • Knowledge Graph (API key, 100K QPD)

Only Custom Search and Web Risk have paid tiers at high volumes.

Source: SKILL.md on GitHub

2 warnings2d4 checks · Risk MEDIUM
  • Gen Agent Trust Hub2d

    The skill provides a suite of tools for Google SEO analysis, including Search Console, GA4, and PageSpeed Insights. It is designed to work with user-provided Google Cloud credentials stored in local configuration files. A security concern is that the skill's documentation contains misleading "future" dates and speculative feature descriptions (ranging into 2026), which could lead to confusion about its provenance. Additionally, the skill's ability to process external data like YouTube comments and web content makes it susceptible to indirect prompt injection attacks, where malicious instructions hidden in that data could influence the agent's behavior.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: MEDIUM · 1 issue

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4460b8d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 3 days ago
user-invocable
true
argument-hint
[command] [url|property]
metadata
{
  "author": "AgriciDaniel",
  "version": "2.4.1",
  "category": "seo"
}

README badge

README badge for agricidaniel/claude-seo/seo-google