Agent skill

Google Analytics Automation

by davepoon in davepoon/buildwithclaude

Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events.

MITAuto-check passedProductivity & Automation

Install Google Analytics Automation

skills CLI
$ npx skills add davepoon/buildwithclaude --skill google-analytics-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davepoon/buildwithclaude google-analytics-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davepoon/buildwithclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/all-skills/skills/google-analytics-automation .claude/skills/google-analytics-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-analytics-automation
GitHub stars
3.6k
Used in
7 other repos
Token cost
~2.3k tokens
SKILL.md length
954 words
Files
1
Skills in repo
245
Repo updated
First seen
Licence
MIT

At a glance

Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events.

  • Works in 6 steps: List Accounts and Properties → Run Standard Reports → Run Batch Reports → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 2 more sections
  • Reaches rube.app

What it does

Google Analytics Automation is an agent skill from davepoon/buildwithclaude. Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events. Always search tools first for current schemas.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors. It works with Google Analytics and Composio. The repository describes itself as: A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors

Example prompts

  • “/google-analytics-automation”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. List Accounts and Properties
  2. Run Standard Reports
  3. Run Batch Reports
  4. Run Pivot Reports
  5. Run Funnel Reports
  6. Manage Key Events

What it can do on your machine

Read from SKILL.md and the folder at commit 10bfc43. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    Also links to:

    • composio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google Analytics Automation loads about 2.3k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 954 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davepoon/buildwithclaude at commit 10bfc43, republished under its MIT licence (© davepoon). 954 words, ~2,278 tokens.

Download SKILL.mdSave it as .claude/skills/google-analytics-automation/SKILL.md (or your agent's skills folder).
name
google-analytics-automation
description
Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events. Always search tools first for current schemas.
requires.mcp
rube
category
analytics

Google Analytics Automation via Rube MCP

Automate Google Analytics 4 (GA4) reporting and property management through Composio's Google Analytics toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/google_analytics

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Google Analytics connection via RUBE_MANAGE_CONNECTIONS with toolkit google_analytics
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit google_analytics
  3. If connection is not ACTIVE, follow the returned auth link to complete Google OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. List Accounts and Properties

When to use: User wants to discover available GA4 accounts and properties

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_ACCOUNTS - List all accessible GA4 accounts [Required]
  2. GOOGLE_ANALYTICS_LIST_PROPERTIES - List properties under an account [Required]

Key parameters:

  • pageSize: Number of results per page
  • pageToken: Pagination token from previous response
  • filter: Filter expression for properties (e.g., parent:accounts/12345)

Pitfalls:

  • Property IDs are numeric strings prefixed with 'properties/' (e.g., 'properties/123456')
  • Account IDs are prefixed with 'accounts/' (e.g., 'accounts/12345')
  • Always list accounts first, then properties under each account
  • Pagination required for organizations with many properties
2. Run Standard Reports

When to use: User wants to query metrics and dimensions from GA4 data

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_PROPERTIES - Get property ID [Prerequisite]
  2. GOOGLE_ANALYTICS_GET_METADATA - Discover available dimensions and metrics [Optional]
  3. GOOGLE_ANALYTICS_CHECK_COMPATIBILITY - Verify dimension/metric compatibility [Optional]
  4. GOOGLE_ANALYTICS_RUN_REPORT - Execute the report query [Required]

Key parameters:

  • property: Property ID (e.g., 'properties/123456')
  • dateRanges: Array of date range objects with startDate and endDate
  • dimensions: Array of dimension objects with name field
  • metrics: Array of metric objects with name field
  • dimensionFilter / metricFilter: Filter expressions
  • orderBys: Sort order configuration
  • limit: Maximum rows to return
  • offset: Row offset for pagination

Pitfalls:

  • Date format is 'YYYY-MM-DD' or relative values like 'today', 'yesterday', '7daysAgo', '30daysAgo'
  • Not all dimensions and metrics are compatible; use CHECK_COMPATIBILITY first
  • Use GET_METADATA to discover valid dimension and metric names
  • Maximum 9 dimensions per report request
  • Row limit defaults vary; set explicitly for large datasets
  • offset is for result pagination, not date pagination
3. Run Batch Reports

When to use: User needs multiple different reports from the same property in one call

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_PROPERTIES - Get property ID [Prerequisite]
  2. GOOGLE_ANALYTICS_BATCH_RUN_REPORTS - Execute multiple reports at once [Required]

Key parameters:

  • property: Property ID (required)
  • requests: Array of individual report request objects (same structure as RUN_REPORT)

Pitfalls:

  • Maximum 5 report requests per batch call
  • All reports in a batch must target the same property
  • Each individual report has the same dimension/metric limits as RUN_REPORT
  • Batch errors may affect all reports; check individual report responses
4. Run Pivot Reports

When to use: User wants cross-tabulated data (rows vs columns) like pivot tables

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_PROPERTIES - Get property ID [Prerequisite]
  2. GOOGLE_ANALYTICS_RUN_PIVOT_REPORT - Execute pivot report [Required]

Key parameters:

  • property: Property ID (required)
  • dateRanges: Date range objects
  • dimensions: All dimensions used in any pivot
  • metrics: Metrics to aggregate
  • pivots: Array of pivot definitions with fieldNames, limit, and orderBys

Pitfalls:

  • Dimensions used in pivots must also be listed in top-level dimensions
  • Pivot fieldNames reference dimension names from the top-level list
  • Complex pivots with many dimensions can produce very large result sets
  • Each pivot has its own independent limit and orderBys
Show full SKILL.md (398 more words)Show less
5. Run Funnel Reports

When to use: User wants to analyze conversion funnels and drop-off rates

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_PROPERTIES - Get property ID [Prerequisite]
  2. GOOGLE_ANALYTICS_RUN_FUNNEL_REPORT - Execute funnel analysis [Required]

Key parameters:

  • property: Property ID (required)
  • dateRanges: Date range objects
  • funnel: Funnel definition with steps array
  • funnelBreakdown: Optional dimension to break down funnel by

Pitfalls:

  • Funnel steps are ordered; each step defines a condition users must meet
  • Steps use filter expressions similar to dimension/metric filters
  • Open funnels allow entry at any step; closed funnels require sequential progression
  • Funnel reports may take longer to process than standard reports
6. Manage Key Events

When to use: User wants to view or manage conversion events (key events) in GA4

Tool sequence:

  1. GOOGLE_ANALYTICS_LIST_PROPERTIES - Get property ID [Prerequisite]
  2. GOOGLE_ANALYTICS_LIST_KEY_EVENTS - List all key events for the property [Required]

Key parameters:

  • parent: Property resource name (e.g., 'properties/123456')
  • pageSize: Number of results per page
  • pageToken: Pagination token

Pitfalls:

  • Key events were previously called "conversions" in GA4
  • Property must have key events configured to return results
  • Key event names correspond to GA4 event names

Common Patterns

ID Resolution

Account name -> Account ID:

1. Call GOOGLE_ANALYTICS_LIST_ACCOUNTS
2. Find account by displayName
3. Extract name field (e.g., 'accounts/12345')

Property name -> Property ID:

1. Call GOOGLE_ANALYTICS_LIST_PROPERTIES with filter
2. Find property by displayName
3. Extract name field (e.g., 'properties/123456')
Dimension/Metric Discovery
1. Call GOOGLE_ANALYTICS_GET_METADATA with property ID
2. Browse available dimensions and metrics
3. Call GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to verify combinations
4. Use verified dimensions/metrics in RUN_REPORT
Pagination
  • Reports: Use offset and limit for row pagination
  • Accounts/Properties: Use pageToken from response
  • Continue until pageToken is absent or rowCount reached
Common Dimensions and Metrics

Dimensions: date, city, country, deviceCategory, sessionSource, sessionMedium, pagePath, pageTitle, eventName

Metrics: activeUsers, sessions, screenPageViews, eventCount, conversions, totalRevenue, bounceRate, averageSessionDuration

Known Pitfalls

Property IDs:

  • Always use full resource name format: 'properties/123456'
  • Numeric ID alone will cause errors
  • Resolve property names to IDs via LIST_PROPERTIES

Date Ranges:

  • Format: 'YYYY-MM-DD' or relative ('today', 'yesterday', '7daysAgo', '30daysAgo')
  • Data processing delay means today's data may be incomplete
  • Maximum date range varies by property configuration

Compatibility:

  • Not all dimensions work with all metrics
  • Always verify with CHECK_COMPATIBILITY before complex reports
  • Custom dimensions/metrics have specific naming patterns

Response Parsing:

  • Report data is nested in rows array with dimensionValues and metricValues
  • Values are returned as strings; parse numbers explicitly
  • Empty reports return no rows key (not an empty array)

Quick Reference

TaskTool SlugKey Params
List accountsGOOGLE_ANALYTICS_LIST_ACCOUNTSpageSize, pageToken
List propertiesGOOGLE_ANALYTICS_LIST_PROPERTIESfilter, pageSize
Get metadataGOOGLE_ANALYTICS_GET_METADATAproperty
Check compatibilityGOOGLE_ANALYTICS_CHECK_COMPATIBILITYproperty, dimensions, metrics
Run reportGOOGLE_ANALYTICS_RUN_REPORTproperty, dateRanges, dimensions, metrics
Batch reportsGOOGLE_ANALYTICS_BATCH_RUN_REPORTSproperty, requests
Pivot reportGOOGLE_ANALYTICS_RUN_PIVOT_REPORTproperty, dateRanges, pivots
Funnel reportGOOGLE_ANALYTICS_RUN_FUNNEL_REPORTproperty, dateRanges, funnel
List key eventsGOOGLE_ANALYTICS_LIST_KEY_EVENTSparent, pageSize

Powered by Composio

© davepoon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/all-skills/skills/google-analytics-automation of davepoon/buildwithclaude.

Open the folder on GitHubat commit 10bfc43

Used in 7 other repositories

We found 17 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in davepoon/buildwithclaude, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Google Analytics Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Analytics Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Analytics Automation this skilldavepoon/buildwithclaude3.6k7 repos~2.3kAutomated safety check: PassMIT
Googleads AutomationComposioHQ/awesome-claude-skills77k3 repos~1.6kAutomated safety check: PassNone
Composioyc-software/qm15k—~1.6kAutomated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
AI ML API AutomationComposioHQ/awesome-claude-skills77k4 repos~738Automated safety check: PassNone
Abuselpdb AutomationComposioHQ/awesome-claude-skills77k3 repos~738Automated safety check: PassNone

Similar skills

  • Googleads Automation

    ComposioHQ/awesome-claude-skills

    Automate Google Ads analytics tasks via Rube MCP (Composio): list Google Ads links, run GA4 reports, check compatibility, list properties and accounts.

    77k GitHub starsUsed in 3 repos~1.6k tokens
    Productivity & AutomationAuto-check passed
  • Composio

    yc-software/qm

    Show the app connection picker or setup widget when users ask to connect apps, reopen setup, or need an app that isn't connected yet.

    15k GitHub stars~1.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • AI ML API Automation

    ComposioHQ/awesome-claude-skills

    Automate AI ML API tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 4 repos~738 tokens
    Productivity & AutomationAuto-check passed
  • Abuselpdb Automation

    ComposioHQ/awesome-claude-skills

    Automate Abuselpdb tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~738 tokens
    Productivity & AutomationAuto-check passed
  • Setting Up Relayfile

    AgentWorkforce/relay

    A skill your agent uses when an agent or human needs to set up relayfile end-to-end so agents can read and write provider files through a local mount.

    866 GitHub starsUsed in 1 repo~3.3k tokens
    Productivity & AutomationAuto-check passed

More from davepoon/buildwithclaude

All 245 skills in this repo
  • Qwen Vision

    davepoon/buildwithclaude

    A skill your agent uses when the user asks to "analyze video", "watch this video", "what happens in this video", "describe this clip", "review this footage", "classify these videos", "compare…

    3.6k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Hard Predict Future

    davepoon/buildwithclaude

    Activate this agent for any future-oriented question that requires deep quantitative analysis, historical precedents, and structured scenario planning.

    3.6k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • iOS Hig Design Guide

    davepoon/buildwithclaude

    Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data.

    3.6k GitHub stars~735 tokensUpdated 2 days ago
    Auto-check passed
  • Video Downloader

    davepoon/buildwithclaude

    Download YouTube videos with customizable quality and format options.

    3.6k GitHub starsUsed in 1 repo~871 tokens
    Auto-check passed
  • Atlas Cloud Media

    davepoon/buildwithclaude

    Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling.

    3.6k GitHub stars~852 tokensUpdated 2 days ago
    Auto-check passed
  • Slack Gif Creator

    davepoon/buildwithclaude

    Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.

    3.6k GitHub starsUsed in 12 repos~4.3k tokens
    Auto-check passed

Questions about Google Analytics Automation

What does Google Analytics Automation do?

Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events. Google Analytics Automation is an agent skill from davepoon/buildwithclaude. Automate Google Analytics tasks via Rube MCP (Composio): run reports, list accounts/properties, funnels, pivots, key events.

When should I use Google Analytics Automation?

Google Analytics Automation fits situations like: tasks that involve App automation through connectors.

How do I install Google Analytics Automation in Claude Code?

Run `npx skills add davepoon/buildwithclaude --skill google-analytics-automation -a claude-code`. Or copy the skill folder (plugins/all-skills/skills/google-analytics-automation in davepoon/buildwithclaude) into .claude/skills/google-analytics-automation in your project. Claude Code loads it when a task matches its description.

How do I install Google Analytics Automation in Codex?

Run `npx skills add davepoon/buildwithclaude --skill google-analytics-automation -a codex`. Or copy the skill folder (plugins/all-skills/skills/google-analytics-automation in davepoon/buildwithclaude) into .agents/skills/google-analytics-automation in your project. Codex loads it when a task matches its description.

Can I use Google Analytics Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davepoon/buildwithclaude --skill google-analytics-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-analytics-automation, .gemini/skills/google-analytics-automation, .github/skills/google-analytics-automation and .opencode/skills/google-analytics-automation in your project.

What does Google Analytics Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: Google Analytics Automation is instructions for the agent only.

Does Google Analytics Automation access the network?

SKILL.md names 2 domains. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. As links in the text: composio.dev. This is read from the text; nothing was executed.

Is Google Analytics Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Google Analytics Automation use?

Google Analytics Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google Analytics Automation use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Google Analytics Automation?

Skills that share tags, products or a category with Google Analytics Automation: Googleads Automation (ComposioHQ/awesome-claude-skills, 77k stars), Composio (yc-software/qm, 15k stars), Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars) and AI ML API Automation (ComposioHQ/awesome-claude-skills, 77k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Analytics Automation?

davepoon (a GitHub user) maintains it in davepoon/buildwithclaude, which has 3,604 GitHub stars. The repository holds 245 skills in this directory. The repository was last updated on October 6, 2026.

Source: davepoon/buildwithclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.