rfm-customer-segmentation

Community

Smart RFM segmentation for Chinese data.

Authorliangdabiao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates RFM analysis and customer segmentation for ecommerce data, reducing manual work and enabling data-driven marketing decisions across Chinese datasets.

Core Features & Use Cases

  • 自动RFM分析: 计算 Recency、Frequency、Monetary 指标并生成分群
  • 智能聚类: 使用肘部法则自动确定聚类数并执行 K-means 分群
  • 可视化与报告: 生成仪表板、分群汇总和 VIP 客户清单,语言支持中文
  • Use Case: 针对电商历史订单,识别高价值 VIP 客户并给出精准营销建议

Quick Start

  • 将交易数据保存为 CSV,包含字段如 用户码、最近购买日期、购买次数、总消费金额等。
  • 调用 RFM 分析引擎对数据执行完整分析,输出 customer_segments.csv、rfm_dashboard.png 等结果,以及可选的 VIP 营销清单。

Dependency Matrix

Required Modules

pandasnumpyscikit-learnmatplotlibseaborn

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rfm-customer-segmentation
Download link: https://github.com/liangdabiao/claude-data-analysis-ultra-main/archive/main.zip#rfm-customer-segmentation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.