attribution

attribution is a skill for Claude Code, Codex from LeadMagic/gtm-skills. It costs 64 tokens per session (5,704 once invoked), scanned A, original, MIT.

A guide to assigning credit for marketing and sales activities that contribute to business revenue. Attribution models determine how credit is shared across activities such as first contact, lead creation, opportunity creation, and multiple interactions.

In plain words
What is it for?
Use it to compare attribution models, set UTM tracking rules, define a trusted source of marketing data, and evaluate channel return on investment.
Why use it?
It helps resolve disagreements about which channels produced revenue. It also reduces the risk of overvaluing the activity that happened first or last while ignoring other meaningful influences.

Skill for Claude CodeCodex

Part of the gtm-skills plugin — 56 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/leadmagic/gtm-skills/attribution
Any agent
npx skills add LeadMagic/gtm-skills --skill attribution
Clone the repo
git clone --depth 1 https://github.com/LeadMagic/gtm-skills

Made for: Claude Code, Codex.

Or install gtm-skills, the plugin that ships this one along with the rest of its 56 skills.

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 attribution

README.md
[![agentmods](https://agentmods.dev/badge/skills/leadmagic/gtm-skills/attribution.svg)](https://agentmods.dev/skills/leadmagic/gtm-skills/attribution)
Your own site
<a href="https://agentmods.dev/skills/leadmagic/gtm-skills/attribution"><img src="https://agentmods.dev/badge/skills/leadmagic/gtm-skills/attribution.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00064 $0.05704
Opus 5 $0.00032 $0.02852
Sonnet 5 $0.00013 $0.01141
Haiku 4.5 $0.00006 $0.00570

Measured today against content hash 7160138430b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

attribution 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-output.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/analytics/attribution/SKILL.md · 372 lines

How it starts

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

Attribution

Overview

Attribution answers the existential marketing question: which of our activities actually produce revenue? The core principle is that single-touch attribution lies. First-touch attribution over-credits awareness channels. Last-touch attribution over-credits bottom-of-funnel conversion channels. Both lead to systematically bad investment decisions — over-funding channels that appear in the credited position and starving channels that create the conditions for conversion.

The non-obvious rule: the "best" attribution model depends on your GTM motion. Product-led growth companies should weight product-qualified signals higher. Sales-led companies should weight sales engagement higher. Channel-led companies should weight partner influence. There is no universal attribution model — only the model that matches how your customers actually buy.

This skill produces: a Multi-Touch Attribution Model Report comparing 4-6 attribution models on revenue credit allocation, channel ROI calculations with cost and revenue attribution, a UTM governance framework with taxonomy and enforcement rules, a source-of-truth reporting structure, and optimization recommendations for budget reallocation.

When to Use

  • User says "attribution" or "attribution model" → activate this skill
  • User asks "which channel generates the most revenue" → use this skill
  • User says "marketing ROI" or "campaign ROI" → attribution is required
  • User mentions "UTM tracking" or "UTM hygiene" or "UTM parameters" → use UTM governance module
  • User asks "how do I measure multi-touch attribution" → implement a model
  • User says "source of truth reporting" or "marketing and sales disagree on numbers" → use this skill
  • Trigger phrases: attribution modeling, multi-touch, first-touch, last-touch, channel attribution, campaign ROI, marketing ROI, UTM parameters, tracking governance

Do NOT use for:

  • Campaign-level analytics (open rates, reply rates, meeting rates) → use campaign-analytics
  • Pipeline management and forecasting → use pipeline-management
  • A/B testing methodology → use a-b-testing
  • CRM data architecture → use crm-integration
  • Real-time channel monitoring and alerting → use proactive-alerts

Read the full file on GitHub · 372 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 7160138430b8
  2. 4d ago First seen · 372 lines · 64 tokens per session scan A 4f0a3d5929e5

Subscribe to this mod's changes

attribution is a skill published in the GitHub repository LeadMagic/gtm-skills (46 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 5,704 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

outreachmagic

Your agent goes blind after send. Sync sequencer webhooks, research leads via Serper, and find/verify emails — all in one local SQLite DB your agent queries directly.

outreachmagic/outreachmagic · 40 tokens

cold-email

Expert cold email strategist for B2B outbound campaigns. Use when the user asks about cold email writing, email sequences, email deliverability, domain warmup, SPF/DKIM/DMARC setup, email personalization, cold email templates, email copywriting frameworks, email compliance (CAN-SPAM, GDPR), bounce management, inbox…

Frontal-so/outbound-skills · 177 tokens

list-building

Expert B2B list building orchestrator for outbound sales campaigns. Use when the user asks about building lead lists, Sales Navigator search, boolean filters, ICP definition, ICP scoring, lead sources, data validation, email verification, list segmentation, Apollo prospecting, Clay Find People, list hygiene…

Frontal-so/outbound-skills · 190 tokens

claygent

Use Clay's AI research agent (Claygent) for web research, custom data extraction, and information that does not exist in standard databases. Use when the user asks about Claygent, AI research in Clay, web browsing for data, custom data points, real-time company research, or scraping with AI. Triggers on "Claygent"…

Frontal-so/outbound-skills · 131 tokens

conditional-logic

Write Clayscript formulas, conditional runs, and credit-saving logic in Clay. Use when the user asks about Clayscript, Clay formulas, conditional runs, saving credits with logic, data manipulation, if/then logic, JavaScript formulas in Clay, or the AI formula generator. Triggers on "Clayscript", "formula"…

Frontal-so/outbound-skills · 128 tokens

scoring

Build lead scoring systems in Clay using formulas and enrichment data. Use when the user asks about lead scoring, ICP fit scoring, segmentation, lead qualification, tier assignment, prioritizing leads, or building a 100-point scoring model. Triggers on "lead scoring", "scoring system", "ICP fit", "segmentation", "lead…

Frontal-so/outbound-skills · 113 tokens