seo-google

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

4|Updated Aug 22, 2025
One-click install
npx skills add https://github.com/justin06lee/justin06lee.dev --skill seo-google-justin06lee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seo-google
Source: https://github.com/justin06lee/justin06lee.dev/tree/main/.gemini/skills/valhalla/skills/seo-google
Command: npx skills add https://github.com/justin06lee/justin06lee.dev --skill seo-google-justin06lee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? SEO decisions often rely on crawl-based estimates instead of Google's own data. This Skill connects directly to Google's official APIs to retrieve real Core Web Vitals field data, actual indexation status, search performance metrics, and organic traffic trends, replacing guesswork with authoritative measurements. ## Core Features & Use Cases - Core Web Vitals Analysis: Run PageSpeed Insights Lighthouse audits plus CrUX field data and 25-week history trends to see whether LCP, INP, and CLS are improving or degrading. - Search Console & Indexation: Query clicks, impressions, CTR, and position; inspect URL index status in batches; check sitemaps; and submit URLs to the Indexing API. - GA4 Organic Traffic & Reports: Pull organic sessions and top landing pages from GA4, then generate PDF/HTML reports (CWV audit, GSC performance, indexation, or full combined). - Use Case: Before a site migration, run /seo google inspect-batch on your URL list to capture baseline indexation, then use /seo google crux-history to confirm performance trends after launch. ## Quick Start Ask the assistant to run the seo-google setup command to check Google API credentials, then request a PageSpeed and CrUX analysis for your homepage 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 retrieve p75 field metrics for LCP, INP, and CLS from actual Chrome users. The pagespeed command combines Lighthouse lab data with CrUX field data, while crux-history shows 25-week trends.

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 for the last 28 days.

What credentials are required for the Google SEO APIs?

An API key covers PageSpeed, CrUX, YouTube, and NLP commands. A service account adds Search Console, URL Inspection, and Indexing API access. GA4 reporting additionally requires a configured GA4 property ID with Viewer access granted to the service account.

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

A CrUX 404 means the site has insufficient Chrome user traffic to populate the dataset, not an authentication failure. Fall back to PageSpeed Insights Lighthouse lab data, which does not depend on field traffic volume.

Can I submit any URL to the Google Indexing API?

The Indexing API is officially limited to pages with JobPosting or BroadcastEvent embedded in VideoObject structured data, with a 200 publish requests per day quota. For ordinary URLs, use sitemaps or the URL Inspection API instead.

Why do my Search Console impressions look wrong for 2025-2026?

A confirmed GSC logging error made impressions, CTR, and average position unreliable from 2025-05-13 to 2026-04-27, with no backfill. Clicks were unaffected; treat impression-based trends spanning that window with caution.