Shopify Admin Loyalty Segment Export
Identify high-LTV customers by order count and lifetime spend, tag them, and export a loyalty-ready contact list.
Install
/plugin marketplace add 40RTY-ai/shopify-admin-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-loyalty-segment-exportgit clone --depth 1 https://github.com/40RTY-ai/shopify-admin-skills.git /tmp/shopify-admin-skills
mkdir -p ~/.claude/skills
cp -r /tmp/shopify-admin-skills/skills/marketing/shopify-admin-loyalty-segment-export ~/.claude/skills/shopify-admin-loyalty-segment-exportPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
## Purpose
Segments your highest-value customers by order count and total lifetime spend, tags them in Shopify, and exports a list ready for loyalty program enrollment or VIP campaign targeting. This skill handles the data layer; managing rewards points or sending loyalty emails requires an external tool.
## Prerequisites
- Authenticated Shopify CLI session: `shopify auth login --store <domain>`
- API scopes: `read_customers`, `write_customers`
## Parameters
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| store | string | yes | — | Store domain |
| format | string | no | human | `human` or `json` |
| dry_run | bool | no | false | Preview without tagging |
| min_orders | integer | no | 3 | Minimum lifetime order count |
| min_spend | float | no | 200 | Minimum lifetime spend (store currency) |
| tag | string | no | loyalty-vip | Tag applied to qualifying customers |
## Workflow Steps
1. **OPERATION:** `customers` — query
**Inputs:** filter `orders_count:>=(min_orders)`, `total_spent:>=(min_spend)`, `first: 250`, pagination
**Expected output:** List with `id`, `defaultEmailAddress { emailAddress }`, `firstName`, `lastName`, `ordersCount`, `totalSpentV2`; paginate until `hasNextPage: false`
2. **OPERATION:** `tagsAdd` — mutation
**Inputs:** Customer `id`, tag from `tag` parameter
**Expected output:** Confirmation per customer; collect `userErrors`
## GraphQL OperationsDetails
- Skill name
shopify-admin-loyalty-segment-export- Repository
- 40RTY-ai/shopify-admin-skills
- Path
skills/marketing/shopify-admin-loyalty-segment-export/SKILL.md- License
- MIT
- Repo updated
- 26 October 2026
FAQ
What does the Shopify Admin Loyalty Segment Export skill do?
Identify high-LTV customers by order count and lifetime spend, tag them, and export a loyalty-ready contact list.
How do I install the Shopify Admin Loyalty Segment Export skill?
Claude Code plugin: /plugin marketplace add 40RTY-ai/shopify-admin-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Shopify Admin Loyalty Segment Export popular?
It lives in 40RTY-ai/shopify-admin-skills, which has 204 GitHub stars and 23 forks.
Related skills
Shopify Admin Abandoned Cart Recovery
20440RTY-ai/shopify-admin-skills
Query checkouts abandoned in the last N days, generate unique discount codes per customer, and tag them for re-engagement.
Shopify Admin Address Correction
20440RTY-ai/shopify-admin-skills
Update the shipping address on an unfulfilled order before it ships.
Shopify Admin Agentic Crawler Access
20440RTY-ai/shopify-admin-skills
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, OAI-SearchBot, Amazonbot) so AI assistants are permitted to read the catalog.
Shopify Admin Marketing Consent Report
20440RTY-ai/shopify-admin-skills
Read-only: audits email and SMS marketing consent status across the customer base for compliance and segmentation.
Shopify Admin Low Inventory Restock
20440RTY-ai/shopify-admin-skills
Query all tracked product variants below a stock threshold and export a restock list grouped by vendor.
Shopify Admin Metafield Bulk Update
20440RTY-ai/shopify-admin-skills
Bulk set or delete metafields on products, variants, or customers filtered by tag or collection.
Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.