/snowplow:tracking-designfrom Snowplow
Designs event tracking schemas, entities, and specifications following Snowplow conventions. Guides users through schema creation, tracking plan design, and instrumentation planning.
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.
Tracking design defines what events to track, what data to include, and how to structure it using Snowplow's schema and event specification system. Help the user produce a well-designed, maintainable, and scalable tracking setup that follows Snowplow conventions.
How tracking design is represented in the warehouse:
unstruct_event_.context_.context_com_snowplowanalytics_snowplow_event_specification column, which contains event specification and tracking plan metadata (id and name).It is important you never create schemas or event specifications without explicit user confirmation. Always present your design proposal first, then ask "Does this look correct? I'll create these schemas and event specification once you confirm." Only proceed with API calls after receiving confirmation.
/data-structures/<hash>), resolve it with get_data_structure_by_hash to identify which schema they mean.Ask clarifying questions to understand what the customer wants to track:
Apply Snowplow best practices:
add_to_cart, product)id not product_id inside a product entity)Present the complete design as a summary:
Wait for explicit user approval before making any API calls. Ask: "Does this look correct? I'll create these schemas and event specification once you confirm."
Never proceed with creation without confirmation.
When following the as code way (see Two Ways to Manage Tracking below), write these definitions as files in the repository instead of making the calls below.
Execute API calls in the correct order:
Note: Event specifications include both the event schema and all entity schemas (tracked and enriched) in a single API call. There is no separate "add entity" step.
A customer manages tracking definitions (data structures, tracking plans and event specifications) in one of two ways:
Before creating any data structure, tracking plan or event specification, infer the way from what you can observe, in this order. The first point that settles it decides:
list_schemas marks them (locked); get_tracking_plan and get_source_app show their lock status).Do not stop to ask which way to follow. Say in one sentence which way you follow and why, mention the other way, and add that a customer can start from Console and move the tracking plan to a repository later: https://docs.snowplow.io/docs/event-studio/implement-tracking/#move-a-tracking-plan-to-your-repository
When the repository holds tracking definition files, or Console shows the definitions as locked or managed from a repository, follow the as code way and do not change those definitions in Console. When you cannot reach that repository, describe the file change for the user to make there.
When following the as code way:
/tutorials/tracking-as-code.md with fetch_documentation_page and take every command and flag from it, not from memory. If that path no longer exists, find the tutorial with fetch_documentation_index. For other commands, such as login, status, events send or setup, run snowplow-cli <command> --help and take the flags from it, never from memory.Comparison of the two ways: https://docs.snowplow.io/docs/event-studio/implement-tracking/#compare-tracking-from-console-and-as-code and https://docs.snowplow.io/docs/event-studio/implement-tracking/#decide-when-to-manage-tracking-as-code. Tutorial: https://docs.snowplow.io/tutorials/tracking-as-code/introduction
A tracking plan can be linked to one or more source applications. Entities defined on a source application are automatically inherited by every event specification in that tracking plan — they do not need to be (and should not be) added to individual event specs. Users can exclude source applications from specific event specs if needed.
Source application entities are meant for entities that the tracker or its plugins attach automatically, and for enriched entities that the pipeline adds. Snowtype treats them as application context and generates no tracking code for them. A custom entity that the application code must attach belongs on each event spec that uses it, even when it is sent with every event: Snowtype generates code only for entities declared on the event spec, so a custom entity declared only on the source application is never sent. Don't declare an entity in both places, because Snowtype then warns about the overlap.
When designing event specs within a tracking plan that has source applications:
Example: If a source app defines iglu:com.snowplowanalytics.mobile/application/jsonschema/1-0-0 as an inherited entity, you do not need to add it to any event spec in the plan — it will always be present on every event.
When designing events, there are two valid approaches. Help the customer choose the right one:
Grouped Actions: A single schema captures multiple related action types via a discriminator property (e.g., a product_action schema with a type field for "view", "click", "add_to_cart"). Benefits: fewer schemas, simpler cross-action analysis. Requires strong governance to prevent the schema becoming a catch-all.
Atomic Schemas: A separate schema per distinct action (e.g., view_product, add_to_cart, remove_from_cart). Benefits: clarity, independent evolution, self-documenting. Trade-off: more schemas to manage.
Recommendation: If working within an existing tracking plan, follow the established pattern for consistency. Default to atomic schemas for clarity unless the customer has a clear family of closely related actions where grouped makes sense. Always ask the customer which approach they prefer when the choice is ambiguous.
When using the Grouped Actions pattern, property instructions are essential for governance. Each event spec sharing the same schema MUST use property instructions to restrict its discriminator field to specific values. This ensures each event spec clearly defines which subset of the schema it represents.
Example: A product_action schema with a type discriminator:
type allowed values [add_to_cart]type allowed values [remove_from_cart]type allowed values [view]Property instructions also apply to entity schemas. If a product entity has a category field, different event specs can restrict which categories are valid for their context.
When creating an event spec, check if the chosen event schema is already used by other event specs in the same tracking plan. If so:
Also proactively suggest property instructions when:
E-commerce events: Usually need product, user, and transaction entities. Snowplow's ecommerce schema in Iglu Central is a great reusable option. Media events: Often need media content, media player, and user entities. Check Iglu Central for media schemas. User events: Often need user, session, and page/screen entities. Content events: Typically need content item, user, and page entities Form events: Usually need form, user, and validation error entities. Snowplow's form schemas in Iglu Central can be reused.
If a user says "data product", interpret it as "tracking plan" — same concept, older name.
list_schemas — existing schemas and their deployment statusget_schema_properties — field names, types, and requirements for a schemaget_data_structure_by_hash — resolve a Console /data-structures/<hash> URL to the schema it refers tocreate_schema_version — create a new schema version (event or entity; never edit published ones)search_iglu_central — search public schemas for reuselist_tracking_plans — tracking plans (formerly data products)get_tracking_plan — one plan with its event specs and inherited source-app entitiescreate_tracking_plan — create a tracking planedit_tracking_plan — edit a tracking plan's metadata (name, description, domain, access instructions) — only the fields you pass are changedlist_event_specifications — list event specs (optional dataProductId filter)get_event_specification — full event spec detailscreate_event_specification — create an event spec (event schema + all entities in one call)update_event_specification — update an existing event specget_event_spec_metrics — event volume metrics for a speclist_data_catalog — tracked schemas and their relationshipssearch_data_catalog — search the catalog by name, vendor, or descriptionlist_source_apps — source applications linked to tracking plansget_source_app — source app details and the entities it providesfetch_documentation_index — find the tracking as code tutorial when its path has changedfetch_documentation_page — fetch the tracking as code tutorial before proposing Snowplow CLI or Snowtype commands for the definition files, their checks or CI/CDWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
snowplow, event-tracking, schema-design, tracking-plan, iglu
9 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./implementation-guidanceHelp developers instrument Snowplow trackers in their applications, either by writing tracker code directly or by generating type-safe code with Snowtype. Use when users ask how to send events, configure trackers, or write tracking code. Use this skill whenever a user wants to add analytics, instrument an app, or write tracker code, even if they don't name Snowplow explicitly. Triggers: tracker code, instrument app, send events, JavaScript tracker, iOS tracker, Android tracker, Snowtype, generate tracking code./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.npx claudepluginhub snowplow/skills --plugin snowplowOther plugins' skills for the same job