/shopify-admin-price-elasticity-analyzer
Read-only: analyzes the relationship between product pricing and sales velocity to identify optimal price points and price-sensitive products.
$ npx -y skills add 40rty-ai/shopify-admin-skills --skill shopify-admin-price-elasticity-analyzer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/shopify-admin-price-elasticity-analyzer
Context preview
The summary Claude sees to decide when to auto-load this skill.
Read-only: analyzes the relationship between product pricing and sales velocity to identify optimal price points and price-sensitive products.
SKILL.md
shopify-admin-price-elasticity-analyzer.SKILL.mdname: shopify-admin-price-elasticity-analyzer
role: merchandising
description: "Read-only: analyzes the relationship between product pricing and sales velocity to identify optimal price points and price-sensitive products."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
- products:query
- orders:query
- productVariants:query
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLI
Purpose
Analyzes price-to-velocity relationships across the product catalog to identify which products are price-sensitive and where optimal price points might exist. Compares products within the same category/vendor at different price tiers, and examines how products with compare-at prices (on sale) perform vs. full-price items. Read-only — no mutations.
Prerequisites
- Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_products`
- API scopes: `read_orders`, `read_products`
Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Sales lookback window | | group_by | string | no | product_type | Group comparison: `product_type`, `vendor`, or `collection` | | format | string | no | human | Output format: `human` or `json` |
Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
Workflow Steps
1. **OPERATION:** `products` — query **Inputs:** `first: 250`, `status: ACTIVE`, select `id`, `title`, `productType`, `vendor`, `variants { price, compareAtPrice, inventoryQuantity }`, pagination cursor **Expected output:** All active products with pricing data
2. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>'"`, `first: 250`, select `lineItems { variant { id, price }, quantity }`, pagination cursor **Expected output:** Sales data per variant for velocity calculation
3. For each product/variant, calculate:
- **Units sold per day** (velocity)
- **Revenue per day**
- **Current price point**
- **Has compare-at price?** (on sale indicator)
- **Sale discount %** = (compareAtPrice - price) / compareAtPrice × 100
4. Within each group (product_type or vendor):
- Sort by price ascending
- Calculate velocity at each price tier
- Identify price-velocity correlation (negative = price-sensitive, flat = price-insensitive)
- Compare sale items velocity vs. full-price velocity
- Flag products where small price changes could significantly change volume
5. **OPERATION:** `productVariants` — query (enrichment for variants with compare-at prices) **Inputs:** Variant IDs where compareAtPrice is set **Expected output:** Historical pricing context
GraphQL Operations
# products:query — validated against api_version 2025-01
query ActiveProductsWithPricing($after: String) {
products(first: 250, after: $after, query: "status:active") {
edges {
node {
id
title
productType
vendor
variants(first: 100) {
edges {
node {
id
price
compareAtPrice
sku
inventoryQuantity
}
}
}
}
}
pageInfo { hasNextPage endCursor }
}
}# orders:query — validated against api_version 2025-01
query SalesVelocityData($query: String!, $after: String) {
orders(first: 250, after: $after, query: $query) {
edges {
node {
createdAt
lineItems(first: 50) {
edges {
node {
variant { id price }
quantity
}
}
}
}
}
pageInfo { hasNextPage endCursor }
}
}# productVariants:query — validated against api_version 2025-01
query VariantsOnSale($query: String, $after: String) {
productVariants(first: 250, after: $after, query: $query) {
edges {
node {
id
price
compareAtPrice
product { id title productType vendor }
}
}
pageInfo { hasNextPage endCursor }
}
}Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit:
╔══════════════════════════════════════════════╗
║ SKILL: Price Elasticity Analyzer ║
║ Store: <store domain> ║
║ Started: <YYYY-MM-DD HH:MM UTC> ║
╚══════════════════════════════════════════════╝
**After each step**, emit:
[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>**On completion**, emit:
For `format: human` (default):
══════════════════════════════════════════════
PRICE ELASTICITY ANALYSIS (<days_back> days)
Products analyzed: <n>
Product groups compared: <n>
─────────────────────────────
PRICE-SENSITIVE (high elasticity):
"<product type>" — velocity drops <pct>% per $10 price increase
Top candidate: "<product>" at $<price> — consider testing $<lower>
PRICE-INSENSITIVE (low elasticity):
"<product type>" — velocity stable across price range $<low>-$<high>
Top candidate: "<product>" at $<price> — room to increase
SALE EFFECTIVENESS:
Products on sale: <n> Avg discount: <pct>%
Sale velocity lift: +<pct>% vs. full-price peers
Output: price_elasticity_<date>.csv
══════════════════════════════════════════════Output Format
CSV file `price_elasticity_<YYYY-MM-DD>.csv` with columns: `product_id`, `product_title`, `product_type`, `vendor`, `current_price`, `compare_at_price`, `daily_velocity`, `revenue_per_day`, `group_avg_velocity`, `price_rank_in_group`, `elasticity_indicator`, `recommendation`
Error Handling
| Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit excee
Read more
name: shopify-admin-price-elasticity-analyzer role: merchandising description: "Read-only: analyzes the relationship between product pricing and sales velocity to identify optimal price points and price-sensitive products." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - products:query - orders:query - productVariants:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI
Purpose
Analyzes price-to-velocity relationships across the product catalog to identify which products are price-sensitive and where optimal price points might exist. Compares products within the same category/vendor at different price tiers, and examines how products with compare-at prices (on sale) perform vs. full-price items. Read-only — no mutations.
Prerequisites
- Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_products`
- API scopes: `read_orders`, `read_products`
Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Sales lookback window | | group_by | string | no | product_type | Group comparison: `product_type`, `vendor`, or `collection` | | format | string | no | human | Output format: `human` or `json` |
Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
Workflow Steps
1. **OPERATION:** `products` — query **Inputs:** `first: 250`, `status: ACTIVE`, select `id`, `title`, `productType`, `vendor`, `variants { price, compareAtPrice, inventoryQuantity }`, pagination cursor **Expected output:** All active products with pricing data
2. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>'"`, `first: 250`, select `lineItems { variant { id, price }, quantity }`, pagination cursor **Expected output:** Sales data per variant for velocity calculation
3. For each product/variant, calculate:
- **Units sold per day** (velocity)
- **Revenue per day**
- **Current price point**
- **Has compare-at price?** (on sale indicator)
- **Sale discount %** = (compareAtPrice - price) / compareAtPrice × 100
4. Within each group (product_type or vendor):
- Sort by price ascending
- Calculate velocity at each price tier
- Identify price-velocity correlation (negative = price-sensitive, flat = price-insensitive)
- Compare sale items velocity vs. full-price velocity
- Flag products where small price changes could significantly change volume
5. **OPERATION:** `productVariants` — query (enrichment for variants with compare-at prices) **Inputs:** Variant IDs where compareAtPrice is set **Expected output:** Historical pricing context
GraphQL Operations
# products:query — validated against api_version 2025-01
query ActiveProductsWithPricing($after: String) {
products(first: 250, after: $after, query: "status:active") {
edges {
node {
id
title
productType
vendor
variants(first: 100) {
edges {
node {
id
price
compareAtPrice
sku
inventoryQuantity
}
}
}
}
}
pageInfo { hasNextPage endCursor }
}
}# orders:query — validated against api_version 2025-01
query SalesVelocityData($query: String!, $after: String) {
orders(first: 250, after: $after, query: $query) {
edges {
node {
createdAt
lineItems(first: 50) {
edges {
node {
variant { id price }
quantity
}
}
}
}
}
pageInfo { hasNextPage endCursor }
}
}# productVariants:query — validated against api_version 2025-01
query VariantsOnSale($query: String, $after: String) {
productVariants(first: 250, after: $after, query: $query) {
edges {
node {
id
price
compareAtPrice
product { id title productType vendor }
}
}
pageInfo { hasNextPage endCursor }
}
}Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit:
╔══════════════════════════════════════════════╗ ║ SKILL: Price Elasticity Analyzer ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝
**After each step**, emit:
[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>**On completion**, emit:
For `format: human` (default):
══════════════════════════════════════════════
PRICE ELASTICITY ANALYSIS (<days_back> days)
Products analyzed: <n>
Product groups compared: <n>
─────────────────────────────
PRICE-SENSITIVE (high elasticity):
"<product type>" — velocity drops <pct>% per $10 price increase
Top candidate: "<product>" at $<price> — consider testing $<lower>
PRICE-INSENSITIVE (low elasticity):
"<product type>" — velocity stable across price range $<low>-$<high>
Top candidate: "<product>" at $<price> — room to increase
SALE EFFECTIVENESS:
Products on sale: <n> Avg discount: <pct>%
Sale velocity lift: +<pct>% vs. full-price peers
Output: price_elasticity_<date>.csv
══════════════════════════════════════════════Output Format
CSV file `price_elasticity_<YYYY-MM-DD>.csv` with columns: `product_id`, `product_title`, `product_type`, `vendor`, `current_price`, `compare_at_price`, `daily_velocity`, `revenue_per_day`, `group_avg_velocity`, `price_rank_in_group`, `elasticity_indicator`, `recommendation`
Error Handling
| Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit excee
Community-maintained AI agent skills for operating Shopify stores — workflows, optimization, reports and more
Other skills on shopify-admin-skills.
- /shopify-admin-agentic-crawler-access
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.
Open skill - /shopify-admin-agentic-description-enrichment
Rewrite thin product descriptions into structured, fact-rich copy (materials, fit, use-cases, the words shoppers actually type) so AI agents have something concrete to quote and match.
Open skill - /shopify-admin-agentic-image-alt-text
Generate and set descriptive alt text on product images so AI agents (which can't 'see' pixels) can understand and recommend what each product looks like.
Open skill - /shopify-admin-agentic-llms-txt
Generate and publish an /llms.txt guide (brand summary, flagship products, key policies, contact) via a theme template so AI assistants get a curated, machine-readable map of the store.
Open skill - /shopify-admin-agentic-metafields-setup
Define and populate agentic-commerce metafields (material, attributes, key features, specs, sizing) so AI agents can filter and match products to specific shopper requirements.
Open skill - /shopify-admin-agentic-organization-schema
Inject an Organization JSON-LD block (name, logo, sameAs social links, contactPoint) into the theme so AI agents can verify the store is a real, trusted brand and link it to its public identity.
Open skill

