rfm-customer-segmentation
Perform RFM (Recency, Frequency, Monetary) customer segmentation analysis on e-commerce data. Use when you need to analyze customer value, identify VIP customers, or create marketing segments. Automatically cleans data, calculates RFM metrics, applies K-means clustering, and generates visualization reports with Chinese language support.
npx skills add majiayu000/claude-skill-registry --skill rfm-customer-segmentation-liangdabiao-claude-data-analysis-36eac --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# RFM Customer Segmentation Analysis A comprehensive customer segmentation skill that automatically analyzes e-commerce transaction data to identify customer value segments using RFM (Recency, Frequency, Monetary) analysis with K-means clustering. ## Instructions ### 1. Data Analysis When users provide e-commerce data or ask about customer segmentation: - Load and validate the transaction data - Clean data by removing invalid orders (negative quantities, zero prices) - Calculate RFM metrics for each customer: - **Recency**: Days since last purchase - **Frequency**: Number of purchases - **Monetary**: Total purchase amount - Use K-means clustering on RFM dimensions - Automatically determine optimal number of clusters using elbow method ### 2. Customer Segmentation - Create customer value segments: High, Medium, Low value customers - Score each customer on RFM dimensions (1-3 scale) - Calculate overall customer value scores - Identify and rank VIP customers for marketing campaigns ### 3. Visualization and Reporting - Generate comprehensive customer segmentation dashboard - Create pie charts for segment distribution and revenue share - Build RFM scatter plots to visualize customer pat
- Instructions
- 1. Data Analysis
- 2. Customer Segmentation
- 3. Visualization and Reporting
- 4. Marketing Insights
- Usage Examples
- Basic Customer Segmentation
- VIP Customer Identification
- Customer Value Analysis
- Key Features
- File Requirements
- Output Files Generated
- Dependencies
- Best Practices
What does the rfm-customer-segmentation skill do?
Perform RFM (Recency, Frequency, Monetary) customer segmentation analysis on e-commerce data. Use when you need to analyze customer value, identify VIP customers, or create marketing segments. Automatically cleans data, calculates RFM metrics, applies K-means clustering, and generates visualization reports with Chinese language support.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill rfm-customer-segmentation-liangdabiao-claude-data-analysis-36eac --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
