agent-management
Create, manage, and orchestrate AI agents using the AI Maestro CLI. Use when the user asks to "create agent", "list agents", "delete agent", "hibernate agent",…
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 -y skills add davila7/claude-code-templates --skill google-analytics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/google-analyticsContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: google-analytics description: 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.
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:
1. **Connect to the API** using the helper script 2. **Fetch relevant metrics** based on your question 3. **Analyze the data** looking for:
4. **Provide recommendations** with:
For detailed metric definitions and dimensions, see [REFERENCE.md](REFERENCE.md).
For complete analysis patterns and use cases, see [EXAMPLES.md](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:
**No Data Returned**: Check that:
**Import Errors**: Install required packages:
pip install google-analytics-data python-dotenv pandas
This Skill accesses aggregated analytics data only. It does not:
All data is processed locally and used only to generate recommendations during the conversation.
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Create, manage, and orchestrate AI agents using the AI Maestro CLI. Use when the user asks to "create agent", "list agents", "delete agent", "hibernate agent",…
Send and receive cryptographically signed messages between AI agents using the Agent Messaging Protocol (AMP). Use when the user asks to "send a message to an…
Search auto-generated codebase documentation for function signatures, API docs, class definitions, and code comments. Use when the user asks to "search docs",…
Query the code graph database to understand component relationships, dependencies, and change impact. Use when the user asks to "find callers", "check…
Search conversation history and semantic memory to recall previous discussions, decisions, and context. Use when the user asks to "search memory", "what did we…