Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

customer-analytics客户分析

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

635

周安装

27

GitHub Stars

19

下载量

222
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:customer-analytics(客户分析)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/customer-analytics
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill customer-analytics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill customer-analytics

简介

customer-analytics 将原始订单数据转化为购买模式与客户生命周期洞察。

  • 适用于 RFM 评分、留存分析、复购频率与流失预测等电商核心指标计算。
  • 支持使用平台内置工具或数据仓库进行深度客户分群与渠道效果评估。
  • 使用时需确认数据来源字段含义,避免将样本当作全量事实处理。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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

PlatformRecommended ToolWhat It Provides
ShopifyKlaviyo + Shopify's built-in customer segmentsRFM-style segments, purchase frequency, CLV prediction, cohort reports
Shopify (advanced)Lifetimely or Triple WhaleTrue cohort LTV, CLV by acquisition channel, retention curves
WooCommerceMetorikCustomer segmentation, RFM analysis, cohort retention, churn identification
WooCommerce (email)Klaviyo for WooCommerceBehavioral segments + automated flows based on customer lifecycle stage
BigCommerceKlaviyo for BigCommerce + Glew.ioGlew provides cohort analysis and CLV tracking natively for BigCommerce
All platforms (data-first)Export to Google Looker Studio + BigQuery via FivetranFull 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):

  1. Go to Customers → Segments
  2. 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)

  1. 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)

  1. Export segments to CSV or sync directly to Klaviyo for email campaigns

Using Klaviyo for RFM segmentation on Shopify:

  1. Install Klaviyo from the Shopify App Store
  2. Klaviyo automatically syncs all historical and new Shopify order data
  3. 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"

  1. 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

  1. 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:

  1. Install Lifetimely from the Shopify App Store
  2. 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
  3. Go to Lifetimely → Channels to compare 12-month LTV by acquisition source (Google, Meta, organic, email)
  4. Go to Lifetimely → Customer Segments to see RFM distribution and predicted CLV per customer

WooCommerce

Using Metorik:

  1. Connect Metorik to your WooCommerce store via API
  2. 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)

  1. Go to Metorik → Reports → Customer Cohorts to see retention by monthly acquisition cohort
  2. 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:

  1. Install the Klaviyo for WooCommerce plugin
  2. Klaviyo syncs WooCommerce customers and orders, enabling the same RFM segments described for Shopify above
  3. Go to Klaviyo → Analytics → Cohort Analysis to see retention curves and predicted CLV by acquisition date

BigCommerce

  1. BigCommerce Customer Groups: Go to Customers → Customer Groups — create groups based on purchase history, spend thresholds, and geographic criteria
  2. Install Glew.io from the BigCommerce App Marketplace — provides cohort retention analysis, RFM scoring, and CLV by acquisition channel
  3. Install Klaviyo for BigCommerce for behavioral email segmentation and lifecycle automation

Step 3: Analyze purchase frequency and retention

Purchase frequency distribution (using any platform's export):

Export your customer order data to a CSV or Google Sheet and calculate:

  • What % of customers have placed exactly 1 order?
  • What % have placed 2–3 orders?
  • What % have placed 4+ orders?

Industry benchmarks:

  • Typical DTC brand: 60–70% of customers are one-time buyers
  • Healthy subscription or consumable brand: 40–50% of customers reorder within 90 days
  • Your second-purchase rate (% of first-time buyers who place a second order within 90 days) is the single most important leading indicator of long-term CLV

Cohort retention analysis:

A cohort retention grid shows what percentage of customers acquired in month X are still buying at months 1, 3, 6, 12:

  • Shopify + Lifetimely: Available natively in the Cohorts view
  • Klaviyo: Available under Analytics → Cohort Analysis
  • Metorik: Available under Reports → Cohorts
  • Manual (any platform): Export all orders to Google Sheets; create a pivot table with acquisition month as rows and "months since first order" as columns

What good retention looks like:

Months After First OrderMinimum ViableHealthyExcellent
Month 1 (second purchase rate)15%25%40%+
Month 3 retention10%20%35%+
Month 12 retention5%15%30%+

Step 4: Identify at-risk customers and act

At-risk customer identification:

The simplest at-risk definition: customers who previously ordered multiple times but have not ordered in longer than their typical interval.

  • Shopify Segments: number_of_orders > 1 AND days_since_last_order > 90
  • Klaviyo: Create a "Winback" segment: "Has placed more than 1 order" AND "Has not placed an order in the last 90 days"
  • Metorik: Use the "Customers at risk of churning" pre-built filter

Action by segment:

SegmentRecommended Action
Champions (recent, frequent, high-spend)Invite to VIP program; early access to new products
Loyal but cooling (frequent but not recent)Targeted win-back email with personalized product recommendations
At risk (inactive > 90 days, multiple prior orders)Win-back sequence: reminder → small incentive → final offer
One-time buyersSecond purchase campaign; show complementary products
Lost (inactive > 180 days)Low-cost re-engagement attempt; if no response, suppress to reduce email costs

Best Practices

  • Run RFM scoring monthly — customer order history changes continuously; stale segments lead to wrong targeting
  • Track second-purchase rate as a leading indicator — the conversion from one-time to repeat buyer is the highest-leverage retention metric; it predicts CLV far in advance of any LTV model
  • Segment CLV by acquisition channel — customers from organic search, paid social, and email/SMS referrals often have dramatically different LTVs; measure them separately to inform budget allocation
  • Build alerts for segment migration — when the "at risk" segment grows week over week, it signals a retention problem needing immediate action; set up alerts in Klaviyo or Lifetimely
  • Flag seasonal buyers separately — customers who only buy in Q4 should not be marked as churned in Q2; apply a seasonal buyer tag before running churn analysis

Common Pitfalls

ProblemSolution
RFM segments shift dramatically after a sale eventUse a rolling 90-day window for scoring; recent sales spikes should not permanently elevate scores for customers who only responded to a discount
Acquisition channel CLV analysis not accounting for multi-touchUse first-touch attribution for CLV by channel — the channel that introduced the customer, not the channel that converted the last order
Cohort retention shows 0% after month 6Check whether the query or export is filtering out cohorts that do not have 6 months of data yet; exclude cohorts acquired in the last 6 months from long-term retention views
Customer count in segments does not match email list sizeSome customers in your store may not be subscribed to email; segment by customer (order-based) separately from email list (consent-based)
Win-back campaigns going to customers who bought recentlyEnsure segment filters are current — sync order data before running segment exports; stale data causes emails to go to wrong contacts

Related Skills

  • @customer-segmentation
  • @attribution-modeling
  • @sales-reporting-dashboard
  • @ab-testing-ecommerce
  • @unit-economics-tracking

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.57%
按下载量换算75

Claude

31%
按下载量换算69

Cursor

20.32%
按下载量换算45

Gemini CLI

10.09%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills