customer-analytics
БесплатноБез исполняемых скриптовНе проверенAnalyze customer behavior with RFM scoring, purchase frequency tracking, churn prediction, and cohort analysis to improve retention strategy
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Customer Analytics
Overview
Customer analytics transforms raw order data into actionable insights about purchase patterns, lifecycle stages, and churn risk. The core analyses — RFM scoring, cohort retention, purchase frequency, and churn prediction — reveal which customers are loyal, which are at risk, and which channels produce the best long-term customers.
This skill guides you through running these analyses using your platform's built-in tools and dedicated analytics apps, with data warehouse approaches for stores that need deeper segmentation.
When to Use This Skill
- When the marketing team needs data-driven segments beyond simple demographic filters
- When calculating at-risk customer counts for quarterly business reviews
- When measuring the impact of loyalty programs on purchase frequency
- When identifying the acquisition channels that produce the highest-LTV customers
- When preparing customer health dashboards for account management or VIP programs
- When building cohort retention analysis to understand customer lifetime value trends
Core Instructions
Step 1: Choose the right tool for your platform
| Platform | Recommended Tool | What It Provides |
|---|---|---|
| Shopify | Klaviyo + Shopify's built-in customer segments | RFM-style segments, purchase frequency, CLV prediction, cohort reports |
| Shopify (advanced) | Lifetimely or Triple Whale | True cohort LTV, CLV by acquisition channel, retention curves |
| WooCommerce | Metorik | Customer segmentation, RFM analysis, cohort retention, churn identification |
| WooCommerce (email) | Klaviyo for WooCommerce | Behavioral segments + automated flows based on customer lifecycle stage |
| BigCommerce | Klaviyo for BigCommerce + Glew.io | Glew provides cohort analysis and CLV tracking natively for BigCommerce |
| All platforms (data-first) | Export to Google Looker Studio + BigQuery via Fivetran | Full SQL-based analysis; required for advanced RFM and cohort modeling |
Step 2: Set up customer segmentation on your platform
Shopify
Using Shopify's built-in customer segments (all plans):
- Go to Customers → Segments
- Shopify provides pre-built segments including:
- Abandoned checkout in the last 30 days
- Customers who have purchased more than X times
- Customers who haven't purchased in 90 days (at-risk segment)
- High-spend customers (based on total spend threshold)
- Create custom segments using the query editor with filters like:
number_of_orders >= 3(loyal customers)days_since_last_order > 90(churn risk)total_spent > 500(high-value)
- Export segments to CSV or sync directly to Klaviyo for email campaigns
Using Klaviyo for RFM segmentation on Shopify:
- Install Klaviyo from the Shopify App Store
- Klaviyo automatically syncs all historical and new Shopify order data
- Go to Segments → Create Segment and build RFM-style segments using:
- Recency: "Has placed an order in the last X days"
- Frequency: "Number of orders is greater than X"
- Monetary: "Total amount spent is greater than $X"
- Pre-built segment examples:
- Champions: Ordered in last 30 days + 3+ orders + $200+ lifetime spend
- At Risk: No order in 90–180 days + previously placed 2+ orders
- Lost: No order in 180+ days
- Use these segments to trigger flows in Klaviyo: win-back campaigns for at-risk, VIP rewards for champions
Using Lifetimely for cohort LTV on Shopify:
- Install Lifetimely from the Shopify App Store
- Go to Lifetimely → Cohorts to see a month-by-month retention matrix: what percentage of customers from each acquisition cohort are still buying at months 1, 3, 6, 12
- Go to Lifetimely → Channels to compare 12-month LTV by acquisition source (Google, Meta, organic, email)
- Go to Lifetimely → Customer Segments to see RFM distribution and predicted CLV per customer
WooCommerce
Using Metorik:
- Connect Metorik to your WooCommerce store via API
- Go to Metorik → Customers to browse all customers with filters:
- Last order date (identify churned/at-risk)
- Total spent (identify high-value)
- Order count (identify one-time vs. repeat buyers)
- Go to Metorik → Reports → Customer Cohorts to see retention by monthly acquisition cohort
- Go to Metorik → Segments to create saved customer segments (equivalent to RFM groups); export segments as CSVs for Klaviyo or Mailchimp
Using Klaviyo for WooCommerce:
- Install the Klaviyo for WooCommerce plugin
- Klaviyo syncs WooCommerce customers and orders, enabling the same RFM segments described for Shopify above
- Go to Klaviyo → Analytics → Cohort Analysis to see retention curves and predicted CLV by acquisition date
BigCommerce
- BigCommerce Customer Groups: Go to **Customers → Customer
Установить customer-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл customer-analytics?
Analyze customer behavior with RFM scoring, purchase frequency tracking, churn prediction, and cohort analysis to improve retention strategy
Как установить скилл customer-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл customer-analytics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic