user-segmentation

user-segmentation is a skill for Claude Code from phuryn/pm-skills. It costs 49 tokens per session (827 once invoked), scanned A, original, MIT.

A user-research workflow for grouping people into distinct segments based on their behaviour, goals, and unmet needs. It uses feedback, interviews, support tickets, surveys, or usage data rather than relying only on demographics.

In plain words
What is it for?
Use it to extract behaviour patterns, motivations, and needs, then form and validate at least three coherent user segments.
Why use it?
It helps reveal important differences hidden inside an overall user base. This makes it easier to understand which groups have different problems or ways of using a product.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the pm-market-research plugin — 7 skills, 3 commands shipped together

Good fit Use it to extract behaviour patterns, motivations, and needs, then form and validate at least three coherent user segments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuryn/pm-skills/user-segmentation
About the project

phuryn/pm-skills is a marketplace of reusable skills, commands, and plugins that guide AI assistants through product-management work such as discovery, strategy, planning, metrics, launches, and growth. It is for product managers and teams using Claude Code, Cowork, or compatible assistants. The catalogue entries are the project's own workflows and extensions.

phuryn/pm-skills · 27,115 stars · on GitHub · productcompass.pm

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add phuryn/pm-skills --skill user-segmentation
Clone the repo
git clone --depth 1 https://github.com/phuryn/pm-skills

Made for: Claude Code.

Or install pm-market-research, the plugin that ships this one along with the rest of its 7 skills, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for user-segmentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuryn/pm-skills/user-segmentation/github.svg)](https://agentmods.dev/skills/phuryn/pm-skills/user-segmentation)
Your own site
<a href="https://agentmods.dev/skills/phuryn/pm-skills/user-segmentation"><img src="https://agentmods.dev/badge/skills/phuryn/pm-skills/user-segmentation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for user-segmentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuryn/pm-skills/user-segmentation"><img src="https://agentmods.dev/badge/skills/phuryn/pm-skills/user-segmentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00827
Opus 5.5 $0.00020 $0.00331
Sonnet 5.5 $0.00010 $0.00165
Haiku 4.5 $0.00005 $0.00083

Measured 1mo ago against content hash d91f745c9520, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

user-segmentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

pm-market-research/skills/user-segmentation/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Segmentation

Purpose

Analyze diverse user feedback to identify at least 3 distinct behavioral and needs-based user segments. This skill surfaces hidden customer groups based on jobs-to-be-done, behaviors, and motivations rather than demographics alone, enabling targeted product strategy.

Instructions

You are an expert behavioral researcher and data analyst specializing in user segmentation and behavioral clustering.

Input

Your task is to segment users for $ARGUMENTS based on behavior, jobs-to-be-done, and unmet needs.

If the user provides feedback data, interviews, support tickets, product usage logs, surveys, or other user data, read and analyze them directly. Extract behavioral patterns, motivations, and needs across the user base.

Analysis Steps (Think Step by Step)

  1. Data Preparation: Read and organize all provided user feedback and data
  2. Behavior Extraction: Identify key behavioral patterns, usage modes, and user journeys
  3. Needs Analysis: Map jobs-to-be-done, desired outcomes, and pain points for each user
  4. Clustering: Group users into distinct segments based on behavior and needs similarity
  5. Validation: Ensure segments are coherent, non-overlapping, and actionable
  6. Characterization: Develop rich profiles for each segment with representative quotes

Output Structure

For each identified segment (minimum 3):

Segment Name & Overview

  • Clear, descriptive segment identifier
  • Size: estimated number or percentage of user base
  • Brief one-sentence characterization

Behavioral Characteristics

  • How this segment uses $ARGUMENTS (primary use cases, frequency, depth)
  • Typical user journey and key touchpoints
  • Technical proficiency or sophistication level
  • Integration with other tools or workflows

Jobs-to-be-Done & Motivations

  • Core job(s) this segment is trying to accomplish
  • Underlying motivations and desired outcomes
  • Context and frequency of the job
  • What success looks like for this segment

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 89 lines · 49 tokens per session scan A d91f745c9520

Subscribe to this mod's changes

user-segmentation is a skill published in the GitHub repository phuryn/pm-skills (27,115 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 827 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

Other skills, from other repositories

writing-assistant

Rewrites, sharpens and drafts B2B writing in the writer's real voice: Slack messages, emails, memos, PRDs, decks, plus marketing content (blog posts, landing pages, press releases, case studies, newsletters, social posts). Use whenever someone wants to rewrite, tighten, draft or audit copy, asks why copy isn't landing…

stefanoskarakasis/Product-Marketing-Skills · 117 tokens

product-marketing-context

Build and maintain the shared GTM brain — product context, ICP, positioning, voice, market context, proof points, plus optional strategy and execution, and the deal-reality fields (objections, switching forces, customer language, anti-persona) — that every other skill in this stack reads before producing output. Works…

stefanoskarakasis/Product-Marketing-Skills · 154 tokens

competitive-battlecard

Builds a one-page competitor battlecard a seller can skim in 60 seconds before a call and quote mid-call, tailored to role, GTM motion, buyer persona, deal stage and the competitor's status in the deal. Reads the brain and the alternatives map; proposes field notes back to Section 3. Trigger on: "battlecard for…

stefanoskarakasis/Product-Marketing-Skills · 124 tokens

competitor-deep-dive

Builds a long-form, fully sourced deep-dive on one competitor for a named decision (strategy call, RFP, pricing change, roadmap bet): dated reviews, deal evidence, recent moves, head-to-head per offering, where they win, and a block the battlecard reads. Triggers: "deep-dive on [competitor]", "full competitor…

stefanoskarakasis/Product-Marketing-Skills · 116 tokens

beachhead-segment

Identifies and scores your highest-priority beachhead segment using four-dimension scoring (Burning Pain, Willingness to Pay, Winnability, Referral Potential) with blocking gates. Reads brain context (ICP, alternatives & positioning, proof points) and, when available, guardrails from prior beachhead decisions the user…

stefanoskarakasis/Product-Marketing-Skills · 87 tokens

workflow-orchestrator

Orchestrates multi-skill PMM programs end-to-end — chains positioning, competitive, GTM strategy, campaign briefs, stakeholder maps, and retros into one coherent program with a master document and brain updates. Trigger on: "run full GTM workflow", "run a full launch", "launch [product] end to end", "positioning…

stefanoskarakasis/Product-Marketing-Skills · 117 tokens