Agent skill

Attribution Analysis Modeling

by liangdabiao in liangdabiao/claude-data-analysis-ultra-main

Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models.

No licenceAuto-check: notesProduct & Project Management

Install Attribution Analysis Modeling

skills CLI
$ npx skills add liangdabiao/claude-data-analysis-ultra-main --skill attribution-analysis-modeling -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install liangdabiao/claude-data-analysis-ultra-main attribution-analysis-modeling --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/liangdabiao/claude-data-analysis-ultra-main.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/attribution-analysis-modeling .claude/skills/attribution-analysis-modeling && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
attribution-analysis-modeling
GitHub stars
290
Token cost
~2.3k tokens
SKILL.md length
848 words
Files
14
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models.

  • Works in 5 steps: Data Loading and Preparation → Customer Journey Analysis → Attribution Model Implementation → …
  • You need to analyze marketing channel effectiveness
  • SKILL.md covers Instructions, Usage Examples, Key Features and File Requirements, plus 4 more sections
  • Runs Python scripts from its folder

What it does

Attribution Analysis Modeling is an agent skill from liangdabiao/claude-data-analysis-ultra-main. Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models. Use when you need to analyze marketing channel effectiveness, calculate conversion attribution, optimize marketing budgets, or understand customer journey paths. Supports channel transition analysis, ROI calculation, and marketing optimization insights with Chinese language support.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files (for example `README.md`, `examples/advanced_attribution_example.py` and `examples/attribution_visualizer.py`).

It sits in Product & Project Management, covering Customer journey mapping and Marketing analytics. The repository describes itself as: 让小白都可以一键进行数据分析,搞互联网的,搞电商的,搞各种各样的,那么其实就会用到 互联网的数据分析, 例如互联网会关心 拉新,留存,促活,推荐,转化,A/B test, 用户分析 等等很多有用的数据分析。

When your agent uses it

  • You need to analyze marketing channel effectiveness
  • Calculate conversion attribution
  • Optimize marketing budgets
  • Understand customer journey paths

Example prompts

  • “/attribution-analysis-modeling”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Bash, Glob

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Data Loading and Preparation
  2. Customer Journey Analysis
  3. Attribution Model Implementation
  4. Channel Performance Analysis
  5. Visualization and Reporting

What it can do on your machine

Read from SKILL.md and the folder at commit 6b52856. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Attribution Analysis Modeling loads about 2.3k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 848 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 848 words (~2,280 tokens).

“A comprehensive attribution analysis skill that evaluates marketing channel effectiveness using advanced statistical models, helping optimize marketing spend and understand customer journey patterns.”

— opening of SKILL.md by liangdabiao
name
attribution-analysis-modeling
allowed-tools
Read, Write, Bash, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 13 other files in .claude/skills/attribution-analysis-modeling of liangdabiao/claude-data-analysis-ultra-main.

  • SKILL.md
  • README.md
  • examples/advanced_attribution_example.py
  • examples/attribution_visualizer.py
  • examples/basic_attribution_example.py
  • examples/core_attribution.py
  • examples/markov_chains.py
  • examples/sample_channel_data.csv
  • examples/shapley_values.py
  • examples/test_basic_functionality.py
  • examples/usage_guide.md
  • guide/attribution_guide.md
  • requirements.txt
  • templates/attribution_report_template.md

Open the folder on GitHubat commit 6b52856

Compare with similar skills

Attribution Analysis Modeling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Attribution Analysis Modeling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Attribution Analysis Modeling this skillliangdabiao/claude-data-analysis-ultra-main290—~2.3kAutomated safety check: NotesNone
Launch Retro Analyzeraaron-he-zhu/aaron-marketing-skills2.9k—~3kAutomated safety check: PassApache-2.0
Memstack Marketing Sales Funnelcwinvestments/memstack423—~2.7kAutomated safety check: PassProprietary
Strategizeghaida/intent206—~6.1kAutomated safety check: PassCC0-1.0
Funnel Analyzerguia-matthieu/clawfu-skills150—~387Automated safety check: PassMIT
User Story Mappingdeanpeters/Product-Manager-Skills7.2k2 repos~2.8kAutomated safety check: PassCustom licence

Similar skills

  • Launch Retro Analyzer

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "run a launch retro / post-mortem", "compare launch results vs targets by channel", or "decide what to keep or kill for the next launch"; produces a…

    2.9k GitHub stars~3k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Memstack Marketing Sales Funnel

    cwinvestments/memstack

    A skill your agent uses when the user says 'sales funnel', 'funnel', 'conversion funnel', 'customer journey', or wants to map the complete customer journey from stranger to repeat buyer with copy…

    423 GitHub stars~2.7k tokensUpdated 12 days ago
    Product & Project ManagementAuto-check passed
  • Strategize

    ghaida/intent

    Frames product design problems before solutions exist. An agent skill from ghaida/intent.

    206 GitHub stars~6.1k tokensUpdated 2 mo ago
    Product & Project ManagementAuto-check passed
  • Funnel Analyzer

    guia-matthieu/clawfu-skills

    Analyze conversion funnels and identify drop-offs. An agent skill from guia-matthieu/clawfu-skills.

    150 GitHub stars~387 tokensUpdated 8 days ago
    Product & Project ManagementAuto-check passed
  • User Story Mapping

    deanpeters/Product-Manager-Skills

    Lays out a user journey as activities, steps, and tasks on a two-dimensional map that then informs backlog slicing.

    7.2k GitHub starsUsed in 2 repos~2.8k tokens
    Product & Project ManagementAuto-check passed
  • QA Critical UX

    fastrepl/anarlog

    QA Anarlog's critical Pro user journey on a signed staging candidate — onboarding, responsive launch, microphone and system-audio capture, automated summaries, and cloud sync.

    9.5k GitHub stars~1.4k tokensUpdated today
    Product & Project ManagementAuto-check passed

More from liangdabiao/claude-data-analysis-ultra-main

All 19 skills in this repo
  • Funnel Analysis

    liangdabiao/claude-data-analysis-ultra-main

    Analyze user conversion funnels, calculate step-by-step conversion rates, create interactive visualizations, and identify optimization opportunities.

    290 GitHub starsUsed in 1 repo~781 tokens
    Auto-check: notes
  • Retention Analysis

    liangdabiao/claude-data-analysis-ultra-main

    Analyze user retention and churn using survival analysis, cohort analysis, and machine learning.

    290 GitHub stars~1.3k tokensUpdated 5 mo ago
    Auto-check: notes
  • Code Generator

    liangdabiao/claude-data-analysis-ultra-main

    Generates production-ready analysis code in Python, R, SQL. An agent skill from liangdabiao/claude-data-analysis-ultra-main.

    290 GitHub stars~513 tokensUpdated 5 mo ago
    Auto-check passed
  • Content Analysis

    liangdabiao/claude-data-analysis-ultra-main

    Analyze text content using both traditional NLP and LLM-enhanced methods.

    290 GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check: notes
  • Data Explorer

    liangdabiao/claude-data-analysis-ultra-main

    Performs exploratory data analysis, statistical analysis, and pattern discovery.

    290 GitHub stars~2.1k tokensUpdated 5 mo ago
    Auto-check passed
  • Hypothesis Generator

    liangdabiao/claude-data-analysis-ultra-main

    Generates testable research hypotheses and experimental designs.

    290 GitHub stars~903 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Attribution Analysis Modeling

What does Attribution Analysis Modeling do?

Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models. Attribution Analysis Modeling is an agent skill from liangdabiao/claude-data-analysis-ultra-main. Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models.

When should I use Attribution Analysis Modeling?

Attribution Analysis Modeling fits situations like: you need to analyze marketing channel effectiveness; calculate conversion attribution; optimize marketing budgets; understand customer journey paths.

How do I install Attribution Analysis Modeling in Claude Code?

Run `npx skills add liangdabiao/claude-data-analysis-ultra-main --skill attribution-analysis-modeling -a claude-code`. Or copy the skill folder (.claude/skills/attribution-analysis-modeling in liangdabiao/claude-data-analysis-ultra-main) into .claude/skills/attribution-analysis-modeling in your project. Claude Code loads it when a task matches its description.

How do I install Attribution Analysis Modeling in Codex?

Run `npx skills add liangdabiao/claude-data-analysis-ultra-main --skill attribution-analysis-modeling -a codex`. Or copy the skill folder (.claude/skills/attribution-analysis-modeling in liangdabiao/claude-data-analysis-ultra-main) into .agents/skills/attribution-analysis-modeling in your project. Codex loads it when a task matches its description.

Can I use Attribution Analysis Modeling in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add liangdabiao/claude-data-analysis-ultra-main --skill attribution-analysis-modeling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/attribution-analysis-modeling, .gemini/skills/attribution-analysis-modeling, .github/skills/attribution-analysis-modeling and .opencode/skills/attribution-analysis-modeling in your project.

What does Attribution Analysis Modeling need to run?

Going by SKILL.md and its folder, Attribution Analysis Modeling needs Python for the scripts in its folder. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash, Glob.

Does Attribution Analysis Modeling access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Attribution Analysis Modeling safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Attribution Analysis Modeling use?

No licence was found for Attribution Analysis Modeling or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Attribution Analysis Modeling use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Attribution Analysis Modeling?

Skills that share tags, products or a category with Attribution Analysis Modeling: Launch Retro Analyzer (aaron-he-zhu/aaron-marketing-skills, 2.9k stars), Memstack Marketing Sales Funnel (cwinvestments/memstack, 423 stars), Strategize (ghaida/intent, 206 stars) and Funnel Analyzer (guia-matthieu/clawfu-skills, 150 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Attribution Analysis Modeling?

liangdabiao (a GitHub user) maintains it in liangdabiao/claude-data-analysis-ultra-main, which has 290 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on May 10, 2026.

Source: liangdabiao/claude-data-analysis-ultra-main on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.