Agent skill · Data & Analytics

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Allowed tools: ReadWriteBashGlob
Path: skills/analysis/rfm-customer-segmentation-liangdabiao-claude-data-analysis-36eac/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Instructions
  2. 1. Data Analysis
  3. 2. Customer Segmentation
  4. 3. Visualization and Reporting
  5. 4. Marketing Insights
  6. Usage Examples
  7. Basic Customer Segmentation
  8. VIP Customer Identification
  9. Customer Value Analysis
  10. Key Features
  11. File Requirements
  12. Output Files Generated
  13. Dependencies
  14. Best Practices
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going