808enzo/chappie/segmentation
Claude Code and agent skill by 808enzo/chappie
- community
Checking that the SKILL.md file is still in the repository.
Cut a customer base into segments that hold up in use and that someone else can reproduce. Use when choosing the attribute to split on, writing a segment definition, sizing a segment, setting how often it recomputes, resolving overlaps, or handling everyone left over. Not RFM bands (rfm-segments) or what changes inside a message (personalization).
Install
npx vskill@latest install 808enzo/chappie/segmentationSKILL.md
The same SKILL.md was published earlier as 808enzo/chappie/segmentation.
segmentation
A segment is a rule, not a list. The list is what the rule returned the last time it ran, and it is stale by the time anyone opens it. This skill covers writing the rule, keeping it honest, and knowing what happens to the people it never selects.
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:
- Every threshold here is a parameter, not a norm. Minimum readable size, fill-rate floor,
drift range and recompute cadence all come out of the user's own base. A boundary that works in one category tells you nothing about another, and a segment size that is healthy for a base of millions is meaningless advice for a base of thousands.
- Segmentation costs reach. Each cut narrows the audience of every send, and narrow
audiences make results harder to read and calendars harder to fill. A finer split is not automatically a better one, and that cost belongs in the decision rather than in the surprise six months later.
When to use this
Use it when the question is about the cut itself:
- everything goes to the whole base, and you have to choose the first split;
- a segment exists and nobody can reproduce it without the person who built it;
- the attribute you want to split on turns out to be filled for a fraction of the base;
- several sends go out in the same wave and one person is about to receive all of them;
- someone asks how small a segment can get before its results stop meaning anything;
- segments keep multiplying and you have never retired one;
- a segment still runs, still returns people, and no longer behaves differently from the rest of the base;
- you are about to exclude a group from a send and need to know what that decision costs.
People bring the last one last. It belongs first.
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.
The cut touches almost everything downstream, so hold this boundary:
| The question is about | Use | |
|---|---|---|
| RFM and related scoring, behavioral groups, customers with no purchase history | rfm-segments | |
| What changes inside the message: merged data, dynamic content, product recommendations | personalization | |
| Engagement tiers by response to email, and the rhythm each tier receives | email-program | |
| Where a contact record came from, merging records of one person, and when a contact stops being worth keeping | list-building | |
| How much of the base is reachable at all | list-building | |
| 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 | |
| How many messages one person gets across channels, quiet hours, and which message wins when two collide | contact-orchestration | |
| A flow fired by a customer event: which event, the delay, the exit and the cascade | triggered-messages | |
| A breakdown of the base that no action depends on | crm-reporting | |
| On what basis you may write to a person, the preference center, and how far and fast a withdrawal reaches | consent-and-preferences | |
| Something you launched that stopped working: a flow gone quiet, an incident, the duty roster | program-audit-and-ops |
This skill decides how the base divides and what happens to whoever the division misses. The neighboring skills decide what to do with the groups that come out.
Three seams get crossed by accident. Each is spelled out under "Seams with neighbors" in references/segmentation-vocabulary.md; read it before you hand a case to a neighbor.
- RFM belongs to `rfm-segments`.
- Engagement tiers belong to `email-program`.
- Count segment size against the reachable base, not base size (
list-building).
Reference map
Load the file that matches the task. Each one stands alone.
| File | Claim type | Read it when | |
|---|---|---|---|
references/segment-definition.md | mechanic | You are building one segment: choosing the attribute, writing the rule, sizing it, setting its recompute cadence. | |
references/segment-sets-and-the-remainder.md | mechanic | More than one segment is in play. Coverage, overlap and priority, and what happens to everyone who falls outside every segment. | |
references/segment-maintenance.md | mechanic | Segments have been running for a while. Drift, loss of separation, verifying an exclusion, and retiring a cut. | |
references/segmentation-vocabulary.md | definition | The terms the three mechanics assume: attribute provenance, fill rate, coverage, remainder, partition, readable floor, drift, separation; and the full seams with neighbors. | |
references/control-metric.md | definition | You are about to take a reading of separation: the window, where it is counted from on both sides, and how often you take a value. | |
references/legal-regimes.md | definition | You are about to state what a cut needs before its first run, or what a deletion or an opt-out of sale reaches: each rule, who it does not bind, and every source with its date. |
Read segmentation-vocabulary.md first when "segment", "attribute" and "coverage" are not yet shared vocabulary with the person you are helping. The three mechanics assume all of them, and the word segment in particular means different things to different people in the same room.
Control metric
Separation: the difference in the target metric between a segment and the rest of the base, both sides counted on the reachable base and read under the same treatment, against your own history.
It answers the one question that makes the work worth doing, whether the cut carries information. A segment that behaves like the rest of the base is a tidy definition and nothing more, however well you wrote it and however many people it returns.
Three parts of that definition carry weight:
- Against the rest of the base, not the whole base. The whole base contains the segment, so
the difference shrinks as the segment grows, and a cut that holds most of the people reads as weak however far it sits from everyone else. segmentation-vocabulary.md works the arithmetic through under Separation.
- On the reachable base. The segment exists to change what reaches people, and records no
channel can reach receive none of it. Leave them on one side only and you compare people the program can touch with people it cannot (list-building owns the difference).
- Under the same treatment. Read after each side got its own send, the difference is the cut
plus the send: a segment that received a deeper offer separates because of the offer, and an exclusion segment that received nothing separates by construction. Read it on a send both sides received alike, or on a part of the segment held back to receive what the rest receives (experiments-and-holdouts sizes that group). An exclusion is verified its own way, in segment-maintenance.md.
Before you take a reading, read references/control-metric.md: it sets the window, where it is counted from on both sides, and how often you take a value.
Coverage, remainder share, attribute fill rate and segment size are diagnostic signals inside the mechanics rather than the control metric. You can move each of them without improving anything: coverage closes if you add a catch-all, and size grows if you widen the definition.
When someone asks what good separation looks like: this library has no citable benchmark for it, and will not acquire one. Separation is a property of a particular base and a particular job, so no market figure exists for it to have. Say that, define the metric, then build a self-baseline. Take eight to twelve of your own review cycles, compute the median and the spread, and read every later value against that instead of against someone else's number. The same holds for segment size and remainder share: they are parameters of the mechanic, not norms.
Legal regime this skill assumes
This skill sends nothing and collects no consent, but it processes personal data to build the rule, so you have to name the assumption. The axis here is data rather than permission to send, and permission belongs to consent-and-preferences. The baseline is processing on a named lawful basis, with a separate basis for profiling.
Before you state what a cut needs before its first run, whether it falls under the restriction on automated decisions, or what a deletion or an opt-out of sale reaches, read references/legal-regimes.md: it states each rule, names who it does not bind, and dates every source. The list below says only what each rule governs.
- EU and UK, the lawful basis: named before the first run, whether or not a message goes out.
- EU and UK, profiling with significant effects: the separate restriction, and when a cut
reaches it.
- EU and UK, special category data: an attribute inferred from purchases.
- United States, California: which exports the opt-out of sale or sharing reaches.
- A deletion right: the exports a rule has already produced.
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/segmentation/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/segmentation)