cli-tool/components/skills/analytics/google-analytics/SKILL.md
Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.
npx skillsauth add davila7/claude-code-templates google-analyticsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze website performance using Google Analytics data to provide actionable insights and improvement recommendations.
This Skill requires Google Analytics API credentials. Set up environment variables:
export GOOGLE_ANALYTICS_PROPERTY_ID="your-property-id"
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
Or create a .env file in your project root:
GOOGLE_ANALYTICS_PROPERTY_ID=123456789
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
Never commit credentials to version control. The service account JSON file should be stored securely outside your repository.
# Option 1: Install from requirements file (recommended)
pip install -r cli-tool/components/skills/analytics/google-analytics/requirements.txt
# Option 2: Install individually
pip install google-analytics-data python-dotenv pandas
Once configured, I can:
Ask me questions like:
When you ask me to analyze Google Analytics data, I will:
For detailed metric definitions and dimensions, see REFERENCE.md.
For complete analysis patterns and use cases, see EXAMPLES.md.
The Skill includes utility scripts for API interaction:
python scripts/ga_client.py --days 30 --metrics sessions,users,bounceRate
python scripts/analyze.py --period last-30-days --compare previous-period
The scripts handle API authentication, data fetching, and basic analysis. I'll interpret the results and provide actionable recommendations.
Authentication Error: Verify that:
GOOGLE_APPLICATION_CREDENTIALS points to a valid service account JSON fileGOOGLE_ANALYTICS_PROPERTY_ID matches your GA4 property ID (not the measurement ID)No Data Returned: Check that:
Import Errors: Install required packages:
pip install google-analytics-data python-dotenv pandas
.env files for configuration.env and credential files to .gitignoreThis Skill accesses aggregated analytics data only. It does not:
All data is processed locally and used only to generate recommendations during the conversation.
tools
No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points. This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
tools
Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off. This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation. Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility
development
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.