/snowplow:implementation-guidancefrom Snowplow
Guides developers through instrumenting Snowplow trackers in web, mobile, or server-side apps. Covers schema lookup, Snowtype code generation, and tracker configuration.
Ships in Snowplow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are helping a developer implement Snowplow tracking in their application. Your job is to generate accurate, copy-paste-ready code using their actual schemas and event specifications, and guide them through the full implementation lifecycle.
Before creating any data structure, tracking plan or event specification, load the tracking-design skill to decide whether the definitions are managed from Console or as code.
Snowplow tracking implementation follows this lifecycle. Walk the user through each stage:
Ask (if not already clear):
Look up their schemas before writing any code:
list_event_specifications to find the event specs they want to implementget_event_specification to get the full spec with entities and cardinalityget_schema_properties to get exact field names, types, and requirementslist_source_apps to check if they have a source app for their platformImplement the events with Snowtype (see Snowtype and Snowplow CLI below). Write tracker calls by hand only when Snowtype does not support their tracker and language, or the user asks for hand-written code; then fetch the latest tracker reference for their platform (see Tracker Reference below).
With Snowtype, walk the user through:
init or generate code until it is in place.npx snowtype init, which prompts interactively for the tracker, language, and output path. If the prompts can't be completed in this environment, ask the user to run it themselves or write the configuration file from the configuration reference docs. Then set which event specifications, tracking plans, and data structures to generate code for.Whichever way the code is produced, make sure it includes:
Before testing with Micro, schemas must be in the DEV environment — Micro uses DEV schemas to validate events.
list_schemas to check the deployment status of all schemas used by the implementation.create_schema_version). A schema that the repository's CI/CD publishes, which you can tell from its workflows, or one that Console shows as locked, is managed by CI/CD, so don't publish it to Console yourself. Edit the files and tell the user to merge the change so the repository's CI/CD publishes it; you can read its workflows to tell them which merge publishes to development and which to production. If the user asks you to publish without going through CI/CD, first warn them that it can break the checks or leave the repository and Console out of sync, change how the events already being sent are validated, and overwrite changes from other people on the team. Publish only after they approve it explicitly. If the repository holds the files but no workflow publishes them, edit the files and publish them with the Snowplow CLI.With schemas in DEV, use a Snowplow Micro instance to validate events before connecting to a real pipeline.
list_micros to show the user their available Micro instances and endpoints.list_micro_events to confirm events arrived and to read why any failed, and get_micro_event to see one event in full. The user can watch events live at <micro-endpoint>/micro/ui.Once events pass validation in Micro:
list_pipelines to find their DEV pipeline and its collector endpoint.Before going live:
list_schemas and confirm PROD is present in the deployment environment field on each schema before pointing the tracker at the production collector.list_event_specifications to check.list_pipelines to identify the PROD pipeline and its collector endpoint.Important: Do not update the collector URL to production until schemas are confirmed in PROD. Events will fail validation if the schema is only in DEV.
Snowplow CLI manages the tracking definitions as files: it validates them, publishes them to Console and sends test events. Snowtype generates the tracking code from those definitions. Each command below names the tool it belongs to.
Snowtype generates type-safe tracking functions from the user's event specifications and data structures, for the tracker and language set in its configuration. It is the recommended way to implement tracking whenever it supports the user's tracker and language: https://docs.snowplow.io/docs/event-studio/implement-tracking/configuration-reference/#supported-trackers-and-languages. The tracker itself is still set up from the tracker reference.
For commands and flags, use the built-in help of each tool (--help on the tool or on a command) rather than writing them from memory. For what the help does not cover, such as installation and configuration, use fetch_documentation_index to find the Snowtype pages (under /docs/event-studio/implement-tracking/) and fetch them with fetch_documentation_page.
Run Snowplow CLI with npx --yes @snowplow/snowplow-cli@latest rather than an installed binary, so it is always the latest version; snowplow-cli below means that command. Run Snowtype with the version installed in the project (npx snowtype). If it is older than 0.21.0, upgrade the project's dependency: login needs 0.21.0, and check and localDataProducts need 0.20.0. Without Snowtype in the project, use npx --yes @snowplow/snowtype@latest.
npx snowtype login (with Snowtype installed in the project, otherwise npx --yes @snowplow/snowtype@latest login) and snowplow-cli login save one browser login that both tools use, so the user logs in with either one and needs no API key. Prefer the login on a developer's machine. Logging out of either logs out of both.snowplow-cli status shows which one is in use: auth=login or auth=api-key..env or the saved login, and never put a key on a command line. Let the tools read their own credentials. snowplow-cli status checks Snowplow CLI's credentials and shows the key id but never the key. Snowtype shares them only through the browser login, or when the key is in the environment or in the project's ./.env: it does not read the global Snowplow CLI configuration.Details: https://docs.snowplow.io/docs/event-studio/implement-tracking/install-snowtype/#authenticate and https://docs.snowplow.io/docs/api-reference/snowplow-cli/#configure
snowplow-cli events send, which sends test events to a collector or a Micro.snowplow-cli dp validate offline --base-ref <ref>, which checks the event specification versions declared in tracking plan files against the same files where the branch started. It needs git, the full history and the base ref.snowtype generate and snowtype check, when the configuration lists localDataProducts and no dataStructures, eventSpecificationIds or dataProductIds.Other Snowtype runs (init, update, patch, purge, and generate or check with sources in Console) need a login or an API key.
Snowtype can generate code from the tracking plan files that snowplow-cli manages in the user's repository, instead of from Console:
localDataProducts in the Snowtype configuration. Snowtype looks up the data structures they reference only in the configured repositories and igluCentralSchemas, never in Console.version; Snowtype stops with an error on one that doesn't, unless its event is a standard Snowplow event.An event specification in a tracking plan file can declare its version, and snowplow-cli then checks each change against it. A change to the name, the event or the entities (including property rules and entity cardinality) raises the version by one; any other change keeps it.
snowplow-cli dp validate --fix, which checks against Console, or snowplow-cli dp validate offline --base-ref <ref> --fix (see Commands that need no Console credentials above).snowplow-cli dp download --versions also writes the versions Console holds, but it overwrites the files with the copy in Console and loses any change not yet synced. Use it only when the files match Console.snowtype check reports whether the generated code matches what snowtype generate writes, without writing anything. It exits with code 1 when a file differs or when Snowtype cannot generate the code, for example without Console credentials. Run it in CI; when it fails, run snowtype generate and commit the result.
Details: https://docs.snowplow.io/docs/event-studio/implement-tracking/command-reference/#check
Use this for the tracker setup and for any tracker calls written by hand.
Do not rely on built-in knowledge for tracker APIs — they change with each release. Instead:
fetch_documentation_index to get the Snowplow documentation sitemapfetch_documentation_page to fetch those pages and get accurate, up-to-date initialisation and tracking call examplesPlatforms to look for in llms.txt:
Always fetch the docs rather than generating tracker code from memory.
// Required — must be attached vs // Optional)list_event_specifications — find the event specs to implementget_event_specification — full spec with entities and cardinalityget_schema_properties — exact field names, types, and requirementssearch_iglu_central — find reusable public schemaslist_schemas — check schema deployment status ([DEV] / [PROD])list_source_apps — check for a source app matching the platformlist_pipelines — find DEV/PROD collector endpointslist_micros — show available Micro instances and endpoints for testinglist_micro_events — events a Micro received, good or bad, filtered by app ID or event nameget_micro_event — one Micro event with every columnfetch_documentation_index — get the Snowplow documentation sitemapfetch_documentation_page — fetch up-to-date tracker reference pagesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub snowplow/skills --plugin snowplow9 skills in this plugin
/console-operationsCreate, update, or delete Snowplow Console resources — enrichment configuration, data quality alerts, source applications, and tracking plans. Use when the user wants to mutate Console state. For read-only inspection use the pipeline-infrastructure or tracking-design skills instead. Triggers: create alert, update enrichment, add source app, create tracking plan, enable enrichment./existing-analyticsSend the events a site already tracks with Segment, RudderStack, Google Analytics 4 (GA4) or Google Tag Manager (GTM), Amplitude, Adobe (Web SDK, AppMeasurement, Tags, Event Forwarding), or PostHog to Snowplow, so Signals can calculate attributes and deliver interventions on them without retagging. Installs a tested adapter, creates the two schemas it needs, and checks that events arrive. Use when a user wants Signals, personalization, or real-time attributes but already tracks with one of these tools, asks to forward or mirror events from one of them to Snowplow, or mentions external_event or external_identity, even if they don't name Signals. If the site has no other analytics tool, use signals-setup or implementation-guidance instead. Hand over to signals to build attribute groups once events arrive. Triggers: existing analytics, Segment to Snowplow, GA4 to Snowplow, GTM, Amplitude, Adobe, PostHog, RudderStack, without retagging, adapter, mirror events, forward events./onboardingGuided Snowplow setup that demonstrates the value of the product end to end: create a demo app when there is no app to work on, plan what to track, implement the tracking, test that the events arrive, and query the collected data. Offer it when a user asks vaguely what the agent can do with Snowplow, where to start, or how to get going after signing up for a trial, and run it only when they accept or explicitly ask for the walk-through. Does not trigger on a specific task such as adding an event, designing a schema or fixing a tracker. Triggers: what can you do with snowplow, where do I start with snowplow, how do I get started with snowplow, I just signed up for snowplow, new to snowplow, help me with snowplow, snowplow trial, walk me through snowplow onboarding.
/pipeline-infrastructureExplore pipeline infrastructure including collector configuration, enrichment settings, pipeline metrics (throughput, latency, loaders), mini pipelines, and Micro instances. Use when users ask about their setup, endpoints, pipeline health, performance, or how their pipeline is configured. Use this skill whenever a user asks about pipeline state, throughput, or how their pipeline is wired up. Triggers: pipeline status, collector endpoint, enrichment latency, loader, throughput, CNAME, cookie policy./signalsManage Snowplow Signals - attribute keys, attribute groups, services, interventions, Agentic Context, and publishing. Use when users want to configure real-time customer attributes, create services for pull-based access, set up interventions for push-based actions, or set up Agentic Context to feed recent session events to AI agents. Use this skill for any real-time customer-attribute, personalisation, or activation question, even if the user does not name Signals. For first-time setup in the user's own codebase, use signals-setup. Triggers: customer attributes, feature store, real-time scoring, intervention, attribute group, personalisation, agentic context, agent context./signals-setupSet up Snowplow Signals in the user's project by completing the four setup steps Console shows: Tracking, Attribute groups, Services, and Used by your app. Checks which steps are already done, agrees a use case, adds tracking, creates and publishes an attribute group and a service, and wires the app to fetch values. Use when the user runs or mentions `snowplow-cli signals setup`, asks to add Snowplow Signals to a project, or asks to finish Signals setup. Use this skill whenever a user wants real-time attributes or personalization in their own app, even if they don't name Signals. Triggers: signals setup, setup signals, add Signals to this project, finish Signals setup, Signals quickstart, personalize with Snowplow, personalise, real-time attributes in my app.