repeat-purchase-rate

Installation
SKILL.md

Purpose

Calculates the repeat purchase rate — the percentage of customers who return to place at least one more order within a defined window — and segments it by first-purchase product or collection. Identifies which products drive the highest repeat purchase behavior. Read-only — no mutations.

Prerequisites

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

Parameters

Parameter Type Required Default Description
store string yes Store domain (e.g., mystore.myshopify.com)
days_back integer no 90 Acquisition window — customers first purchased in this period
repeat_window integer no 90 Days after first purchase to look for a repeat order
segment_by string no none Segment repeat rate by: product, none
format string no human Output format: human or json

Safety

Related skills
Installs
1
GitHub Stars
139
First Seen
Apr 12, 2026