[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75ETBNFWM2K1P7QBJA34PPF":3,"skill-same:01M75ETBNFWM2K1P7QBJA34PPF":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75ETBNFWM2K1P7QBJA34PPF","ga4_ai_assistant",null,"Guides agents through setting up a Google Analytics 4 AI assistant with preflight checks, OS-aware install logic, gcloud authentication, API enablement, Python GA4 client setup, validation queries, dashboard\u002Freport generation, and platform-specific error recovery. Use when a user wants plain-English GA4 analysis or a reusable analytics connector setup.","LongLeo287\u002FSEOSONA-OS","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M75CK60XQGYJY3YDGGFJQDYT",2,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fframeworks\u002Fseo_marketing\u002Fga4_ai_assistant\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ga4_ai_assistant\ndescription: Guides agents through setting up a Google Analytics 4 AI assistant with preflight checks, OS-aware install logic, gcloud authentication, API enablement, Python GA4 client setup, validation queries, dashboard\u002Freport generation, and platform-specific error recovery. Use when a user wants plain-English GA4 analysis or a reusable analytics connector setup.\n---\n\n# GA4 AI Assistant\n\n## Overview\n\nThis skill turns GA4 access into a repeatable assistant workflow. It favors preflight checks, user-owned authentication, and a small validated analysis script before any dashboard or recommendation work.\n\n## When To Use\n\n- The user wants to ask plain-English questions about GA4 traffic.\n- A SEOSONA workflow needs GA4 as a data source.\n- A connector setup should be adapted to another API with similar auth\u002Finstall needs.\n\nDo not use this when the user only needs static analytics advice without live data access.\n\n## Workflow\n\n1. Preflight.\n   - Check Python availability.\n   - Check `gcloud`.\n   - Check existing project configuration.\n   - Check whether a prior GA workspace exists.\n   - Skip steps that are already complete.\n\n2. Detect OS and package manager.\n   - macOS: prefer Homebrew.\n   - Linux: prefer native package manager plus official Google Cloud SDK install path.\n   - Windows: prefer `winget`, then Chocolatey, then Scoop, then manual install.\n   - On Windows, use CMD when package manager output capture is unreliable.\n\n3. Authenticate.\n   - Use `gcloud init` if no project is configured.\n   - Enable `analyticsdata.googleapis.com` and `analyticsadmin.googleapis.com`.\n   - Use application-default auth with readonly analytics and cloud-platform scopes.\n   - Treat browser\u002FOAuth approval as user-owned.\n\n4. Create an isolated Python environment.\n   - Use a local venv.\n   - Install `google-analytics-data` and `google-analytics-admin`.\n   - Add UTF-8 output handling for Windows scripts.\n\n5. Validate with a minimal script.\n   - List accessible accounts and properties.\n   - Run a small date-range report.\n   - Print property IDs and sample dimensions\u002Fmetrics.\n\n6. Analyze.\n   - Ask the user's business question.\n   - Retrieve the minimum data required.\n   - Correct false assumptions when data contradicts the question.\n   - Explain methodology and limitations.\n\n7. Generate optional dashboard\u002Freport.\n   - Only after validation succeeds.\n   - Include daily users, source\u002Fmedium, geography, events, and conversion-oriented slices when relevant.\n\n## Error Recovery\n\n- PowerShell output issues: reload PATH or switch to CMD.\n- gcloud execution policy issues: set current-user execution policy.\n- API method signature changes: prefer request-object calls for newer clients.\n- Unicode console errors: force UTF-8 output or avoid emoji in scripts.\n- Missing property access: ask the user to verify GA4 permissions.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n| --- | --- |\n| \"Install everything first.\" | Preflight avoids breaking existing setups and saves time. |\n| \"The agent can complete OAuth alone.\" | Browser auth is user-owned and must be narrated clearly. |\n| \"Build the dashboard before testing access.\" | Dashboards are downstream of verified API access. |\n| \"One OS path is enough.\" | Connector setup must be portable across macOS, Linux, and Windows. |\n\n## Verification\n\n- [ ] Existing tools and setup were checked first.\n- [ ] Required APIs are enabled.\n- [ ] Authentication succeeded with user consent.\n- [ ] A minimal GA4 query returned data.\n- [ ] Any dashboard\u002Freport cites the queried date range and property.\n","# GA4 AI Assistant\n\n## Overview\n\nThis skill turns GA4 access into a repeatable assistant workflow. It favors preflight checks, user-owned authentication, and a small validated analysis script before any dashboard or recommendation work.\n\n## When To Use\n\n- The user wants to ask plain-English questions about GA4 traffic.\n- A SEOSONA workflow needs GA4 as a data source.\n- A connector setup should be adapted to another API with similar auth\u002Finstall needs.\n\nDo not use this when the user only needs static analytics advice without live data access.\n\n## Workflow\n\n1. Preflight.\n   - Check Python availability.\n   - Check `gcloud`.\n   - Check existing project configuration.\n   - Check whether a prior GA workspace exists.\n   - Skip steps that are already complete.\n\n2. Detect OS and package manager.\n   - macOS: prefer Homebrew.\n   - Linux: prefer native package manager plus official Google Cloud SDK install path.\n   - Windows: prefer `winget`, then Chocolatey, then Scoop, then manual install.\n   - On Windows, use CMD when package manager output capture is unreliable.\n\n3. Authenticate.\n   - Use `gcloud init` if no project is configured.\n   - Enable `analyticsdata.googleapis.com` and `analyticsadmin.googleapis.com`.\n   - Use application-default auth with readonly analytics and cloud-platform scopes.\n   - Treat browser\u002FOAuth approval as user-owned.\n\n4. Create an isolated Python environment.\n   - Use a local venv.\n   - Install `google-analytics-data` and `google-analytics-admin`.\n   - Add UTF-8 output handling for Windows scripts.\n\n5. Validate with a minimal script.\n   - List accessible accounts and properties.\n   - Run a small date-range report.\n   - Print property IDs and sample dimensions\u002Fmetrics.\n\n6. Analyze.\n   - Ask the user's business question.\n   - Retrieve the minimum data required.\n   - Correct false assumptions when data contradicts the question.\n   - Explain methodology and limitations.\n\n7. Generate optional dashboard\u002Freport.\n   - Only after validation succeeds.\n   - Include daily users, source\u002Fmedium, geography, events, and conversion-oriented slices when relevant.\n\n## Error Recovery\n\n- PowerShell output issues: reload PATH or switch to CMD.\n- gcloud execution policy issues: set current-user execution policy.\n- API method signature changes: prefer request-object calls for newer clients.\n- Unicode console errors: force UTF-8 output or avoid emoji in scripts.\n- Missing property access: ask the user to verify GA4 permissions.\n\n## Common Rationalizations\n\n| Rationalization | Reality |\n| --- | --- |\n| \"Install everything first.\" | Preflight avoids breaking existing setups and saves time. |\n| \"The agent can complete OAuth alone.\" | Browser auth is user-owned and must be narrated clearly. |\n| \"Build the dashboard before testing access.\" | Dashboards are downstream of verified API access. |\n| \"One OS path is enough.\" | Connector setup must be portable across macOS, Linux, and Windows. |\n\n## Verification\n\n- [ ] Existing tools and setup were checked first.\n- [ ] Required APIs are enabled.\n- [ ] Authentication succeeded with user consent.\n- [ ] A minimal GA4 query returned data.\n- [ ] Any dashboard\u002Freport cites the queried date range and property.\n",{"name":5,"description":7},"main","4fd50b1281e8cd978866b6b4556242605cabf708","2_KNOWLEDGE\u002Fframeworks\u002Fseo_marketing\u002Fga4_ai_assistant",1,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS","https:\u002F\u002Fseosona-os.vercel.app","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-10-09 15:14:13",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add LongLeo287\u002FSEOSONA-OS --skill ga4_ai_assistant",{"tool":39,"command":40},"bunx","bunx skills add LongLeo287\u002FSEOSONA-OS --skill ga4_ai_assistant",{"tool":42,"command":43},"pnpm","pnpm dlx skills add LongLeo287\u002FSEOSONA-OS --skill ga4_ai_assistant","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fframeworks\u002Fseo_marketing\u002Fga4_ai_assistant\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M75F0T3V3W7JQQ05X26NNN2T","web_crawler_katana","High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fweb_crawler_katana\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M75F0Q2QJXDGAFKC7D84GT88","server_log_analyzer","Analyzes Nginx\u002FApache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fserver_log_analyzer\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M75F0KZP6D8R8XPN2YT35BAJ","schema_markup_generator","Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fschema_markup_generator\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M75F0G3KX4Y86AXJXTKXVEVA","internal_linking_optimizer","Analyzes and optimizes the internal link graph of a website for SEO authority distribution.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Finternal_linking_optimizer\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75F0CS1RYX4YPJC7N6RAAQJ","google_trends_analyzer","Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fgoogle_trends_analyzer\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M75F0ASMQ1GKPFX82D19SRTN","brand_context_analyzer","Tracks brand mentions, sentiment, and online reputation across web sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fbrand_context_analyzer\u002FSKILL.md",[],[]]