ga4-audience-builder

ga4-audience-builder is a skill for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 98 tokens per session (4,214 once invoked), scanned A, original, MIT.

A guide for creating user groups in Google Analytics 4, Google's web and app measurement service.

In plain words
What is it for?
It is for building behavior-based, property-based, sequential, and remarketing audiences, such as people who viewed a product but did not buy it.
Why use it?
It helps separate visitors by actions, properties, or ordered journeys for analysis and advertising.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ad-superpowers plugin — 17 skills, 35 commands, 5 agents, 1 MCP server shipped together

Good fit It is for building behavior-based, property-based, sequential, and remarketing audiences, such as people who viewed a product but did not buy it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill ga4-audience-builder
Clone the repo
git clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-plugin

Made for: Claude Code.

Or install ad-superpowers, the plugin that ships this one along with the rest of its 17 skills, 35 commands, 5 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ga4-audience-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder/github.svg)](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder)
Your own site
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ga4-audience-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-audience-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,214 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.04214
Opus 5 $0.00049 $0.02107
Sonnet 5 $0.00020 $0.00843
Haiku 4.5 $0.00010 $0.00421

Measured 8d ago against content hash 4a716142fe37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ga4-audience-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/ga4-audience-builder/SKILL.md · 528 lines

How it starts

The opening of the file, as written. The whole thing — 528 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GA4 Audience Builder Guide

Complete guide for building powerful custom audiences in Google Analytics 4 for remarketing and analysis.

Quick Decision Tree

GA4 AUDIENCE BUILDER FLOW
│
├─► WHICH TYPE OF AUDIENCE?
│   ├─► Behavior-based
│   │   └─► Use events + parameters
│   │       └─► Example: "Users who viewed product but did not purchase"
│   │
│   ├─► User Property based
│   │   └─► Demographics, lifetime value, acquisition
│   │       └─► Example: "High-value customers (LTV > €500)"
│   │
│   ├─► Sequential (Journey)
│   │   └─► Steps in order
│   │       └─► Example: "Homepage → Category → Product → NO Purchase"
│   │
│   └─► Predictive (ML)
│       └─► See: ga4-predictive-audiences skill
│
├─► MEMBERSHIP DURATION?
│   ├─► Short (1-7 days)
│   │   └─► Cart abandoners, recent visitors
│   │
│   ├─► Medium (8-30 days)
│   │   └─► Product interest, engaged users
│   │
│   └─► Long (30-540 days)
│       └─► Customer loyalty, seasonal shoppers
│
└─► EXPORT NEEDED?
    ├─► Google Ads remarketing
    │   └─► See: ga4-remarketing-setup skill
    │
    └─► GA4 analysis only
        └─► No export configuration needed

Audience Types Overview

GA4 AUDIENCE TYPES
===================

┌───────────────────┬────────────────────────────────────────────────────┐
│ Type              │ Use Case                                           │
├───────────────────┼────────────────────────────────────────────────────┤
│ Static Conditions │ Simple if/then rules                               │
│                   │ "Users with event X"                               │
├───────────────────┼────────────────────────────────────────────────────┤
│ Dynamic           │ Real-time membership updates                       │
│                   │ "Users who purchased last week"                    │
├───────────────────┼────────────────────────────────────────────────────┤
│ Sequential        │ Ordered steps (THEN/FOLLOWED BY)                   │
│                   │ "Viewed product → Added to cart → Did NOT buy"     │
├───────────────────┼────────────────────────────────────────────────────┤
│ Exclusion         │ Exclude certain users                              │
│                   │ "All visitors EXCEPT converters"                   │
├───────────────────┼────────────────────────────────────────────────────┤
│ Predictive        │ ML-based (purchase/churn probability)              │
│                   │ "Likely 7-day purchasers"                          │
└───────────────────┴────────────────────────────────────────────────────┘

Read the full file on GitHub · 528 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 528 lines · 98 tokens per session scan A 4a716142fe37

Subscribe to this mod's changes

ga4-audience-builder is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 10d ago), licensed MIT. It adds 98 tokens to every session and 4,214 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

analytics

Growth analytics authority — GA4 event tracking, conversion funnels, attribution models, cohort analysis, A/B testing, Supabase analytics queries, and revenue reporting patterns.

LuuOW/meridian-mcp · 33 tokens

attribution-scope

GA4 has three distinct attribution scopes. Using the wrong scope gives misleading results. Choose based on the question you are answering.

surendranb/google-analytics-mcp · 30 tokens

bot-traffic-detection

Identify and exclude bot, scraper, and spam sessions from GA4 data.

surendranb/google-analytics-mcp · 21 tokens

cro-optimizer

CRO specialist that pulls live analytics data via the Humblytics MCP, analyzes conversion funnels, identifies drop-off points, and generates prioritized A/B test hypotheses. Use when analyzing conversion rates, diagnosing funnel leaks, optimizing signup flows, or creating test roadmaps. Triggers: CRO, conversion rate…

Humblytics/humblytics-marketing-skills · 76 tokens

analytics

Use when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing. NOT charting that data (that is dashboard), NOT choosing which metrics matter (that is kpi-framework), NOT experiment math (that is ab-testing), NOT cookie-policy…

ericrisco/rsc-harness · 80 tokens

sealeap-amazon-product-targeting

An Amazon Ads planning skill for targeting product pages and categories, including competitor, complementary, upsell, and own-product traffic.

xjli360/sealeap-amazon-ad-skills · 168 tokens