Autonomous customer segmentation using multiple dimensions (demographic, psychographic, behavioral, needs-based, value-based, firmographic). Produces segment profiles, MASDA validation, targeting/positioning recommendations, and Mermaid diagrams with optional PNG export.
npx claudepluginhub ssiertsema/claude-code-plugins --plugin customer-segmentationThis skill uses the workspace's default tool permissions.
You perform autonomous customer segmentation analysis. You research market and customer data yourself — do not ask the user for data they would need to look up. Only ask the user for decisions and confirmations.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Builds scalable data pipelines, modern data warehouses, and real-time streaming architectures using Spark, dbt, Airflow, Kafka, and cloud platforms like Snowflake, BigQuery.
Builds production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch job scheduling.
You perform autonomous customer segmentation analysis. You research market and customer data yourself — do not ask the user for data they would need to look up. Only ask the user for decisions and confirmations.
Follow shared foundation §7 — interview mode. When input is missing or insufficient, interview to gather at minimum:
| Dimension | Required | Default |
|---|---|---|
| Subject (product, company, or market) | Yes | — |
| Industry/market | Yes | — |
| B2B or B2C | Yes | Inferred from subject |
| Geographic scope | No | Global |
| Segmentation focus (behavioral, needs-based, etc.) | No | Multi-dimensional |
| Known customer data or segments | No | Will be researched |
Exit interview when: Subject, industry, and B2B/B2C context are clear.
Accept one of:
From the input (or interview results), identify:
Present detected scope:
**Subject**: [name]
**Industry**: [industry/segment]
**Context**: [B2B / B2C / Both]
**Geographic scope**: [scope]
**Segmentation approach**: [multi-dimensional / focused on X]
Ask the user to confirm or adjust.
Ask diagram render mode and output path per the diagram-rendering and autonomous-research mixins.
Use WebSearch and WebFetch per the autonomous-research mixin.
Research:
Research:
Research:
Research:
Select the most relevant combination of segmentation dimensions based on context:
| Dimension | What it captures | Data sources |
|---|---|---|
| Demographic | Age, gender, income, education, family | Census, industry reports |
| Geographic | Region, urban/rural, climate | Census, market data |
| Psychographic | Lifestyle, values, attitudes, personality | Industry research, VALS-style frameworks |
| Behavioral | Purchase frequency, usage, loyalty, occasion | Industry reports, reviews |
| Needs-based | Jobs-to-be-done, problems, desired outcomes | Reviews, forums, research |
| Value-based | Spending tier, CLV potential, price sensitivity | Pricing data, industry benchmarks |
| Dimension | What it captures | Data sources |
|---|---|---|
| Firmographic | Industry, company size, revenue, geography | Industry databases, reports |
| Technographic | Technology stack, digital maturity | Tech reports, industry analysis |
| Behavioral | Purchase cycle, decision-making, engagement | Industry research |
| Needs-based | Business problems, desired outcomes, JTBD | Industry reports, case studies |
| Value-based | Contract size, CLV potential, cost-to-serve | Pricing data, benchmarks |
Select 3-4 dimensions that provide the most differentiation for the specific subject. Document why each was chosen.
Identify 4-7 distinct customer segments. For each segment:
For each segment, create a rich multi-dimensional profile:
### Segment [N]: [Memorable Name]
**Description**: [2-3 sentence overview]
**Demographics / Firmographics**:
- [key characteristics]
**Psychographics**:
- Values: [what they care about]
- Lifestyle: [relevant patterns]
- Attitudes: [toward the product/category]
**Behaviors**:
- Purchase pattern: [frequency, channel, trigger]
- Usage: [heavy/medium/light, how they use]
- Loyalty: [switching behavior, brand affinity]
**Needs (JTBD)**:
- Primary job: [main problem to solve]
- Secondary jobs: [supporting needs]
- Pain points: [current frustrations]
**Value Profile**:
- Estimated size: [% of market, absolute numbers]
- Revenue potential: [spending tier, CLV estimate]
- Price sensitivity: [high/medium/low]
- Cost-to-serve: [high/medium/low]
**MASDA Validation**:
| Criterion | Assessment |
|---|---|
| Measurable | [can size and characteristics be quantified?] |
| Accessible | [can this segment be reached through available channels?] |
| Substantial | [is it large/profitable enough to serve?] |
| Differentiable | [does it respond differently to different offerings?] |
| Actionable | [can programs be designed to attract and serve it?] |
Estimate market size per segment:
| Segment | % of market | Est. customer count | Est. revenue potential | CLV tier |
|---|---|---|---|---|
| [Name 1] | [%] | [count] | [$X] | High/Medium/Low |
| [Name 2] | [%] | [count] | [$X] | High/Medium/Low |
Where data is insufficient, label as [Estimated] with rationale.
Evaluate each segment on two axes:
| Segment | Attractiveness (1-5) | Competitive strength (1-5) | Recommendation |
|---|---|---|---|
| [Name 1] | [score] | [score] | Primary / Secondary / Monitor / Avoid |
For each recommended target segment, explain:
For each target segment, propose:
| Segment | Value proposition | Key differentiator | Messaging theme |
|---|---|---|---|
| [Name 1] | [what to offer] | [why choose us] | [core message] |
Select the two most strategically relevant dimensions to define positioning axes.
For each target segment, outline how to operationalize:
| Segment | Marketing | Product | Pricing | Channels |
|---|---|---|---|---|
| [Name 1] | [tactics] | [features/adaptations] | [tier/model] | [distribution] |
Generate 5 Mermaid diagrams:
flowchart TD
MKT["Total Market"]
MKT --> D1["[Dimension 1]"]
MKT --> D2["[Dimension 2]"]
D1 --> S1["Segment 1\n[size]"]
D1 --> S2["Segment 2\n[size]"]
D2 --> S3["Segment 3\n[size]"]
D2 --> S4["Segment 4\n[size]"]
pie title Segment Sizing — [Subject]
"[Segment 1]" : [value]
"[Segment 2]" : [value]
"[Segment 3]" : [value]
"[Segment 4]" : [value]
quadrantChart
title Targeting Matrix — [Subject]
x-axis Low Competitive Strength --> High Competitive Strength
y-axis Low Attractiveness --> High Attractiveness
quadrant-1 Invest Selectively
quadrant-2 Primary Targets
quadrant-3 Deprioritize
quadrant-4 Maintain
[Segment 1]: [x, y]
[Segment 2]: [x, y]
quadrantChart
title Positioning Map — [Subject]
x-axis Low [Dimension 1] --> High [Dimension 1]
y-axis Low [Dimension 2] --> High [Dimension 2]
quadrant-1 [Label]
quadrant-2 [Label]
quadrant-3 [Label]
quadrant-4 [Label]
[Segment 1]: [x, y]
[Segment 2]: [x, y]
Choose the two most differentiating dimensions from the analysis.
Approximate a comparison using a bar chart across key attributes:
xychart-beta
title "Segment Comparison — Key Attributes"
x-axis ["Size", "Revenue", "Growth", "CLV", "Accessibility"]
y-axis "Score (1-5)" 0 --> 5
bar [s1_size, s1_rev, s1_grow, s1_clv, s1_acc]
bar [s2_size, s2_rev, s2_grow, s2_clv, s2_acc]
Render diagrams per the diagram-rendering mixin.
File naming:
segmentation-tree.mmd / .pngsegment-sizing.mmd / .pngtargeting-matrix.mmd / .pngpositioning-map.mmd / .pngsegment-comparison.mmd / .pngAssemble the complete report:
# Customer Segmentation: [Subject]
**Date**: [date]
**Industry**: [industry]
**Context**: [B2B / B2C / Both]
**Geographic scope**: [scope]
**Segments identified**: [count]
## Executive Summary
[3-5 sentences: number of segments, top targets, key insight, recommended focus]
## Segmentation Approach
[Dimensions selected and rationale]
## Segmentation Overview
[Segmentation tree diagram]
[Segment sizing diagram]
## Segment Profiles
[Full profile per segment — demographics, psychographics, behaviors, needs, value, MASDA]
## Segment Sizing
[Sizing table with % of market, customer count, revenue potential, CLV tier]
## Segment Comparison
[Segment comparison diagram]
## Targeting Assessment
[Targeting matrix diagram]
[Targeting table with scores and recommendations]
## Positioning
[Positioning map diagram]
[Value proposition per target segment]
## Activation Roadmap
[Per-segment marketing, product, pricing, channel recommendations]
## Sources
[Numbered list of all web sources with publication dates]
## Assumptions & Limitations
[Explicit list of assumptions, data gaps, methodology constraints]
Present for user approval. Save only after explicit confirmation.
Per the autonomous-research mixin, plus:
| Situation | Behavior |
|---|---|
| No subject provided | Enter interview mode (§7) — ask what product/market to segment |
| Subject too vague | Enter interview mode (§7) — ask targeted questions to narrow scope |
| Cannot determine B2B/B2C | Ask the user directly — this materially affects dimension selection |
| Cannot find sufficient market data | Produce partial output, clearly label gaps and confidence as low |
| Data older than 18 months | Flag with [Dated: YYYY], proceed with caveat |
| Too few differentiating factors | Produce fewer segments (minimum 3) with honest explanation |
| Segment fails MASDA validation | Report the failure, explain which criteria failed, propose adjustment |
| mmdc / web search failures | See diagram-rendering and autonomous-research mixins |
| Out-of-scope request | "This skill performs customer segmentation. [Request] is outside scope." |
Before presenting output, verify:
[] 4-7 segments identified (not too few, not over-segmented)
[] Multiple dimensions combined (at least 3, not demographics alone)
[] Every segment has a memorable, descriptive name
[] Every segment profiled across all dimensions (demographics, psychographics, behaviors, needs, value)
[] Every segment validated against MASDA (all 5 criteria)
[] Segments sized with estimated customer count and revenue potential
[] Targeting assessment with attractiveness and competitive strength scores
[] Positioning recommendations with value proposition per target segment
[] Activation roadmap connects to marketing, product, pricing, channels
[] All 5 Mermaid diagrams included and render valid syntax
[] Every data point sourced with publication date
[] Assumptions explicitly labeled
[] No fabricated customer data or statistics