[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ED224S85MSB076M8SMDDAB":3,"skill-same:01M7ED224S85MSB076M8SMDDAB":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ED224S85MSB076M8SMDDAB","blog-google",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fblog-google\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# blog-google\n\n# Blog Google: Google API Data for Blog Performance\n\nDirect access to Google's SEO APIs for blog performance analysis. Provides real\nChrome user metrics, indexation status, search performance, entity analysis, YouTube\nvideo discovery, keyword volumes, and PDF\u002FHTML performance reports.\n\nAll APIs are free at normal usage levels. Setup requires a Google Cloud project\nwith an API key and\u002For service account.\n\n## Prerequisites\n\n**Always check credentials before running any command:**\n```bash\npython3 skills\u002Fblog-google\u002Fscripts\u002Frun.py google_auth --check --json\n```\n\n**Config file:** `~\u002F.config\u002Fclaude-seo\u002Fgoogle-api.json` (shared with claude-seo)\n```json\n{\n  \"api_key\": \"AIzaSy...\",\n  \"oauth_client_path\": \"\u002Fpath\u002Fto\u002Fclient_secret.json\",\n  \"default_property\": \"sc-domain:example.com\",\n  \"ga4_property_id\": \"properties\u002F123456789\",\n  \"ads_developer_token\": \"...\",\n  \"ads_customer_id\": \"123-456-7890\"\n}\n```\n\nIf missing, read `references\u002Fauth-setup.md` and walk the user through setup.\n\n### Credential Tiers\n\n| Tier | Detection | Available Commands |\n|------|-----------|-------------------|\n| **0** (API Key) | `api_key` present | `pagespeed`, `crux`, `crux-history`, `youtube`, `nlp` |\n| **1** (OAuth\u002FSA) | + OAuth token or service account | Tier 0 + `gsc`, `inspect`, `index` |\n| **2** (Full) | + `ga4_property_id` configured | Tier 1 + `ga4` |\n| **3** (Ads) | + `ads_developer_token` + `ads_customer_id` | Tier 2 + `keywords` |\n\nAlways communicate the detected tier before running commands.\n\n## Quick Reference\n\n| Command | What it does | Tier |\n|---------|-------------|------|\n| `\u002Fblog google setup` | Check\u002Fconfigure API credentials |: |\n| `\u002Fblog google pagespeed \u003Curl>` | PSI Lighthouse + CrUX field data | 0 |\n| `\u002Fblog google crux \u003Curl>` | CrUX field data only (p75 metrics) | 0 |\n| `\u002Fblog google crux-history \u003Curl>` | 25-week CWV trend analysis | 0 |\n| `\u002Fblog google youtube \u003Cquery>` | YouTube video search (views, likes, duration) | 0 |\n| `\u002Fblog google nlp \u003Curl-or-text>` | NLP entity extraction + sentiment | 0 |\n| `\u002Fblog google gsc \u003Cproperty>` | Search Console: clicks, impressions, CTR, position | 1 |\n| `\u002Fblog google inspect \u003Curl>` | URL Inspection: index status, canonical | 1 |\n| `\u002Fblog google index \u003Curl>` | Submit URL to Indexing API | 1 |\n| `\u002Fblog google ga4 [property-id]` | GA4 organic traffic report | 2 |\n| `\u002Fblog google keywords \u003Cseed>` | Keyword ideas from Google Ads Keyword Planner | 3 |\n| `\u002Fblog google report \u003Ctype>` | PDF\u002FHTML performance report |: |\n| `\u002Fblog google quotas` | Show rate limits for all APIs |: |\n\n---\n\n## PageSpeed + CrUX\n\n### `\u002Fblog google pagespeed \u003Curl>`\n\nCombined Lighthouse lab data + CrUX field data for a published blog post.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py pagespeed_check \u003Curl> --json`\n**Reference:** `references\u002Fapi-reference.md`\n\nOutput merges lab scores (point-in-time Lighthouse) with field data (28-day\nChrome user metrics). CrUX tries URL-level first, falls back to origin-level.\n\n### `\u002Fblog google crux \u003Curl>`\n\nCrUX field data only (no Lighthouse run). Faster.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py pagespeed_check \u003Curl> --crux-only --json`\n\n### `\u002Fblog google crux-history \u003Curl>`\n\n25-week CrUX History trends. Shows whether CWV metrics are improving, stable, or degrading.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py crux_history \u003Curl> --json`\n\n---\n\n## Search Console\n\n### `\u002Fblog google gsc \u003Cproperty>`\n\nSearch Analytics: clicks, impressions, CTR, position for last 28 days.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py gsc_query --property \u003Cproperty> --json`\n**Default:** 28 days, dimensions=query,page, type=web, limit=1000.\n\nIncludes quick-win detection: queries at position 4-10 with high impressions.\n\n### `\u002Fblog google inspect \u003Curl>`\n\nURL Inspection: real indexation status from Google.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py gsc_inspect \u003Curl> --json`\n\nReturns: verdict (PASS\u002FFAIL), coverage state, robots.txt status, indexing state,\npage fetch state, canonical selection, mobile usability, rich results.\n\nFor batch inspection: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py gsc_inspect --batch \u003Cfile> --json`\n\n---\n\n## Indexing API\n\n### `\u002Fblog google index \u003Curl>`\n\nNotify Google of a URL update. Submit new blog posts for faster indexation.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py indexing_notify \u003Curl> --json`\n**Reference:** `references\u002Fapi-reference.md`\n\nThe Indexing API is officially for JobPosting and BroadcastEvent\u002FVideoObject pages.\nAlways inform the user of this restriction. Daily quota: 200 publish requests.\n\nFor batch: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py indexing_notify --batch \u003Cfile> --json`\n\n---\n\n## GA4 Traffic\n\n### `\u002Fblog google ga4 [property-id]`\n\nOrganic traffic report: daily sessions, users, pageviews, bounce rate, engagement.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py ga4_report --property \u003Cid> --json`\n**Default:** 28 days, filtered to Organic Search channel group.\n\nFor top landing pages: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py ga4_report --property \u003Cid> --report top-pages --json`\n\n---\n\n## YouTube (Video Discovery)\n\nYouTube mentions have the strongest AI visibility correlation (0.737, Ahrefs 75K brands).\nFree, API key only. Used by blog-write and blog-rewrite for video embedding.\n\n### `\u002Fblog google youtube \u003Cquery>`\n\nSearch YouTube for videos relevant to a blog topic.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py youtube_search search \"\u003Cquery>\" --json`\n**Quota:** 100 units per search (10,000 units\u002Fday free).\n\nReturns: title, channel, views, likes, duration, description, tags.\n\nFor video details + comments: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py youtube_search video \u003Cvideo_id> --json`\n\n---\n\n## NLP Content Analysis\n\nGoogle's own entity\u002Fsentiment analysis. Enhances E-E-A-T scoring for blog content.\n\n### `\u002Fblog google nlp \u003Curl-or-text>`\n\nFull NLP analysis: entities, sentiment, content classification.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py nlp_analyze --url \u003Curl> --json`\n**Free tier:** 5,000 units\u002Fmonth. Requires billing enabled on GCP project.\n\nFor entity extraction only: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py nlp_analyze --url \u003Curl> --features entities --json`\n\n---\n\n## Keyword Research (Google Ads)\n\nGold-standard keyword volume data. Requires Google Ads account (Tier 3).\n\n### `\u002Fblog google keywords \u003Cseed>`\n\nGenerate keyword ideas from seed terms for blog topic research.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py keyword_planner ideas \"\u003Cseed>\" --json`\n\nFor volume lookup: `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py keyword_planner volume \"\u003Ckw1>,\u003Ckw2>\" --json`\n\n---\n\n## Reports\n\n### `\u002Fblog google report \u003Ctype>`\n\nGenerate a professional PDF\u002FHTML report with charts.\n\n**Script:** `python3 skills\u002Fblog-google\u002Fscripts\u002Frun.py google_report --type \u003Ctype> --data \u003Cjson> --domain \u003Cdomain> --format pdf`\n\n| Type | Input | Output |\n|------|-------|--------|\n| `cwv-audit` | PSI + CrUX + CrUX History data | Core Web Vitals audit with gauges, timelines |\n| `gsc-performance` | GSC query data | Search Console report with query tables |\n| `indexation` | Batch inspection data | Indexation status with coverage donut |\n| `full` | All data combined | Comprehensive Google SEO report |\n\n**Note:** PDF generation requires system libraries: `sudo apt install libpango1.0-dev libcairo2-dev`.\nFalls back to HTML if weasyprint is unavailable.\n\n---\n\n## Rate Limits\n\n| API | Per-Minute | Per-Day | Auth |\n|-----|-----------|---------|------|\n| PSI v5 | 240 QPM | 25,000 QPD | API Key |\n| CrUX + History | 150 QPM (shared) | Unlimited | API Key |\n| GSC Search Analytics | 1,200 QPM\u002Fsite | 30M QPD | Service Account |\n| GSC URL Inspection | 600 QPM | 2,000 QPD\u002Fsite | Service Account |\n| Indexing API | 380 RPM | 200 publish\u002Fday | Service Account |\n| GA4 Data API | 10 concurrent (50 for 360) | 200K Core Tokens\u002Fday (2M for 360) | Service Account |\n| YouTube Data |: | 10,000 units\u002Fday | API Key |\n| NLP API |: | 5,000 units\u002Fmonth | API Key (billing) |\n\nRead `references\u002Frate-limits-quotas.md` for detailed quota management.\n\n## Blog Workflow Integration\n\nThis skill is both user-invocable (`\u002Fblog google pagespeed`) and callable\ninternally by other blog sub-skills:\n\n- **blog-seo-check**: Runs PSI + CrUX on published post URL for live CWV data\n- **blog-rewrite**: NLP entity analysis to identify E-E-A-T entity gaps\n- **blog-geo**: GSC performance data for real search appearance insights\n- **blog-audit**: Batch CWV + indexation checks across all published blog URLs\n- **blog-write \u002F blog-rewrite**: YouTube search for video embedding\n\nFalls back gracefully when credentials are not configured.\n\n## Technical Notes\n\n- INP replaced FID on March 12, 2024. Never reference FID.\n- CLS values from CrUX are string-encoded (e.g., \"0.05\"). Scripts handle parsing.\n- CrUX 404 = insufficient Chrome traffic, not an auth error.\n- Search Analytics data has 2-3 day lag.\n- Indexing API is officially for JobPosting\u002FBroadcastEvent pages only.\n- All Google APIs used are FREE at normal usage levels.\n\n## Error Handling\n\n| Scenario | Action |\n|----------|--------|\n| No credentials configured | Run `\u002Fblog google setup`. List Tier 0 commands (API key only). |\n| Service account lacks GSC access | Add `client_email` to GSC > Settings > Users > Add. |\n| CrUX data unavailable (404) | Insufficient Chrome traffic. Use PSI lab data as fallback. |\n| GA4 property not found | Find property ID in GA4 Admin > Property Details. |\n| Indexing API quota exceeded | 200\u002Fday limit. Prioritize most important URLs. |\n| Rate limit (429) | Wait and retry with exponential backoff. |\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fproductivity\u002Fblog-google","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill blog-google",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill blog-google",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill blog-google","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fblog-google\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",282,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fproductivity\u002Fblog-google\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]