nimrodfisher/data-analytics-skills208 installs
segmentation-analysis
Customer/user segmentation with actionable insights. Use when identifying distinct customer groups, analyzing segment-specific behavior, profiling high-value segments, or testing segmentation hypotheses.
How do I install this agent skill?
npx skills add https://github.com/nimrodfisher/data-analytics-skills --skill segmentation-analysisIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a framework for customer segmentation analysis, including a Python script for profiling data segments and templates for reporting results. No security issues were detected; the provided code uses only standard Python libraries for statistical calculations and file I/O.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Segmentation Analysis
When to use
- The team needs to understand who the best customers are and what distinguishes them
- Marketing wants distinct groups to target with different messages or offers
- Product needs to prioritise features based on high-value user behaviour patterns
- Churn is high and the team needs to identify at-risk users before they leave
- An existing segmentation feels arbitrary and needs data validation or improvement
Process
- Define the segmentation goal — clarify what decisions the segments will inform (product roadmap, marketing campaigns, retention programs). The goal determines which variables matter and how many segments are useful (typically 3–7). See
references/segmentation_approaches.md. - Select and prepare variables — choose 3–7 attributes or behaviours that vary across users and relate to the business outcome. Handle missing values and scale continuous variables. Remove outliers only if they would distort cluster centroids.
- Run the segmentation — for data-driven segmentation, use k-means clustering via
scripts/segmentation_runner.py. For rule-based segmentation, apply the business logic rules and validate that segments are distinct and non-overlapping. - Profile each segment — compute the mean and median for each variable by segment, expressed as % above/below the overall average. Identify the 2–3 defining characteristics of each segment and assign a descriptive name.
- Validate and interpret — confirm segments are meaningfully different (silhouette score > 0.3 for clustering) and make business sense. Sanity-check by asking whether you would actually treat each segment differently.
- Map to strategy and report — assign each segment to a recommended strategy (Retain & Expand, Monetise, Activate, Win-Back, Sunset). Produce
assets/segment_profile_template.mdwith the profiles and strategic priorities.
Inputs the skill needs
- User-level data with attributes (demographics, plan type) and behavioural metrics (sessions, revenue, feature usage, recency)
- Business goal the segmentation will serve
- Any existing segmentation to validate or replace
- Minimum of ~100 users per expected segment for clustering to be meaningful
Output
scripts/segmentation_runner.py— runs k-means clustering, produces elbow and silhouette plots, assigns segment labelsreferences/segmentation_approaches.md— when to use k-means vs. RFM vs. rule-based; interpretation guideassets/segment_profile_template.md— filled segment profiles with size, key characteristics, recommended strategy, and tracking plan
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/nimrodfisher/data-analytics-skills/segmentation-analysis">View segmentation-analysis on skillZs</a>