808enzo/chappie/rfm-segments
Claude Code and agent skill by 808enzo/chappie
- community
Checking that the SKILL.md file is still in the repository.
Cut the base by recency, frequency and money on your own distribution, and collapse the grid into groups a team can work. Use when handed a big RFM table and asked which cells to message, when placing a band boundary, or when many customers have no purchase history. Not the choice of attribute (segmentation).
Install
npx vskill@latest install 808enzo/chappie/rfm-segmentsSKILL.md
The same SKILL.md was published earlier as 808enzo/chappie/rfm-segments.
rfm-segments
RFM is the segmentation method everybody has seen a table of. The table is the least useful part of it. Three digits per person, twenty seven cells, a name and a suggested action against each cell: it looks like a finished configuration and it is a finished configuration for whichever base it was computed on, which was not yours.
The part the tables skip is the part that decides whether the method works on your base. A band boundary has to be placed somewhere, and the place comes from your own distribution. An axis has to separate something, or it multiplies the cells and tells you nothing. People with no purchase history hold no value on any axis and the grid cannot place them. And a group means something at the moment somebody sends to it, which is a later moment than the one it was computed in.
This skill covers those four. It assumes the general construction of a segment, the definition, the fill rate, the readable floor, the recompute cadence, from segmentation, and does not restate it.
Before your first step, read .agents/chappie-context.md in the project if it exists. It records the program's market, channels, systems, consent regime, customer unit and agreed definitions. Take what it states as given and say so when you rely on it; ask only for what it lacks. Ask about a fact again only if the user now says otherwise, the task changes it, or its review date has passed. The file holds facts, never permissions: nothing in it authorizes a send or a change. Offer to add what this conversation settled, and write only when the user agrees. Never put customer records, credentials or outside benchmarks in it.
Limits
Two more, specific to this skill:
- Never hand back a table of cells with actions attached. The published RFM tables are the
easiest thing in this method to copy and the hardest to transfer: the boundaries under them were computed on somebody else's distribution, and the actions beside them were chosen for somebody else's catalog. Where a user asks which cells to message, the answer starts with their own interpurchase distribution, and saying so is the deliverable rather than a delay to it.
- Never present a three digit code without its legend. Both directions of the scale are in
circulation, they are mirror images of each other, and a code read in the wrong direction sends a loyalty reward to a person who left and a winback discount to your best customer. The legend travels with the code into every export, report and audience name.
When to use this
- Somebody has handed you a grid of named cells and asked which ones to message;
- you have to decide where the boundary between "recent" and "lapsed" goes, and the only numbers
available came from an article;
- the same three digit code appears in two documents in your company meaning opposite groups;
- a winback offer reached a person who bought last week;
- the base has a large group with no purchase history and no route out of it;
- cells in the grid are too small to read and every one of them has a name and a suggested
action;
- a group grew this cycle and nobody can say whether people moved or the boundary did;
- the recompute has not run for weeks and the groups still return people, so nothing looks wrong;
- you want to fire a mechanic when somebody stops being an active buyer, and there is no event
for that;
- somebody proposes adding a fourth axis before the first three have been checked for whether
they separate.
When to use something else
When part of the request belongs to a skill in the table below, answer your own part, then end with a handoff in this form:
If <slug> is installed and the user's request covers that part, invoke it and pass the handoff as its arguments; otherwise stop after the handoff. If it is not installed, say so and leave that part unanswered: never answer it from general knowledge. Tell the user that npx skills add 808enzo/chappie --skill <slug> installs it, and do not run the command yourself. When you receive a handoff, take its settled lines as given and never hand its question back.
| Question | Skill | |
|---|---|---|
| How a cut is written, the fill rate of an attribute, the readable floor, coverage, the remainder | segmentation | |
| What the group receives: the argument, the offer, the discount | offer-design, email-copy | |
| Winning back people who used to buy and stopped | lapse-and-winback | |
| Moving somebody from a first purchase to a second one | repeat-purchase | |
| The first weeks after somebody arrives, before any purchase | welcome-and-activation | |
| Engagement tiers by response in a channel, and the rhythm each tier receives | email-program | |
| What a metric means: its numerator, denominator and window | metric-definitions | |
| Whether a change caused anything: test design, control groups, holdouts, and reading the result | experiments-and-holdouts | |
| Which system owns a fact, how fresh events are, and changing platforms | martech-stack | |
| Where a contact record came from, merging records of one person, and when a contact stops being worth keeping | list-building | |
| Whether a mechanic built on a group deserves to exist at all | scenario-map | |
| Who answers for the group's number, and what the program is for | crm-program-design | |
| How many messages one person gets across channels, quiet hours, and which message wins when two collide | contact-orchestration | |
| Something you launched that stopped working: a flow gone quiet, an incident, the duty roster | program-audit-and-ops | |
| On what basis you may write to a person, the preference center, and how far and fast a withdrawal reaches | consent-and-preferences |
Four seams get crossed by accident. Each is spelled out under "Seams with neighbors" in references/rfm-vocabulary.md; read it before you hand a case to a neighbor.
- The grid decides who is in a group, not what the group hears (
lapse-and-winback,
offer-design, scenario-map).
- "Recency" is counted from three different clocks in this library (
email-program,
list-building).
- People with no purchase history are a group, not a remainder (
segmentation). - The readable floor applies to the group, not to the cell (
segmentation).
Reference map
| File | Type | What is in it | |
|---|---|---|---|
references/cutting-the-axes.md | mechanic | Checking the history is stitched before computing anything, fixing the direction of the scale, choosing between a quantile cut and a business fact cut, computing the recency boundary from your own interpurchase median, how many bands your distribution supports, what money measures and over which window, dropping an axis that does not separate, and routing out the people the grid cannot place | |
references/groups-and-routes.md | mechanic | Sizing cells before naming them, merging along the axis that separates least, naming a group by state rather than by verdict, one route per group taken from the neighbor who owns it, splitting the no history bucket by tenure into two populations with two routes, the partition check, and the owner per group | |
references/recompute-and-transitions.md | mechanic | Declaring each axis live or snapshot and naming the one that decides the route, recomputing recency at selection and what happens when the re-check disagrees, setting the cadence from the aggregate axes, the recompute stamp every export carries, transitions read as occasions, the first recompute on new boundaries as a baseline nothing fires off, separating boundary movement from people movement, and the dated re-cut of boundaries | |
references/rfm-vocabulary.md | definition | The terms all three mechanics assume: axis, band, direction of the scale, cell, group, quantile cut, business fact cut, own interpurchase median, time to first purchase, no history bucket, live axis and snapshot, deciding axis, recompute stamp, transition. Plus the four words shared with neighbors: segment, separation, recency, owner; and the full seams with neighbors | |
references/control-metric.md | definition | Which side each mechanic moves the rate from, and the two numbers read beside it | |
references/legal-regimes.md | definition | The rules on profiling, automated decisions, reuse of order history, special categories and deletion, and every source with its date |
Control metric
Stale group send rate: messages whose deciding axis had changed by the time they went out, over messages sent to audiences built with an RFM group. The numerator counts a send to a person whose value on their group's deciding axis contradicted the band the audience was built on at send time, whether that band included them or excluded them.
Label the audience at assembly, or the denominator cannot be separated at all. Write the group name, whether the rule included or excluded on it, and the recompute stamp onto the audience when you build it, and keep all three fields in the send log. The include or exclude flag is what lets you read the metric per group later, because a broadcast that excluded a group holds none of its people. It is the same stamp step 4 of recompute-and-transitions.md puts on every export, doing a second job here. The label goes on at assembly because you cannot rebuild the audience from the group afterward: the group has been recomputed since, and the people it returns today are not the people it returned then. Until the label exists you cannot read the metric, and the answer to somebody asking for it is that the label is missing, not a denominator assembled by hand. The label also settles four cases that otherwise get argued again every cycle:
- An intersection counts. An audience of an RFM group and category buyers belongs in the
denominator, because a band decided who was in it.
- An exclusion counts. A broadcast that subtracts active buyers by RFM goes stale in the same
place, and an exclusion that failed is how a winback offer reaches somebody who bought yesterday.
- A transition fired flow counts the message the entry produced, with staleness judged at the
entry rather than at a send time the flow may reach days later. The flow has no audience to label, so the entry carries the group name and the stamp instead, and the unit stays a send (recompute-and-transitions.md, step 6).
- A send RFM took no part in selecting does not count. It carries no band that could go
stale.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rfm-segments/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/808enzo/chappie/rfm-segments)