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.
curl -O https://raw.githubusercontent.com/eduardocornelsen/full-funnel-ai-analytics/main/.agents/skills/metric-definitions/SKILL.mdgit clone --depth 1 https://github.com/eduardocornelsen/full-funnel-ai-analyticsWrote 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.
[](https://agentmods.dev/skills/eduardocornelsen/full-funnel-ai-analytics/metric-definitions)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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.
- 12d ago First seen · 134 lines · 65 tokens per session scan A 791adacbe63c
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.
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…
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…
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…
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…
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…
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…