full-funnel-ai-analytics: Skill for Claude Code

.agents/skills/metric-definitions/SKILL.md

metric-definitions is a skill for Claude Code, Codex from eduardocornelsen/full-funnel-ai-analytics. It costs 65 tokens per session (1,125 once invoked), scanned A, original, MIT.

A reference for the project’s official analytics definitions, including conversion rate, return on ad spend, attribution windows, revenue scopes, and channel rules. It specifies the formulas and labels that dashboards must use.

In plain words
What is it for?
Use it before creating or changing analytics dashboards, reports, or metric-related queries.
Why use it?
It prevents dashboards from mixing metrics that look similar but use different data or time periods.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is eduardocornelsen/full-funnel-ai-analytics's own configuration. It tells Claude Code and Codex how to work on full-funnel-ai-analytics itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything full-funnel-ai-analytics configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eduardocornelsen/full-funnel-ai-analytics. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eduardocornelsen/full-funnel-ai-analytics/main/.agents/skills/metric-definitions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/eduardocornelsen/full-funnel-ai-analytics

Made for: Claude Code, Codex.

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 metric-definitions

README.md
[![agentmods](https://agentmods.dev/badge/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions/github.svg)](https://agentmods.dev/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions)
Your own site
<a href="https://agentmods.dev/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions"><img src="https://agentmods.dev/badge/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions/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 metric-definitions

Your own site · 80×15
<a href="https://agentmods.dev/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions"><img src="https://agentmods.dev/badge/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,125 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.01125
Opus 5 $0.00032 $0.00562
Sonnet 5 $0.00013 $0.00225
Haiku 4.5 $0.00006 $0.00112

Measured 12d ago against content hash 791adacbe63c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

metric-definitions 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 12d 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.

.agents/skills/metric-definitions/SKILL.md · 134 lines

How it starts

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

Metric Definitions — Full-Funnel AI Analytics

All definitions here are enforced by CLAUDE.md at the project root and documented in dbt_project/models/metrics/metrics.yml.


CVR (Conversion Rate)

Two definitions are valid. Never mix them on the same surface without labelling both.

Definition Formula Denominator Typical range UI label
Session CVR conversions / sessions GA4 sessions 1–5% e-commerce CVR (session)
Click CVR conversions / clicks Paid ad clicks 5–20% paid campaigns CVR (click)

When to use each:

  • Cross-channel funnel, GA4 tables → Session CVR
  • Google Ads / Meta Ads campaign tables → Click CVR
  • Never compare session CVR to click CVR as if they measure the same thing

ROAS (Return on Ad Spend)

Scope Formula Attribution model Window UI label
Meta (platform) roas field from MCP response Last-click 7-day click / 1-day view Meta platform · 7d
Google (estimated) (conversions × $100) / cost Last-click (estimated) 30-day Google est. · AOV $100
Blended total_attributed_revenue / total_spend Linear 90-day query period Linear attribution · 90d
Channel channel_revenue / channel_spend Linear 90-day query period Linear attribution · 90d

AOV assumption: $100 per conversion for all Google ROAS estimates. Derived from Meta platform data: average revenue/conversion across Meta campaigns ≈ $100.

Never use: spend × multiplier to estimate Google revenue. This produces synthetic, non-reproducible values.


CTR

clicks / impressions — always as a percentage. Source: platform MCP response fields (Google: ctr, Meta: link_clicks / impressions).


Blended CVR (cross-channel funnel)

total_orders / total_sessions — uses GA4 sessions as denominator. This is the canonical definition per session_conversion_rate in metrics.yml.

Read the full file on GitHub · 134 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. 12d ago First seen · 134 lines · 65 tokens per session scan A 791adacbe63c

Subscribe to this mod's changes

metric-definitions is a skill published in the GitHub repository eduardocornelsen/full-funnel-ai-analytics (21 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,125 once invoked, about $0.0003 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

enrich-context

Augment a Wren project with business context that DB schema cannot carry — enum value meanings, units (USD vs cents, ms vs sec), NULL semantics, magic sentinels (-1 = unknown), soft-delete default filters, business synonyms, time-grain / TZ conventions, cross-system identifiers, currency rules, canonical-table…

Canner/WrenAI · 347 tokens

usage

Wren Engine CLI workflow guide for AI agents. Answer data questions end-to-end using the wren CLI: gather schema context, recall past queries, write SQL through the MDL semantic layer, execute, and learn from confirmed results. Use when: user asks a data question, requests a report or analysis, asks about metrics…

Canner/WrenAI · 156 tokens

dlt-connector

Connect SaaS data (HubSpot, Stripe, Salesforce, GitHub, Slack, etc.) to Wren Engine for SQL analysis. Guides the user through the full flow: install dlt, pick a SaaS source, set up credentials, run the data pipeline into DuckDB, then auto-generate a Wren semantic project from the loaded data. Use this skill whenever…

Canner/WrenAI · 158 tokens

generate-mdl

Generate a Wren MDL project by exploring a database with available tools (SQLAlchemy, database drivers, MCP connectors, or raw SQL). Guides agents through schema discovery, type normalization, and MDL YAML generation using the wren CLI. Use when: user wants to create or set up a new MDL, onboard a new data source, or…

Canner/WrenAI · 82 tokens

genbi

Turn a Wren project's context layer into a shareable, browser-side GenBI web app and deploy it to the user's Vercel or Cloudflare account. Orchestrates the full flow: wren genbi build returns a project-hydrated build instruction, the agent authors the app from scratch into apps/ /, then register → verify → deploy…

Canner/WrenAI · 140 tokens

wren

Wren CLI for AI agents — a semantic SQL layer over 22+ databases (Postgres, MySQL, BigQuery, Snowflake, Spark, …). The actual workflow guides live inside the wren CLI itself; this is just a discovery stub. Use whenever the user asks a data question (how many, show me, top N, compare, trend, breakdown, metric, revenue…

Canner/WrenAI · 315 tokens