Skip to main content
skill CX Codex

pymc-marketing-mmm-clv — Claude Code skill: Bayesian marketing

A skill for Bayesian marketing analytics with PyMC: media mix modeling, customer lifetime value and BTYD models. Useful when you need channel contributions and ROAS.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/marketing-skills --skill pymc-marketing-mmm-clv -a claude-code
Open on GitHub

What pymc-marketing-mmm-clv does

The skill wires the PyMC-Marketing library into your agent and guides it through building a media mix model. It covers adstock transformations — geometric, delayed and Weibull — plus saturation functions: logistic, Michaelis-Menten and tanh. Time-varying effects are there too, for baseline sales and media contribution.

For CLV you get Beta-Geometric/NBD, Pareto/NBD and Gamma-Gamma. Customer choice analysis ships alongside. Models can be calibrated with lift test results, then used to allocate budget across channels with bounds and a planning horizon.

What you need first: PyMC-Marketing installed via conda or pip, with Docker support for Jupyter workflows. Your data has to be a table with a date column, channel columns and controls such as holidays or promotions. No dated channel history means no media mix model — worth fixing your data collection before anything else.

What it helps with

  • build a media mix model with adstock and saturation
  • compute ROAS and per-channel contributions
  • allocate budget across channels under bounds
  • model customer lifetime value for non-contractual buyers
  • calibrate a model with lift test results

Example prompts for the agent

  • create a media mix model for tv, radio and digital with geometric adstock
  • calculate ROAS and channel contributions from this model
  • build a customer lifetime value model for non-contractual customers

How to install pymc-marketing-mmm-clv

1Skills CLI (Vercel)

npx skills add reason-machines/marketing-skills --skill pymc-marketing-mmm-clv -a claude-code

2Manually: put the files in place

~/.claude/skills/pymc-marketing-mmm-clv/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pymc-marketing-mmm-clv/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pymc-marketing-mmm-clv

How do I install pymc-marketing-mmm-clv in Claude?

Run npx skills add reason-machines/marketing-skills --skill pymc-marketing-mmm-clv -a claude-code. The skill lands at ~/.claude/skills/pymc-marketing-mmm-clv/SKILL.md.

What does pymc-marketing-mmm-clv do?

It helps the agent build Bayesian media mix, customer lifetime value and BTYD models on PyMC-Marketing, including ROAS calculation and budget allocation.

What do I need for this skill to work?

The PyMC-Marketing library installed via conda or pip, and a dataset with a date column, channels and control variables. Docker support is included for Jupyter workflows.

Similar skills

Everything for Marketing and content →

From the same set19

reddit-marketing-agent A skill that searches Reddit for threads matching your keywords and drafts replies for them. Useful if you run a community or promote a product there. CX Codex +1 894installs marketing-selling-point-generator This skill turns product details, reviews, and competitor data into ranked selling points and marketing copy for different channels. CX Codex +1 891installs 30x-growth-marketing-panel This skill routes marketing questions to an 11-expert panel backed by YouTube research. Use it for pricing, SEO, content, offers, and growth planning. CX Codex +1 879installs rustyseo-toolkit This skill wires a free SEO/GEO toolkit built on Tauri and Rust into your agent: unlimited site crawls, Nginx and Apache log parsing, data exports. CX Codex +1 846installs adspower-antidetect-browser A skill that gives your agent ready calls for creating, launching and stopping AdsPower browser profiles over the local API. CX Codex +1 821installs marketing-content-pipeline-automation A skill for building a content pipeline: topic research, AI text generation, and video rendering with Remotion. Handy when a keyword should turn into publishable material. CX Codex +1 782installs marketing-pipeline-share-ai-content-automation A skill that wires up a content pipeline: it researches fresh material, writes articles in several formats and languages, and renders video with Remotion. CX Codex +1 766installs marketing-pipeline-share-ai-content A skill that walks an AI agent through a TypeScript content pipeline, from news scraping to rendered video. Useful when you want to automate marketing content end to end. CX Codex +1 761installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor