Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

customer-segmentation

БесплатноБез исполняемых скриптовНе проверен

Segment customers by purchase behavior, recency, and spend using Klaviyo, your platform's built-in tools, or a custom RFM analysis to power targeted marketing

finsilabsот finsilabs★ 69 звёзд на GitHub

Об этом скилле

Customer Segmentation

Overview

Customer segmentation divides your customer base into groups with similar purchase behavior so marketing campaigns, promotions, and product recommendations can be precisely targeted. Klaviyo, Omnisend, and Metorik all provide RFM-style segmentation out of the box for Shopify and WooCommerce without custom SQL. Only build a custom segmentation system if your platform's tools don't support the segment logic you need.

When to Use This Skill

  • When personalizing email campaigns by lifecycle stage (new, active, at-risk, lapsed)
  • When building suppression lists to avoid wasting ad spend on already-converted customers
  • When identifying "champion" customers for VIP programs and early access campaigns
  • When analyzing which acquisition cohort has the best 90-day retention
  • When syncing behavioral segments to advertising platforms (Meta, Google)

Core Instructions

Step 1: Determine platform and choose the right segmentation tool

Platform Built-in Segmentation Recommended Tool
Shopify Basic: Admin → Customers → Filters; Advanced: Klaviyo or Omnisend Klaviyo for email + SMS; Lifetimely for cohort analysis
WooCommerce WooCommerce Analytics → Customers (basic filters) Klaviyo + WooCommerce plugin; or Metorik for analytics
BigCommerce Customer Groups (tier-based); Analytics → Customers Klaviyo for behavioral segmentation
Custom / Headless Build RFM scoring in SQL; sync to Klaviyo for activation Required when platform has no segmentation tools

Step 2: Platform-specific setup


Shopify

Option A: Shopify Admin segments (basic, free)

  1. Go to Admin → Customers
  2. Use the filter bar to create segments based on:
    • Order count, total spent, last order date
    • Email subscription status, tags, location
    • Product purchased
  3. Save the filter as a customer segment
  4. Export the segment to CSV for use in ads or email campaigns

Option B: Klaviyo (recommended for lifecycle segmentation)

Klaviyo syncs automatically with Shopify and provides RFM-style segmentation built on real purchase data.

Key segments to create in Klaviyo:

  1. Champions (high-value, frequent, recent):

    • Rule: Ordered at least 3 times AND Last order within 60 days AND Total spent > $200
    • Action: Early access to new products, VIP perks, referral program invites
  2. At Risk — High Value:

    • Rule: Total spent > $200 AND Last order 90–180 days ago
    • Action: Win-back flow with personalized offer
  3. Recent First-Time Buyers:

    • Rule: Order count equals 1 AND First order within 30 days
    • Action: Onboarding sequence, encourage second purchase
  4. Lapsed Customers:

    • Rule: Last order more than 180 days ago AND Order count >= 2
    • Action: Re-engagement campaign with "We've missed you" messaging
  5. Subscribers who never purchased:

    • Rule: Email subscriber AND Order count equals 0
    • Action: Welcome series with social proof and first-order incentive

To create segments in Klaviyo:

  1. Go to Lists & Segments → Create Segment
  2. Add conditions using the filter builder — Klaviyo has 150+ pre-built filter types including Shopify-specific events
  3. Name the segment clearly (e.g., "At Risk High Value — 90-180 days")
  4. Use the segment in a Flow trigger or as an audience for a Campaign

Klaviyo Predictive Analytics (paid plans):

  • Klaviyo automatically calculates Predicted CLV, Expected Date of Next Order, and Churn Risk per customer
  • Find these under Analytics → Predictive Analytics
  • Use these predictions as segment filter criteria without any custom code

WooCommerce

Option A: Metorik (recommended analytics platform)

  1. Install Metorik (connects via WooCommerce REST API)
  2. Go to Metorik → Segments → Create Segment
  3. Build rule-based segments using purchase history, product affinity, geography, and more
  4. Metorik calculates RFM scores automatically
  5. Export segment to CSV or sync directly to Klaviyo/Mailchimp

Option B: Klaviyo for WooCommerce

  1. Install Klaviyo: Email Marketing for WooCommerce from WordPress.org
  2. Klaviyo syncs your WooCommerce order history and creates profiles for all customers
  3. Build the same lifecycle segments described in the Shopify section above

BigCommerce

Customer Groups for tier-based segmentation:

  1. Go to Customers → Customer Groups → Add Group
  2. Create groups based on purchase behavior rules:
    • "VIP" — customers with lifetime spend > $500
    • "Repeat Buyers" — customers with 3+ orders
  3. Assign group-specific pricing, category access, or shipping rules

Klaviyo for behavioral segmentation:

  • Install the Klaviyo for BigCommerce app
  • Connect your BigCommerce store
  • Build behavioral segments in Klaviyo using purchase history and event data

Custom / Headless

Build RFM

Полный SKILL.md на GitHub

Установить customer-segmentation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

claude-code
cursor
gemini-cli
copilot
codex-cli
kiro
opencode

Вложенные файлы

evals/cohort-retention-analysis-and-behavioral/criteria.jsonevals/cohort-retention-analysis-and-behavioral/task.mdevals/rfm-scoring-and-segment-classification/criteria.jsonevals/rfm-scoring-and-segment-classification/task.mdevals/segment-export-to-marketing-platforms-wi/criteria.jsonevals/segment-export-to-marketing-platforms-wi/task.mdtile.json

FAQ

Что делает скилл customer-segmentation?

Segment customers by purchase behavior, recency, and spend using Klaviyo, your platform's built-in tools, or a custom RFM analysis to power targeted marketing

Как установить скилл customer-segmentation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл customer-segmentation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить customer-segmentation с