walkeros-using-transformer-ga4

walkeros-using-transformer-ga4 is a skill for Claude Code from elbwalker/walkerOS. It costs 72 tokens per session (2,538 once invoked), scanned A, original, MIT.

Instructions for connecting a walkerOS server flow to a decoder for Google Analytics 4 Measurement Protocol version 2 data. The decoder turns incoming analytics requests into walkerOS events.

In plain words
What is it for?
Use it to process GA4 server requests, override event mappings, drop unwanted events, add custom event keys, accept Ads or Display traffic IDs, and troubleshoot missing events.
Why use it?
It explains how to connect the decoder and adjust which analytics fields and events are accepted, changed, or discarded.

Skill for Claude Code

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

Part of the walkeros plugin — 24 skills shipped together

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.

agentmods
npx agentmods add skills/elbwalker/walkeros/walkeros-using-transformer-ga4
Any agent
npx skills add elbwalker/walkerOS --skill walkeros-using-transformer-ga4
Clone the repo
git clone --depth 1 https://github.com/elbwalker/walkerOS

Made for: Claude Code.

Or install walkeros, the plugin that ships this one along with the rest of its 24 skills.

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 walkeros-using-transformer-ga4

README.md
[![agentmods](https://agentmods.dev/badge/skills/elbwalker/walkeros/walkeros-using-transformer-ga4.svg)](https://agentmods.dev/skills/elbwalker/walkeros/walkeros-using-transformer-ga4)
Your own site
<a href="https://agentmods.dev/skills/elbwalker/walkeros/walkeros-using-transformer-ga4"><img src="https://agentmods.dev/badge/skills/elbwalker/walkeros/walkeros-using-transformer-ga4.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00072 $0.02538
Opus 5 $0.00036 $0.01269
Sonnet 5 $0.00014 $0.00508
Haiku 4.5 $0.00007 $0.00254

Measured 6d ago against content hash 7e55b731b7dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

walkeros-using-transformer-ga4 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 6d 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.

skills/walkeros-using-transformer-ga4/SKILL.md · 288 lines

How it starts

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

Using @walkeros/transformer-ga4

Overview

@walkeros/transformer-ga4 decodes Google Analytics 4 Measurement Protocol v2 hits (/g/collect, /mp/collect) into walkerOS events. It sits in a server source's before chain, reads the raw HTTP request via ctx.ingest, and returns one walkerOS event per GA4 event in the hit (one hit can carry many events).

Boundaries: server-side decoding via source-express, GA4 v2 only, G- tids only by default. Per-field patching via extend/remove is supported.

When to use this skill

  • You are wiring transformer-ga4 into a server flow for the first time
  • You want to override one of the 33 default GA4 mappings
  • You need to drop a GA4 event (auto-fired noise like user_engagement)
  • You want to add a custom event key for a gtag('event', '<name>', ...) call
  • You need to widen tidPattern to accept Ads (AW-) or DC (DC-) traffic
  • Events are not arriving and you suspect the decoder is silently dropping them

Quickstart wiring

{
  "version": 4,
  "flows": {
    "default": {
      "config": { "platform": "server" },
      "sources": {
        "http": {
          "package": "@walkeros/server-source-express",
          "config": {
            "ingest": {
              "map": {
                "url": { "key": "url" },
                "path": { "key": "path" },
                "method": { "key": "method" },
                "body": { "key": "body" }
              }
            }
          },
          "before": "ga4"
        }
      },
      "transformers": {
        "ga4": { "package": "@walkeros/transformer-ga4" }
      },
      "destinations": {
        "log": { "package": "@walkeros/destination-demo" }
      }
    }
  }
}

Wiring rules:

  • transformer-ga4 belongs in source.before, not destination.before. Decoding is a pre-collector concern: GA4 hits are not yet walkerOS events.
  • The source must populate ctx.ingest.url (required, string) and ctx.ingest.body (optional, string). Raw text body only — pre-parsed JSON will not decode.
  • One HTTP request can fan out to N walkerOS events. This requires the collector fan-out fix (shipped in this release).

Read the full file on GitHub · 288 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. 6d ago First seen · 288 lines · 72 tokens per session scan A 7e55b731b7dc

Subscribe to this mod's changes

walkeros-using-transformer-ga4 is a skill published in the GitHub repository elbwalker/walkerOS (343 stars, last pushed 3d ago), licensed MIT. It adds 72 tokens to every session and 2,538 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

senior-laravel-developer-phpunit-interpreter

Cleans and interprets raw PHPUnit CI logs into a compact, AI-friendly failure report. Use this skill whenever the user pastes or uploads a PHPUnit log, GitHub Actions test output, CI test results, or asks to interpret/summarize/analyze failing tests. Trigger even if the user says things like "here's my test output"…

Bottelet/DaybydayCRM · 118 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

azsdk-common-pipeline-analysis

Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format. Load this skill before calling azsdkanalyzepipeline, which returns raw failure data that this skill interprets and formats. USE FOR: "pipeline failed", "build failure", "CI check failing", "tests failing in…

Azure/azure-sdk-for-net · 192 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens