seo-google

Queries Google SEO APIs for Search Console, PageSpeed, CrUX, Indexing, and GA4 data.

Updated Sep 20, 2024
One-click install
npx skills add https://github.com/AnasIsmai1/dotfiles --skill seo-google-anasismai1
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: seo-google
Source: https://github.com/AnasIsmai1/dotfiles/tree/main/claude/.claude/skills/seo-google
Command: npx skills add https://github.com/AnasIsmai1/dotfiles --skill seo-google-anasismai1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Getting real Google field data for SEO decisions normally means manually logging into Search Console, PageSpeed Insights, and GA4 dashboards. This Skill connects directly to Google's APIs so you can pull Core Web Vitals field data, indexation status, search performance, and organic traffic trends in one workflow. ## Core Features & Use Cases - Core Web Vitals Analysis: Run PageSpeed Insights Lighthouse audits plus CrUX field data and 25-week history trends for LCP, INP, CLS, FCP, and TTFB. - Search Console & Indexation: Query clicks, impressions, CTR, and position data, inspect URL indexation status in batches, check sitemaps, and submit URLs to the Indexing API. - GA4 Organic Traffic & Extras: Report organic sessions and top landing pages, plus YouTube search, NLP entity analysis, Keyword Planner volumes, Knowledge Graph checks, and Web Risk safety scans. - Use Case: A site owner notices traffic dropping. You run a GSC query to find queries losing position, batch-inspect key URLs for indexation failures, and pull CrUX history to confirm whether degrading INP scores correlate with the decline. ## Quick Start Ask the assistant to check Google API credentials and then run a PageSpeed and CrUX field data analysis for your website URL.

Frequently Asked Questions about seo-google

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

FAQPage Schema
How do I check Core Web Vitals with real Chrome user data?▼

Use the CrUX API commands to pull 28-day field data for LCP, INP, CLS, FCP, and TTFB at URL or origin level. The crux-history command adds 25-week trend analysis showing whether metrics are improving or degrading.

How do I get Google Search Console data via API?▼

Create a service account in Google Cloud, add its client email as a user in Search Console settings, and store the JSON key path in the config file. The gsc command then returns clicks, impressions, CTR, and position data for the last 28 days.

What credentials are required for the Google SEO APIs?▼

An API key unlocks PageSpeed, CrUX, YouTube, and NLP commands. Adding a service account enables Search Console, URL Inspection, and Indexing. Configuring a GA4 property ID adds organic traffic reports, and Google Ads credentials unlock Keyword Planner.

Why does the CrUX API return a 404 error for my site?▼

A CrUX 404 means the site has insufficient Chrome user traffic to generate field data, not an authentication problem. Fall back to PageSpeed Insights Lighthouse lab data, which works for any publicly accessible URL.

Can I submit any URL to the Google Indexing API?▼

The Indexing API is officially restricted to pages with JobPosting or BroadcastEvent/VideoObject structured data, with a 200 publish requests per day quota. For general pages, use XML sitemaps and Search Console instead.

What are the rate limits for Google SEO APIs?▼

PageSpeed allows 240 requests per minute and 25,000 per day, CrUX shares 150 per minute with CrUX History, URL Inspection allows 2,000 per day per site, and the Indexing API allows 200 publishes per day. All are free.