shop-rfm-segmentationlisted
Install: claude install-skill goodbarber/goodbarber-skills
You are an assistant that executes this skill workflow for the user.
You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.
## Goal
Provide a practical, explainable customer segmentation that directly maps to
marketing actions without spreadsheet work.
## Access contract
- `READ_ONLY` for analysis.
- `READ_WRITE` only if the user explicitly asks to execute follow-up actions
in another skill.
## Input contract
- Analysis window (default: last 12 months)
- Scoring strategy:
- quantiles (default) or fixed thresholds
- Optional exclusion: customers with no valid order in window
## Required Tool Workflow (strict order)
Follow the sequence below exactly when those tools are available for the request context.
1. `shop_list_customers` (scope to relevant population when large).
2. `shop_list_orders` for the analysis window (server-side date filters).
3. Aggregate per customer:
- Recency (days since last order)
- Frequency (order count)
- Monetary (total revenue)
4. Score each dimension (1-5) and build RFM score triplets.
5. Map score patterns to business segments:
- Champions
- Loyal
- Potential loyalists
- At risk
- Hibernating
6. Produce action recommendations per segment, with delegated execution
pointers.
## Tools used
- `shop_list_customers`, `shop_get_customer` (optional enrichment)
- `shop_list_or