audience-segmentation

Automate customer segmentation with RFM scoring, clustering, and cohort retention analysis.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/weisberg/agile_agentic_analytics --skill audience-segmentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audience-segmentation
Source: https://github.com/weisberg/agile_agentic_analytics/tree/main/plugins/marketing-analytics/skills/audience-segmentation
Command: npx skills add https://github.com/weisberg/agile_agentic_analytics --skill audience-segmentation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scikit-learn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates end-to-end customer segmentation by combining RFM scoring, behavioral clustering, and cohort retention analysis to power targeted marketing and data-driven decisions.

Core Features & Use Cases

  • Automated RFM scoring with interpretable segment mappings for quick decisioning
  • Behavioral clustering using K-Means and DBSCAN with deterministic preprocessing and reproducible seeds
  • Cohort retention analysis and segment migration tracking for lifecycle insights
  • Segment profiling with exportable artifacts and integration points for experimentation, email analytics, and paid media
  • Practical use cases: identify Champions for high-value targeting, build lookalike audiences, and monitor segment evolution over time

Quick Start

Analyze the latest transaction and behavioral data to generate customer segments and export segment profiles for activation.

Frequently Asked Questions about audience-segmentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate RFM scoring and customer segmentation for marketing campaigns?

Automate RFM scoring and customer segmentation by combining behavioral clustering with cohort retention analysis to generate segment profiles for targeted campaigns. The pipeline applies scalable feature engineering to transaction data and outputs interpretable segment mappings for quick marketing decisions.

What's the best way to identify high-value customers and predict churn risk using clustering?

Identify high-value customers and predict churn risk using K-Means and DBSCAN clustering with deterministic preprocessing and reproducible seeds. The pipeline generates segment-based campaign lookalikes across channels while ensuring consistent, reproducible clustering results for reliable churn prediction.

Can I use pandas and scikit-learn for cohort retention analysis and segment migration tracking?

Yes, pandas and scikit-learn support cohort retention analysis and segment migration tracking by processing transaction data into retention matrices and migration maps. The pipeline leverages numpy for scalable feature engineering to monitor segment evolution over time across customer lifecycles.

How do I build lookalike audiences from behavioral clustering results for paid media?

Build lookalike audiences from behavioral clustering results by exporting segment profiles with integration points for paid media and email analytics. The pipeline generates deterministic cluster assignments using K-Means and DBSCAN, enabling reliable audience expansion across marketing channels.

When should I use RFM scoring versus behavioral clustering for customer segmentation?

Use RFM scoring for interpretable, rule-based segment mappings enabling quick decisioning, and behavioral clustering for discovering data-driven patterns using K-Means and DBSCAN. The pipeline combines both approaches, applying scalable feature engineering to produce comprehensive segment profiles and retention matrices.

Do I need transaction and behavioral data to run cohort retention analysis for customer segments?

Yes, transaction and behavioral data are required to run cohort retention analysis and generate segment migration maps. The pipeline processes this input data through scalable feature engineering and deterministic clustering to output retention matrices, segment profiles, and lifecycle insights for targeted marketing.