Logotipo de Metrics Tagging

Metrics Tagging

Comunidad
ommakes
metrics-tagging

Analyze UI mockups, screenshots, or prototype frames to identify all trackable interactions and generate a complete analytics event taxonomy table, including multi-step task/flow completion events. Use this skill whenever a designer uploads a screen, mockup, prototype screenshot, or UI frame and wants to know what should be tagged, what events to fire, or how to document analytics for handoff. Also trigger when someone asks to "tag this screen," "identify events," "create a tagging spec," "what should we track," "build an event table," or "tag this flow/task" for any UI. If a designer shares any visual of a UI and mentions analytics, tracking, tagging, GTM, events, funnels, or metrics — use this skill.

Descripción general

Editorommakes
RepositorioSkills
Nombre de la habilidadmetrics-tagging
Estrellas
21
Forks
0
Archivos incluidos
2
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 2

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por ommakes en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Metrics Tagging en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/ommakes/Skills/tree/main/metrics-tagging
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ommakes/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/metrics-tagging .claude/skills/metrics-tagging
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Metrics Tagging en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Metrics Tagging automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Metrics Tagging no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Metrics Tagging Skill

Analyze a UI mockup or screenshot and produce a complete analytics event taxonomy, ready for handoff to a tag implementation team.

Mental Model: Three Levels of Tagging

Before generating the table, always frame the output across three levels. This helps designers understand why each tag matters — not just what it is.

LevelWhat it answersExample
PageWhat happened on screenUser clicked "Save" button
AppWhat workflow is this part ofAccount setup flow completion
BusinessWhich KPI does this feedTask completion rate, time-on-task, abandonment rate

Input

Accept any of:

  • Screenshot or photo of a UI mockup
  • Prototype frame image
  • Annotated design screenshot
  • Description of a screen with listed components

The designer may also provide:

  • The flow name (e.g. "Onboarding", "Checkout", "Settings", "Profile Edit")
  • The product type (e.g. SaaS, e-commerce, internal tool, consumer app)
  • Existing event naming conventions already in use
  • Business KPIs this flow relates to

If the designer does not provide product or flow context, ask for it before generating the table. The "Purpose" column cannot be filled accurately without knowing what the flow is trying to accomplish.

Naming Convention

Use camelCase. Follow this pattern: noun + Verb

Format: [object/screen][Action]

General examples:

  • checkoutViewed — page load on checkout screen
  • cartItemRemoved — user removes item from cart
  • planSelected — user selects a pricing plan
  • passwordChanged — user updates their password
  • formSubmitted — generic form submit
  • modalDismissed — user closes a modal
  • flowCancelled — user exits a multi-step flow

Rules:

  • No underscores, no hyphens
  • Noun first, verb second
  • Use past tense for completed actions (Saved, Selected, Changed, Entered)
  • Use present tense for initiated states (Start, Viewed)
  • Keep names under 30 characters
  • If the product already has a naming convention, follow it exactly and note it in the output

Output: Event Taxonomy Table

Produce a markdown table with exactly these six columns:

#Event or ActionID or VariableDefinitionPropertiesPurposeEvent Name

Column definitions:

Event or Action — Plain English label. What the user did or what happened. Use the element type + label text. Examples:

  • Button Click: "Save Changes"
  • Dropdown: "Account Type"
  • Page Load
  • Text Input: "Email Field Changed"
  • Radio: "Billing Frequency"

ID or Variable — The DOM-level selector or variable name the tag team will hook into. Use kebab-case. Infer from the label text if not visible in the mockup. Examples:

  • save-changes-btn
  • account-type-select
  • email-input
  • billing-frequency-radio

Definition — When exactly does this event fire? Be precise. Start with "When the user..." or "The moment the page..."

Properties — The contextual data that rides along on the event payload, not the event name itself. This is where variation belongs — do NOT create a separate event for every possible value. Examples:

  • planSelected → properties: plan_type (starter/pro/enterprise)
  • personaCreateBtnClicked → properties: flow_id (see Task-Level Events below)
  • formSubmitted → properties: error_code (if validation failed)

If a field has no meaningful downstream property (e.g. a static page load), write "—".

Never put PII in a property — no email, name, phone, or address. Reference a user/account ID instead and let the backend join it if needed.

Purpose — Which business question does tracking this answer? Connect to a KPI. If flow context was provided, map directly to a stated KPI. If not, use the most likely KPI for that element type:

  • Submit buttons → task completion rate
  • Cancel/close buttons → abandonment rate
  • Start events → funnel entry rate
  • Feature toggles → feature adoption rate
  • Error states → error rate

Event Name — camelCase event name following the naming convention above.

Cascading Input Priority

Not all inputs are equal. When deciding whether to tag a specific input field, apply these two tests. If either passes, the input must be tagged and flagged.

Test 1 — Does it cascade? If changing this field's value causes anything else in the flow to change — other fields appearing or hiding, validation rules shifting, downstream behavior changing — it must be tagged. These inputs explain why users take different paths through the same flow.

Test 2 — Does it have sizeable outcome impact? Even if nothing visually changes, does this field's value directly affect the product's core outcome — pricing, eligibility, access level, subscription tier, risk calculation, permissions? If yes, tag it.

General examples of must-tag inputs:

  • Plan type selector — changes what features or pricing applies
  • Account type dropdown — may change what form fields appear next
  • Billing frequency toggle — affects pricing calculation
  • User role selector — changes what the user can access
  • A/B test variant toggle — affects the entire experience downstream
  • Any field that unlocks or hides a subsequent step

General examples of lower-priority inputs:

  • Middle name or suffix fields
  • Secondary address line
  • Optional bio or description fields (unless length or content triggers logic)
  • Display preference fields with no functional effect

When analyzing a mockup, mark each cascading or high-impact input with a [CASCADE] or [HIGH IMPACT] flag in the Purpose column. This tells the tag team what to prioritize if they need to phase implementation.

If cascade behavior of any input is unclear from the mockup, flag it in the Coverage Gaps section and prompt the designer to verify with a PM or business analyst before handoff.

Element Coverage Checklist

When analyzing a screen, systematically check for all of these. Do not skip any category.

Always tag:

  • Page/view load
  • Every CTA button (primary and secondary)
  • Every form submit button
  • Every cancel / dismiss / close button (high abandonment signal)
  • Every cascading input — any field whose value changes the flow
  • Every high-impact input — any field with direct effect on a core business outcome
  • Every radio button group
  • Every checkbox and toggle that affects downstream behavior

Tag if present and notable:

  • Dropdowns / selects (cascading ones first)
  • Text input fields (high-impact ones first)
  • Expand/collapse controls
  • Search / autocomplete interactions
  • Modal or drawer open/close events
  • Warning or alert dismissed actions
  • Add / expand section actions
  • Back / navigation links
  • Pagination or load-more actions

Flag but do not generate — prompt the designer:

  • Screen states not visible in the mockup: error state, empty state, loading state
  • Conditional logic (fires only when X condition is true)
  • Multi-step flows where the same element appears across steps
  • Any input whose cascade behavior cannot be determined from the mockup alone

Task-Level Events (Flow Completion)

Individual click events tell you what happened at one moment. They don't tell you whether the user actually finished what they set out to do. That requires a second, higher-level layer: pairing a start event with an end event to measure completion of a whole task, not just a single interaction.

When to generate this table: any time the screen (or set of screens) contains a create/edit/delete/setup pattern where a user initiates an action and completes it one or more steps later — e.g. personaCreateBtnClicked (start) → personaSaveBtnClicked (end) = "Add New Persona" task. If the flow spans multiple screens and only one has been shared, generate the table with the available half and flag the missing screen in Coverage Gaps.

How linking actually works: analytics tools (Amplitude, Mixpanel, GA4) don't have a native "paired event" object. They stitch a start and end event together via a shared property fired on both — typically a flow_id (a UUID generated the moment the start event fires, attached to every event in that task until it ends). Always specify this linking property; without it, "task completion rate" isn't computable, just a hopeful correlation.

Produce a second markdown table:

Task NameStart EventEnd EventLinking PropertySuccess DefinitionAbandonment RulePurpose
  • Task Name — camelCase, describes the outcome, not the click (addNewPersona, not saveBtnClicked)
  • Start Event / End Event — must be Event Names already defined in the main taxonomy table above
  • Linking Property — almost always flow_id, unless the product already uses something else (e.g. session_id, draft_id) — check existing conventions first
  • Success Definition — the end event must fire with no error state; state this explicitly
  • Abandonment Rule — what counts as giving up: navigating away, closing the modal, or a timeout (state a specific duration if known, otherwise flag it in Coverage Gaps for the designer/PM to define)
  • Purpose — usually task completion rate or time-on-task; note if multiple task rows roll up into one funnel

Edge cases to flag, not silently resolve:

  • Retries (user starts, cancels, starts again) — the flow_id must regenerate on each new start, or completion rate gets inflated
  • Two starts before one end — decide whether that's "abandon + restart" or an invalid state, and flag it if unclear from the mockup

Avoiding Taxonomy Bloat

More events isn't better tracking — it's noise that makes funnels unreadable. Before finalizing:

  • Never create a separate event for each option of a dropdown/radio/toggle. Use one event with a Properties value instead (billingFrequencyChanged + frequency: monthly/annual, not billingFrequencyMonthlySelected and billingFrequencyAnnualSelected).
  • If the main taxonomy table exceeds roughly 25-30 rows for a single screen, that's a signal to consolidate similar interactions into fewer events with more properties, and to say so in the output rather than shipping the sprawl silently.
  • Before naming a new event, scan the table so far for something that already covers the same action — duplicate near-identical events are the most common cause of taxonomy drift over time.

Cross-Session Consistency (Event Registry)

Every run of this skill invents event names and selector IDs fresh, with no memory of what got named last time. Left unchecked, that's how the same "Save" button pattern ends up as saveBtn on one screen and saveChangesBtn on another a few weeks later — the exact naming-drift problem the Quality Check dedup rule above is trying to catch within a single run, extended across runs.

Fix: maintain a running ledger at references/event-registry.md (in the same repo/workspace as this skill, not bundled with it — it's project-specific, not skill-specific).

Before tagging a new screen:

  1. Read references/event-registry.md if it exists.
  2. Check whether any element on the new screen matches (or closely resembles) an already-registered pattern — same interaction type, same rough purpose. If so, reuse its Event Name and ID convention exactly, even if your first instinct would've named it slightly differently.
  3. If the file doesn't exist yet, this is the first run for this project — proceed normally and create it at the end.

After finalizing output: Append one row per new event (skip ones reused from the registry) to a table with this shape:

Event NameID or VariableScreen/FlowDate Added

Don't rewrite history — only add rows for genuinely new events. If naming conventions in the registry conflict with this skill's default pattern (e.g. the project already uses snake_case), follow the registry, not the skill defaults, and note that in the Naming Convention Reference block.

Coverage Gap Section

After the table, always output a Coverage Gaps section: The following were NOT visible in the provided mockup or could not be determined from it. Verify these before handoff:

Error state: What fires if form validation fails? Loading state: Is there a spinner or skeleton? Should it be tracked? Empty state: What fires if the list/section is empty on load? [Any cascading inputs flagged as unclear] [Any conditional logic that depends on user state or permissions]

Business Context Priming

If the designer provides flow context, use it to sharpen the Purpose column. Common KPIs by product type to map to:

SaaS / internal tools:

  • Task completion rate → flow save/submit events
  • Task abandonment rate → cancel, close, back events
  • Time on task → flow start + flow saved pair
  • Feature adoption → optional feature toggles
  • Error rate → validation error events

E-commerce:

  • Conversion rate → add to cart, checkout initiated, purchase completed
  • Cart abandonment → remove from cart, checkout exited
  • Funnel drop-off → step viewed vs. step completed pairs

Consumer apps:

  • Activation rate → onboarding completed event
  • Retention signal → return visit, key feature used
  • Engagement depth → feature interaction frequency

If no context is provided, use generic KPI language and note in the output that Purpose column accuracy will improve with flow context.

Output Format

  1. Start with a brief Screen Summary (1-2 sentences: what screen is this, what flow is it part of)
  2. Output the Event Taxonomy Table in full
  3. Output the Task-Level Events table if the screen contains any multi-step create/edit/delete pattern (omit this step entirely if none exist — don't force it)
  4. Output the Coverage Gaps section
  5. End with a Naming Convention Reference block showing the pattern used and any conventions observed or inferred

Example Output Structure

Quality Check Before Outputting

Before finalizing output, verify:

  • Every visible interactive element is in the table
  • No event name is duplicated
  • All event names follow the camelCase nounVerb pattern
  • Every row has all 6 columns populated (use "—" for Properties when there's genuinely none)
  • Cancel/close/dismiss buttons are included
  • Cascading inputs are flagged [CASCADE] in the Purpose column
  • High-impact inputs are flagged [HIGH IMPACT] in the Purpose column
  • No two events describe the same underlying action (check for near-duplicates before finalizing)
  • If references/event-registry.md exists, it was checked for reusable names before new ones were invented, and new events were appended to it after finalizing
  • Every Task-Level Events row references Start/End events that actually exist in the main table, and specifies a Linking Property
  • Coverage gaps section calls out all missing screen states
  • Any input whose cascade behavior is unclear is flagged in Coverage Gaps
  • If no flow context was provided, the output notes that Purpose column accuracy is limited and prompts the designer to re-run with context

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Metrics Tagging?

Analyze UI mockups, screenshots, or prototype frames to identify all trackable interactions and generate a complete analytics event taxonomy table, including multi-step task/flow completion events. Use this skill whenever a designer uploads a screen, mockup, prototype screenshot, or UI frame and wants to know what should be tagged, what events to fire, or how to document analytics for handoff. Also trigger when someone asks to "tag this screen," "identify events," "create a tagging spec," "what should we track," "build an event table," or "tag this flow/task" for any UI. If a designer share...

¿Por qué usar Metrics Tagging en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Metrics Tagging está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Metrics Tagging en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/ommakes/Skills/tree/main/metrics-tagging. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Metrics Tagging?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Metrics Tagging?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Metrics Tagging con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Metrics Tagging?

Sí. ommakes la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇