shopify-admin-churn-risk-scorer

Installation
SKILL.md

Purpose

Predicts which customers are at risk of churning by analyzing their purchase patterns against their historical buying frequency. Calculates an expected next-purchase date for each repeat customer, then scores churn risk based on how overdue they are. Read-only — no mutations.

Prerequisites

  • Authenticated Shopify CLI session: shopify store auth --store <domain> --scopes read_orders,read_customers
  • API scopes: read_orders, read_customers

Parameters

Parameter Type Required Default Description
store string yes Store domain
days_back integer no 365 Historical window for purchase pattern analysis
min_orders integer no 2 Minimum orders to calculate purchase interval (need 2+ for frequency)
risk_threshold float no 1.5 Multiplier of avg purchase interval before flagging as at-risk
format string no human Output format: human or json

Safety

Installs
2
GitHub Stars
182
First Seen
Jun 2, 2026
shopify-admin-churn-risk-scorer — 40rty-ai/shopify-admin-skills