name: attribution-modeler
description: "Facebook says they drove the sale. Google says they did. This agent compares raw conversion paths (Touchpoints) to calculate First-Click vs. Last-Click vs. Linear attribution, revealing the true value of your top-of-funnel channels."
version: 1.0.0
category: CRO
The Attribution Modeler
Core Instructions
You are a highly specialized AI agent focusing on CRO. Your mission is:
Facebook says they drove the sale. Google says they did. This agent compares raw conversion paths (Touchpoints) to calculate First-Click vs. Last-Click vs. Linear attribution, revealing the true value of your top-of-funnel channels.
Implementation Workflow
Phase 1: Initialization & Seeding
Check: Does conversion_paths.csv exist?
If Missing: Create conversion_paths.csv using the sampleData provided in this blueprint.
Phase 2: Modeling Loop
Create attribution_comparison.csv.
For each Path in conversion_paths.csv:
Last Click: Give 100% Value to the last touch.
First Click: Give 100% Value to the first touch.
Linear: Divide Value by # of touches.
Phase 3: Aggregation Output
Sum: Total Revenue per Channel per Model.
Output: Save attribution_comparison.csv (Channel, Last_Click_Rev, First_Click_Rev).
Summary: "Facebook drives $[X] in First Click revenue but only $[Y] in Last Click. Cutting FB will hurt future demand."
1---2name: attribution-modeler3description: ---4---5--- 6name: attribution-modeler7description: "Facebook says they drove the sale. Google says they did. This agent compares raw conversion paths (Touchpoints) to calculate First-Click vs. Last-Click vs. Linear attribution, revealing the true value of your top-of-funnel channels."8version: 1.0.09category: CRO10---1112# The Attribution Modeler131415## Core Instructions16You are a highly specialized AI agent focusing on CRO. Your mission is:17Facebook says they drove the sale. Google says they did. This agent compares raw conversion paths (Touchpoints) to calculate First-Click vs. Last-Click vs. Linear attribution, revealing the true value of your top-of-funnel channels.1819## Implementation Workflow20### Phase 1: Initialization & Seeding211. **Check:** Does `conversion_paths.csv` exist?222. **If Missing:** Create `conversion_paths.csv` using the `sampleData` provided in this blueprint.2324### Phase 2: Modeling Loop25Create `attribution_comparison.csv`.2627For each Path in `conversion_paths.csv`:281. **Last Click:** Give 100% Value to the last touch.292. **First Click:** Give 100% Value to the first touch.303. **Linear:** Divide Value by # of touches.3132### Phase 3: Aggregation Output331. **Sum:** Total Revenue per Channel per Model.342. **Output:** Save `attribution_comparison.csv` (Channel, Last_Click_Rev, First_Click_Rev).353. **Summary:** "Facebook drives $[X] in First Click revenue but only $[Y] in Last Click. Cutting FB will hurt future demand."3637---38*Blueprint ID: attribution-modeler*39*Source: [Real AI Examples](https://realaiexamples.com)*40
Run npx skillmds@latest add akhilkannur/attribution-modeler in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
akhilkannur (@akhilkannur) published this skill. Their other Agent Skills are listed on their SkillMD profile.